>>> Preparing source in /var/tmp/portage/dev-util/valgrind-3.7.0-r1/work/valgrind-3.7.0 ... * Applying valgrind-3.7.0-respect-flags.patch ... [ ok ] * Applying valgrind-3.7.0-fno-stack-protector.patch ... [ ok ] * Applying valgrind-3.6.0-local-labels.patch ... [ ok ] * Applying valgrind-3.7.0-non-exec-stack.patch ... [ ok ] * Applying valgrind-3.7.0-fix-gcc-regex.patch ... [ ok ] * Running eautoreconf in '/var/tmp/portage/dev-util/valgrind-3.7.0-r1/work/valgrind-3.7.0' ... * 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.7.0-r1/temp/automake.out * ERROR: dev-util/valgrind-3.7.0-r1 failed (prepare phase): * Failed Running automake ! * * Call stack: * ebuild.sh, line 85: Called src_prepare * environment, line 3119: Called eautoreconf * environment, line 968: Called eautomake * environment, line 937: Called autotools_run_tool 'automake' '--add-missing' '--copy' '--foreign' * environment, line 631: Called die * The specific snippet of code: * die "Failed Running $1 !"; # cat /var/tmp/portage/dev-util/valgrind-3.7.0-r1/temp/automake.out ***** automake ***** ***** PWD: /var/tmp/portage/dev-util/valgrind-3.7.0-r1/work/valgrind-3.7.0 ***** automake --add-missing --copy --foreign coregrind/Makefile.am:498: `pkglibdir' is not a legitimate directory for `DATA' Makefile.am:64: `pkglibdir' is not a legitimate directory for `DATA' Reproducible: Always Steps to Reproduce: 1. emerge -av valgrind Portage 2.2.0_alpha84 (default/linux/amd64/10.0/desktop, gcc-4.5.3, glibc-2.13-r4, 3.1.6-gentoo x86_64) ================================================================= System uname: Linux-3.1.6-gentoo-x86_64-Intel-R-_Core-TM-_i7_CPU_930_@_2.80GHz-with-gentoo-2.0.3 Timestamp of tree: Mon, 02 Jan 2012 15:30:01 +0000 distcc 3.1 x86_64-pc-linux-gnu [disabled] app-shells/bash: 4.1_p9 dev-java/java-config: 2.1.11-r3 dev-lang/python: 2.4.6, 2.5.4-r4, 2.6.6-r2, 2.7.2-r3, 3.1.4-r3 dev-util/cmake: 2.8.6-r4 dev-util/pkgconfig: 0.26 sys-apps/baselayout: 2.0.3 sys-apps/openrc: 0.9.4 sys-apps/sandbox: 2.5 sys-devel/autoconf: 2.13::<unknown repository>, 2.68 sys-devel/automake: 1.9.6-r3, 1.10.3, 1.11.2 sys-devel/binutils: 2.21.1-r1 sys-devel/gcc: 4.4.5, 4.5.3-r1 sys-devel/gcc-config: 1.4.1-r1 sys-devel/libtool: 2.4-r1 sys-devel/make: 3.82-r1 sys-kernel/linux-headers: 2.6.39 (virtual/os-headers) sys-libs/glibc: 2.13-r4 Repositories: gentoo dmage dmage-overlay proaudio java-overlay sunrise bangert ardunio multimedia dustin kde Installed sets: @kde-4.7 ACCEPT_KEYWORDS="amd64" ACCEPT_LICENSE="* -@EULA PUEL dlj-1.1 AdobeFlash-10.1 Q3AEULA" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-ggdb -O2 -pipe -march=native -fomit-frame-pointer" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/openvpn/easy-rsa /var/bind" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.3/ext-active/ /etc/php/cgi-php5.3/ext-active/ /etc/php/cli-php5.3/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/splash /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c" CXXFLAGS="-ggdb -O2 -pipe -march=native -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="assume-digests binpkg-logs buildpkg collision-protect distlocks ebuild-locks fixlafiles news parallel-fetch preserve-libs protect-owned sandbox sfperms splitdebug strict unknown-features-warn unmerge-logs unmerge-orphans userfetch" FFLAGS="" GENTOO_MIRRORS="http://93.158.155.195/gentoo-distfiles/ ftp://212.219.56.132/sites/www.ibiblio.org/gentoo/ rsync://gentoo.bloodhost.ru/gentoo-distfiles ftp://mirrors.evolva.ro/gentoo/gentoo-distfiles/ http://gentoo.mirrors.tds.net/gentoo" LANG="ru_RU.UTF-8" LC_ALL="" LDFLAGS="-Wl,-O1 -Wl,--as-needed" LINGUAS="ru ja" MAKEOPTS="-j12" 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="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage/dmage /usr/local/portage/dmage-overlay /var/lib/layman/pro-audio /var/lib/layman/java-overlay /var/lib/layman/sunrise /var/lib/layman/bangert /var/lib/layman/arduino /var/lib/layman/multimedia /var/lib/layman/dustin /var/lib/layman/kde" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="3dnow 3dnowext 64bit 7zip X a52 aac acct acl acpi agent alsa amd64 ansi apache2 artworkextra avahi bash-completion berkdb big-tables bineditor bittorrent blender-game bluetooth bluray bookmarks branding bzip2 c++ cairo cdda cddb cdr cdrom cgi chm cjk cli clucene cmake consolekit cracklib crypt css ctype cuda cups cxx cyrillic d dbus debugger declarative djvu dlna dmi dri dts dv dvd dvdr ebook embedded emboss emerald enca encode enscript exif extensions extra extrafilters extras fakevim fam fat fbcon fbcondecor ffmpeg firefox flac fluidsynth fontconfig fortran ftp fts3 gcl gd gdbm gdu geoip gif gimp gimpprint git glitz glut gnutls gphoto2 gpm graphics graphviz gtk gtkhtml guile hddtemp humanities hvm iconv icu idle ieee1394 ifp imagemagick immqt immqt-bc ioemu ipod ipv6 jack javascript jingle jpeg kde kipi kpathsea kqemu ladspa latex lcms ldap libcaca libnotify libsamplerate lm_sensors logitech-mouse lua mad matrox md5sum mikmod mmap mmx mmxext mng modules mono moonlight mouse mozdevelop mozdom mp2 mp3 mp4 mpeg mpi mplayer mudflap multilib musepack mysql natspec ncurses networking nls nptl nptlonly nsplugin nspluginwrapper ntfs nvidia odk ogg openal openexr opengl openmp oscar pam pango pascal pch pcre pdf php plasma plotutils plugins plugman png policykit ppds pppd prediction preview-latex private-headers profiler protocolicon publishers pygrub qimhm qmake qt3support qt4 qtscript rar rdesktop rdesktop-vrdp readline regex reports romio samba scanner science script sdl semantic-desktop session shout silvercity simplexml slang smp sound sox spell sql sqlite sqlite3 srv sse sse2 ssl startup-notification stream subversion suexec svg symlink sysfs tabs tcl tcpd theora threads threadsafe thunderbird tidy tiff tk tokenizer tordns trayicon truetype udev unicode usb v4l v4l2 v8 vboxwebsrv vcd vdpau vhosts video vim-syntax vim-with-x virt-network virtualbox visual visualization vnc vorbis webkit webserver winpopup wma wxwindows x264 xcb xcomposite xen xetex xforms xhtml xinerama xml xnest xorg xprint xscreensaver xsl xulrunner xv xvid yandexnarod zlib zvbi" 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 auth_digest authn_anon authn_dbd authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock dbd deflate dir disk_cache env expires ext_filter file_cache filter headers ident imagemap include info log_config logio mem_cache mime mime_magic negotiation proxy proxy_ajp proxy_balancer proxy_connect proxy_http rewrite setenvif so speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="kexi words flow plan stage tables krita karbon braindump" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" FOO2ZJS_DEVICES="hp1000" 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" GRUB_PLATFORMS="pc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="ru ja" LIRC_DEVICES="devinput" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="nv nvidia vesa" 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, INSTALL_MASK, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Have the same bug. $ sudo emerge dev-util/valgrind Calculating dependencies... done! >>> Verifying ebuild manifests >>> Emerging (1 of 1) dev-util/valgrind-3.7.0-r1 >>> Failed to emerge dev-util/valgrind-3.7.0-r1, Log file: >>> '/var/tmp/portage/dev-util/valgrind-3.7.0-r1/temp/build.log' >>> Jobs: 0 of 1 complete, 1 failed Load avg: 1.36, 2.59, 3.31 * Package: dev-util/valgrind-3.7.0-r1 * Repository: gentoo * Maintainer: blueness@gentoo.org * USE: consolekit elibc_glibc kernel_linux policykit userland_GNU x86 * FEATURES: ccache sandbox >>> Unpacking source... >>> Unpacking valgrind-3.7.0.tar.bz2 to /var/tmp/portage/dev-util/valgrind-3.7.0-r1/work >>> Source unpacked in /var/tmp/portage/dev-util/valgrind-3.7.0-r1/work >>> Preparing source in /var/tmp/portage/dev-util/valgrind-3.7.0-r1/work/valgrind-3.7.0 ... * Applying valgrind-3.7.0-respect-flags.patch ... [ ok ] * Applying valgrind-3.7.0-fno-stack-protector.patch ... [ ok ] * Applying valgrind-3.6.0-local-labels.patch ... [ ok ] * Applying valgrind-3.7.0-non-exec-stack.patch ... [ ok ] * Applying valgrind-3.7.0-fix-gcc-regex.patch ... [ ok ] * Running eautoreconf in '/var/tmp/portage/dev-util/valgrind-3.7.0-r1/work/valgrind-3.7.0' ... * 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.7.0-r1/temp/automake.out * ERROR: dev-util/valgrind-3.7.0-r1 failed (prepare phase): * Failed Running automake ! * * Call stack: * ebuild.sh, line 85: Called src_prepare * environment, line 3068: Called eautoreconf * environment, line 916: Called eautomake * environment, line 885: Called autotools_run_tool 'automake' '--add-missing' '--copy' '--foreign' * environment, line 579: 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.7.0-r1', * the complete build log and the output of 'emerge -pqv =dev-util/valgrind-3.7.0-r1'. * The complete build log is located at '/var/tmp/portage/dev-util/valgrind-3.7.0-r1/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/dev-util/valgrind-3.7.0-r1/temp/environment'. * S: '/var/tmp/portage/dev-util/valgrind-3.7.0-r1/work/valgrind-3.7.0' * Messages for package dev-util/valgrind-3.7.0-r1: * Failed Running automake ! * * Include in your bugreport the contents of: * * /var/tmp/portage/dev-util/valgrind-3.7.0-r1/temp/automake.out * ERROR: dev-util/valgrind-3.7.0-r1 failed (prepare phase): * Failed Running automake ! * * Call stack: * ebuild.sh, line 85: Called src_prepare * environment, line 3068: Called eautoreconf * environment, line 916: Called eautomake * environment, line 885: Called autotools_run_tool 'automake' '--add-missing' '--copy' '--foreign' * environment, line 579: 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.7.0-r1', * the complete build log and the output of 'emerge -pqv =dev-util/valgrind-3.7.0-r1'. * The complete build log is located at '/var/tmp/portage/dev-util/valgrind-3.7.0-r1/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/dev-util/valgrind-3.7.0-r1/temp/environment'. * S: '/var/tmp/portage/dev-util/valgrind-3.7.0-r1/work/valgrind-3.7.0' ################ uname -a Linux razr 3.1.4-ck #1 SMP Mon Dec 26 19:12:13 GMT 2011 i686 AMD Turion(tm) 64 X2 Mobile Technology TL-58 AuthenticAMD GNU/Linux ################ $ emerge --info Portage 2.1.10.44 (default/linux/x86/10.0/desktop/kde, gcc-4.5.3, glibc-2.14.1-r2, 3.1.4-ck i686) ================================================================= System uname: Linux-3.1.4-ck-i686-AMD_Turion-tm-_64_X2_Mobile_Technology_TL-58-with-gentoo-2.1 Timestamp of tree: Wed, 04 Jan 2012 07:00:01 +0000 ccache version 3.1.6 [enabled] app-shells/bash: 4.2_p20 dev-java/java-config: 2.1.11-r3 dev-lang/python: 2.7.2-r3, 3.2.2 dev-util/ccache: 3.1.6 dev-util/cmake: 2.8.6-r4 dev-util/pkgconfig: 0.26 sys-apps/baselayout: 2.1 sys-apps/openrc: 0.9.7 sys-apps/sandbox: 2.5 sys-devel/autoconf: 2.68 sys-devel/automake: 1.9.6-r3, 1.11.2 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.1 (virtual/os-headers) sys-libs/glibc: 2.14.1-r2 Repositories: gentoo multimedia kde roslin x-portage ACCEPT_KEYWORDS="x86 ~x86" ACCEPT_LICENSE="* -@EULA" CBUILD="i686-pc-linux-gnu" CFLAGS="-O3 -march=native -fomit-frame-pointer -pipe -msse -msse2 -mmmx -s" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/themes/oxygen-gtk/gtk-2.0" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo" CXXFLAGS="-O3 -march=native -fomit-frame-pointer -pipe -msse -msse2 -mmmx -s" DISTDIR="/usr/portage/distfiles" EMERGE_DEFAULT_OPTS="--quiet-build=y" FEATURES="assume-digests binpkg-logs ccache distlocks ebuild-locks fixlafiles news parallel-fetch prelink-checksums protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch" FFLAGS="" GENTOO_MIRRORS="http://distfiles.gentoo.org" LANG="en_US.UTF-8" LC_ALL="" LDFLAGS="-Wl,-O1 -Wl,--as-needed" MAKEOPTS="-j3" 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="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/var/lib/layman/multimedia /var/lib/layman/kde /var/lib/layman/roslin /usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="10bit 3dnow 3dnowext X a52 aac acl acpi alsa berkdb branding bzip2 cairo cli cmake consolekit cracklib crypt cxx dbus declarative dri dts dvd dvdr emboss encode exceptions exif fam fbcon firefox flac fontconfig fortran gdbm gdu gif gles glib gpm iconv icu jpeg jpeg2k kde kipi lcms ldap libass libnotify lm_sensors lzma mad matroska mmx mmxext mng modules mp3 mp4 mpeg mudflap ncurses nls nptl nptlonly ogg opengl openmp oscar pam pango pcre pdf phonon plasma png policykit ppds pppd private-headers qt3support qt4 raster readline sdl semantic-desktop session spell sse sse2 ssl startup-notification svg swscale sysfs taglib tcpd theora threads tiff truetype twolame udev unicode usb vorbis x264 x86 xcb xcomposite xml xorg xulrunner xv xvid zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 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 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" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="fglrx" 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, LINGUAS, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Okay what's going on here is that automake-1.11.2 introduced new stricter directory variables and pkglibdir has been deprecated in favor of pkgdatadir. I've got a patch but I'm not 100% sure about it because it does separate the .xml files out of /usr/lib/valgrind/ and puts them into /usr/share/valgrind/, which makes sense but ... does it break anything? I'm testing it on my overlay at http://git.overlays.gentoo.org/gitweb/?p=dev/blueness.git;a=tree;f=dev-util/valgrind;h=523e8e51c9bd3abae331123b8600bae2e30a5070;hb=48d9937f30007dfef0ed8b82b6b3c941ed2b8bd5 The patch is at http://git.overlays.gentoo.org/gitweb/?p=dev/blueness.git;a=blob;f=dev-util/valgrind/files/valgrind-3.7.0-automake-1.11.2.patch;h=2c286f9b767542b6f890b62976aed67dfdb5c649;hb=48d9937f30007dfef0ed8b82b6b3c941ed2b8bd5
(In reply to comment #2) > which makes sense but ... does it break anything? It does, valgrind still expects the xml in /usr/lib/valgrind.
Okay this has been reported upstream: https://bugs.kde.org/show_bug.cgi?id=290719 Since there are a couple of approaches to this, its really upstream's call on how they want to deal with their build system when automake 1.11.2 becomes more popular. In the mean time, I think Gentoo's solution will have to be to DEPEND <automake/automake-1.11.2. Sorry to those who'll have to downgrade but that's how it is with autotools that breaks backward compat regularly. I'll leave this bug open for about a week or so, to gather more comments, and then commit the change without rev bump.
Okay I added Gregorio Guidi's patch from the upstream bug report. I tested it against automake-1.11.2 and -1.11.1 and it works, so its safe and respects backwards compat. Its in the tree as dev-util/valgrind-3.7.0-r2. Can people please test and reopen this bug if this is still an issue?