* Package: sys-block/mbuffer-20160228 * Repository: gentoo * Maintainer: base-system@gentoo.org * USE: abi_x86_64 amd64 elibc_glibc kernel_linux ssl test userland_GNU * FEATURES: network-sandbox preserve-libs sandbox test userpriv usersandbox >>> Unpacking source... >>> Unpacking mbuffer-20160228.tgz to /var/tmp/portage/sys-block/mbuffer-20160228/work >>> Source unpacked in /var/tmp/portage/sys-block/mbuffer-20160228/work >>> Preparing source in /var/tmp/portage/sys-block/mbuffer-20160228/work/mbuffer-20160228 ... * Applying mbuffer-20121111-resolv-multi-order-issue.patch ... [ ok ] >>> Source prepared. >>> Configuring source in /var/tmp/portage/sys-block/mbuffer-20160228/work/mbuffer-20160228 ... * econf: updating mbuffer-20160228/config.sub with /usr/share/gnuconfig/config.sub * econf: updating mbuffer-20160228/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 --libdir=/usr/lib64 --enable-md5 --disable-debug checking build system type... x86_64-pc-linux-gnu checking host system type... x86_64-pc-linux-gnu checking target system type... x86_64-pc-linux-gnu checking for x86_64-pc-linux-gnu-gcc... x86_64-pc-linux-gnu-gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no 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 ISO C89... none needed checking for x86_64-pc-linux-gnu-gcc option to accept ISO C99... none needed checking for x86_64-pc-linux-gnu-cc... (cached) x86_64-pc-linux-gnu-gcc checking whether we are using the GNU C compiler... (cached) yes checking whether x86_64-pc-linux-gnu-gcc accepts -g... (cached) yes checking for x86_64-pc-linux-gnu-gcc option to accept ISO C89... (cached) none needed checking for C/C++ restrict keyword... __restrict checking for inline... inline checking for a BSD-compatible install... /usr/lib/portage/python3.4/ebuild-helpers/xattr/install -c checking for rm... /bin/rm checking for mt... /usr/sbin/mt checking return type of signal handlers... void checking for special C compiler options needed for large files... no checking for _FILE_OFFSET_BITS value needed for large files... no checking how to run the C preprocessor... x86_64-pc-linux-gnu-gcc -E checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/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 for struct stat.st_blksize... yes checking whether to enable assertions... yes checking for pthread_mutex_init in -lpthread... yes checking for library containing clock_gettime... none required checking for library containing sem_init... none required checking for library containing rint... -lm checking for library containing seteuid... none required checking for library containing atoll... none required checking for library containing hstrerror... none required checking for library containing getaddrinfo... none required checking for library containing socket... none required checking for library containing gethostbyname... none required checking for library containing sendfile... none required checking sys/sendfile.h usability... yes checking sys/sendfile.h presence... yes checking for sys/sendfile.h... yes checking for size_t... yes checking for working alloca.h... yes checking for alloca... yes checking for library containing mhash_init... -lmhash configure: creating ./config.status config.status: creating Makefile config.status: creating mbuffer.1 config.status: creating config.h >>> Source configured. >>> Compiling source in /var/tmp/portage/sys-block/mbuffer-20160228/work/mbuffer-20160228 ... make -j1 x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -Wall -DHAVE_CONFIG_H -I. -I. -c -o log.o log.c log.c:80:0: warning: "debugmsg" redefined #define debugmsg In file included from log.c:20:0: log.h:41:0: note: this is the location of the previous definition #define debugmsg(...) log.c: In function ‘infomsg’: log.c:108:3: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result] (void) write(Log,buf,s); ^~~~~~~~~~~~~~~~~~~~~~~ log.c: In function ‘warningmsg’: log.c:141:3: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result] (void) write(Log,buf,s); ^~~~~~~~~~~~~~~~~~~~~~~ log.c: In function ‘errormsg’: log.c:175:3: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result] (void) write(Log,buf,s); ^~~~~~~~~~~~~~~~~~~~~~~ log.c: In function ‘fatal’: log.c:212:3: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result] (void) write(Log,buf,s); ^~~~~~~~~~~~~~~~~~~~~~~ log.c: In function ‘printmsg’: log.c:243:2: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result] (void) write(Log,buf,s); ^~~~~~~~~~~~~~~~~~~~~~~ x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -Wall -DHAVE_CONFIG_H -I. -I. -c -o network.o network.c x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -Wall -DHAVE_CONFIG_H -I. -I. -c -o mbuffer.o mbuffer.c mbuffer.c:121:3: warning: #warning sendfile is unable to send from buffers [-Wcpp] #warning sendfile is unable to send from buffers ^~~~~~~ mbuffer.c: In function ‘enforceSpeedLimit’: mbuffer.c:493:7: warning: unused variable ‘self’ [-Wunused-variable] long self = (long) pthread_self(); ^~~~ mbuffer.c: In function ‘inputThread’: mbuffer.c:763:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] pthread_exit((void *) in); ^ mbuffer.c:764:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] return (void *) in; ^ mbuffer.c: In function ‘terminateSender’: mbuffer.c:861:15: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] pthread_exit((void *) ret); ^ mbuffer.c: In function ‘terminateOutputThread’: mbuffer.c:1145:15: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] pthread_exit((void *)status); ^ mbuffer.c: In function ‘main’: mbuffer.c:2532:6: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result] (void) write(STDERR_FILENO,d->result,strlen(d->result)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mbuffer.c:2534:7: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result] (void) write(Log,d->result,strlen(d->result)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mbuffer.c: In function ‘requestOutputVolume’: mbuffer.c:1110:3: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result] (void) write(STDERR_FILENO,msg,sizeof(msg)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mbuffer.c: In function ‘sigHandler’: mbuffer.c:316:4: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result] (void) write(TermQ[1],"0",1); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ mbuffer.c: In function ‘requestInputVolume’: mbuffer.c:658:3: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result] (void) write(STDERR_FILENO,msg,sizeof(msg)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mbuffer.c: In function ‘promptInteractive’: mbuffer.c:557:4: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result] (void) write(STDERR_FILENO,donemsg,sizeof(donemsg)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mbuffer.c:574:4: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result] (void) write(STDERR_FILENO,contmsg,sizeof(contmsg)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mbuffer.c: In function ‘summary’: mbuffer.c:285:3: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result] (void) write(Log,buf,msg-buf); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mbuffer.c:287:3: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result] (void) write(STDERR_FILENO,buf,msg-buf); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -Wall -DHAVE_CONFIG_H -I. -I. -Wl,-O1 -Wl,--as-needed log.o network.o mbuffer.o -lmhash -lm -lpthread -o mbuffer >>> Source compiled. >>> Test phase: sys-block/mbuffer-20160228 make -j1 -j1 check openssl md5 < test.tar > test.md5 ./mbuffer -i test.tar -p10 | ./mbuffer -q -P 90 | openssl md5 > test0.md5 summary: 120 KiByte in 0.0sec - average of 132 MiB/s sync diff test0.md5 test.md5 touch test0 ./mbuffer -i test.tar -f -o test1.tar -o /dev/null -H summary: 2x 120 KiByte in 0.0sec - average of 131 MiB/s MD5 hash: c11581803a07828f1f57e6fa35cb38d2 openssl md5 < test1.tar > test1.md5 rm -f test1.tar sync diff test1.md5 test.md5 touch test1 ./mbuffer -q -I :8000 -o test2.tar -o - | openssl md5 > test2.md5 & \ sleep 1; \ rm -f test2.tar; \ ./mbuffer -i test.tar -o /dev/null -O 127.0.0.1:8000 -H; \ wait summary: 2x 120 KiByte in 0.0sec - average of 164 MiB/s MD5 hash: c11581803a07828f1f57e6fa35cb38d2 sync diff test2.md5 test.md5 rm test2.md5 openssl md5 < test2.tar > test2.md5 rm -f test2.tar sync diff test2.md5 test.md5 touch test2 ./mbuffer -q -6 -I :8000 | openssl md5 > test3.md5 & \ sleep 1; \ rm -f test3.tar; \ ./mbuffer -i test.tar -o /dev/null -6 -O ::1:8000 -o test3.tar -H; \ wait mbuffer: fatal: unable to get address information for port/service '8000': Name or service not known mbuffer: fatal: unable to resolve address information for '::1:8000': Name or service not known sync diff test3.md5 test.md5 1c1 < (stdin)= d41d8cd98f00b204e9800998ecf8427e --- > (stdin)= c11581803a07828f1f57e6fa35cb38d2 make: *** [Makefile:94: test3] Error 1 * ERROR: sys-block/mbuffer-20160228::gentoo failed (test phase): * Make check failed. See above for details. * * Call stack: * ebuild.sh, line 115: Called src_test * environment, line 1986: Called default * phase-functions.sh, line 808: Called default_src_test * phase-functions.sh, line 837: Called __eapi0_src_test * phase-helpers.sh, line 763: 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 '=sys-block/mbuffer-20160228::gentoo'`, * the complete build log and the output of `emerge -pqv '=sys-block/mbuffer-20160228::gentoo'`. * The complete build log is located at '/var/log/portage/sys-block:mbuffer-20160228:20170706-061806.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/sys-block/mbuffer-20160228/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/sys-block/mbuffer-20160228/temp/environment'. * Working directory: '/var/tmp/portage/sys-block/mbuffer-20160228/work/mbuffer-20160228' * S: '/var/tmp/portage/sys-block/mbuffer-20160228/work/mbuffer-20160228'