Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 732648 (autoconf-2.7x)

Summary: [TRACKER] >=dev-build/autoconf-2.70 issues
Product: Gentoo Linux Reporter: Michael Orlitzky <mjo>
Component: Current packagesAssignee: Gentoo's Team for Core System packages <base-system>
Status: CONFIRMED ---    
Severity: normal CC: jstein, sam
Priority: Normal Keywords: Tracker
Version: unspecified   
Hardware: All   
OS: Linux   
URL: https://lists.gnu.org/archive/html/autoconf/2020-07/msg00006.html
See Also: https://bugs.gentoo.org/show_bug.cgi?id=815385
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on: 755086, 755767, 749693, 749795, 749816, 749819, 749861, 749864, 749870, 749930, 749978, 749981, 750161, 750164, 750167, 750173, 750191, 750197, 750230, 750347, 750353, 750356, 750371, 750374, 750566, 750569, 750575, 750578, 750581, 750584, 750587, 750719, 750722, 750725, 750728, 750749, 750845, 750848, 750851, 750857, 750926, 750983, 751043, 751190, 751235, 755818, 756058, 757771, 757996, 758050, 764104, 765010, 765034, 765043, 775092, 775113, 775209, 775215, 775287, 775389, 775413, 775419, 775422, 775479, 775563, 775656, 775680, 775746, 775860, 775932, 775968, 776241, 776358, 776862, 776871, 776889, 777453, 777768, 778167, 782985, 806354, 806382, 806400, 808861, 814788, 817017, 825342    
Bug Blocks:    
Attachments: 0001-improvements-to-AC_INIT-argument-quoting.patch

Description Michael Orlitzky gentoo-dev 2020-07-14 21:41:54 UTC
After eight years, finally a new autoconf (See $URL). Upstream has been reluctant to release a new version because the old one works and the new one contains eight years worth of stuff that no single person remembers.

Can we get the beta in Gentoo so that developers (and maybe the tinderbox) can bang on it for a while? It's in our interest to iron out the bugs before a final release.
Comment 1 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2020-07-15 08:20:13 UTC
So to stick with our versioning scheme this would become autoconf-2.70_beta. Funny how they even screw up versions :)
Comment 2 Michael Orlitzky gentoo-dev 2020-09-25 20:06:37 UTC
Another one: https://lists.gnu.org/archive/html/autoconf/2020-09/msg00006.html
Comment 3 Larry the Git Cow gentoo-dev 2020-10-15 15:48:11 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=57b99cd6e5db8ac6faa3ae005492f769a09817fc

commit 57b99cd6e5db8ac6faa3ae005492f769a09817fc
Author:     Lars Wendler <polynomial-c@gentoo.org>
AuthorDate: 2020-10-15 15:28:28 +0000
Commit:     Lars Wendler <polynomial-c@gentoo.org>
CommitDate: 2020-10-15 15:48:08 +0000

    sys-devel/autoconf: Bump to version 2.70_beta2
    
    This is called autoconf-2.69c by upstream
    
    Bug: https://bugs.gentoo.org/732648
    Package-Manager: Portage-3.0.8, Repoman-3.0.1
    Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>

 sys-devel/autoconf/Manifest                   |  1 +
 sys-devel/autoconf/autoconf-2.70_beta2.ebuild | 50 +++++++++++++++++++++++++++
 2 files changed, 51 insertions(+)

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5af0adbd95bb9f7e27faedc5d261c55a6ca089c0

commit 5af0adbd95bb9f7e27faedc5d261c55a6ca089c0
Author:     Lars Wendler <polynomial-c@gentoo.org>
AuthorDate: 2020-10-15 15:46:03 +0000
Commit:     Lars Wendler <polynomial-c@gentoo.org>
CommitDate: 2020-10-15 15:48:07 +0000

    sys-devel/autoconf-wrapper: Bump to version 14_pre1
    
    Bug: https://bugs.gentoo.org/732648
    Package-Manager: Portage-3.0.8, Repoman-3.0.1
    Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>

 .../autoconf-wrapper-14_pre1.ebuild                |  29 +++
 .../autoconf-wrapper/files/ac-wrapper-14_pre1.sh   | 203 +++++++++++++++++++++
 2 files changed, 232 insertions(+)
