Created attachment 308033 [details] Disables eautoreconf to make vte build On my amd64-linux prefix (hosted on Red Hat 5) x11-libs/vte-0.28.2-r202 fails to run automake. While it's probably an incorrect solution, I've found that a workaround is to comment out "eautoreconf" in the src_prepare() stage of the ebuild. I've attached a diff that I use to successfully build a libvte that seems to work: I get some quality warnings that the package suggests to submit to upstream. The failure message is * Failed Running automake ! * * Include in your bugreport the contents of: * * /net/ld-8/scratch/gentoo_prefix/2012-04-02-core_i7/var/tmp/portage/x11-libs/vte-0.28.2-r202/temp/automake-1.out * ERROR: x11-libs/vte-0.28.2-r202 failed (prepare phase): * Failed Running automake ! * * Call stack: * ebuild.sh, line 85: Called call-ebuildshell 'src_prepare' * environment, line 1181: Called src_prepare * environment, line 5701: Called eautoreconf * environment, line 1387: Called eautomake * environment, line 1354: Called autotools_run_tool 'automake' '--add-missing' '--copy' '--foreign' * environment, line 1097: Called die * The specific snippet of code: * die "Failed Running $1 !"; I don't understand the "automake-1.out" log, which is why I just disabled eautoreconf ***** automake ***** ***** PWD: /net/ld-8/scratch/gentoo_prefix/2012-04-02-core_i7/var/tmp/portage/x11-libs/vte-0.28.2-r202/work/vte-0.28.2 ***** automake --add-missing --copy --foreign configure.in:211: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body ../../lib/autoconf/lang.m4:194: AC_LANG_CONFTEST is expanded from... ../../lib/autoconf/general.m4:2591: _AC_COMPILE_IFELSE is expanded from... ../../lib/autoconf/general.m4:2607: AC_COMPILE_IFELSE is expanded from... configure.in:156: VTE_CC_TRY_FLAG is expanded from... ../../lib/m4sugar/m4sh.m4:606: AS_IF is expanded from... ../../lib/autoconf/general.m4:2032: AC_CACHE_VAL is expanded from... ../../lib/autoconf/general.m4:2053: AC_CACHE_CHECK is expanded from... configure.in:211: the top level configure.in:240: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body ../../lib/autoconf/lang.m4:194: AC_LANG_CONFTEST is expanded from... ../../lib/autoconf/general.m4:2662: _AC_LINK_IFELSE is expanded from... ../../lib/autoconf/general.m4:2679: AC_LINK_IFELSE is expanded from... configure.in:172: VTE_LD_TRY_FLAG is expanded from... configure.in:240: the top level configure.in:268: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body ../../lib/autoconf/lang.m4:194: AC_LANG_CONFTEST is expanded from... ../../lib/autoconf/general.m4:2662: _AC_LINK_IFELSE is expanded from... ../../lib/autoconf/general.m4:2679: AC_LINK_IFELSE is expanded from... configure.in:172: VTE_LD_TRY_FLAG is expanded from... configure.in:268: the top level src/Makefile.am:168: HAVE_INTROSPECTION does not appear in AM_CONDITIONAL Further information $ emerge --info =x11-libs/vte-0.28.2-r202 Portage 2.2.01.20389-prefix (prefix/linux/amd64, gcc-4.5.3, unavailable, 2.6.18-164.11.1.el5 x86_64) ================================================================= System Settings ================================================================= System uname: Linux-2.6.18-164.11.1.el5-x86_64-Intel-R-_Core-TM-_i7-2600_CPU_@_3.40GHz-with-redhat-5.4-Tikanga Timestamp of tree: Fri, 06 Apr 2012 17:18:25 +0000 app-shells/bash: 4.2_p20::gentoo_prefix dev-lang/python: 2.7.2-r3::gentoo_prefix dev-util/cmake: 2.8.7-r5::gentoo_prefix dev-util/pkgconfig: 0.26::gentoo_prefix sys-devel/autoconf: 2.13::gentoo_prefix, 2.68::gentoo_prefix sys-devel/automake: 1.11.1::gentoo_prefix sys-devel/binutils: 2.22-r1::gentoo_prefix sys-devel/gcc: 4.5.3-r1::gentoo_prefix sys-devel/gcc-config: 1.5-r2::gentoo_prefix sys-devel/libtool: 2.4-r4::gentoo_prefix sys-devel/make: 3.82::gentoo_prefix sys-kernel/linux-headers: 3.3::gentoo_prefix (virtual/os-headers) Repositories: gentoo_prefix palmerdabbelt palmerdabbelt-prefix Installed sets: ACCEPT_KEYWORDS="~amd64-linux" ACCEPT_LICENSE="* -@EULA" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-O2 -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/portage /etc/revdep-rebuild /etc/terminfo" CXXFLAGS="-O2 -pipe" DISTDIR="/net/ld-8/scratch/gentoo_prefix/2012-04-02-core_i7/usr/portage/distfiles" EMERGE_DEFAULT_OPTS="--load-average 8 --jobs 8" FEATURES="assume-digests binpkg-logs collision-protect distlocks ebuild-locks fixlafiles force-prefix news parallel-fetch preserve-libs protect-owned sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch" FFLAGS="" GENTOO_MIRRORS="http://distfiles.gentoo.org" LANG="en_US.UTF-8" LDFLAGS="-Wl,-O1" LINGUAS="en_US" MAKEOPTS="-j8" PKGDIR="/net/ld-8/scratch/gentoo_prefix/2012-04-02-core_i7/usr/portage/packages" PORTAGE_CONFIGROOT="/net/ld-8/scratch/gentoo_prefix/2012-04-02-core_i7/" 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="/net/ld-8/scratch/gentoo_prefix/2012-04-02-core_i7/var/tmp" PORTDIR="/net/ld-8/scratch/gentoo_prefix/2012-04-02-core_i7/usr/portage" PORTDIR_OVERLAY="/net/ld-8/scratch/gentoo_prefix/2012-04-02-core_i7/var/lib/layman/palmerdabbelt /net/ld-8/scratch/gentoo_prefix/2012-04-02-core_i7/usr/local/portage" SYNC="rsync://rsync.prefix.freens.org/gentoo-portage-prefix" USE="X amd64 apng bash-completion berkdb bzip2 cli cracklib crypt custom-cflags custom-optimization cxx dri emacs gdbm gif git gtk gudev iconv ipv6 jpeg jpeg2k mmx modules ncurses nptl nptlonly pcre perl png pppd prefix python readline session spell sse sse2 ssl subversion svg sysfs tcpd tiff toolkit-scroll-bars unicode webdav-serf xft xinerama xorg zlib" 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="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" 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" LINGUAS="en_US" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby19" USERLAND="GNU" 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, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON ================================================================= Package Settings ================================================================= x11-libs/vte-0.28.2-r202 was built with the following: USE="(prefix) python -debug -doc -glade -introspection" The exact quality warnings I get from my build. The message suggests they're not important, but I don't know if I caused them by messing with eaotoreconf. $ emerge --oneshot =x11-libs/vte-0.28.2-r202 -v --jobs 1 ... * QA Notice: Package triggers severe warnings which indicate that it * may exhibit random runtime failures. * vteaccess.c:881:11: warning: dereferencing type-punned pointer will break strict-aliasing rules * vtebg.c:281:5: warning: dereferencing type-punned pointer will break strict-aliasing rules * vtebg.c:341:8: warning: dereferencing type-punned pointer will break strict-aliasing rules * Please do not file a Gentoo bug and instead report the above QA * issues directly to the upstream developers of this software. * Homepage: http://git.gnome.org/browse/vte
Actually, the reason of the failure is quite simple: src/Makefile.am:168: HAVE_INTROSPECTION does not appear in AM_CONDITIONAL most likely means that eautoreconf adds a dep on dev-libs/gobject-introspection (or dev-libs/gobject-introspection-common, if you already have that version installed)
(In reply to comment #1) > Actually, the reason of the failure is quite simple: > src/Makefile.am:168: HAVE_INTROSPECTION does not appear in AM_CONDITIONAL > most likely means that eautoreconf adds a dep on > dev-libs/gobject-introspection (or dev-libs/gobject-introspection-common, if > you already have that version installed) Yes, I can verify that vte builds (and with eautoreconf) fine when I add gobject-introspection into the list of dependencies (ie, remove it from the introspection conditional). I'll attach another patch. This breakage doesn't happen on a non-prefix amd64 box, but it doesn't call eautoreconf so that seems reasonable. Thanks for the help!
Created attachment 308059 [details, diff] Don't conditionally depend on dev-libs/gobject-introspection I'm not actually sure which workaround is better, so I'm not deprecating my old one.
I've removed the need to call eautoreconf by making the interix patch patch configure as well. That should fix it. Thanks!