emerging of glib-2.24.1-r1 fails due to automake errors. * Failed Running automake ! * * Include in your bugreport the contents of: * * /home/portage/dev-libs/glib-2.24.1-r1/temp/automake.out Reproducible: Always Steps to Reproduce: 1. emerge glib Actual Results: * Failed Running automake ! * * Include in your bugreport the contents of: * * /home/portage/dev-libs/glib-2.24.1-r1/temp/automake.out /home/portage/dev-libs/glib-2.24.1-r1/temp/automake.out ***** automake ***** ***** PWD: /home/portage/dev-libs/glib-2.24.1-r1/work/glib-2.24.1 ***** automake --add-missing --copy gtk-doc.make:53: GTK_DOC_BUILD_HTML does not appear in AM_CONDITIONAL docs/reference/gio/Makefile.am:122: `gtk-doc.make' included from here gtk-doc.make:58: GTK_DOC_BUILD_PDF does not appear in AM_CONDITIONAL docs/reference/gio/Makefile.am:122: `gtk-doc.make' included from here gtk-doc.make:26: EXTRA_DIST multiply defined in condition TRUE ... docs/reference/gio/Makefile.am:122: `gtk-doc.make' included from here Makefile.decl:8: ... `EXTRA_DIST' previously defined here docs/reference/gio/Makefile.am:1: `Makefile.decl' included from here gtk-doc.make:53: GTK_DOC_BUILD_HTML does not appear in AM_CONDITIONAL docs/reference/glib/Makefile.am:79: `gtk-doc.make' included from here gtk-doc.make:58: GTK_DOC_BUILD_PDF does not appear in AM_CONDITIONAL docs/reference/glib/Makefile.am:79: `gtk-doc.make' included from here gtk-doc.make:26: EXTRA_DIST multiply defined in condition TRUE ... docs/reference/glib/Makefile.am:79: `gtk-doc.make' included from here Makefile.decl:8: ... `EXTRA_DIST' previously defined here docs/reference/glib/Makefile.am:2: `Makefile.decl' included from here docs/reference/glib/Makefile.am:98: `%'-style pattern rules are a GNU make extension gtk-doc.make:53: GTK_DOC_BUILD_HTML does not appear in AM_CONDITIONAL docs/reference/gobject/Makefile.am:61: `gtk-doc.make' included from here gtk-doc.make:58: GTK_DOC_BUILD_PDF does not appear in AM_CONDITIONAL docs/reference/gobject/Makefile.am:61: `gtk-doc.make' included from here gtk-doc.make:26: EXTRA_DIST multiply defined in condition TRUE ... docs/reference/gobject/Makefile.am:61: `gtk-doc.make' included from here Makefile.decl:8: ... `EXTRA_DIST' previously defined here docs/reference/gobject/Makefile.am:2: `Makefile.decl' included from here docs/reference/gobject/Makefile.am:74: `%'-style pattern rules are a GNU make extension emerge --info =dev-libs/glib-2.24.1-r1 Portage 2.1.8.3 (default/linux/amd64/10.0, gcc-4.3.4, glibc-2.11.2-r0, 2.6.32-gentoo-r7 x86_64) ================================================================= System Settings ================================================================= System uname: Linux-2.6.32-gentoo-r7-x86_64-Intel-R-_Atom-TM-_CPU_330_@_1.60GHz-with-gentoo-1.12.13 Timestamp of tree: Fri, 06 Aug 2010 08:45:02 +0000 app-shells/bash: 4.0_p37 dev-lang/python: 2.6.5-r2, 3.1.2-r3 sys-apps/baselayout: 1.12.13 sys-apps/sandbox: 1.6-r2 sys-devel/autoconf: 2.65 sys-devel/automake: 1.9.6-r2, 1.10.3, 1.11.1 sys-devel/binutils: 2.20.1-r1 sys-devel/gcc: 4.3.4, 4.4.3-r2 sys-devel/gcc-config: 1.4.1 sys-devel/libtool: 2.2.6b virtual/os-headers: 2.6.30-r1 ACCEPT_KEYWORDS="amd64" ACCEPT_LICENSE="* -@EULA" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=core2 -O2 -pipe -fomit-frame-pointer" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /var/bind" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo" CXXFLAGS="-march=core2 -O2 -pipe -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="assume-digests distlocks fixpackages news parallel-fetch protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch" GENTOO_MIRRORS="http://ftp.snt.utwente.nl/pub/linux/gentoo" LDFLAGS="-Wl,-O1 -Wl,--as-needed" MAKEOPTS="-j5 -l5" PKGDIR="/usr/portage/packages" PORTAGE_CONFIGROOT="/" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/home" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.nl.gentoo.org/gentoo-portage" USE="acl amd64 berkdb bzip2 cli cracklib crypt cups cxx dri fortran gpm iconv ipv6 mmx modules mudflap multilib ncurses nls nptl nptlonly openmp pam pcre perl pppd python readline reflection session spl sse sse2 sse3 ssl sysfs tcpd unicode 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" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="fbdev glint intel mach64 mga neomagic nv r128 radeon savage sis tdfx trident vesa via vmware voodoo" 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, FFLAGS, INSTALL_MASK, LANG, LC_ALL, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS emerge -pqv =dev-libs/glib-2.24.1-r1 [ebuild U ] dev-libs/glib-2.24.1-r1 [2.22.5] USE="-debug -doc -fam -hardened (-selinux) -xattr /home/portage/dev-libs/glib-2.24.1-r1/temp/build.log * CPV: dev-libs/glib-2.24.1-r1 * REPO: gentoo * USE: amd64 elibc_glibc kernel_linux multilib userland_GNU >>> Unpacking source... >>> Unpacking glib-2.24.1.tar.bz2 to /home/portage/dev-libs/glib-2.24.1-r1/work >>> Source unpacked in /home/portage/dev-libs/glib-2.24.1-r1/work >>> Preparing source in /home/portage/dev-libs/glib-2.24.1-r1/work/glib-2.24.1 ... * Applying glib-2.18.1-workaround-gio-test-failure-without-userpriv.patch ... [ ok ] * Applying glib-2.12.12-fbsd.patch ... [ ok ] * Applying glib-2.24-punt-python-check.patch ... [ ok ] * Applying glib-2.24-assert-test-failure.patch ... [ ok ] * Running eautoreconf in '/home/portage/dev-libs/glib-2.24.1-r1/work/glib-2.24.1' ... * Running aclocal ... [ ok ] * Running libtoolize --copy --force --install --automake ... [ ok ] * Running aclocal ... [ ok ] * Running autoconf ... [ ok ] * Running autoheader ... [ ok ] * Running automake --add-missing --copy ... [ !! ] * Failed Running automake ! * * Include in your bugreport the contents of: * * /home/portage/dev-libs/glib-2.24.1-r1/temp/automake.out * ERROR: dev-libs/glib-2.24.1-r1 failed: * Failed Running automake ! * * Call stack: * ebuild.sh, line 54: Called src_prepare * environment, line 3234: Called eautoreconf * environment, line 1026: Called eautomake * environment, line 995: Called autotools_run_tool 'automake' '--add-missing' '--copy' * environment, line 496: Called die * The specific snippet of code: * die "Failed Running $1 !"; * * If you need support, post the output of 'emerge --info =dev-libs/glib-2.24.1-r1', * the complete build log and the output of 'emerge -pqv =dev-libs/glib-2.24.1-r1'. * The complete build log is located at '/home/portage/dev-libs/glib-2.24.1-r1/temp/build.log'. * The ebuild environment file is located at '/home/portage/dev-libs/glib-2.24.1-r1/temp/environment'. * S: '/home/portage/dev-libs/glib-2.24.1-r1/work/glib-2.24.1'
Upgrading dev-util/gtk-doc-am from 1.11 to 1.15 fixed the issue for me. Perhaps add a dependency on >=dev-util/gtk-doc-am-1.15 to dev-libs/glib? I haven't tried whether dev-util/gtk-doc-am-1.13 also works.
yes, that did the trick! Using >=dev-util/gtk-doc-am-1.15 allows me to compile glib-2.24.1-r1
*** Bug 332849 has been marked as a duplicate of this bug. ***
using gtk-doc-am-1.13 here, it didn't fail. Could you try again with this revision ?
*** Bug 333279 has been marked as a duplicate of this bug. ***
Upgrading to dev-util/gtk-doc-am-1.15 worked for me, too.
gtk-doc-1.13 should be enough, but would also be interesting to be able to check other gnome apps since this update is probably needed for other ebuilds :-/
+ 31 Aug 2010; Pacho Ramos <pacho@gentoo.org> -glib-2.22.2.ebuild, + -glib-2.24.1.ebuild, glib-2.24.1-r1.ebuild: + Raise gtk-doc requeriment as reported in bug #331407 by Siim Ainsaar, + marlon and others. Drop old testing versions. +
I am not sure, if this is the correct solution. The problem was inherited while adding eautoreconf, see bug #267603. The autogen.sh script which is called by eautoreconf & automake does not honor the useflag -doc. In my opinion, the configure options inherited by useflags should also be passed to autogen.sh. This would solve the hassle with useflag -doc.
Unfortunately, it doesn't work for me. it appears on a clean gentoo-prefix installation, gtk-doc-am does not even exist,and I had to install it first.
You will need to provide updated logs then with the failure
(In reply to comment #10) > Unfortunately, it doesn't work for me. it appears on a clean gentoo-prefix > installation, gtk-doc-am does not even exist,and I had to install it first. Same here on gentoo-prefix (mac osx 10.6.7). For me, the gtk-doc-am ebuild exists in the tree but is not pulled in by glib. I had to install gtk-doc-am manually to get the automake phase to succeed and for glib to continue the build.
As you can see in DEPEND of glib:2 ebuilds, gtk-doc-am is already listed, then, the problem seems to be on other side (maybe portage used in prefix?)
You guys should have opened a new bug, instead of reopening an ancient one not dealing with the same issue (you appear to be on Gentoo Prefix, and obviously you use a newer version). In this case, the Prefix tree was behind gx86, so this commit wasn't in there yet: 26 Mar 2011; Gilles Dartiguelongue <eva@gentoo.org> -glib-2.22.5.ebuild, -glib-2.24.1-r1.ebuild, -glib-2.28.3.ebuild, glib-2.28.4.ebuild: Re-add gtk-doc-am to DEPEND, bug #360581. Add changes commited to 2.26 ebuild. Drop old revisions. I synced it now, and suggest closing this bug again. (Sorry Marlon for the spam ;) )
Thanks a lot Fabian