Summary: | games-util/qstat-2.11 - In file included from /usr/include/string.h:634:0, from qstat.c:39: qstat.c:2579:8: error: expected identifier or ‘(’ before ‘__extension__’ (strndup) | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Toralf Förster <toralf> |
Component: | [OLD] Games | Assignee: | Gentoo Games <games> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 528456 | ||
Attachments: | emerge log |
Description
Toralf Förster
2014-11-28 09:47:25 UTC
Builds fine for me with stable amd64. The only difference in the build up to the error on your system is: < checking for a BSD-compatible install... /usr/lib/portage/python3.3/ebuild-helpers/xattr/install -c --- > checking for a BSD-compatible install... /usr/bin/install -c 21c21 < checking dependency style of x86_64-pc-linux-gnu-gcc... gcc3 --- > checking dependency style of x86_64-pc-linux-gnu-gcc... none (In reply to Mr. Bones. from comment #1) > Builds fine for me with stable amd64. The only difference in the build up > to the error on your system is: > > < checking for a BSD-compatible install... > /usr/lib/portage/python3.3/ebuild-helpers/xattr/install -c > --- > > checking for a BSD-compatible install... /usr/bin/install -c > 21c21 > < checking dependency style of x86_64-pc-linux-gnu-gcc... gcc3 > --- > > checking dependency style of x86_64-pc-linux-gnu-gcc... none Hhm, I took a look into /var/log/messages of the hardened host - but there were no issues related to that emerge run (BTW the chroot is an unstable hardened amd64 too - maybe the culprit ?) heh. ok, so I did strndup -> l_strndup, so resync and try it again. $ sudo /mnt/qa/tinderbox/chr.sh amd64-hardened "emerge -1 games-util/qstat" These are the packages that would be merged, in reverse order: Calculating dependencies ... done! [ebuild N ] games-util/qstat-2.11 USE="-debug" >>> Verifying ebuild manifests >>> Emerging (1 of 1) games-util/qstat-2.11::gentoo >>> Failed to emerge games-util/qstat-2.11, Log file: >>> '/var/log/portage/games-util:qstat-2.11:20141203-194719.log' >>> Jobs: 0 of 1 complete, 1 failed Load avg: 9.86, 9.53, 9.52 * Package: games-util/qstat-2.11 * Repository: gentoo * Maintainer: games@gentoo.org * USE: abi_x86_64 amd64 elibc_glibc kernel_linux userland_GNU * FEATURES: preserve-libs sandbox userpriv usersandbox >>> Unpacking source... >>> Unpacking qstat-2.11.tar.gz to /var/tmp/portage/games-util/qstat-2.11/work >>> Source unpacked in /var/tmp/portage/games-util/qstat-2.11/work >>> Preparing source in /var/tmp/portage/games-util/qstat-2.11/work/qstat-2.11 ... >>> Source prepared. >>> Configuring source in /var/tmp/portage/games-util/qstat-2.11/work/qstat-2.11 ... * econf: updating qstat-2.11/config.sub with /usr/share/gnuconfig/config.sub * econf: updating qstat-2.11/config.guess with /usr/share/gnuconfig/config.guess ./configure --prefix=/usr --build=x86_64-pc-linux-gnu --host=x86_64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --disable-dependency-tracking --libdir=/usr/lib64 --disable-debug checking build system type... x86_64-pc-linux-gnu checking host system type... x86_64-pc-linux-gnu checking for a BSD-compatible install... /usr/lib/portage/python3.3/ebuild-helpers/xattr/install -c checking whether build environment is sane... yes checking for gawk... gawk checking whether make sets $(MAKE)... yes checking for x86_64-pc-linux-gnu-gcc... x86_64-pc-linux-gnu-gcc checking for C compiler default output file name... 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 x86_64-pc-linux-gnu-gcc accepts -g... yes checking for x86_64-pc-linux-gnu-gcc option to accept ANSI C... none needed checking for style of include used by make... GNU checking dependency style of x86_64-pc-linux-gnu-gcc... none checking how to run the C preprocessor... x86_64-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 sys/mman.h usability... yes checking sys/mman.h presence... yes checking for sys/mman.h... yes checking whether to enable debug output... no checking whether to enable packet dumps... yes configure: creating ./config.status config.status: creating Makefile config.status: creating template/Makefile config.status: creating info/Makefile config.status: creating gnuconfig.h config.status: executing depfiles commands >>> Source configured. >>> Compiling source in /var/tmp/portage/games-util/qstat-2.11/work/qstat-2.11 ... make -j1 make all-recursive make[1]: Entering directory '/var/tmp/portage/games-util/qstat-2.11/work/qstat-2.11' Making all in template make[2]: Entering directory '/var/tmp/portage/games-util/qstat-2.11/work/qstat-2.11/template' make[2]: Nothing to be done for 'all'. make[2]: Leaving directory '/var/tmp/portage/games-util/qstat-2.11/work/qstat-2.11/template' Making all in info make[2]: Entering directory '/var/tmp/portage/games-util/qstat-2.11/work/qstat-2.11/info' make[2]: Nothing to be done for 'all'. make[2]: Leaving directory '/var/tmp/portage/games-util/qstat-2.11/work/qstat-2.11/info' make[2]: Entering directory '/var/tmp/portage/games-util/qstat-2.11/work/qstat-2.11' x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I. -Dsysconfdir=\"/etc\" -DENABLE_DUMP -O2 -pipe -Wall -c config.c x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I. -Dsysconfdir=\"/etc\" -DENABLE_DUMP -O2 -pipe -Wall -c debug.c x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I. -Dsysconfdir=\"/etc\" -DENABLE_DUMP -O2 -pipe -Wall -c hcache.c x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I. -Dsysconfdir=\"/etc\" -DENABLE_DUMP -O2 -pipe -Wall -c md5.c x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I. -Dsysconfdir=\"/etc\" -DENABLE_DUMP -O2 -pipe -Wall -c qserver.c x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I. -Dsysconfdir=\"/etc\" -DENABLE_DUMP -O2 -pipe -Wall -c qstat.c In file included from /usr/include/string.h:634:0, from qstat.c:39: qstat.c:2579:8: error: expected identifier or ‘(’ before ‘__extension__’ char * strndup( const char *string, size_t len); ^ qstat.c: In function ‘do_work’: qstat.c:3006:19: warning: variable ‘ts’ set but not used [-Wunused-but-set-variable] struct timeval t,ts; ^ qstat.c:2998:18: warning: variable ‘fd’ set but not used [-Wunused-but-set-variable] int pktlen, rc, fd; ^ qstat.c: In function ‘deal_with_ghostrecon_packet’: qstat.c:8349:29: warning: variable ‘end’ set but not used [-Wunused-but-set-variable] char str[256], *start, *end, StartFlag, *lpszIgnoreServerPlayer; ^ qstat.c:8349:21: warning: variable ‘start’ set but not used [-Wunused-but-set-variable] char str[256], *start, *end, StartFlag, *lpszIgnoreServerPlayer; ^ In file included from /usr/include/string.h:634:0, from qstat.c:39: qstat.c: At top level: qstat.c:10527:1: error: expected identifier or ‘(’ before ‘__extension__’ strndup( const char *string, size_t len) ^ Makefile:318: recipe for target 'qstat.o' failed make[2]: *** [qstat.o] Error 1 make[2]: Leaving directory '/var/tmp/portage/games-util/qstat-2.11/work/qstat-2.11' Makefile:352: recipe for target 'all-recursive' failed make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory '/var/tmp/portage/games-util/qstat-2.11/work/qstat-2.11' Makefile:209: recipe for target 'all' failed make: *** [all] Error 2 * ERROR: games-util/qstat-2.11::gentoo failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=games-util/qstat-2.11::gentoo'`, * the complete build log and the output of `emerge -pqv '=games-util/qstat-2.11::gentoo'`. * The complete build log is located at '/var/log/portage/games-util:qstat-2.11:20141203-194719.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/games-util/qstat-2.11/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/games-util/qstat-2.11/temp/environment'. * Working directory: '/var/tmp/portage/games-util/qstat-2.11/work/qstat-2.11' * S: '/var/tmp/portage/games-util/qstat-2.11/work/qstat-2.11' tinderbox@tor-relay ~ $ |