Hello, I can't emerge the said package (declared stable on amd64). What I see during the build: <...> x86_64-pc-linux-gnu-gcc -march=opteron -mmmx -msse -msse2 -msse3 -m3dnow -momit-leaf-frame-pointer -Os -pipe -fomit-frame-pointer -finline-functions-called-once -DLVM_REMAP_WORKAROUND -W -I/var/tmp/portage/sys-block/btrace-0.0.20071210202527/work/blktrace -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -o blkrawverify blkrawverify.o /usr/lib/gcc/x86_64-pc-linux-gnu/4.1.2/../../../../lib64/crt1.o: In function `_start': (.text+0x20): undefined reference to `main' collect2: ld returned 1 exit status make[1]: *** [btreplay] Error 1 make[1]: Leaving directory `/var/tmp/portage/sys-block/btrace-0.0.20071210202527/work/blktrace/btreplay' make: *** [btreplay/btreplay] Error 2 make: *** Waiting for unfinished jobs.... <...> * * ERROR: sys-block/btrace-0.0.20071210202527 failed. * Call stack: * ebuild.sh, line 49: Called src_compile * environment, line 2393: Called die * The specific snippet of code: * emake CC="$(tc-getCC)" CFLAGS="${CFLAGS}" || die "emake failed"; * The die message: * emake failed * * If you need support, post the topmost build error, and the call stack if relevant. * A complete build log is located at '/var/tmp/portage/sys-block/btrace-0.0.20071210202527/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/sys-block/btrace-0.0.20071210202527/temp/environment'. * * Messages for package sys-block/btrace-0.0.20071210202527: * * ERROR: sys-block/btrace-0.0.20071210202527 failed. * Call stack: * ebuild.sh, line 49: Called src_compile * environment, line 2393: Called die * The specific snippet of code: * emake CC="$(tc-getCC)" CFLAGS="${CFLAGS}" || die "emake failed"; * The die message: * emake failed * * If you need support, post the topmost build error, and the call stack if relevant. * A complete build log is located at '/var/tmp/portage/sys-block/btrace-0.0.20071210202527/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/sys-block/btrace-0.0.20071210202527/temp/environment'. * * GNU info directory index is up-to-date. The kernel support for BLK_DEV_IO_TRACE is not enabled at time of emerging btrace (but this should not matter, imho). Reproducible: Always Steps to Reproduce: 1. emerge sys-block/btrace Actual Results: * Messages for package sys-block/btrace-0.0.20071210202527: * * ERROR: sys-block/btrace-0.0.20071210202527 failed. * Call stack: * ebuild.sh, line 49: Called src_compile * environment, line 2393: Called die * The specific snippet of code: * emake CC="$(tc-getCC)" CFLAGS="${CFLAGS}" || die "emake failed"; * The die message: * emake failed * * If you need support, post the topmost build error, and the call stack if relevant. * A complete build log is located at '/var/tmp/portage/sys-block/btrace-0.0.20071210202527/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/sys-block/btrace-0.0.20071210202527/temp/environment'. * * GNU info directory index is up-to-date. Expected Results: The package is compiled, linked and installed. Here follows the output of emerge --info: Portage 2.1.4.4 (default/linux/amd64/2008.0, gcc-4.1.2, glibc-2.6.1-r0, 2.6.25-gentoo-r7-alb x86_64) ================================================================= System uname: 2.6.25-gentoo-r7-alb x86_64 Dual Core AMD Opteron(tm) Processor 285 Timestamp of tree: Wed, 30 Jul 2008 09:16:01 +0000 app-shells/bash: 3.2_p33 dev-lang/python: 2.5.2-r5 sys-apps/baselayout: 1.12.11.1 sys-apps/sandbox: 1.2.18.1-r2 sys-devel/autoconf: 2.13, 2.61-r2 sys-devel/automake: 1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1 sys-devel/binutils: 2.18-r3 sys-devel/gcc-config: 1.4.0-r4 sys-devel/libtool: 1.5.26 virtual/os-headers: 2.6.23-r3 ACCEPT_KEYWORDS="amd64" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=opteron -mmmx -msse -msse2 -msse3 -m3dnow -momit-leaf-frame-pointer -Os -pipe -fomit-frame-pointer -finline-functions-called-once" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc" CONFIG_PROTECT_MASK="/etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/splash /etc/terminfo /etc/udev/rules.d" CXXFLAGS="-march=opteron -mmmx -msse -msse2 -msse3 -m3dnow -momit-leaf-frame-pointer -Os -pipe -fomit-frame-pointer -finline-functions-called-once" DISTDIR="/usr/portage/distfiles" FEATURES="distlocks metadata-transfer parallel-fetch sandbox sfperms strict unmerge-orphans userfetch" GENTOO_MIRRORS="http://mirror.uni-c.dk/pub/gentoo/ ftp://mirror.yandex.ru/gentoo-distfiles/ http://trumpetti.atm.tut.fi/gentoo/ http://mirror.qubenet.net/mirror/gentoo/ http://mirror.yandex.ru/gentoo-distfiles/" LDFLAGS="-Wl,-O1" MAKEOPTS="-j8" PKGDIR="/usr/portage/packages" 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" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" USE="3dnow X acl acpi alsa amd64 bash-completion berkdb bzip2 cdr cli cracklib crypt cups dri dvd dvdr dvdread fortran gdbm gnome gpm gtk hardened iconv ieee1394 ipv6 isdnlog midi mmap mmx mudflap multilib ncurses nls nptl nptlonly openmp pam pcre perl pppd python readline reflection session spl sse sse2 ssl sysfs tcpd threads unicode usb xorg zlib" 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 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 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" ELIBC="glibc" INPUT_DEVICES="keyboard mouse joystick vmmouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="nv vmware nvidia fbdev vesa vga" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
This seems to be a parallel build error which doesn't manifest on every build on my machine. Version 1.0.0 builds here using MAKEOPTS="-j1". I guess the problem is that make recurses a second time into the btreplay directory while the first recursion is still on its way (see my build log). No idea however how to fix this with keeping the make recursion.
Created attachment 175816 [details] build log
Created attachment 175817 [details] build log w/o nasty escape sequences
Fixed in 1.0.0, see the patch