Bug 131987 - valgrind-3.1.1 depends on automake-1.9.6
Bug#: 131987 Product:  Gentoo Linux Version: unspecified Platform: x86
OS/Version: Linux Status: RESOLVED Severity: normal Priority: P2
Resolution: FIXED Assigned To: griffon26@gentoo.org Reported By: marti@juffo.org
Component: Ebuilds
URL: 
Summary: valgrind-3.1.1 depends on automake-1.9.6
Keywords:  
Status Whiteboard: 
Opened: 2006-05-02 00:20 0000
Description:   Opened: 2006-05-02 00:20 0000
valgrind-3.1.1 seems to require automake-1.9.6, but does not explicitly depend
on the version. It emerges successfully after manually updating automake to
1.9.6-r1.

Here's the emerge output:

# emerge valgrind -v
[...]
>>> Unpacking valgrind-3.1.1.tar.bz2 to /var/tmp/portage/valgrind-3.1.1/work
 * Changing configure.in to respect CFLAGS
 * Changing Makefile.flags.am to disable SSP
 * Regenerating autotools files...
configure.in:5: version mismatch.  This is Automake 1.9.5,
configure.in:5: but the definition used by this AM_INIT_AUTOMAKE
configure.in:5: comes from Automake 1.9.6.  You should recreate
configure.in:5: aclocal.m4 with aclocal and run automake again.
emerge glibc -v

!!! ERROR: dev-util/valgrind-3.1.1 failed.
!!! Function src_unpack, Line 36, Exitcode 63
!!! automake failed
!!! If you need support, post the topmost build error, NOT this status message.


# emerge --info
Portage 2203-svn (default-linux/x86/2005.1, gcc-3.3.5-20050130,
glibc-2.3.4.20041102-r1, 2.6.15-gentoo-r1-das0-1 i686)
=================================================================
System uname: 2.6.15-gentoo-r1-das0-1 i686 Intel(R) Xeon(TM) CPU 3.00GHz
Gentoo Base System version 1.6.13
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632)
[enabled]
dev-lang/python:     2.3.5-r2
dev-util/ccache:     [Not Present]
dev-util/confcache:  0.4.2
sys-apps/sandbox:    1.2.12
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.5
sys-devel/binutils:  2.16.1
sys-devel/libtool:   1.5.18-r1
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-pipe -O2 -march=pentium4"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config
/usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/eselect/compiler /etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-pipe -O2 -march=pentium4"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig confcache distcc distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://192.168.0.7/gentoo/
http://ftp.linux.ee/pub/gentoo/distfiles/ http://trumpetti.atm.tut.fi/gentoo/"
LANG="en_US"
LC_ALL="en_US"
MAKEOPTS="-j6"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="x86 acl alsa apache2 apm arts avi berkdb bitmap-fonts bzip2 cli dri eds
emboss encode expat foomaticdb gdbm gstreamer gtk2 imlib ipv6 isdnlog jpeg
libg++ libwww logrotate mad mikmod mmx motif mp3 mysql ncurses nptl ogg
oggvorbis opengl oss pam pcre pdflib png pppd python quicktime readline
reflection sdl session spl ssl threads truetype truetype-fonts type1-fonts udev
unicode vorbis xml xml2 xmms xorg xv zlib userland_GNU kernel_linux
elibc_glibc"
Unset:  ASFLAGS, CTARGET, INSTALL_MASK, LDFLAGS, LINGUAS

------- Comment #1 From Chris Mansley 2006-05-08 13:44:24 0000 -------
I second that bug.  My current fix agrees with the original description

# emerge automake
# emerge valgrind

# emerge --info
Portage 2.0.54 (default-linux/x86/2005.0, gcc-3.4.4, glibc-2.3.5-r0,
2.6.12-gentoo-r4 i686)
=================================================================
System uname: 2.6.12-gentoo-r4 i686 AMD Athlon(tm) XP  2800+
Gentoo Base System version 1.6.14
dev-lang/python:     2.3.5-r2, 2.4.2
dev-python/pycrypto: [Not Present]
dev-util/ccache:     [Not Present]
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.10
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.16.1
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=athlon-xp -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env
/usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config
/usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config
/usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/
/usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/
/usr/share/texmf/xdvi/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/eselect/compiler /etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=athlon-xp -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://gentoo.chem.wisc.edu/gentoo/ http://adelie.polymtl.ca/
http://gentoo.cites.uiuc.edu/pub/gentoo/ http://mirror.datapipe.net/gentoo
ftp://mirror.datapipe.net/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X alsa apm arts audiofile avi berkdb bitmap-fonts bzip2 cdr cli crypt
cups curl dri eds emboss encode esd exif expat fam ffmpeg foomaticdb fortran
gdbm gif glut gnome gpm gstreamer gtk gtk2 gtkhtml hal imagemagick imlib ipv6
isdnlog java jpeg lcms libg++ libwww mad mikmod mng motif mozilla mp3 mpeg
ncurses nls ogg oggvorbis opengl oss pam pcre pdflib perl png pppd python
quicktime readline recode reflection ruby samba sdl session spell spl ssl tcpd
tetex tiff truetype truetype-fonts type1-fonts udev usb vorbis xml2 xmms xorg
xv xvid zlib userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS,
PORTAGE_RSYNC_EXTRA_OPTS, PORTAGE_RSYNC_OPTS, PORTDIR_OVERLAY

------- Comment #2 From Maurice van der Pot 2006-06-09 13:05:51 0000 -------
I just fixed the problem in valgrind-3.1.1. It had to do with not properly 
regenerating autotools files.

Thanks for the report guys.