Hi, dev-libs/libgcrypt-1.5.2 fails to build: >>> Emerging (2 of 8) dev-libs/libgcrypt-1.5.2 * libgcrypt-1.5.2.tar.bz2 SHA256 SHA512 WHIRLPOOL size ;-) ... [ ok ] >>> Unpacking source... >>> Unpacking libgcrypt-1.5.2.tar.bz2 to /var/tmp/portage/dev-libs/libgcrypt-1.5.2/work >>> Source unpacked in /var/tmp/portage/dev-libs/libgcrypt-1.5.2/work >>> Preparing source in /var/tmp/portage/dev-libs/libgcrypt-1.5.2/work/libgcrypt-1.5.2 ... * Applying libgcrypt-1.5.0-uscore.patch ... [ ok ] * Applying libgcrypt-multilib-syspath.patch ... [ ok ] * Running eautoreconf in '/var/tmp/portage/dev-libs/libgcrypt-1.5.2/work/libgcrypt-1.5.2' ... * Running libtoolize --install --copy --force --automake ... [ ok ] * Running aclocal -I m4 ... [ ok ] * Running autoconf ... [ ok ] * ERROR: dev-libs/libgcrypt-1.5.2 failed (prepare phase): * internal error: add AC_CONFIG_HEADER to ALL_AUTOTOOLS_MACROS * * Call stack: * ebuild.sh, line 93: Called src_prepare * environment, line 2848: Called eautoreconf * environment, line 800: Called eautoheader * environment, line 722: Called _at_uses_autoheader * environment, line 268: Called _at_uses_pkg 'AC_CONFIG_HEADERS' 'AC_CONFIG_HEADER' 'AM_CONFIG_HEADERS' 'AM_CONFIG_HEADER' * environment, line 300: Called autotools_check_macro 'AC_CONFIG_HEADERS' 'AC_CONFIG_HEADER' 'AM_CONFIG_HEADERS' 'AM_CONFIG_HEADER' * environment, line 475: Called die * The specific snippet of code: * has ${macro} ${ALL_AUTOTOOLS_MACROS[@]} || die "internal error: add ${macro} to ALL_AUTOTOOLS_MACROS"; * I think it is related to automake 1.13 (https://bugs.gentoo.org/show_bug.cgi?id=451744). Reproducible: Always # emerge --info Portage 2.1.11.62 (default/linux/amd64/13.0, gcc-4.7.2, glibc-2.17, 3.8.9 x86_64) ================================================================= System uname: Linux-3.8.9-x86_64-Intel-R-_Xeon-R-_CPU_E5405_@_2.00GHz-with-gentoo-2.2 KiB Mem: 16437224 total, 15538320 free KiB Swap: 2097148 total, 2097148 free Timestamp of tree: Sun, 28 Apr 2013 17:15:01 +0000 ld GNU ld (GNU Binutils) 2.23.1 app-shells/bash: 4.2_p45 dev-lang/python: 2.7.3-r3, 3.2.3-r2 dev-util/pkgconfig: 0.28 sys-apps/baselayout: 2.2 sys-apps/openrc: 0.11.8 sys-apps/sandbox: 2.6-r1 sys-devel/autoconf: 2.69 sys-devel/automake: 1.10.3, 1.12.6, 1.13.1 sys-devel/binutils: 2.23.1 sys-devel/gcc: 4.7.2-r1 sys-devel/gcc-config: 1.8 sys-devel/libtool: 2.4.2 sys-devel/make: 3.82-r4 sys-kernel/linux-headers: 3.8 (virtual/os-headers) sys-libs/glibc: 2.17 Repositories: gentoo location: /usr/portage sync: rsync://rsync.de.gentoo.org/gentoo-portage/ priority: -1000 ABI="amd64" ABI_X86="64" ACCEPT_KEYWORDS="amd64 ~amd64" ACCEPT_LICENSE="* -@EULA" ACCEPT_PROPERTIES="*" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ARCH="amd64" AUTOCLEAN="yes" BOOTSTRAP_USE="cxx unicode python_targets_python3_2 python_targets_python2_7 multilib" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" CAMERAS="ptp2" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-O2 -pipe -march=core2 -mno-movbe -mno-aes -mno-pclmul -mno-popcnt -mno-abm -mno-lwp -mno-fma -mno-fma4 -mno-xop -mno-bmi -mno-bmi2 -mno-tbm -mno-avx -mno-avx2 -mno-sse4.2 -msse4.1 -mno-lzcnt -mno-rdrnd -mno-f16c -mno-fsgsbase --param l1-cache-size=32 --param l1-cache-line-size=64 --param l2-cache-size=6144 -mtune=generic" CFLAGS_amd64="-m64" CFLAGS_x32="-mx32" CFLAGS_x86="-m32" CHOST="x86_64-pc-linux-gnu" CHOST_amd64="x86_64-pc-linux-gnu" CHOST_x32="x86_64-pc-linux-gnux32" CHOST_x86="i686-pc-linux-gnu"
same error on app-arch/tar-1.26-r1 on x86 arch and same error on /net-misc/curl-7.29.0-r1 on amd64 arch from the later: >>> Emerging (7 of 85) net-misc/curl-7.29.0-r1 * curl-7.29.0.tar.bz2 SHA256 SHA512 WHIRLPOOL size ;-) ... [ ok ] >>> Unpacking source... >>> Unpacking curl-7.29.0.tar.bz2 to /var/tmp/portage/net-misc/curl-7.29.0-r1/work >>> Source unpacked in /var/tmp/portage/net-misc/curl-7.29.0-r1/work >>> Preparing source in /var/tmp/portage/net-misc/curl-7.29.0-r1/work/curl-7.29.0 ... * Applying curl-7.28.0-prefix.patch ... [ ok ] * Applying curl-respect-cflags-3.patch ... [ ok ] * Applying curl-fix-gnutls-nettle.patch ... [ ok ] * Applying curl-7.29.0-fix-null-pointer.patch ... [ ok ] * Adjusting to prefix / * curl-config.in ... [ ok ] * Running eautoreconf in '/var/tmp/portage/net-misc/curl-7.29.0-r1/work/curl-7.29.0' ... * Running libtoolize --install --copy --force --automake ... [ ok ] * Running aclocal -I m4 ... [ ok ] * Running autoconf ... [ ok ] * ERROR: net-misc/curl-7.29.0-r1 failed (prepare phase): * internal error: add AC_CONFIG_HEADER to ALL_AUTOTOOLS_MACROS * * Call stack: * ebuild.sh, line 93: Called src_prepare * environment, line 2969: Called eautoreconf * environment, line 856: Called eautoheader * environment, line 778: Called _at_uses_autoheader * environment, line 324: Called _at_uses_pkg 'AC_CONFIG_HEADERS' 'AC_CONFIG_HEADER' 'AM_CONFIG_HEADERS' 'AM_CONFIG_HEADER' * environment, line 356: Called autotools_check_macro 'AC_CONFIG_HEADERS' 'AC_CONFIG_HEADER' 'AM_CONFIG_HEADERS' 'AM_CONFIG_HEADER' * environment, line 531: Called die * The specific snippet of code: * has ${macro} ${ALL_AUTOTOOLS_MACROS[@]} || die "internal error: add ${macro} to ALL_AUTOTOOLS_MACROS"; * * If you need support, post the output of `emerge --info '=net-misc/curl-7.29.0-r1'`, * the complete build log and the output of `emerge -pqv '=net-misc/curl-7.29.0-r1'`. /usr/lib64/portage/bin/isolated-functions.sh: ligne 215 : wait: « internal error: add AC_CONFIG_HEADER to ALL_AUTOTOOLS_MACROS » : ce n'est pas un n° de processus ou une spécification de tâche valable * The complete build log is located at '/var/tmp/portage/net-misc/curl-7.29.0-r1/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/net-misc/curl-7.29.0-r1/temp/environment'. * Working directory: '/var/tmp/portage/net-misc/curl-7.29.0-r1/work/curl-7.29.0' * S: '/var/tmp/portage/net-misc/curl-7.29.0-r1/work/curl-7.29.0' >>> Failed to emerge net-misc/curl-7.29.0-r1, Log file: >>> '/var/tmp/portage/net-misc/curl-7.29.0-r1/temp/build.log' * Messages for package net-misc/curl-7.29.0-r1: * ERROR: net-misc/curl-7.29.0-r1 failed (prepare phase): * internal error: add AC_CONFIG_HEADER to ALL_AUTOTOOLS_MACROS * * Call stack: * ebuild.sh, line 93: Called src_prepare * environment, line 2969: Called eautoreconf * environment, line 856: Called eautoheader * environment, line 778: Called _at_uses_autoheader * environment, line 324: Called _at_uses_pkg 'AC_CONFIG_HEADERS' 'AC_CONFIG_HEADER' 'AM_CONFIG_HEADERS' 'AM_CONFIG_HEADER' * environment, line 356: Called autotools_check_macro 'AC_CONFIG_HEADERS' 'AC_CONFIG_HEADER' 'AM_CONFIG_HEADERS' 'AM_CONFIG_HEADER' * environment, line 531: Called die * The specific snippet of code: * has ${macro} ${ALL_AUTOTOOLS_MACROS[@]} || die "internal error: add ${macro} to ALL_AUTOTOOLS_MACROS"; * * If you need support, post the output of `emerge --info '=net-misc/curl-7.29.0-r1'`, * the complete build log and the output of `emerge -pqv '=net-misc/curl-7.29.0-r1'`. * The complete build log is located at '/var/tmp/portage/net-misc/curl-7.29.0-r1/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/net-misc/curl-7.29.0-r1/temp/environment'. * Working directory: '/var/tmp/portage/net-misc/curl-7.29.0-r1/work/curl-7.29.0' * S: '/var/tmp/portage/net-misc/curl-7.29.0-r1/work/curl-7.29.0'
gentoo-x64-src / # emerge --info Portage 2.1.11.62 (default/linux/amd64/13.0, gcc-4.6.3, glibc-2.15-r3, 3.7.10-gentoo-r1 x86_64) ================================================================= System uname: Linux-3.7.10-gentoo-r1-x86_64-Intel-R-_Core-TM-_i7-3770_CPU_@_3.40GHz-with-gentoo-2.2 KiB Mem: 505792 total, 93204 free KiB Swap: 524280 total, 520980 free Timestamp of tree: Sun, 28 Apr 2013 17:15:01 +0000 ld GNU ld (GNU Binutils) 2.22 app-shells/bash: 4.2_p37 dev-lang/python: 2.7.3-r3, 3.2.3-r2 dev-util/pkgconfig: 0.28 sys-apps/baselayout: 2.2 sys-apps/openrc: 0.11.8 sys-apps/sandbox: 2.5 sys-devel/autoconf: 2.69 sys-devel/automake: 1.10.3, 1.12.6 sys-devel/binutils: 2.22-r1 sys-devel/gcc: 4.6.3 sys-devel/gcc-config: 1.7.3 sys-devel/libtool: 2.4-r1 sys-devel/make: 3.82-r4 sys-kernel/linux-headers: 3.7 (virtual/os-headers) sys-libs/glibc: 2.15-r3 Repositories: gentoo ACCEPT_KEYWORDS="amd64" ACCEPT_LICENSE="* -@EULA" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=corei7 -O2 -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo" CXXFLAGS="-march=corei7 -O2 -pipe" DISTDIR="/usr/portage/distfiles" FCFLAGS="-O2 -pipe" FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch" FFLAGS="-O2 -pipe" GENTOO_MIRRORS="ftp://ftp.free.fr/mirrors/ftp.gentoo.org/ http://mirrors.linuxant.fr/distfiles.gentoo.org/ ftp://mirror.ovh.net/gentoo-distfiles/ rsync://de-mirror.org/gentoo/" LANG="fr_FR.UTF-8" LC_ALL="fr_FR.UTF-8" LDFLAGS="-Wl,-O1 -Wl,--as-needed" MAKEOPTS="-j3" PKGDIR="/usr/portage/packages" PORTAGE_CONFIGROOT="/" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="" SYNC="rsync://rsync.fr.gentoo.org/gentoo-portage" USE="acl amd64 berkdb bindist bzip2 cli cracklib crypt cxx dri fortran gdbm gpm iconv ldap logrotate mmx modules mudflap multilib ncurses nls nptl oci8-instant-client openmp pam pcre readline session sse sse2 ssl tcpd unicode vhosts zlib" ABI_X86="64" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-3" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_2" RUBY_TARGETS="ruby19" USERLAND="GNU" VIDEO_CARDS="fbdev glint intel mach64 mga nouveau nv r128 radeon savage sis tdfx trident vesa via vmware dummy v4l" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON
this latest machine is a fresh build with : install-amd64-minimal-20130425.iso I'm working on it since yesterday. the world file is very small and only contain: app-admin/mcelog app-admin/syslog-ng app-emulation/open-vm-tools app-misc/screen app-portage/gentoolkit net-fs/nfs-utils net-misc/dhcpcd sys-apps/mlocate sys-apps/pciutils sys-boot/grub sys-kernel/genkernel sys-kernel/gentoo-sources sys-process/htop sys-process/lsof sys-process/vixie-cron Serge
This is unrelated to automake-1.12. It was caused by an untested commit to autotools.eclass and which broke basically every ebuild that uses eautoreconf. http://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/eclass/autotools.eclass?r1=1.153&r2=1.154 (And please, please use echangelog for eclasses. It makes it much easier to tell what was done to what eclass when for what reason.)
Alexandre can you revert it please?
Reverted by popular consensus: + 28 Apr 2013; Alexandre Rostovtsev <tetromino@gentoo.org> autotools.eclass: + Reverting autotools.eclass commit that broke eautoreconf (bug #467772), acked + by multiple people in #gentoo-dev.
The following trivial fix is probably correct solution: --- autotools.eclass +++ autotools.eclass @@ -245,7 +245,7 @@ egrep -q "${args[@]}" configure.?? fi } -_at_uses_autoheader() { _at_uses_pkg AC_CONFIG_HEADERS; } +_at_uses_autoheader() { _at_uses_pkg AC_CONFIG_HEADERS AM_CONFIG_HEADER; } _at_uses_automake() { _at_uses_pkg AM_INIT_AUTOMAKE; } _at_uses_gettext() { _at_uses_pkg AM_GNU_GETTEXT_VERSION; } _at_uses_glibgettext() { _at_uses_pkg AM_GLIB_GNU_GETTEXT; } @@ -489,7 +489,7 @@ # have to run the trace code once. Order doesn't matter. ALL_AUTOTOOLS_MACROS=( AC_PROG_LIBTOOL AM_PROG_LIBTOOL LT_INIT - AC_CONFIG_HEADERS + AC_CONFIG_HEADERS AM_CONFIG_HEADER AC_CONFIG_SUBDIRS AC_CONFIG_AUX_DIR AC_CONFIG_MACRO_DIR AM_INIT_AUTOMAKE
*** Bug 467776 has been marked as a duplicate of this bug. ***
*** Bug 467780 has been marked as a duplicate of this bug. ***
*** Bug 467782 has been marked as a duplicate of this bug. ***
work for me. Thanks for this speedy correction. Serge
http://sources.gentoo.org/eclass/autotools.eclass?r1=1.155&r2=1.156
*** Bug 467814 has been marked as a duplicate of this bug. ***
(In reply to comment #12) > http://sources.gentoo.org/eclass/autotools.eclass?r1=1.155&r2=1.156 Hm, A{C,M}_CONFIG_HEADER{S,} expands to: AC_CONFIG_HEADERS AC_CONFIG_HEADER AM_CONFIG_HEADERS AM_CONFIG_HEADER But only the first and the last one are needed?
(In reply to comment #14) > (In reply to comment #12) > > http://sources.gentoo.org/eclass/autotools.eclass?r1=1.155&r2=1.156 > > Hm, A{C,M}_CONFIG_HEADER{S,} expands to: > AC_CONFIG_HEADERS AC_CONFIG_HEADER AM_CONFIG_HEADERS AM_CONFIG_HEADER > > But only the first and the last one are needed? There used to be AC_CONFIG_HEADER which is even older than AM_CONFIG_HEADER So just AM_CONFIG_HEADERS is redudant from those, AFAIK
This hit me as well. From the comments here, I don't quite understand what I need to do to fix this. I already updated Portage to the newest version. Can someone explain?