Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 90640 - x11-libs/gtk+-2.6.4-r1 fails to compile due to an automake version mismatch
Summary: x11-libs/gtk+-2.6.4-r1 fails to compile due to an automake version mismatch
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All All
: Low normal (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-04-27 10:44 UTC by Bodo Thiesen
Modified: 2005-09-23 08:44 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 Bodo Thiesen 2005-04-27 10:44:16 UTC
# emerge --oneshot gtk+
[...]
 * Applying gtk+-2.6.4-bmp_reject_corrupt.patch ... [ ok ]
configure.in:46: version mismatch.  This is Automake 1.8.5,
configure.in:46: but the definition used by this AM_INIT_AUTOMAKE
configure.in:46: comes from Automake 1.7.9.  You should recreate
configure.in:46: aclocal.m4 with aclocal and run automake again.
automake-1.8: html was already defined in condition !HAVE_DOCBOOK, which is included in condition TRUE ...
docs/faq/Makefile.am:21: ... `html' previously defined here
automake-1.8: pdf was already defined in condition !HAVE_DOCBOOK, which is included in condition TRUE ...
docs/faq/Makefile.am:26: ... `pdf' previously defined here
automake-1.8: html was already defined in condition !HAVE_DOCBOOK, which is included in condition TRUE ...
docs/tutorial/Makefile.am:56: ... `html' previously defined here
automake-1.8: pdf was already defined in condition !HAVE_DOCBOOK, which is included in condition TRUE ...
docs/tutorial/Makefile.am:61: ... `pdf' previously defined here

!!! ERROR: x11-libs/gtk+-2.6.4-r1 failed.

Automake 1.7.9-r1 IS installed.

The following patch fixed the problem.

--- /usr/portage/x11-libs/gtk+/gtk+-2.6.4-r1.ebuild     2005-04-09 15:37:44.000000000 +0200
+++ /usr/portage/x11-libs/gtk+/gtk+-2.6.4-r2.ebuild     2005-04-27 19:41:47.000000000 +0200
@@ -58,6 +58,7 @@
        use ppc64 && epatch ${FILESDIR}/${PN}-2.4.9-ppc64.patch
        use ppc64 && append-flags -mminimal-toc
 
+       WANT_AUTOMAKE=1.7
        autoconf || die
        automake || die
Comment 1 foser (RETIRED) gentoo-dev 2005-04-28 03:07:14 UTC
your 'emerge info' ?

We could ofcourse hardcode it, but the autodetection seems to work for most people out there and i rather go with that here.
Comment 2 Bodo Thiesen 2005-04-28 14:17:27 UTC
Portage 2.0.51.19 (default-linux/x86/2005.0/2.4, gcc-3.3.2, glibc-2.3.2-r9, 2.4.26-vswsusp-skas3 i686)=================================================================System uname: 2.4.26-vswsusp-skas3 i686 mobile AMD Athlon (tm) 2000+    Gentoo Base System version 1.4.3.13Python:              dev-lang/python-2.3.3,dev-lang/python-2.2.3-r1 [2.3.3 (#1, Mar 25 2004, 03:59:05)]dev-lang/python:     2.3.3, 2.2.3-r1sys-devel/autoconf:  2.13, 2.59-r6sys-devel/automake:  1.5, 1.7.9-r1, 1.4_p6, 1.6.3, 1.8.5-r3, 1.9.4sys-devel/binutils:  2.14.90.0.7-r4sys-devel/libtool:   1.4.3-r4virtual/os-headers:  2.4.19-r1, 2.4.21-r1ACCEPT_KEYWORDS="x86"AUTOCLEAN="yes"CFLAGS="-O4 -march=athlon-tbird -funroll-loops -pipe"CHOST="i686-pc-linux-gnu"CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.2/share/config /usr/kde/3/share/config /usr/share/config /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /var/qmail/control"CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"CXXFLAGS="-O4 -march=athlon-tbird -funroll-loops -pipe"DISTDIR="/usr/portage/distfiles"FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms strict"GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/Linux/distributions/gentoo"MAKEOPTS="-j2"PKGDIR="/usr/portage/packages"PORTAGE_TMPDIR="/var/tmp"PORTDIR="/usr/portage"PORTDIR_OVERLAY="/etc/portage-overlay"SYNC="rsync://rsync.de.gentoo.org/gentoo-portage http://distfiles.gentoo.org/distfiles"USE="x86 3dnow X Xaw3d aalib acl acpi alsa apache2 apm avi berkdb bitmap-fonts bonobo cdr crypt cscope curl dba dga directfb doc dvd emacs-w3 emboss encode evo f77 fam fbcon flac fortran gb gd gdbm ggi gif gnome gpm gstreamer gtk gtkhtml guile imagemagick imlib innodb ipv6 jack java jikes jpeg kde lcms ldap leim libg++ libgda libwww mad maildir matrox mbox mcal memlimit mikmod mmx motif mp3 mpeg mpi mule mysql ncurses nls nocd ogg oggvorbis opengl oss pam pcmcia pdflib perl plotutils png pnp prelude python qt quicktime readline ruby samba sasl sdl slang spell ssl svga tcltk tcpd tetex tiff truetype truetype-fonts trusted type1-fonts usb videos vorbis wavelan wmf wxwindows xface xml xml2 xmms xv zlib"Unset:  ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS
Comment 3 Nils Ohlmeier 2005-05-08 08:39:38 UTC
I had the same problem here with automake 1.9.5. Seems like an autoreconf run is required before running configure.

Portage 2.0.51.19 (default-linux/ppc/2005.0, gcc-3.4.3, glibc-2.3.4.20041102-r1, 2.6.9-gentoo-r9 ppc)
=================================================================
System uname: 2.6.9-gentoo-r9 ppc 7447A, altivec supported
Gentoo Base System version 1.4.16
Python:              dev-lang/python-2.3.5 [2.3.5 (#1, May  8 2005, 01:26:35)]
dev-lang/python:     2.3.5
sys-apps/sandbox:    [Not Present]
sys-devel/autoconf:  2.59-r6, 2.13
sys-devel/automake:  1.7.9-r1, 1.8.5-r3, 1.5, 1.4_p6, 1.6.3, 1.9.5
sys-devel/binutils:  2.15.92.0.2-r8
sys-devel/libtool:   1.5.16
virtual/os-headers:  2.6.8.1-r4
ACCEPT_KEYWORDS="ppc"
AUTOCLEAN="yes"
CFLAGS="-O3 -mcpu=powerpc -pipe -maltivec -mabi=altivec"
CHOST="powerpc-unknown-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O3 -mcpu=powerpc -pipe -maltivec -mabi=altivec"
DISTDIR="/mnt/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms strict"
GENTOO_MIRRORS="ftp://ftp.freenet.de/pub/ftp.snt.utwente.nl/pub/os/linux/gentoo http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="ppc X alsa apache2 arts artswrappersuid berkdb bitmap-fonts cdr crypt cups curl dvd emboss fam fortran gdbm gif gnokii gtk gtk2 idea imap java jpeg junit kde libwww motif mozilla mp3 mysql ncurses nls ogg oggvorbis opengl pam pcmcia perl png python qt readline samba ssl tiff truetype truetype-fonts type1-fonts unicode vorbis wifi xinerama xml xml2 xprint xv zlib userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTDIR_OVERLAY
Comment 4 Bodo Thiesen 2005-05-08 17:08:31 UTC
@Nils Ohlmeierset | grep WANT_AUTOMAKEIf it shows something, figure out where it is set (if you can't find it, try at worst case, grep "WANT_AUTOMAKE" /etc -r or something like that), remove the line setting it, and then logout and relogin. Try the emerge again. Should fix that. I figured out, that I had an "export WANT_AUTOMAKE=1.8" in my (edited) /etc/profile for some reason, and thus autodetection failed obviously.@Gentoo-Devs: Consider adding WANT_AUTOMAKE and CPATH to the emerge info output ;-)[Leaving open because I don't know if Nils' bug will be solved by following my hint, for me, the problem has been RESOLVED (INVALID)]
Comment 5 foser (RETIRED) gentoo-dev 2005-05-09 01:49:53 UTC
Again, I rather work with autodetection because it's more 'portable' over versions. This may change in the future depending on our autotools lay-ut. But for now, wontfix.

Thanks for figuring out your problem.
Comment 6 Patrick Kursawe (RETIRED) gentoo-dev 2005-09-23 08:44:26 UTC
just ran into the same problem for gtk+-2.6.8
WANT_AUTOMAKE="1.7" emerge gtk+ got me through it.