Gentoo Archives: gentoo-dev

From: William Hubbs <williamh@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] autotools.eclass: automatically move configure.in to configure.ac
Date: Sun, 11 Jun 2017 18:08:29
Message-Id: 20170611180819.GA4134@linux1
In Reply to: Re: [gentoo-dev] autotools.eclass: automatically move configure.in to configure.ac by Mart Raudsepp
1 On Sun, Jun 11, 2017 at 07:14:52PM +0300, Mart Raudsepp wrote:
2 > Ühel kenal päeval, P, 11.06.2017 kell 11:12, kirjutas William Hubbs:
3 > > On Sun, Jun 11, 2017 at 05:35:53PM +0200, Kristian Fiskerstrand
4 > > wrote:
5 > > > On 06/11/2017 05:24 PM, David Seifert wrote:
6 > > > > > We can always patch the eclass at that point if that is still a
7 > > > > > big
8 > > > > > concern, but I fundamentally agree with William on this,
9 > > > > > starting
10 > > > > > point
11 > > > > > should be fixing it upstream, so can start with a tracking bug
12 > > > > > on
13 > > > > > affected packages.
14 > > > > >
15 > > > >
16 > > > > Here's a deal: you can start filing + fixing them.
17 > > > >
18 > > >
19 > > > The [tracker] is already started, it was determined to add QA
20 > > > warning
21 > > > with info on filing upstream bugs in [bug 426262] and the proper
22 > > > solution is again iterated in [bug 546614], so its not like this is
23 > > > a
24 > > > new approach that is being suggested, but sure, we should all file
25 > > > bugs
26 > > > when we encounter them.
27 > > >
28 > > > References:
29 > > > [tracker] https://bugs.gentoo.org/show_bug.cgi?id=530632
30 > > >
31 > > > [bug 426262]
32 > > > https://bugs.gentoo.org/show_bug.cgi?id=426262
33 > > >
34 > > > [bug 546614]
35 > > > https://bugs.gentoo.org/show_bug.cgi?id=546614
36 > >
37 > > It seems that the proper fix to this, even for a package that won't
38 > > do
39 > > the fix upstream is to use WANT_AUTOCONF in the ebuild to force the
40 > > version of autoconf you need.
41 >
42 > No. It appears you don't know how WANT_AUTOCONF works.
43
44 From the eclass:
45
46 # @ECLASS-VARIABLE: WANT_AUTOCONF
47 # @DESCRIPTION:
48 # The major version of autoconf your package needs
49
50 That leads me to believe that you can set WANT_AUTOCONF="someversion"
51 in your ebuild and your package will use that version of autoconf.
52
53 If that's wrong, it needs to be fixed and that's a different bug
54 entirely, but it doesn't change my position on adding this particular
55 change to autotools.eclass.
56
57 William

Attachments

File name MIME type
signature.asc application/pgp-signature

Replies