* [devel] buildreq и лишние зависимости. @ 2009-03-13 10:23 Sergey Y. Afonin 2009-03-13 10:30 ` Led ` (2 more replies) 0 siblings, 3 replies; 11+ messages in thread From: Sergey Y. Afonin @ 2009-03-13 10:23 UTC (permalink / raw) To: ALT Linux Team development discussions Приветствую. Вылезла проблема с buildreq. Причём две, одна давно. Старая. При построении списка зависимостей для mailfromd и mailutils добавляются "emacs-X11 emacs-cedet-speedbar emacs-git" вместо одного достаточного "emacs-common" Новая: для mailutils добавился gcc-fortran зачем-то. :-) -- С уважением, Сергей Афонин asy@altlinux.ru ^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [devel] buildreq и лишние зависимости. 2009-03-13 10:23 [devel] buildreq и лишние зависимости Sergey Y. Afonin @ 2009-03-13 10:30 ` Led 2009-03-13 10:41 ` Sergey Y. Afonin 2009-03-13 15:54 ` Alexey Tourbin 2009-03-26 6:05 ` Ildar Mulyukov 2 siblings, 1 reply; 11+ messages in thread From: Led @ 2009-03-13 10:30 UTC (permalink / raw) To: ALT Linux Team development discussions On Friday, 13 March 2009 12:23:45 Sergey Y. Afonin wrote: > Приветствую. > > Вылезла проблема с buildreq. Причём две, одна давно. > > Старая. При построении списка зависимостей для mailfromd и mailutils > добавляются "emacs-X11 emacs-cedet-speedbar emacs-git" вместо одного > достаточного "emacs-common" > > Новая: для mailutils добавился gcc-fortran зачем-то. :-) Проблема - это когда buildreq считают "серебряной пулей". А на самом деле: вывод buildreq - это информация к размышлению и исходные данные для работы мейнтейнера. -- Led ^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [devel] buildreq и лишние зависимости. 2009-03-13 10:30 ` Led @ 2009-03-13 10:41 ` Sergey Y. Afonin 2009-03-13 10:42 ` Mikhail Gusarov 2009-03-13 10:48 ` Andrey Rahmatullin 0 siblings, 2 replies; 11+ messages in thread From: Sergey Y. Afonin @ 2009-03-13 10:41 UTC (permalink / raw) To: ALT Linux Team development discussions On Friday 13 March 2009, Led wrote: > > Новая: для mailutils добавился gcc-fortran зачем-то. :-) > > Проблема - это когда buildreq считают "серебряной пулей". > А на самом деле: вывод buildreq - это информация к размышлению и исходные > данные для работы мейнтейнера. Это понятно, однако вдруг есть возможность поправить ? Вообще, Fortran меня удивил. :-) -- С уважением, Сергей Афонин asy@altlinux.ru ^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [devel] buildreq и лишние зависимости. 2009-03-13 10:41 ` Sergey Y. Afonin @ 2009-03-13 10:42 ` Mikhail Gusarov 2009-03-13 16:02 ` Alexey Tourbin 2009-03-13 10:48 ` Andrey Rahmatullin 1 sibling, 1 reply; 11+ messages in thread From: Mikhail Gusarov @ 2009-03-13 10:42 UTC (permalink / raw) To: ALT Linux Team development discussions [-- Attachment #1: Type: text/plain, Size: 876 bytes --] Twas brillig at 14:41:02 13.03.2009 UTC+04 when asy@altlinux.ru did gyre and gimble: >> Проблема - это когда buildreq считают "серебряной пулей". А на >> самом деле: вывод buildreq - это информация к размышлению и исходные >> данные для работы мейнтейнера. SYA> Это понятно, однако вдруг есть возможность поправить ? Вообще, SYA> Fortran меня удивил. :-) Вполне возможно, что configure этого пакета проверяет наличие gfortran, из-за какого-нибудь кривого шаблона, по которому писали этот configure. Имеет смысл исправить и отрепортить upstream. -- [-- Attachment #2: Type: application/pgp-signature, Size: 196 bytes --] ^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [devel] buildreq и лишние зависимости. 2009-03-13 10:42 ` Mikhail Gusarov @ 2009-03-13 16:02 ` Alexey Tourbin 0 siblings, 0 replies; 11+ messages in thread From: Alexey Tourbin @ 2009-03-13 16:02 UTC (permalink / raw) To: ALT Linux Team development discussions [-- Attachment #1: Type: text/plain, Size: 1846 bytes --] On Fri, Mar 13, 2009 at 04:42:55PM +0600, Mikhail Gusarov wrote: > > Twas brillig at 14:41:02 13.03.2009 UTC+04 when asy@altlinux.ru did gyre and gimble: > > >> Проблема - это когда buildreq считают "серебряной пулей". А на > >> самом деле: вывод buildreq - это информация к размышлению и исходные > >> данные для работы мейнтейнера. > > SYA> Это понятно, однако вдруг есть возможность поправить ? Вообще, > SYA> Fortran меня удивил. :-) > > Вполне возможно, что configure этого пакета проверяет наличие gfortran, > из-за какого-нибудь кривого шаблона, по которому писали этот > configure. Имеет смысл исправить и отрепортить upstream. К сожалению, этот шаблон содержится в /usr/share/libtool-1.5/aclocal/libtool.m4 23 # AC_PROG_LIBTOOL 24 # --------------- 25 AC_DEFUN([AC_PROG_LIBTOOL], 26 [AC_REQUIRE([_AC_PROG_LIBTOOL])dnl 27 dnl If AC_PROG_CXX has already been expanded, run AC_LIBTOOL_CXX 28 dnl immediately, otherwise, hook it in at the end of AC_PROG_CXX. 29 AC_PROVIDE_IFELSE([AC_PROG_CXX], 30 [AC_LIBTOOL_CXX], 31 [define([AC_PROG_CXX], defn([AC_PROG_CXX])[AC_LIBTOOL_CXX 32 ])]) 33 dnl And a similar setup for Fortran 77 support 34 AC_PROVIDE_IFELSE([AC_PROG_F77], 35 [AC_LIBTOOL_F77], 36 [define([AC_PROG_F77], defn([AC_PROG_F77])[AC_LIBTOOL_F77 37 ])]) Даже если локально запатчить этот шаблон, то всё равно придётся перегенерировать скрипты (запускать autoreconf). А большая часть пакетов, которые собираются из готовых тарболлов, этого не делают. В общем, это не очень серьезная проблема. Autotools-скрипты по сути являются "шелухой", они оказывают минимальное влияние на результат сборки (а настоящее влияние оказывают исходники, которые компилируются с помощью autotools). [-- Attachment #2: Type: application/pgp-signature, Size: 197 bytes --] ^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [devel] buildreq и лишние зависимости. 2009-03-13 10:41 ` Sergey Y. Afonin 2009-03-13 10:42 ` Mikhail Gusarov @ 2009-03-13 10:48 ` Andrey Rahmatullin 1 sibling, 0 replies; 11+ messages in thread From: Andrey Rahmatullin @ 2009-03-13 10:48 UTC (permalink / raw) To: devel On Fri, Mar 13, 2009 at 02:41:02PM +0400, Sergey Y. Afonin wrote: > Это понятно, однако вдруг есть возможность поправить ? Вообще, Fortran > меня удивил. :-) g77 падает в билдреки постоянно, и об этом здесь регулярно ругаются. ^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [devel] buildreq и лишние зависимости. 2009-03-13 10:23 [devel] buildreq и лишние зависимости Sergey Y. Afonin 2009-03-13 10:30 ` Led @ 2009-03-13 15:54 ` Alexey Tourbin 2009-03-16 7:06 ` Sergey Y. Afonin 2009-03-26 6:05 ` Ildar Mulyukov 2 siblings, 1 reply; 11+ messages in thread From: Alexey Tourbin @ 2009-03-13 15:54 UTC (permalink / raw) To: ALT Linux Team development discussions [-- Attachment #1: Type: text/plain, Size: 800 bytes --] On Fri, Mar 13, 2009 at 02:23:45PM +0400, Sergey Y. Afonin wrote: > Вылезла проблема с buildreq. Причём две, одна давно. > > Старая. При построении списка зависимостей для mailfromd и mailutils > добавляются "emacs-X11 emacs-cedet-speedbar emacs-git" вместо одного > достаточного "emacs-common" А почему Вы решили, что emacs-common должно быть достаточно? Запустите buildreq --trace-p=emacs-{X11,cedet-speedbar,git} *.spec Будет диагностика 'spp:' в каких местах используются файлы из пакетов emacs-X11 emacs-cedet-speedbar emacs-git. > Новая: для mailutils добавился gcc-fortran зачем-то. :-) Это известная багофича autoconf/libtool. Обычно зависимость на gcc-fortran можно удалить вручную. Это касается только gcc-gfortran (другие зависимости врчуную удалять нельзя). [-- Attachment #2: Type: application/pgp-signature, Size: 197 bytes --] ^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [devel] buildreq и лишние зависимости. 2009-03-13 15:54 ` Alexey Tourbin @ 2009-03-16 7:06 ` Sergey Y. Afonin 2009-03-16 13:43 ` Eugene Vlasov 0 siblings, 1 reply; 11+ messages in thread From: Sergey Y. Afonin @ 2009-03-16 7:06 UTC (permalink / raw) To: ALT Linux Team development discussions On Friday 13 March 2009, Alexey Tourbin wrote: > А почему Вы решили, что emacs-common должно быть достаточно ? Вообще хороший вопрос... > Запустите > buildreq --trace-p=emacs-{X11,cedet-speedbar,git} *.spec $ buildreq --trace-p=emacs-{X11,cedet-speedbar,git} mailfromd.spec warning: package emacs-X11 is not installed Executing(%prep): /bin/sh -e /home/asy/tmp/rpm-tmp.20849 Уже вот тут интересно - emacs-X11 просто нет, а он цепляется. > Будет диагностика 'spp:' в каких местах используются файлы из пакетов > emacs-X11 emacs-cedet-speedbar emacs-git. Попробую посмотреть. -- С уважением, Сергей Афонин asy@altlinux.ru ^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [devel] buildreq и лишние зависимости. 2009-03-16 7:06 ` Sergey Y. Afonin @ 2009-03-16 13:43 ` Eugene Vlasov 2009-03-18 9:15 ` Sergey Y. Afonin 0 siblings, 1 reply; 11+ messages in thread From: Eugene Vlasov @ 2009-03-16 13:43 UTC (permalink / raw) To: ALT Linux Team development discussions [-- Attachment #1: Type: text/plain, Size: 1904 bytes --] On Mon, 16 Mar 2009 11:06:54 +0400 "Sergey Y. Afonin" wrote: > $ buildreq --trace-p=emacs-{X11,cedet-speedbar,git} mailfromd.spec > warning: package emacs-X11 is not installed > Executing(%prep): /bin/sh -e /home/asy/tmp/rpm-tmp.20849 > > Уже вот тут интересно - emacs-X11 просто нет, а он цепляется. Цепляется, потому что прописан в /etc/buildreqs/packages/substitute.d/emacs??-X11*. Тут нужно смотреть, какой пакет предоставляет provides emacs-X11 и отслеживать именно его. Кстати, есть одна тонкость сборки расширений emacs, из-за которой зависимость на emacs-X11 вместо emacs-common может быть осмысленной. Дело в том, что при установке emacsXX-common по зависимостям скорее всего вытянется emacsXX-nox, а этот бинарник имеет ограничения по сравнению с X-овыми сборками emacs (например, он не знает некоторых lisp-функций). А вот зависимость на emacs-cedet-speedbar действительно лишняя, этот пакет установится через зависимость на виртуальный пакет emacs-speedbar. Правда, эта зависимость обеспечивается еще и пакетом emacsXX-speedbar, но на текущий момент в сизифе emacs-cedet-speedbar новее и обсолетит более старые версии emacsXX-speedbar. В будущем ситуация может поменяться. -- WBR, Eugene Vlasov mailto:eugvv at altlinux.ru JID: eugvv@jabber.ru [-- Attachment #2: Type: application/pgp-signature, Size: 196 bytes --] ^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [devel] buildreq и лишние зависимости. 2009-03-16 13:43 ` Eugene Vlasov @ 2009-03-18 9:15 ` Sergey Y. Afonin 0 siblings, 0 replies; 11+ messages in thread From: Sergey Y. Afonin @ 2009-03-18 9:15 UTC (permalink / raw) To: ALT Linux Team development discussions On Monday 16 March 2009, Eugene Vlasov wrote: > Кстати, есть одна тонкость сборки расширений emacs, из-за которой > зависимость на emacs-X11 вместо emacs-common может быть осмысленной. > Дело в том, что при установке emacsXX-common по зависимостям > скорее всего вытянется emacsXX-nox, а этот бинарник имеет ограничения по > сравнению с X-овыми сборками emacs (например, он не знает некоторых > lisp-функций). Спасибо. Я mailutils и mailfromd вовсе не из-за расширений Emacs собираю, они собираются по стольку, по скольку. А сам я Emacs и не использую даже, потому тут мне сложновато ориентироваться. :-( -- С уважением, Сергей Афонин asy@altlinux.ru ^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [devel] buildreq и лишние зависимости. 2009-03-13 10:23 [devel] buildreq и лишние зависимости Sergey Y. Afonin 2009-03-13 10:30 ` Led 2009-03-13 15:54 ` Alexey Tourbin @ 2009-03-26 6:05 ` Ildar Mulyukov 2 siblings, 0 replies; 11+ messages in thread From: Ildar Mulyukov @ 2009-03-26 6:05 UTC (permalink / raw) To: devel On 13.03.2009 16:23:45, Sergey Y. Afonin wrote: > Приветствую. > > Вылезла проблема с buildreq. Причём две, одна давно. > > Старая. При построении списка зависимостей для mailfromd и mailutils > добавляются "emacs-X11 emacs-cedet-speedbar emacs-git" вместо одного > достаточного "emacs-common" > > Новая: для mailutils добавился gcc-fortran зачем-то. :-) Проблема решается очень просто. Запускайте buildreq в hasher -- Ildar Mulyukov, free SW designer/programmer/packager ========================================= email: ildar@altlinux.ru Jabber: ildar@jabber.ru ICQ: 4334029 ALT Linux Sisyphus http://www.sisyphus.ru ========================================= ^ permalink raw reply [flat|nested] 11+ messages in thread
end of thread, other threads:[~2009-03-26 6:05 UTC | newest] Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2009-03-13 10:23 [devel] buildreq и лишние зависимости Sergey Y. Afonin 2009-03-13 10:30 ` Led 2009-03-13 10:41 ` Sergey Y. Afonin 2009-03-13 10:42 ` Mikhail Gusarov 2009-03-13 16:02 ` Alexey Tourbin 2009-03-13 10:48 ` Andrey Rahmatullin 2009-03-13 15:54 ` Alexey Tourbin 2009-03-16 7:06 ` Sergey Y. Afonin 2009-03-16 13:43 ` Eugene Vlasov 2009-03-18 9:15 ` Sergey Y. Afonin 2009-03-26 6:05 ` Ildar Mulyukov
ALT Linux Team development discussions This inbox may be cloned and mirrored by anyone: git clone --mirror http://lore.altlinux.org/devel/0 devel/git/0.git # If you have public-inbox 1.1+ installed, you may # initialize and index your mirror using the following commands: public-inbox-init -V2 devel devel/ http://lore.altlinux.org/devel \ devel@altlinux.org devel@altlinux.ru devel@lists.altlinux.org devel@lists.altlinux.ru devel@linux.iplabs.ru mandrake-russian@linuxteam.iplabs.ru sisyphus@linuxteam.iplabs.ru public-inbox-index devel Example config snippet for mirrors. Newsgroup available over NNTP: nntp://lore.altlinux.org/org.altlinux.lists.devel AGPL code for this site: git clone https://public-inbox.org/public-inbox.git