Comment 4 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2020-10-15 15:49:30 UTC
Both ebuilds have no KEYWORDS yet because autoconf-2.70_beta2 (a.k.a. 2.69c) is still heavily broken.
Try with media-gfx/gimp or app-emulation/wine-staging for example.
Comment 5 Michael Orlitzky gentoo-dev 2020-10-15 16:28:45 UTC
(In reply to Lars Wendler (Polynomial-C) from comment #4)
> Both ebuilds have no KEYWORDS yet because autoconf-2.70_beta2 (a.k.a. 2.69c)
> is still heavily broken.
> Try with media-gfx/gimp or app-emulation/wine-staging for example.

Yup, that's the point, thanks!
Comment 6 Michael Orlitzky gentoo-dev 2020-10-17 19:41:20 UTC
Created attachment 666317 [details, diff]
0001-improvements-to-AC_INIT-argument-quoting.patch

This patch is taken from Zack's branch, in response to some regression reports on the mailing list. Basically it fixes quoting breakage (such as empty fields, metacharacters...) in AC_INIT.

Adding it to the beta may eliminate some reports that upstream already knows about.
Comment 7 Larry the Git Cow gentoo-dev 2020-10-17 20:00:33 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c95e99d3956c8d0f6816937107fb0cfeae12366e

commit c95e99d3956c8d0f6816937107fb0cfeae12366e
Author:     Lars Wendler <polynomial-c@gentoo.org>
AuthorDate: 2020-10-17 19:59:58 +0000
Commit:     Lars Wendler <polynomial-c@gentoo.org>
CommitDate: 2020-10-17 20:00:30 +0000

    sys-devel/autoconf: Revbump to improve AC_INIT arg quoting
    
    Thanks-to: Michael Orlitzky <mjo@gentoo.org>
    Bug: https://bugs.gentoo.org/732648
    Package-Manager: Portage-3.0.8, Repoman-3.0.1
    Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>

 ..._beta2.ebuild => autoconf-2.70_beta2-r1.ebuild} |   4 +
 ...oconf-2.70_beta2-AC_INIT_argument_quoting.patch | 573 +++++++++++++++++++++
 2 files changed, 577 insertions(+)
Comment 8 Michael Orlitzky gentoo-dev 2020-10-20 12:21:22 UTC
(I thought I posted this earlier, but bugzilla disagrees.)

Update from Zack:

> Thanks for doing this!
> 
> You should apply
> https://git.savannah.gnu.org/cgit/autoconf.git/commit/?id=326c9a547423d25c621bc5c0ef76edbf6eda8c92
> as well, this fixes some serious regressions when using a C++ compiler
> to run tests. And you should be aware that if a configure script
> crashes with an error about not finding install-sh, this actually
> means you need to add config.sub and config.guess to the source tree
> as well. (A patch for that one is in the works. autoreconf --install
> will correct the problem for packages that use automake, but not
> otherwise.)
> 
> I'm planning to put out another beta next week because of these bugs.
> (Sorry about the weird version numbering scheme, it's a very old GNU
> convention.)
> 
> zw
>
Comment 9 Larry the Git Cow gentoo-dev 2020-11-03 18:34:46 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d82245a2873adce614b27e7ac7ad3c6a5d901fbd

commit d82245a2873adce614b27e7ac7ad3c6a5d901fbd
Author:     Lars Wendler <polynomial-c@gentoo.org>
AuthorDate: 2020-11-03 18:33:03 +0000
Commit:     Lars Wendler <polynomial-c@gentoo.org>
CommitDate: 2020-11-03 18:34:43 +0000

    sys-devel/autoconf: Bump to version 2.70_beta3. Removed old
    
    This is called autoconf-2.69d by upstream
    
    Bug: https://bugs.gentoo.org/732648
    Package-Manager: Portage-3.0.9, Repoman-3.0.2
    Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>

 sys-devel/autoconf/Manifest                                           | 2 +-
 .../{autoconf-2.70_beta2.ebuild => autoconf-2.70_beta3.ebuild}        | 4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)
