public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-dev] [RFC] Shall econf append its arguments to end of ./configure invocation?
@ 2013-04-29  5:55 Michał Górny
  2013-04-29  8:20 ` Markos Chandras
  2013-04-29 18:36 ` Mike Frysinger
  0 siblings, 2 replies; 34+ messages in thread
From: Michał Górny @ 2013-04-29  5:55 UTC (permalink / raw
  To: Gentoo Developer Mailing List

[-- Attachment #1: Type: text/plain, Size: 1091 bytes --]

Hi,

As you haven't expected at all, the PMS is a specific spec which
doesn't document much of common sense. Therefore, the way econf is
currently declared leaves the freedom of adding its arguments anywhere
in the ./configure invocation [1].

By that, I mean that:

    econf --libdir=/lib

could actually result in:

    ./configure --libdir=/lib ... --libdir=<here-goes-default-libdir>

The only option guaranteed to be handled properly is --prefix which is
directly processed by econf.

Why I'm bringing this up? Because of bug #406117. Long story short,
it's mostly about Ciaran having the imagination to let paludis pass
./configure arguments in semi-random order. As a result, default
--disable-dependency-tracking goes after explicit
--enable-dependency-tracking from the ebuild.

Now, what are your thoughts? Shall we fix PMS to explicitly state
the argument order or implement ugly hacks in ebuilds?

[1]:http://dev.gentoo.org/~ulm/pms/5/pms.html#x1-13500011.3.3.7
[2]:https://bugs.gentoo.org/show_bug.cgi?id=406117

-- 
Best regards,
Michał Górny

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 966 bytes --]

^ permalink raw reply	[flat|nested] 34+ messages in thread

end of thread, other threads:[~2013-05-02 14:50 UTC | newest]

Thread overview: 34+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-04-29  5:55 [gentoo-dev] [RFC] Shall econf append its arguments to end of ./configure invocation? Michał Górny
2013-04-29  8:20 ` Markos Chandras
2013-04-29 18:36 ` Mike Frysinger
2013-04-29 18:49   ` Ciaran McCreesh
2013-04-29 19:09     ` Michał Górny
2013-04-29 19:17       ` Ciaran McCreesh
2013-04-29 19:28         ` Mike Frysinger
2013-04-29 20:23           ` Rich Freeman
2013-04-29 20:53     ` Ulrich Mueller
2013-04-29 20:59       ` Ciaran McCreesh
2013-04-29 22:22         ` Ulrich Mueller
2013-04-29 22:27           ` Ciaran McCreesh
2013-04-29 23:12             ` Rich Freeman
2013-04-29 23:46               ` vivo75
2013-04-30  5:30               ` [gentoo-dev] " Duncan
2013-04-30 11:12                 ` Ciaran McCreesh
2013-04-30 11:42                   ` vivo75
2013-04-30 11:46                     ` Ciaran McCreesh
2013-04-30 12:25                       ` Rich Freeman
2013-04-30 12:30                   ` Duncan
2013-04-30 12:40                     ` Rich Freeman
2013-04-30 12:45                       ` Duncan
2013-04-30 13:13                       ` [gentoo-dev] " Ulrich Mueller
2013-04-30 13:25                         ` Ulrich Mueller
2013-04-30 16:38                           ` Ciaran McCreesh
2013-05-02  4:20                             ` Mike Frysinger
2013-04-30 16:37                         ` [gentoo-pms] " Ciaran McCreesh
2013-05-01  1:52                   ` [gentoo-dev] " Ryan Hill
2013-05-01  6:53                     ` Ciaran McCreesh
2013-05-01  6:57                     ` Ulrich Mueller
2013-05-02  1:40                       ` Ryan Hill
2013-05-02 13:55                         ` Ciaran McCreesh
2013-05-02 14:50                           ` Rich Freeman
2013-05-01 18:25                     ` David Leverton

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox