Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 736118 - =net-misc/wget-1.20.3-r3 - configure.ac:51: error: version mismatch. This is Automake 1.16.2, but the definition used by this AM_INIT_AUTOMAKE comes from Automake 1.16.1.
Summary: =net-misc/wget-1.20.3-r3 - configure.ac:51: error: version mismatch. This is ...
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-08-06 08:41 UTC by Camille Huot
Modified: 2020-08-06 21:26 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 Camille Huot 2020-08-06 08:41:20 UTC
When trying to build net-misc/wget-1.20.3-r3, automake complaints about using the wrong version

Excerpt of the logs:

checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... configure.ac:51: error: version mismatch.  This is Automake 1.16.2,
configure.ac:51: but the definition used by this AM_INIT_AUTOMAKE
configure.ac:51: comes from Automake 1.16.1.  You should recreate
configure.ac:51: aclocal.m4 with aclocal and run automake again.
configure.ac:211: warning: The 'AM_PROG_MKDIR_P' macro is deprecated, and its use is discouraged.
configure.ac:211: You should use the Autoconf-provided 'AC_PROG_MKDIR_P' macro instead,
configure.ac:211: and use '$(MKDIR_P)' instead of '$(mkdir_p)'in your Makefile.am files.
yes
checking for string.h... yes
checking for memory.h... yes
[...]
checking for _FILE_OFFSET_BITS value needed for large files... WARNING: 'automake-1.16' is probably too old.
         You should only need it if you modified 'Makefile.am' or
         'configure.ac' or m4 files included by 'configure.ac'.
         The 'automake' program is part of the GNU Automake package:
         <https://www.gnu.org/software/automake>
         It also requires GNU Autoconf, GNU m4 and Perl in order to run:
         <https://www.gnu.org/software/autoconf>
         <https://www.gnu.org/software/m4/>
         <https://www.perl.org/>
make: *** [Makefile:1489: Makefile.in] Error 1
make: *** Waiting for unfinished jobs....
no
[...]
 * ERROR: net-misc/wget-1.20.3-r3::gentoo failed (compile phase):
 *   emake failed
 *


With the exact same change than https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=295f0726179d16084e1bcfefb24ef90e23ebdbd9, then it works.

Reproducible: Always
Comment 1 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2020-08-06 09:09:34 UTC
Please post the output of

  emerge --info wget

to this bug