Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 422747 - sys-devel/gcc-4.7.1: *** No rule to make target `../src/c++98/libc++98convenience.la'...
Summary: sys-devel/gcc-4.7.1: *** No rule to make target `../src/c++98/libc++98conveni...
Status: RESOLVED TEST-REQUEST
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Toolchain Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-06-21 09:30 UTC by Michał Górny
Modified: 2013-08-12 18:56 UTC (History)
0 users

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


Attachments
The logs emerge asked to attach (gcc-build-logs.tar.bz2,129.39 KB, application/bzip2)
2012-06-21 09:30 UTC, Michał Górny
Details
The build log (build.log.bz2,122.48 KB, application/bzip2)
2012-06-21 09:35 UTC, Michał Górny
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2012-06-21 09:30:55 UTC
Created attachment 315905 [details]
The logs emerge asked to attach

By the context, it seems that it failed in -m32 part. May be a parallel build issue.

--
# emerge --info gcc
Portage 2.2.0_alpha110_p49 (default/linux/amd64/10.0/desktop, gcc-4.7.0, glibc-2.15-r2, 3.3.0-mgorny-amd64 x86_64)
=================================================================
                        System Settings
=================================================================
System uname: Linux-3.3.0-mgorny-amd64-x86_64-AMD_Athlon-tm-_64_X2_Dual_Core_Processor_3800+-with-gentoo-2.1
Timestamp of tree: Wed, 20 Jun 2012 06:45:01 +0000
distcc 3.1 x86_64-pc-linux-gnu [enabled]
app-shells/bash:          4.2_p29
dev-lang/python:          2.7.3-r2
dev-util/cmake:           2.8.8-r3
dev-util/pkgconfig:       0.26
sys-apps/baselayout:      2.1-r1
sys-apps/openrc:          0.10.3
sys-apps/sandbox:         2.5
sys-devel/autoconf:       2.13, 2.69
sys-devel/automake:       1.11.5, 1.12.1
sys-devel/binutils:       2.22-r1
sys-devel/gcc:            4.6.3, 4.7.0
sys-devel/gcc-config:     1.7.3
sys-devel/libtool:        2.4.2
sys-devel/make:           3.82-r3
sys-kernel/linux-headers: 3.4 (virtual/os-headers)
sys-libs/glibc:           2.15-r2
Repositories: gentoo kvm mgorny scarabeus vdr-devel vdr-testing x11 sunrise gamerlay-stable alexxy
Installed sets: @mg_depends, @mg_vdr, @system
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=athlon64 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt /var/yp/Makefile"
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="-march=athlon64 -O2 -pipe"
DISTDIR="/srv/nfs/common/distfiles"
EMERGE_DEFAULT_OPTS="--with-bdeps y --ask --keep-going --quiet-build=n"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs collision-protect config-protect-if-modified distcc distlocks ebuild-locks fixlafiles news parallel-fetch parse-eapi-ebuild-head preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="pl_PL.UTF-8"
LC_ALL="pl_PL.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,--hash-style=gnu"
LINGUAS=""
MAKEOPTS="-j6"
PKGDIR="/srv/nfs/common/packages/athlon64"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --times --compress --force --whole-file --delete --stats --timeout=45 --exclude=/distfiles --exclude=/packages --exclude=/local --exclude=CVS"
PORTAGE_TMPDIR="/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/var/lib/layman/kvm /var/lib/layman/mgorny /var/lib/layman/scarabeus /var/lib/layman/vdr-devel /var/lib/layman/vdr-testing /var/lib/layman/x11 /var/lib/layman/sunrise /var/lib/layman/gamerlay /var/lib/layman/alexxy"
SYNC="ssh://pomiocik//usr/portage"
USE="3dnow 3dnowext X a52 aac aio alsa amd64 bash-completion bluetooth branding bzip2 cairo caps cdda cdr cli crypt cxx dbus dri dts dvb dvd dvdr emboss exif firefox flac fontconfig fortran gd gif gmp iconv idn imagemagick ipv6 jpeg jpeg2k lcms libnotify lzo mad mmap mmx mmxext mng modules mp3 mp4 mpeg mudflap multilib ncurses nls nptl ogg openal opengl openmp pam pango pch pcre pdf png ppds pppd qt3support readline sdl session slang smp speex sse sse2 ssl startup-notification svg tcpd threads tiff truetype udev udisks unicode upower usb v4l2 vim-syntax vorbis wavpack wxwidgets x264 xattr xcb xml xorg xpm xulrunner xv xvid xvmc zlib" ALSA_CARDS="hda-intel emu10k1 virmidi mpu401 pcsp" 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 sheets 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="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LIRC_DEVICES="serial" PHP_TARGETS="php5-3" PYTHON_TARGETS="python2_7" QEMU_SOFTMMU_TARGETS="i386 x86_64 ppc ppc64 sparc sparc64 arm" QEMU_USER_TARGETS="ppc ppc64 sparc sparc64 arm" RUBY_TARGETS="ruby18 ruby19" SANE_BACKENDS="artec_eplus48u" USERLAND="GNU" VIDEO_CARDS="nouveau vesa radeon r600 s3" 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, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON

