* Package: app-misc/beanstalkd-1.10 * Repository: gentoo * Maintainer: patrick@gentoo.org * USE: abi_x86_64 amd64 elibc_glibc kernel_linux userland_GNU * FEATURES: network-sandbox preserve-libs sandbox test userpriv usersandbox * Adding user 'beanstalk' to your system ... * - Userid: 137 * - Shell: /sbin/nologin * - Home: /var/lib/beanstalkd * - Groups: daemon * - GECOS: added by portage for beanstalkd * - Creating /var/lib/beanstalkd in / >>> Unpacking source... >>> Unpacking beanstalkd-1.10.tar.gz to /var/tmp/portage/app-misc/beanstalkd-1.10/work >>> Source unpacked in /var/tmp/portage/app-misc/beanstalkd-1.10/work >>> Preparing source in /var/tmp/portage/app-misc/beanstalkd-1.10/work/beanstalkd-1.10 ... >>> Source prepared. >>> Configuring source in /var/tmp/portage/app-misc/beanstalkd-1.10/work/beanstalkd-1.10 ... >>> Source configured. >>> Compiling source in /var/tmp/portage/app-misc/beanstalkd-1.10/work/beanstalkd-1.10 ... make -j1 'CFLAGS=-O2 -pipe -march=native' 'LDFLAGS=-Wl,-O1 -Wl,--as-needed' CC=x86_64-pc-linux-gnu-gcc LD=x86_64-pc-linux-gnu-ld x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -c -o linux.o linux.c x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -c -o conn.o conn.c x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -c -o file.o file.c file.c: In function ‘filewclose’: file.c:536:15: warning: ignoring return value of ‘ftruncate’, declared with attribute warn_unused_result [-Wunused-result] (void)ftruncate(f->fd, f->w->filesize - f->free); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -c -o heap.o heap.c x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -c -o job.o job.c x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -c -o ms.o ms.c x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -c -o net.o net.c x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -c -o primes.o primes.c x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -c -o prot.o prot.c x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -c -o sd-daemon.o sd-daemon.c x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -c -o serv.o serv.c x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -c -o time.o time.c x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -c -o tube.o tube.c x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -c -o util.o util.c ./verc.sh >vers.c x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -c -o vers.o vers.c x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -c -o walg.o walg.c x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -c -o main.o main.c x86_64-pc-linux-gnu-gcc -Wl,-O1 -Wl,--as-needed -o beanstalkd linux.o conn.o file.o heap.o job.o ms.o net.o primes.o prot.o sd-daemon.o serv.o time.o tube.o util.o vers.o walg.o main.o -Wl,-O1 -Wl,--as-needed >>> Source compiled. >>> Test phase: app-misc/beanstalkd-1.10 make -j1 check cc -O2 -pipe -march=native -c -o testheap.o testheap.c cc -O2 -pipe -march=native -c -o testjobs.o testjobs.c cc -O2 -pipe -march=native -c -o testserv.o testserv.c cc -O2 -pipe -march=native -c -o testutil.o testutil.c ct/gen testheap.o testjobs.o testserv.o testutil.o >ct/_ctcheck.c.part mv ct/_ctcheck.c.part ct/_ctcheck.c cc -O2 -pipe -march=native -c -o ct/_ctcheck.o ct/_ctcheck.c cc -O2 -pipe -march=native -c -o ct/ct.o ct/ct.c ct/ct.c: In function ‘nstime’: ct/ct.c:47:5: warning: implicit declaration of function ‘clock_gettime’ [-Wimplicit-function-declaration] clock_gettime(CLOCK_MONOTONIC, &t); ^~~~~~~~~~~~~ ct/ct.c:47:19: error: ‘CLOCK_MONOTONIC’ undeclared (first use in this function) clock_gettime(CLOCK_MONOTONIC, &t); ^~~~~~~~~~~~~~~ ct/ct.c:47:19: note: each undeclared identifier is reported only once for each function it appears in ct/ct.c: In function ‘runbench’: ct/ct.c:419:27: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 3 has type ‘int64’ {aka ‘long int’} [-Wformat=] printf("%8d\t%10lld ns/op", n, b->dur/n); ~~~~~^ ~~~~~~~~ %10ld ct/ct.c: In function ‘writetokens’: ct/ct.c:524:13: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result] write(wjobfd, &c, 1); // ignore error; nothing we can do anyway ^~~~~~~~~~~~~~~~~~~~ ct/ct.c: In function ‘runbenchn’: ct/ct.c:307:9: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result] write(durfd, &bdur, sizeof bdur); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ct/ct.c:308:9: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result] write(durfd, &bbytes, sizeof bbytes); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make: *** [: ct/ct.o] Error 1 * ERROR: app-misc/beanstalkd-1.10::gentoo failed (test phase): * Make check failed. See above for details. * * Call stack: * ebuild.sh, line 124: Called src_test * environment, line 2295: Called default * phase-functions.sh, line 872: Called default_src_test * phase-functions.sh, line 901: Called __eapi0_src_test * phase-helpers.sh, line 816: Called die * The specific snippet of code: * $emake_cmd ${internal_opts} check || \ * die "Make check failed. See above for details." * * If you need support, post the output of `emerge --info '=app-misc/beanstalkd-1.10::gentoo'`, * the complete build log and the output of `emerge -pqv '=app-misc/beanstalkd-1.10::gentoo'`. * The complete build log is located at '/var/log/portage/app-misc:beanstalkd-1.10:20190421-065404.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/app-misc/beanstalkd-1.10/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/app-misc/beanstalkd-1.10/temp/environment'. * Working directory: '/var/tmp/portage/app-misc/beanstalkd-1.10/work/beanstalkd-1.10' * S: '/var/tmp/portage/app-misc/beanstalkd-1.10/work/beanstalkd-1.10'