ALT Linux Team development discussions
 help / color / mirror / Atom feed
From: Alexey Tourbin <at@altlinux.ru>
To: ALT Linux Team development discussions <devel@lists.altlinux.org>
Subject: Re: [devel] buildreq и лишние зависимости.
Date: Fri, 13 Mar 2009 19:02:53 +0300
Message-ID: <20090313160253.GB9773@altlinux.org> (raw)
In-Reply-To: <87hc1x1z68.fsf@vertex.dottedmag.net>

[-- 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 --]

  reply	other threads:[~2009-03-13 16:02 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-03-13 10:23 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 [this message]
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20090313160253.GB9773@altlinux.org \
    --to=at@altlinux.ru \
    --cc=devel@lists.altlinux.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

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