=================================================================
                        Package Settings
=================================================================

sys-devel/gcc-4.6.3 was built with the following:
USE="cxx fortran graphite mudflap (multilib) nls nptl openmp (-altivec) -bootstrap -build -doc (-fixed-point) -gcj -go -gtk (-hardened) (-libssp) -multislot -nocxx -nopie -nossp -objc -objc++ -objc-gc -test -vanilla"
CFLAGS="-march=athlon64 -O2 -pipe -O2"
CXXFLAGS="-march=athlon64 -O2 -pipe -O2"


sys-devel/gcc-4.7.0 was built with the following:
USE="cxx fortran graphite mudflap (multilib) nls nptl openmp (-altivec) -bootstrap -build -doc (-fixed-point) -gcj -go -gtk (-hardened) (-libssp) -multislot -nocxx -nopie -nossp -objc -objc++ -objc-gc -test -vanilla"
CFLAGS="-march=athlon64 -O2 -pipe -O2"
CXXFLAGS="-march=athlon64 -O2 -pipe -O2"
Comment 1 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2012-06-21 09:35:43 UTC
Created attachment 315907 [details]
The build log

An excerpt:

/bin/bash ../libtool --tag CXX   --mode=compile /tmp/portage/sys-devel/gcc-4.7.1/work/build/./gcc/xgcc -shared-libgcc -B/tmp/portage/sys-devel/gcc-4.7.1/work/build/./gcc -nostdinc++ -L/tmp/portage/sys-devel/gcc-4.7.1/work/build/x86_64-pc-linux-gnu/32/libstdc++-v3/src -L/tmp/portage/sys-devel/gcc-4.7.1/work/build/x86_64-pc-linux-gnu/32/libstdc++-v3/src/.libs -B/usr/x86_64-pc-linux-gnu/bin/ -B/usr/x86_64-pc-linux-gnu/lib/ -isystem /usr/x86_64-pc-linux-gnu/include -isystem /usr/x86_64-pc-linux-gnu/sys-include  -m32  -I/tmp/portage/sys-devel/gcc-4.7.1/work/build/x86_64-pc-linux-gnu/32/libstdc++-v3/include/x86_64-pc-linux-gnu -I/tmp/portage/sys-devel/gcc-4.7.1/work/build/x86_64-pc-linux-gnu/32/libstdc++-v3/include -I/tmp/portage/sys-devel/gcc-4.7.1/work/gcc-4.7.1/libstdc++-v3/libsupc++   -Wall -Wextra -Wwrite-strings -Wcast-qual -Wabi  -fdiagnostics-show-location=once   -ffunction-sections -fdata-sections  -frandom-seed=compatibility-thread-c++0x.lo -march=athlon64 -O2 -pipe -O2 -D_GNU_SOURCE  -m32 -std=gnu++11 -c /tmp/portage/sys-devel/gcc-4.7.1/work/gcc-4.7.1/libstdc++-v3/src/c++11/compatibility-thread-c++0x.cc
cp /tmp/portage/sys-devel/gcc-4.7.1/work/gcc-4.7.1/libstdc++-v3/config/abi/pre/gnu.ver libstdc++-symbols.ver.tmp
make[10]: *** No rule to make target `../src/c++98/libc++98convenience.la', needed by `libstdc++.la'.  Stop.
make[10]: *** Waiting for unfinished jobs....
chmod +w libstdc++-symbols.ver.tmp
if test "x" != x; then \
  if grep '^# Appended to version file.' \
        /dev/null > /dev/null 2>&1; then \
    cat  >> libstdc++-symbols.ver.tmp; \
  else \
    sed -n '1,/DO NOT DELETE/p' libstdc++-symbols.ver.tmp > tmp.top; \
    sed -n '/DO NOT DELETE/,$p' libstdc++-symbols.ver.tmp > tmp.bottom; \
    cat tmp.top  tmp.bottom > libstdc++-symbols.ver.tmp; \
    rm tmp.top tmp.bottom; \
  fi; \
