When trying to build sys-block/parted-3.2 with =sys-devel/libtool-2.4.3 the build fails with the following error: mv -f configmake.h-t configmake.h make[2]: *** No rule to make target '../build-aux/snippet/c++defs.h', needed by 'c++defs.h'. Stop. make[2]: *** Waiting for unfinished jobs.... make[2]: Leaving directory '/var/tmp/portage/sys-block/parted-3.2/work/parted-3.2/lib' Makefile:1265: recipe for target 'all-recursive' failed make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory '/var/tmp/portage/sys-block/parted-3.2/work/parted-3.2' Makefile:1188: recipe for target 'all' failed make: *** [all] Error 2 The bug is not reproducible with =sys-devel/libtool-2.4.2-r1. The cause of the bug is that libtoolize removes the file build-aux/snippets/c++defs.h. Running libtoolize with the verbose flag in a copy of the sources reveals: $ libtoolize --verbose --copy --force --automake libtoolize: found 'configure.ac' libtoolize: export M4='m4' libtoolize: ac_aux_dir='build-aux' libtoolize: ltdl mode='' libtoolize: rm -f 'build-aux/compile' libtoolize: rm -f 'build-aux/depcomp' libtoolize: rm -f 'build-aux/missing' libtoolize: rm -f 'build-aux/ltmain.sh' libtoolize: rm -f 'build-aux/snippet/_Noreturn.h' libtoolize: rm -f 'build-aux/snippet/arg-nonnull.h' libtoolize: rm -f 'build-aux/snippet/c++defs.h' libtoolize: rm -f 'build-aux/snippet/warn-on-use.h' libtoolize: found 'Makefile.am' libtoolize: aclocal_amflags=-I m4' libtoolize: am_macro_dir='m4' libtoolize: rm -f 'm4/libtool.m4' libtoolize: rm -f 'm4/ltoptions.m4' libtoolize: rm -f 'm4/ltsugar.m4' libtoolize: rm -f 'm4/ltversion.m4' libtoolize: rm -f 'm4/lt~obsolete.m4' libtoolize: Not copying 'm4/argz.m4', libltdl not used. libtoolize: Not copying 'm4/ltdl.m4', libltdl not used. libtoolize: found LT_INIT invocation Reproducible: Always
Portage 2.2.14 (python 3.3.5-final-0, default/linux/amd64/13.0/desktop, gcc-4.8.3, glibc-2.19-r1, 3.17.1-gentoo-r1 x86_64) ================================================================= System Settings ================================================================= System uname: Linux-3.17.1-gentoo-r1-x86_64-AMD_Athlon-tm-_II_X4_640_Processor-with-gentoo-2.2 KiB Mem: 8178964 total, 5601792 free KiB Swap: 2097148 total, 2097148 free Timestamp of tree: Thu, 30 Oct 2014 14:15:01 +0000 ld GNU ld (Gentoo 2.24 p1.4) 2.24 distcc 3.1 x86_64-pc-linux-gnu [disabled] app-shells/bash: 4.3_p30 dev-java/java-config: 2.2.0 dev-lang/perl: 5.20.1-r2 dev-lang/python: 2.7.8, 3.3.5-r1 dev-util/cmake: 3.0.2 dev-util/pkgconfig: 0.28-r2 sys-apps/baselayout: 2.2 sys-apps/openrc: 0.13.2 sys-apps/sandbox: 2.6-r1 sys-devel/autoconf: 2.13, 2.69 sys-devel/automake: 1.11.6, 1.12.6, 1.14.1 sys-devel/binutils: 2.24-r3 sys-devel/gcc: 4.8.3, 4.9.1 sys-devel/gcc-config: 1.8 sys-devel/libtool: 2.4.3 sys-devel/make: 4.1-r1 sys-kernel/linux-headers: 3.17 (virtual/os-headers) sys-libs/glibc: 2.19-r1 Repositories: gentoo crossdev lilrc proaudio ACCEPT_KEYWORDS="amd64 ~amd64" ACCEPT_LICENSE="* -@EULA" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-O2 -pipe -O2 -fomit-frame-pointer -pipe -fno-stack-protector -floop-interchange -floop-strip-mine -floop-block -fgraphite-identity -march=amdfam10" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c" CXXFLAGS="-O2 -pipe -O2 -fomit-frame-pointer -pipe -fno-stack-protector -floop-interchange -floop-strip-mine -floop-block -fgraphite-identity -march=amdfam10" DISTDIR="/usr/portage/distfiles" EMERGE_DEFAULT_OPTS="--getbinpkg=y --binpkg-respect-use=y --usepkg-exclude sys-fs/vhba" FCFLAGS="-O2 -pipe" FEATURES="assume-digests binpkg-logs buildpkg buildsyspkg config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync multilib-strict news noinfo parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync" FFLAGS="-O2 -pipe" GENTOO_MIRRORS="rsync://kalle-92ef9161/gentoo-portage/ http://distfiles.gentoo.org http://ftp.df.lth.se/pub/gentoo/ rsync://ftp.df.lth.se/pub/gentoo/ http://mirror.mdfnet.se/gentoo" LANG="en_GB.iso88591" LDFLAGS="-Wl,-O1 -Wl,--as-needed" MAKEOPTS="-j4" PKGDIR="/usr/portage/packages" PORTAGE_CONFIGROOT="/" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-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/crossdev /home/kalle/lilrc-overlay /home/kalle/proaudio" SYNC="rsync://kalle-92ef9161/gentoo-portage/" USE="3dnow 3dnowext X a52 aac alloca alsa amd64 aspell bindist cairo caps cd cdda cddb cdr consolekit cracklib cups curl dri drm dssi dvd dvdr exif ffmpeg fftw flac fltk gallium gif gimp glib gmp gnuplot gnutls gstreamer gtk gtk2 gtkstyle gudev hwdb inotify javascript jit jpeg keymap ladspa lame libkms libnotify mad mmx mmxext mp3 mpeg netifrc nls nptl ogg opengl openmp openrc orc pdf png policykit qt4 readline sse sse2 sse3 sse4_1 ssl startup-notification subversion svg svn theora threads thunar tiff truetype udev udisks unicode usb v4l vlc vorbis webgl x264 xcb xcomposite xinerama xorg xscreensaver zlib" ABI_X86="64" ALSA_CARDS="hda-intel" CURL_SSL="gnutls" ELIBC="glibc" GRUB_PLATFORMS="pc" INPUT_DEVICES="evdev" KERNEL="linux" LINGUAS="en en_GB sv sv_SE" PYTHON_SINGLE_TARGET="python3_3" PYTHON_TARGETS="python2_7 python3_3" RUBY_TARGETS="ruby20" SANE_BACKENDS="xerox_mfp" USERLAND="GNU" VIDEO_CARDS="nouveau" XFCE_PLUGINS="trash" Unset: CPPFLAGS, CTARGET, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON ================================================================= Package Settings ================================================================= sys-block/parted-3.2 was built with the following: USE="nls readline -debug -device-mapper (-selinux) -static-libs -test" ABI_X86="64"
Created attachment 387928 [details] Build log
> The cause of the bug is that libtoolize removes the file > build-aux/snippets/c++defs.h. Running libtoolize with the verbose flag in a > copy of the sources reveals: Ooops, build-aux/snippet/c++defs.h obviously. Not build-aux/snippets/c++defs.h.
Fixed. See bug 527200. Sorry for the noise.
*** This bug has been marked as a duplicate of bug 527200 ***