Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 403779 - dev-util/valgrind-3.6.1-r2 - * Failed Running automake !
Summary: dev-util/valgrind-3.6.1-r2 - * Failed Running automake !
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Anthony Basile
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-02-15 05:54 UTC by hiyuh
Modified: 2012-02-17 01:38 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
/var/tmp/portage/dev-util/valgrind-3.6.1-r2/temp/automake.out (automake.out,874 bytes, text/plain)
2012-02-17 00:59 UTC, hiyuh
Details

Note You need to log in before you can comment on or make changes to this bug.
Description hiyuh 2012-02-15 05:54:31 UTC
ssia

Reproducible: Always

Steps to Reproduce:
1. emerge =dev-util/valgrind-3.6.1-r2 w/ only sys-devel/automake:1.11 env

Actual Results:  
>>> Emerging (1 of 1) dev-util/valgrind-3.6.1-r2
 * valgrind-3.6.1.tar.bz2 RMD160 SHA1 SHA256 size ;-) ...                                                                [ ok ]
>>> Unpacking source...
>>> Unpacking valgrind-3.6.1.tar.bz2 to /var/tmp/portage/dev-util/valgrind-3.6.1-r2/work
>>> Source unpacked in /var/tmp/portage/dev-util/valgrind-3.6.1-r2/work
>>> Preparing source in /var/tmp/portage/dev-util/valgrind-3.6.1-r2/work/valgrind-3.6.1 ...
 * Applying valgrind-3.6.0-local-labels.patch ...                                                                        [ ok ]
 * Applying valgrind-3.6.0-non-exec-stack.patch ...                                                                      [ ok ]
 * Applying valgrind-3.4.1-glibc-2.10.1.patch ...                                                                        [ ok ]
 * Applying valgrind-3.6.1-user-enable-qt4.patch ...                                                                     [ ok ]
 * Applying valgrind-3.6.1-linux-3.patch ...                                                                             [ ok ]
 * Applying valgrind-3.6.1-glibc-2.14.patch ...                                                                          [ ok ]
 * Running eautoreconf in '/var/tmp/portage/dev-util/valgrind-3.6.1-r2/work/valgrind-3.6.1' ...
 * Running aclocal ...                                                                                                   [ ok ]
 * Running autoconf ...                                                                                                  [ ok ]
 * Running autoheader ...                                                                                                [ ok ]
 * Running automake --add-missing --copy --foreign ...                                                                   [ !! ]

 * Failed Running automake !
 *
 * Include in your bugreport the contents of:
 *
 *   /var/tmp/portage/dev-util/valgrind-3.6.1-r2/temp/automake.out

 * ERROR: dev-util/valgrind-3.6.1-r2 failed (prepare phase):
 *   Failed Running automake !
 *
 * Call stack:
 *     ebuild.sh, line   85:  Called src_prepare
 *   environment, line 3063:  Called eautoreconf
 *   environment, line  934:  Called eautomake
 *   environment, line  903:  Called autotools_run_tool 'automake' '--add-missing' '--copy' '--foreign'
 *   environment, line  585:  Called die
 * The specific snippet of code:
 *           die "Failed Running $1 !";
 *
 * If you need support, post the output of 'emerge --info =dev-util/valgrind-3.6.1-r2',
 * the complete build log and the output of 'emerge -pqv =dev-util/valgrind-3.6.1-r2'.
 * The complete build log is located at '/var/tmp/portage/dev-util/valgrind-3.6.1-r2/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-util/valgrind-3.6.1-r2/temp/environment'.
 * S: '/var/tmp/portage/dev-util/valgrind-3.6.1-r2/work/valgrind-3.6.1'


Expected Results:  
win

Add "WANT_AUTOMAKE=1.10" before "inherit autotools ..." fix this bug.
maybe, other valgrind ebuilds also need to set WANT_AUTOMAKE.
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2012-02-15 13:23:08 UTC
 Include in your bugreport the contents of:
 *
 *   /var/tmp/portage/dev-util/valgrind-3.6.1-r2/temp/automake.out