fi
libtool: compile:  /tmp/portage/sys-devel/gcc-4.7.1/work/build/./gcc/xgcc -shared-libgcc -B/tmp/portage/sys-devel/gcc-4.7.1/work/build/./gcc -nostdinc++ -L/tmp/portage/sys-devel/gcc-4.7.1/work/build/x86_64-pc-linux-gnu/32/libstdc++-v3/src -L/tmp/portage/sys-devel/gcc-4.7.1/work/build/x86_64-pc-linux-gnu/32/libstdc++-v3/src/.libs -B/usr/x86_64-pc-linux-gnu/bin/ -B/usr/x86_64-pc-linux-gnu/lib/ -isystem /usr/x86_64-pc-linux-gnu/include -isystem /usr/x86_64-pc-linux-gnu/sys-include -m32 -I/tmp/portage/sys-devel/gcc-4.7.1/work/build/x86_64-pc-linux-gnu/32/libstdc++-v3/include/x86_64-pc-linux-gnu -I/tmp/portage/sys-devel/gcc-4.7.1/work/build/x86_64-pc-linux-gnu/32/libstdc++-v3/include -I/tmp/portage/sys-devel/gcc-4.7.1/work/gcc-4.7.1/libstdc++-v3/libsupc++ -Wall -Wextra -Wwrite-strings -Wcast-qual -Wabi -fdiagnostics-show-location=once -ffunction-sections -fdata-sections -frandom-seed=compatibility-parallel_list-2.lo -march=athlon64 -O2 -pipe -O2 -D_GNU_SOURCE -m32 -c /tmp/portage/sys-devel/gcc-4.7.1/work/gcc-4.7.1/libstdc++-v3/src/c++98/compatibility-parallel_list-2.cc  -fPIC -DPIC -o .libs/compatibility-parallel_list-2.o
libtool: compile:  /tmp/portage/sys-devel/gcc-4.7.1/work/build/./gcc/xgcc -shared-libgcc -B/tmp/portage/sys-devel/gcc-4.7.1/work/build/./gcc -nostdinc++ -L/tmp/portage/sys-devel/gcc-4.7.1/work/build/x86_64-pc-linux-gnu/32/libstdc++-v3/src -L/tmp/portage/sys-devel/gcc-4.7.1/work/build/x86_64-pc-linux-gnu/32/libstdc++-v3/src/.libs -B/usr/x86_64-pc-linux-gnu/bin/ -B/usr/x86_64-pc-linux-gnu/lib/ -isystem /usr/x86_64-pc-linux-gnu/include -isystem /usr/x86_64-pc-linux-gnu/sys-include -m32 -I/tmp/portage/sys-devel/gcc-4.7.1/work/build/x86_64-pc-linux-gnu/32/libstdc++-v3/include/x86_64-pc-linux-gnu -I/tmp/portage/sys-devel/gcc-4.7.1/work/build/x86_64-pc-linux-gnu/32/libstdc++-v3/include -I/tmp/portage/sys-devel/gcc-4.7.1/work/gcc-4.7.1/libstdc++-v3/libsupc++ -Wall -Wextra -Wwrite-strings -Wcast-qual -Wabi -fdiagnostics-show-location=once -ffunction-sections -fdata-sections -frandom-seed=compatibility-c++0x.lo -march=athlon64 -O2 -pipe -O2 -D_GNU_SOURCE -m32 -std=gnu++11 -c /tmp/portage/sys-devel/gcc-4.7.1/work/gcc-4.7.1/libstdc++-v3/src/c++11/compatibility-c++0x.cc  -fPIC -DPIC -o .libs/compatibility-c++0x.o
/bin/grep -E -v '^[ 	]*#(#| |$)' libstdc++-symbols.ver.tmp | \
  /tmp/portage/sys-devel/gcc-4.7.1/work/build/./gcc/xgcc -B/tmp/portage/sys-devel/gcc-4.7.1/work/build/./gcc/ -B/usr/x86_64-pc-linux-gnu/bin/ -B/usr/x86_64-pc-linux-gnu/lib/ -isystem /usr/x86_64-pc-linux-gnu/include -isystem /usr/x86_64-pc-linux-gnu/sys-include  -m32 -E -P -include ../config.h - > libstdc++-symbols.ver || (rm -f libstdc++-symbols.ver ; exit 1)
