When I want to compile app-misc/srm have got a failure. Reproducible: Always Steps to Reproduce: 1.emerge srm 2.wait 3.see the bug Actual Results: >>> Unpacking source... >>> Unpacking srm-1.2.8.tar.gz to /var/tmp/portage/app-misc/srm-1.2.8/work >>> Source unpacked. >>> Compiling source in /var/tmp/portage/app-misc/srm-1.2.8/work/srm-1.2.8 ... ./configure --prefix=/usr --host=i686-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --build=i686-pc-linux-gnu checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for gawk... gawk checking whether make sets $(MAKE)... yes checking for i686-pc-linux-gnu-gcc... i686-pc-linux-gnu-gcc checking for C compiler default output... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether i686-pc-linux-gnu-gcc accepts -g... yes checking for i686-pc-linux-gnu-gcc option to accept ANSI C... none needed checking for style of include used by make... GNU checking dependency style of i686-pc-linux-gnu-gcc... gcc3 checking for a BSD-compatible install... /usr/bin/install -c checking for i686-pc-linux-gnu-ranlib... i686-pc-linux-gnu-ranlib checking how to run the C preprocessor... i686-pc-linux-gnu-gcc -E checking for egrep... grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking linux/ext2_fs.h usability... yes checking linux/ext2_fs.h presence... yes checking for linux/ext2_fs.h... yes checking sys/vfs.h usability... yes checking sys/vfs.h presence... yes checking for sys/vfs.h... yes checking sys/param.h usability... yes checking sys/param.h presence... yes checking for sys/param.h... yes checking sys/mount.h usability... yes checking sys/mount.h presence... yes checking for sys/mount.h... yes checking varargs.h usability... no checking varargs.h presence... no checking for varargs.h... no checking stdarg.h usability... yes checking stdarg.h presence... yes checking for stdarg.h... yes checking for an ANSI C-conforming const... yes checking for struct stat.st_blksize... yes checking for fts_open... yes checking for nftw... yes checking for fdatasync... yes checking for chflags... no checking for snprintf... yes checking for vsnprintf... yes configure: creating ./config.status config.status: creating Makefile config.status: creating doc/Makefile config.status: creating src/Makefile config.status: creating lib/Makefile config.status: creating srm.spec config.status: creating config.h config.status: executing depfiles commands make all-recursive make[1]: Entering directory `/var/tmp/portage/app-misc/srm-1.2.8/work/srm-1.2.8' Making all in lib make[2]: Entering directory `/var/tmp/portage/app-misc/srm-1.2.8/work/srm-1.2.8/lib' source='snprintf.c' object='snprintf.o' libtool=no \ depfile='.deps/snprintf.Po' tmpdepfile='.deps/snprintf.TPo' \ depmode=gcc3 /bin/sh ../depcomp \ i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -O2 -march=athlon-xp -pipe -fomit-frame-pointer -c `test -f 'snprintf.c' || echo './'`snprintf.c source='getopt1.c' object='getopt1.o' libtool=no \ depfile='.deps/getopt1.Po' tmpdepfile='.deps/getopt1.TPo' \ depmode=gcc3 /bin/sh ../depcomp \ i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -O2 -march=athlon-xp -pipe -fomit-frame-pointer -c `test -f 'getopt1.c' || echo './'`getopt1.c source='getopt.c' object='getopt.o' libtool=no \ depfile='.deps/getopt.Po' tmpdepfile='.deps/getopt.TPo' \ depmode=gcc3 /bin/sh ../depcomp \ i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -O2 -march=athlon-xp -pipe -fomit-frame-pointer -c `test -f 'getopt.c' || echo './'`getopt.c rm -f libsrm.a ar cru libsrm.a snprintf.o getopt1.o getopt.o i686-pc-linux-gnu-ranlib libsrm.a make[2]: Leaving directory `/var/tmp/portage/app-misc/srm-1.2.8/work/srm-1.2.8/lib' Making all in src make[2]: Entering directory `/var/tmp/portage/app-misc/srm-1.2.8/work/srm-1.2.8/src' source='error.c' object='error.o' libtool=no \ depfile='.deps/error.Po' tmpdepfile='.deps/error.TPo' \ depmode=gcc3 /bin/sh ../depcomp \ i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../lib -O2 -march=athlon-xp -pipe -fomit-frame-pointer -c `test -f 'error.c' || echo './'`error.c source='main.c' object='main.o' libtool=no \ depfile='.deps/main.Po' tmpdepfile='.deps/main.TPo' \ depmode=gcc3 /bin/sh ../depcomp \ i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../lib -O2 -march=athlon-xp -pipe -fomit-frame-pointer -c `test -f 'main.c' || echo './'`main.c source='random.c' object='random.o' libtool=no \ depfile='.deps/random.Po' tmpdepfile='.deps/random.TPo' \ depmode=gcc3 /bin/sh ../depcomp \ i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../lib -O2 -march=athlon-xp -pipe -fomit-frame-pointer -c `test -f 'random.c' || echo './'`random.c source='rename_unlink.c' object='rename_unlink.o' libtool=no \ depfile='.deps/rename_unlink.Po' tmpdepfile='.deps/rename_unlink.TPo' \ depmode=gcc3 /bin/sh ../depcomp \ i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../lib -O2 -march=athlon-xp -pipe -fomit-frame-pointer -c `test -f 'rename_unlink.c' || echo './'`rename_unlink.c source='sunlink.c' object='sunlink.o' libtool=no \ depfile='.deps/sunlink.Po' tmpdepfile='.deps/sunlink.TPo' \ depmode=gcc3 /bin/sh ../depcomp \ i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../lib -O2 -march=athlon-xp -pipe -fomit-frame-pointer -c `test -f 'sunlink.c' || echo './'`sunlink.c In file included from sunlink.c:25: /usr/include/sys/mount.h:36: error: expected identifier before numeric constant source='tree_walker.c' object='tree_walker.o' libtool=no \ depfile='.deps/tree_walker.Po' tmpdepfile='.deps/tree_walker.TPo' \ depmode=gcc3 /bin/sh ../depcomp \ i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../lib -O2 -march=athlon-xp -pipe -fomit-frame-pointer -c `test -f 'tree_walker.c' || echo './'`tree_walker.c make[2]: *** [sunlink.o] Error 1 make[2]: *** Waiting for unfinished jobs.... make[2]: Leaving directory `/var/tmp/portage/app-misc/srm-1.2.8/work/srm-1.2.8/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/app-misc/srm-1.2.8/work/srm-1.2.8' make: *** [all] Error 2 !!! ERROR: app-misc/srm-1.2.8 failed. Call stack: ebuild.sh, line 1614: Called dyn_compile ebuild.sh, line 971: Called qa_call 'src_compile' environment, line 1223: Called src_compile ebuild.sh, line 645: Called die !!! 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/app-misc/srm-1.2.8/temp/build.log'.
Portage 2.1.2.1 (default-linux/x86/no-nptl, gcc-4.1.2, glibc-2.5-r1, 2.6.20-gentoo i686) ================================================================= System uname: 2.6.20-gentoo i686 AMD Duron(tm) processor Gentoo Base System release 1.12.9 Timestamp of tree: Sun, 04 Mar 2007 08:20:01 +0000 ccache version 2.4 [disabled] dev-java/java-config: 1.3.7, 2.0.31-r3 dev-lang/python: 2.4.4 dev-python/pycrypto: 2.0.1-r5 dev-util/ccache: 2.4-r6 sys-apps/sandbox: 1.2.18.1 sys-devel/autoconf: 2.13, 2.61 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10 sys-devel/binutils: 2.17 sys-devel/gcc-config: 1.3.14 sys-devel/libtool: 1.5.23b virtual/os-headers: 2.6.20-r1 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -march=athlon-xp -pipe -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/X11/xkb" CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo" CXXFLAGS="-O2 -march=athlon-xp -pipe -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict" GENTOO_MIRRORS="ftp://mirror.ovh.net/gentoo-distfiles/ http://mirror.ovh.net/gentoo-distfiles/ http://ftp.club-internet.fr/pub/mirrors/gentoo/ ftp://ftp.free.fr/mirrors/ftp.gentoo.org/ " LANG="fr_FR@euro" LC_ALL="fr_FR@euro" LINGUAS="fr fr_FR" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" USE="3dnow 3dnowex X alsa apm avi berkdb bitmap-fonts cdr cli cracklib crypt divx dri eds emboss encode firefox foomaticdb gdbm gif gnome gstreamer gtk gtk2 hardened iconv imlib isdnlog java jpeg libg++ libwww mad matroska midi mikmod mmx motif mp3 mpeg ncurses ogg oggvorbis opengl pam pcre perl png pppd python qt4 quicktime readline reflection sdl session spell spl sse ssl symlink tcpd truetype truetype-fonts type1-fonts vorbis win32codecs x86 xine xml xorg xv" 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 mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="fr fr_FR" USERLAND="GNU" VIDEO_CARDS="sis vesa media" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Created attachment 112033 [details] Description of the failure >>> Unpacking source... >>> Unpacking srm-1.2.8.tar.gz to /var/tmp/portage/app-misc/srm-1.2.8/work >>> Source unpacked. >>> Compiling source in /var/tmp/portage/app-misc/srm-1.2.8/work/srm-1.2.8 ... ./configure --prefix=/usr --host=i686-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --build=i686-pc-linux-gnu checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for gawk... gawk checking whether make sets $(MAKE)... yes checking for i686-pc-linux-gnu-gcc... i686-pc-linux-gnu-gcc checking for C compiler default output... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether i686-pc-linux-gnu-gcc accepts -g... yes checking for i686-pc-linux-gnu-gcc option to accept ANSI C... none needed checking for style of include used by make... GNU checking dependency style of i686-pc-linux-gnu-gcc... gcc3 checking for a BSD-compatible install... /usr/bin/install -c checking for i686-pc-linux-gnu-ranlib... i686-pc-linux-gnu-ranlib checking how to run the C preprocessor... i686-pc-linux-gnu-gcc -E checking for egrep... grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking linux/ext2_fs.h usability... yes checking linux/ext2_fs.h presence... yes checking for linux/ext2_fs.h... yes checking sys/vfs.h usability... yes checking sys/vfs.h presence... yes checking for sys/vfs.h... yes checking sys/param.h usability... yes checking sys/param.h presence... yes checking for sys/param.h... yes checking sys/mount.h usability... yes checking sys/mount.h presence... yes checking for sys/mount.h... yes checking varargs.h usability... no checking varargs.h presence... no checking for varargs.h... no checking stdarg.h usability... yes checking stdarg.h presence... yes checking for stdarg.h... yes checking for an ANSI C-conforming const... yes checking for struct stat.st_blksize... yes checking for fts_open... yes checking for nftw... yes checking for fdatasync... yes checking for chflags... no checking for snprintf... yes checking for vsnprintf... yes configure: creating ./config.status config.status: creating Makefile config.status: creating doc/Makefile config.status: creating src/Makefile config.status: creating lib/Makefile config.status: creating srm.spec config.status: creating config.h config.status: executing depfiles commands make all-recursive make[1]: Entering directory `/var/tmp/portage/app-misc/srm-1.2.8/work/srm-1.2.8' Making all in lib make[2]: Entering directory `/var/tmp/portage/app-misc/srm-1.2.8/work/srm-1.2.8/lib' source='snprintf.c' object='snprintf.o' libtool=no \ depfile='.deps/snprintf.Po' tmpdepfile='.deps/snprintf.TPo' \ depmode=gcc3 /bin/sh ../depcomp \ i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -O2 -march=athlon-xp -pipe -fomit-frame-pointer -c `test -f 'snprintf.c' || echo './'`snprintf.c source='getopt1.c' object='getopt1.o' libtool=no \ depfile='.deps/getopt1.Po' tmpdepfile='.deps/getopt1.TPo' \ depmode=gcc3 /bin/sh ../depcomp \ i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -O2 -march=athlon-xp -pipe -fomit-frame-pointer -c `test -f 'getopt1.c' || echo './'`getopt1.c source='getopt.c' object='getopt.o' libtool=no \ depfile='.deps/getopt.Po' tmpdepfile='.deps/getopt.TPo' \ depmode=gcc3 /bin/sh ../depcomp \ i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -O2 -march=athlon-xp -pipe -fomit-frame-pointer -c `test -f 'getopt.c' || echo './'`getopt.c rm -f libsrm.a ar cru libsrm.a snprintf.o getopt1.o getopt.o i686-pc-linux-gnu-ranlib libsrm.a make[2]: Leaving directory `/var/tmp/portage/app-misc/srm-1.2.8/work/srm-1.2.8/lib' Making all in src make[2]: Entering directory `/var/tmp/portage/app-misc/srm-1.2.8/work/srm-1.2.8/src' source='error.c' object='error.o' libtool=no \ depfile='.deps/error.Po' tmpdepfile='.deps/error.TPo' \ depmode=gcc3 /bin/sh ../depcomp \ i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../lib -O2 -march=athlon-xp -pipe -fomit-frame-pointer -c `test -f 'error.c' || echo './'`error.c source='main.c' object='main.o' libtool=no \ depfile='.deps/main.Po' tmpdepfile='.deps/main.TPo' \ depmode=gcc3 /bin/sh ../depcomp \ i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../lib -O2 -march=athlon-xp -pipe -fomit-frame-pointer -c `test -f 'main.c' || echo './'`main.c source='random.c' object='random.o' libtool=no \ depfile='.deps/random.Po' tmpdepfile='.deps/random.TPo' \ depmode=gcc3 /bin/sh ../depcomp \ i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../lib -O2 -march=athlon-xp -pipe -fomit-frame-pointer -c `test -f 'random.c' || echo './'`random.c source='rename_unlink.c' object='rename_unlink.o' libtool=no \ depfile='.deps/rename_unlink.Po' tmpdepfile='.deps/rename_unlink.TPo' \ depmode=gcc3 /bin/sh ../depcomp \ i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../lib -O2 -march=athlon-xp -pipe -fomit-frame-pointer -c `test -f 'rename_unlink.c' || echo './'`rename_unlink.c source='sunlink.c' object='sunlink.o' libtool=no \ depfile='.deps/sunlink.Po' tmpdepfile='.deps/sunlink.TPo' \ depmode=gcc3 /bin/sh ../depcomp \ i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../lib -O2 -march=athlon-xp -pipe -fomit-frame-pointer -c `test -f 'sunlink.c' || echo './'`sunlink.c In file included from sunlink.c:25: /usr/include/sys/mount.h:36: error: expected identifier before numeric constant source='tree_walker.c' object='tree_walker.o' libtool=no \ depfile='.deps/tree_walker.Po' tmpdepfile='.deps/tree_walker.TPo' \ depmode=gcc3 /bin/sh ../depcomp \ i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../lib -O2 -march=athlon-xp -pipe -fomit-frame-pointer -c `test -f 'tree_walker.c' || echo './'`tree_walker.c make[2]: *** [sunlink.o] Error 1 make[2]: *** Waiting for unfinished jobs.... make[2]: Leaving directory `/var/tmp/portage/app-misc/srm-1.2.8/work/srm-1.2.8/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/app-misc/srm-1.2.8/work/srm-1.2.8' make: *** [all] Error 2 !!! ERROR: app-misc/srm-1.2.8 failed. Call stack: ebuild.sh, line 1614: Called dyn_compile ebuild.sh, line 971: Called qa_call 'src_compile' environment, line 1223: Called src_compile ebuild.sh, line 645: Called die !!! 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/app-misc/srm-1.2.8/temp/build.log'.
Thanks, fixed in CVS
Yes, that's fine. Thaks a lot.