1) Please attach that.
2) Please post your `emerge --info' output in a comment.
Comment 2 Anthony Basile gentoo-dev 2012-02-15 22:53:12 UTC
This looks like a duplicate of bug #397429, but for 3.6.1-r2.  If so I can backport that patch.  However, I really need to be sure.  Can you post your /var/tmp/portage/dev-util/valgrind-3.6.1-r2/temp/automake.out.  Otherwise, I can try to reproduce it here.
Comment 3 hiyuh 2012-02-17 00:59:42 UTC
Created attachment 302227 [details]
/var/tmp/portage/dev-util/valgrind-3.6.1-r2/temp/automake.out
Comment 4 hiyuh 2012-02-17 01:03:07 UTC
FYI, my emerge --info:

Portage 2.1.10.46 (default/linux/powerpc/ppc32/10.0, gcc-4.5.3, glibc-2.14.1-r2, 3.2.5-gentoo ppc)
=================================================================
System uname: Linux-3.2.5-gentoo-ppc-7447A,_altivec_supported-with-gentoo-2.1
Timestamp of tree: Wed, 15 Feb 2012 06:45:01 +0000
ccache version 3.1.7 [enabled]
app-shells/bash:          4.2_p20
dev-lang/python:          2.7.2-r3, 3.2.2
dev-util/ccache:          3.1.7
dev-util/cmake:           2.8.7-r3
dev-util/pkgconfig:       0.26
sys-apps/baselayout:      2.1
sys-apps/openrc:          0.9.8.4
sys-apps/sandbox:         2.5
sys-devel/autoconf:       2.68
sys-devel/automake:       1.11.3
sys-devel/binutils:       2.22-r1
sys-devel/gcc:            4.5.3-r2
sys-devel/gcc-config:     1.5-r2
sys-devel/libtool:        2.4.2
sys-devel/make:           3.82-r3
sys-kernel/linux-headers: 3.2 (virtual/os-headers)
sys-libs/glibc:           2.14.1-r2
Repositories: gentoo x-crossdev hiyuh
ACCEPT_KEYWORDS="ppc ~ppc"
ACCEPT_LICENSE="* -@EULA"
CBUILD="powerpc-unknown-linux-gnu"
CFLAGS="-Os -mcpu=G4 -mtune=G4 -maltivec -mabi=altivec -Wall"
CHOST="powerpc-unknown-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-Os -mcpu=G4 -mtune=G4 -maltivec -mabi=altivec -Wall"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--quiet=n --quiet-build=n"
FEATURES="assume-digests binpkg-logs ccache collision-protect distlocks ebuild-locks fixlafiles news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox"
FFLAGS=""
GENTOO_MIRRORS=" 	http://gentoo.channelx.biz/ 	http://gentoo.gg3.net/ 	ftp://gg3.net/pub/linux/gentoo/ 	ftp://ftp.iij.ad.jp/pub/linux/gentoo/ 	http://ftp.iij.ad.jp/pub/linux/gentoo/ 	rsync://ftp.iij.ad.jp/pub/linux/gentoo/ 	http://ftp.jaist.ac.jp/pub/Linux/Gentoo/ 	rsync://ftp.jaist.ac.jp/pub/Linux/Gentoo/ 	ftp://ftp.jaist.ac.jp/pub/Linux/Gentoo/ "
LANG="ja_JP.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="en ja"
MAKEOPTS="-j2"
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="/usr/local/overlay/crossdev /usr/local/overlay/hiyuh"
SYNC="rsync://rsync.jp.gentoo.org/gentoo-portage"
USE="X acl altivec bash-completion berkdb bzip2 caps cjk cli cracklib crypt cxx dri fontconfig fortran gdbm gif gpm gtk3 iconv icu jbig jpeg jpeg2k lzma modules mudflap ncurses nls nptl nptlonly opengl openmp png ppc readline session ssl svg sysfs t1lib tcpd threads tiff truetype unicode vim-syntax xcb xft xorg zlib" ALSA_CARDS="aoa aoa-fabric-layout aoa-onyx aoa-soundbus aoa-soundbus-i2s aoa-tas aoa-toonie" 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" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LINGUAS="en ja" RUBY_TARGETS="ruby19" USERLAND="GNU" VIDEO_CARDS="fbdev radeon r200"
Unset:  CPPFLAGS, CTARGET, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 5 Anthony Basile gentoo-dev 2012-02-17 01:10:04 UTC
(In reply to comment #2)
> This looks like a duplicate of bug #397429, but for 3.6.1-r2.  If so I can
> backport that patch.  However, I really need to be sure.  Can you post your
> /var/tmp/portage/dev-util/valgrind-3.6.1-r2/temp/automake.out.  Otherwise, I
> can try to reproduce it here.

Makefile.am:60: `pkglibdir' is not a legitimate directory for `DATA'

Yep, its the same error.  I'll have 3.6.1-r3 out soon.
Comment 6 Anthony Basile gentoo-dev 2012-02-17 01:38:43 UTC
Okay this is fixed.  I actually didn't rev bump, so the fix is in valgrind-3.6.1-r2.  I'm closing this resolved-fixed, but please feel free to reopen if I'm deluded ;)