Please note: https://github.com/gcc-mirror/gcc/blob/master/configure.ac#L34 I haven't tried to re-auto the project since updating, but if recent Perl upgrade breaks it then I'm going to be in a fix the next time I have to change something in configure.ac, et. al., which I will fairly soon. I presume other GCC devs are using Gentoo as well.
Andreas, could you please look at this? Is there another solution? Thanks
So use a newer version, like 2.69... — Macro: AC_PREREQ (version) Ensure that a recent enough version of Autoconf is being used. If the version of Autoconf being used to create configure is *EARLIER* than version, print an error message to the standard error output and exit with failure (exit status is 63).
That would seem to be explicitly disallowed: $ autoconf-2.69 configure.ac:33: error: Please use exactly Autoconf 2.64 instead of 2.69. config/override.m4:12: _GCC_AUTOCONF_VERSION_CHECK is expanded from... configure.ac:33: the top level autom4te-2.69: /usr/bin/m4 failed with exit status: 1 At current, autoconf-2.64 does still work for the project, so I'm not sure what exactly the perl update breaks.
No big deal, I'll unmask it later and fix it over the next days. I just want to figure out how many autoconf versions we really have to maintain (GCC is a very good reason)... The autoheader script doesn't compile anymore with Perl 5.26.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5c599719dda2af8bd0eae540de949dd200184d9e commit 5c599719dda2af8bd0eae540de949dd200184d9e Author: Andreas K. Hüttel <dilfridge@gentoo.org> AuthorDate: 2017-10-26 08:04:52 +0000 Commit: Andreas K. Hüttel <dilfridge@gentoo.org> CommitDate: 2017-10-26 08:06:12 +0000 package.mask: Unmask autoconf:2.64, needed for gcc Closes: https://bugs.gentoo.org/635480 profiles/package.mask | 1 - 1 file changed, 1 deletion(-)
Thank you Andrea! I can only presume that GCC 8 will be released with this dependency, but I don't know for certain. Then again, the intermediate files are tracked in svn, so autoconf won't be needed at merge time unless Gentoo does some magic and re-autos it. Either way, that won't be until next year. But for anybody doing GCC development, this is exceedingly helpful.