Comment 10 Larry the Git Cow gentoo-dev 2020-12-01 17:19:20 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d52505d7ed450c7292d5528602e70a9bbb64ac0b

commit d52505d7ed450c7292d5528602e70a9bbb64ac0b
Author:     Lars Wendler <polynomial-c@gentoo.org>
AuthorDate: 2020-12-01 17:16:23 +0000
Commit:     Lars Wendler <polynomial-c@gentoo.org>
CommitDate: 2020-12-01 17:19:16 +0000

    sys-devel/autoconf: Bump to version 2.70_beta3. Removed old
    
    This is called autoconf-2.69e by upstream
    
    Bug: https://bugs.gentoo.org/732648
    Package-Manager: Portage-3.0.11, Repoman-3.0.2
    Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>

 sys-devel/autoconf/Manifest                        |   2 +-
 ..._beta3-r1.ebuild => autoconf-2.70_beta4.ebuild} |   7 +-
 ...onf-2.70_beta3-build-aux_avoid_autoreconf.patch | 272 ---------------------
 ...nf-2.70_beta3-build-aux_no_transform_name.patch |  55 -----
 4 files changed, 2 insertions(+), 334 deletions(-)
Comment 11 Larry the Git Cow gentoo-dev 2020-12-09 14:18:03 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=21a9c1d04720eba190e4491ec40815de364564db

commit 21a9c1d04720eba190e4491ec40815de364564db
Author:     Lars Wendler <polynomial-c@gentoo.org>
AuthorDate: 2020-12-09 14:07:10 +0000
Commit:     Lars Wendler <polynomial-c@gentoo.org>
CommitDate: 2020-12-09 14:17:58 +0000

    sys-devel/autoconf: Bump to version 2.70. Removed old
    
    Bug: https://bugs.gentoo.org/732648
    Package-Manager: Portage-3.0.12, Repoman-3.0.2
    Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>

 sys-devel/autoconf/Manifest                                          | 2 +-
 .../autoconf/{autoconf-2.70_beta4.ebuild => autoconf-2.70.ebuild}    | 5 +++--
 2 files changed, 4 insertions(+), 3 deletions(-)
Comment 12 Larry the Git Cow gentoo-dev 2020-12-09 14:20:38 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6954289d5979cfefbcac62bd336ab2903a1295b8

commit 6954289d5979cfefbcac62bd336ab2903a1295b8
Author:     Lars Wendler <polynomial-c@gentoo.org>
AuthorDate: 2020-12-09 14:19:39 +0000
Commit:     Lars Wendler <polynomial-c@gentoo.org>
CommitDate: 2020-12-09 14:19:39 +0000

    package.mask: Masked >=sys-devel/autoconf-2.70 for testing
    
    and until broken packages have been fixed
    
    Bug: https://bugs.gentoo.org/732648
    Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>

 profiles/package.mask | 5 +++++
 1 file changed, 5 insertions(+)
Comment 13 Larry the Git Cow gentoo-dev 2021-08-03 13:00:14 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0bedc7744b5b77113a27ac257053c24999610b26

commit 0bedc7744b5b77113a27ac257053c24999610b26
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2021-08-03 12:57:37 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2021-08-03 12:57:37 +0000

    profiles: unmask autoconf 2.71
    
    Let's give it another go. It was rather hard last time
    around to see many actual problems with 2.71 at all,
    and we've since fixed all remaining known ones other
    than some which look rather stale.
    
    We'll revisit if necessary.
    
    Bug: https://bugs.gentoo.org/732648
    Bug: https://bugs.gentoo.org/782985
    Signed-off-by: Sam James <sam@gentoo.org>

 profiles/package.mask | 6 ------
 1 file changed, 6 deletions(-)