Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 753023 - sys-devel/autoconf-2.70_beta3 fails to install config.sub and config.guess
Summary: sys-devel/autoconf-2.70_beta3 fails to install config.sub and config.guess
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-11-03 23:01 UTC by Sergei Trofimovich (RETIRED)
Modified: 2020-11-11 16:23 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sergei Trofimovich (RETIRED) gentoo-dev 2020-11-03 23:01:03 UTC
Noticed on ruby git package:

    $ git clone https://github.com/ruby/ruby.git
    $ autoreconf
    configure.ac: error: required file 'config.sub' not found
    configure.ac: error: required file 'config.guess' not found

strace suggests autoconf lost it's files:

stat("/usr/share/autoconf-2.69d/build-aux/config.sub", 0x7fb70ab2fa60) = -1 ENOENT
stat("/usr/share/autoconf-2.69d/build-aux/config.guess", 0x7fb70ab2fa60) = -1 ENOENT
write(2, "configure.ac: error: required fi"..., 58configure.ac: error: required file 'config.sub' not found
) = 58
write(2, "configure.ac: error: required fi"..., 60configure.ac: error: required file 'config.guess' not found
) = 60

They seem to be there, but versioning seems missing:

    $ ls /usr/share/autoconf-2.69d/build-aux/
    config.guess-2.70_beta3  config.sub-2.70_beta3  install-sh-2.70_beta3

I think sys-devel/autoconf-2.70_beta2 used to work, but I'm not sure. 2.69 does work.
Comment 1 Sergei Trofimovich (RETIRED) gentoo-dev 2020-11-03 23:05:35 UTC
Might be related to recent http://git.savannah.gnu.org/gitweb/?p=autoconf.git;a=commitdiff;h=35a1c64600894ecc3b06b6c4b273952db7c8fc83 change.

Maybe gentoo's --program-suffix="-${PV}" interferes with it.
Comment 2 Zack Weinberg 2020-11-05 15:27:35 UTC
This has now been fixed upstream, you may want to cherry-pick git commit 0f7e5a5477f97b8a105d563bc7590ebefaff854d for further bulk testing.  (All of the commits since the v2.69d fix regressions from 2.69, FYI.  They just keep coming :-( )
Comment 3 Larry the Git Cow gentoo-dev 2020-11-11 16:23:11 UTC
The bug has been closed via the following commit(s):

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

commit 03d4a0b32ace4d24233110f43966a6aaced57bd5
Author:     Lars Wendler <polynomial-c@gentoo.org>
AuthorDate: 2020-11-11 16:22:19 +0000
Commit:     Lars Wendler <polynomial-c@gentoo.org>
CommitDate: 2020-11-11 16:23:07 +0000

    sys-devel/autoconf: Revbump to avoid aux files versioning
    
    Closes: https://bugs.gentoo.org/753023
    Package-Manager: Portage-3.0.9, Repoman-3.0.2
    Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>

 ..._beta3.ebuild => autoconf-2.70_beta3-r1.ebuild} |   5 +
 ...onf-2.70_beta3-build-aux_avoid_autoreconf.patch | 272 +++++++++++++++++++++
 ...nf-2.70_beta3-build-aux_no_transform_name.patch |  55 +++++
 3 files changed, 332 insertions(+)