rm -f libstdc++-symbols.ver.tmp

[...]

make[9]: *** [all-recursive] Error 1
make[9]: Leaving directory `/tmp/portage/sys-devel/gcc-4.7.1/work/build/x86_64-pc-linux-gnu/32/libstdc++-v3/src'
make[8]: *** [all-recursive] Error 1
make[8]: Leaving directory `/tmp/portage/sys-devel/gcc-4.7.1/work/build/x86_64-pc-linux-gnu/32/libstdc++-v3'
make[7]: *** [all] Error 2
make[7]: Leaving directory `/tmp/portage/sys-devel/gcc-4.7.1/work/build/x86_64-pc-linux-gnu/32/libstdc++-v3'
make[6]: *** [multi-do] Error 1
make[6]: Leaving directory `/tmp/portage/sys-devel/gcc-4.7.1/work/build/x86_64-pc-linux-gnu/libstdc++-v3'
make[5]: *** [all-multi] Error 2
make[5]: Leaving directory `/tmp/portage/sys-devel/gcc-4.7.1/work/build/x86_64-pc-linux-gnu/libstdc++-v3'
make[4]: *** [all-recursive] Error 1
make[4]: Leaving directory `/tmp/portage/sys-devel/gcc-4.7.1/work/build/x86_64-pc-linux-gnu/libstdc++-v3'
make[3]: *** [all] Error 2
make[3]: Leaving directory `/tmp/portage/sys-devel/gcc-4.7.1/work/build/x86_64-pc-linux-gnu/libstdc++-v3'
make[2]: *** [all-stage2-target-libstdc++-v3] Error 2
make[2]: Leaving directory `/tmp/portage/sys-devel/gcc-4.7.1/work/build'
make[1]: *** [stage2-bubble] Error 2
make[1]: Leaving directory `/tmp/portage/sys-devel/gcc-4.7.1/work/build'
make: *** [bootstrap-lean] Error 2
emake failed
 * ERROR: sys-devel/gcc-4.7.1 failed (compile phase):
 *   emake failed with bootstrap-lean
 * 
 * Call stack:
 *     ebuild.sh, line   85:  Called src_compile
 *   environment, line 4052:  Called toolchain_src_compile
 *   environment, line 4699:  Called gcc_do_make
 *   environment, line 2359:  Called die
 * The specific snippet of code:
 *       emake LDFLAGS="${LDFLAGS}" STAGE1_CFLAGS="${STAGE1_CFLAGS}" LIBPATH="${LIBPATH}" BOOT_CFLAGS="${BOOT_CFLAGS}" ${GCC_MAKE_TARGET} || die "emake failed with ${GCC_MAKE_TARGET}";
 * 
 * If you need support, post the output of `emerge --info '=sys-devel/gcc-4.7.1'`,
 * the complete build log and the output of `emerge -pqv '=sys-devel/gcc-4.7.1'`.
 * 
 * Please include /tmp/portage/sys-devel/gcc-4.7.1/work/build/gcc-build-logs.tar.bz2 in your bug report
 * 
 * The complete build log is located at '/tmp/portage/sys-devel/gcc-4.7.1/temp/build.log'.
 * The ebuild environment file is located at '/tmp/portage/sys-devel/gcc-4.7.1/temp/environment'.
 * Working directory: '/tmp/portage/sys-devel/gcc-4.7.1/work/build'
 * S: '/tmp/portage/sys-devel/gcc-4.7.1/work/build'
Comment 2 SpanKY gentoo-dev 2012-08-12 05:02:30 UTC
wrt parallel build failure, does it fail this way every time ?
Comment 3 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2012-08-12 07:46:51 UTC
(In reply to comment #2)
> wrt parallel build failure, does it fail this way every time ?

Hm, I think not. Three weeks ago I'd know better.
Comment 4 Ryan Hill (RETIRED) gentoo-dev 2013-08-12 18:56:48 UTC
Reopen if this is still a problem with 4.7.3.