* Package: www-servers/gatling-0.16-r4:0 * Repository: gentoo * Maintainer: patrick@gentoo.org sping@gentoo.org * USE: abi_x86_64 amd64 diet elibc_glibc kernel_linux * FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox >>> Unpacking source... >>> Unpacking gatling-0.16.tar.xz to /var/tmp/portage/www-servers/gatling-0.16-r4/work >>> Source unpacked in /var/tmp/portage/www-servers/gatling-0.16-r4/work >>> Preparing source in /var/tmp/portage/www-servers/gatling-0.16-r4/work/gatling-0.16 ... * Applying gatling-0.13-compile.patch ... [ ok ] * Applying gatling-0.15-ar.patch ... [ ok ] * Applying gatling-0.16-r4-0001-try-alloca-socket-fix-Wimplicit-int.patch ... [ ok ] >>> Source prepared. >>> Configuring source in /var/tmp/portage/www-servers/gatling-0.16-r4/work/gatling-0.16 ... >>> Source configured. >>> Compiling source in /var/tmp/portage/www-servers/gatling-0.16-r4/work/gatling-0.16 ... make -j5 DIET=/usr/bin/diet CC=x86_64-pc-linux-gnu-gcc 'CFLAGS=-O2 -pipe -march=native -fno-diagnostics-color -I/usr/include/libowfat' 'LDFLAGS=-Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,--defsym=__gentoo_check_ldflags__=0' prefix=/usr gatling rm -f havesetresuid.h if /usr/bin/diet x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -I/usr/include/libowfat -o tryresuid trysetresuid.c >/dev/null 2>&1; then echo "#define LIBC_HAS_SETRESUID"; fi > havesetresuid.h (head -n 1 CHANGES | sed 's/\([^:]*\):/#define VERSION "\1"/') > version.h rm -f havealloca.h echo "#include " > havealloca.h if /usr/bin/diet x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -I/usr/include/libowfat -o trymd5 trymd5.c >/dev/null 2>&1; then echo ""; else \ if /usr/bin/diet x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -I/usr/include/libowfat -o trymd5 trymd5.c -lmd >/dev/null 2>&1; then echo "-lmd"; else \ if /usr/bin/diet x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -I/usr/include/libowfat -o trymd5 trymd5.c -lcrypto >/dev/null 2>&1; then echo "-lcrypto"; \ fi; fi; fi > md5lib if /usr/bin/diet x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -I/usr/include/libowfat -o trysocket trysocket.c >/dev/null 2>&1; then echo ""; else \ if /usr/bin/diet x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -I/usr/include/libowfat -o trysocket trysocket.c -lsocket >/dev/null 2>&1; then echo "-lsocket"; else \ if /usr/bin/diet x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -I/usr/include/libowfat -o trysocket trysocket.c -lsocket -lnsl >/dev/null 2>&1; then echo "-lsocket -lnsl"; else \ if /usr/bin/diet x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -I/usr/include/libowfat -o trysocket trysocket.c -lwsock32 >/dev/null 2>&1; then echo "-lwsock32"; \ fi; fi; fi; fi > libsocket if /usr/bin/diet /usr/bin/diet x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -I/usr/include/libowfat -c tryalloca.c -DA >/dev/null 2>&1; then echo "#include "; fi >> havealloca.h if /usr/bin/diet x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -I/usr/include/libowfat -o tryiconv tryiconv.c >/dev/null 2>&1; then echo ""; else \ if /usr/bin/diet x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -I/usr/include/libowfat -o tryiconv tryiconv.c -liconv >/dev/null 2>&1; then echo "-liconv"; else \ if /usr/bin/diet x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -I/usr/include/libowfat -o tryiconv tryiconv.c -L/usr/local/lib -liconv >/dev/null 2>&1; then \ echo "-L/usr/local/lib -liconv"; \ fi; fi; fi > libiconv if /usr/bin/diet /usr/bin/diet x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -I/usr/include/libowfat -c tryalloca.c -DB >/dev/null 2>&1; then echo "#include "; fi >> havealloca.h rm -f tryiconv rm -f trymd5 touch dummy.c rm -f tryresuid rm -f trysocket if /usr/bin/diet x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -I/usr/include/libowfat -o trycrypt trycrypt.c >/dev/null 2>&1; then echo ""; else \ if /usr/bin/diet x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -I/usr/include/libowfat -o trycrypt trycrypt.c -lcrypt >/dev/null 2>&1; then echo "-lcrypt"; \ fi; fi > libcrypt /usr/bin/diet x86_64-pc-linux-gnu-gcc -c mime.c -o mime.o -I. -O2 -pipe -march=native -fno-diagnostics-color -I/usr/include/libowfat /usr/bin/diet x86_64-pc-linux-gnu-gcc -c connstat.c -o connstat.o -I. -O2 -pipe -march=native -fno-diagnostics-color -I/usr/include/libowfat /usr/bin/diet x86_64-pc-linux-gnu-gcc -c httpstream.c -o httpstream.o -I. -O2 -pipe -march=native -fno-diagnostics-color -I/usr/include/libowfat rm -f tryalloca.o /usr/bin/diet x86_64-pc-linux-gnu-gcc -c dirfd.c -o dirfd.o -I. -O2 -pipe -march=native -fno-diagnostics-color -I/usr/include/libowfat rm -f trycrypt /usr/bin/diet x86_64-pc-linux-gnu-gcc -c dummy.c -o dummy.o -I. -O2 -pipe -march=native -fno-diagnostics-color -I/usr/include/libowfat /usr/bin/diet x86_64-pc-linux-gnu-gcc -c gatling.c -o gatling.o -I. -O2 -pipe -march=native -fno-diagnostics-color -I/usr/include/libowfat /usr/bin/diet x86_64-pc-linux-gnu-gcc -c ftp.c -o ftp.o -I. -O2 -pipe -march=native -fno-diagnostics-color -I/usr/include/libowfat /usr/bin/diet x86_64-pc-linux-gnu-gcc -c http.c -o http.o -I. -O2 -pipe -march=native -fno-diagnostics-color -I/usr/include/libowfat /usr/bin/diet x86_64-pc-linux-gnu-gcc -c smb.c -o smb.o -I. -O2 -pipe -march=native -fno-diagnostics-color -I/usr/include/libowfat http.c: In function ‘get_md5_randomness’: http.c:2206:9: warning: implicit declaration of function ‘getentropy’ [-Wimplicit-function-declaration] 2206 | if (getentropy(buf, sizeof buf)) { | ^~~~~~~~~~ /usr/bin/diet x86_64-pc-linux-gnu-gcc -c common.c -o common.o -I. -O2 -pipe -march=native -fno-diagnostics-color -I/usr/include/libowfat ar q libsocketkludge.a dummy.o ar: creating libsocketkludge.a ranlib libsocketkludge.a /usr/bin/diet x86_64-pc-linux-gnu-gcc -Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,--defsym=__gentoo_check_ldflags__=0 gatling.o mime.o ftp.o http.o smb.o common.o connstat.o httpstream.o dirfd.o -o gatling -lowfat -lz `cat libsocket libiconv libcrypt` `cat md5lib` /usr/lib/gcc/x86_64-pc-linux-gnu/13/../../../../x86_64-pc-linux-gnu/bin/ld: cannot find -lz: No such file or directory /usr/lib/gcc/x86_64-pc-linux-gnu/13/../../../../x86_64-pc-linux-gnu/bin/ld: /usr/lib/gcc/x86_64-pc-linux-gnu/13/../../../../lib64/libowfat.a(io_sendfile.o): in function `io_sendfile': (.text+0x5b): warning: sendfile is not portable /usr/lib/gcc/x86_64-pc-linux-gnu/13/../../../../x86_64-pc-linux-gnu/bin/ld: gatling.o: in function `handle_read_misc': gatling.c:(.text+0x18cd): warning: warning: your code still has assertions enabled! /usr/lib/gcc/x86_64-pc-linux-gnu/13/../../../../x86_64-pc-linux-gnu/bin/ld: /usr/diet/lib-x86_64/libc.a(stdin.o): in function `__fflush_stdin': (.text+0x38): warning: warning: your code uses stdio (7+k bloat). /usr/lib/gcc/x86_64-pc-linux-gnu/13/../../../../x86_64-pc-linux-gnu/bin/ld: /usr/diet/lib-x86_64/libc.a(vsnprintf.o): in function `vsnprintf': (.text+0xa9): warning: warning: the printf functions add several kilobytes of bloat. collect2: error: ld returned 1 exit status make: *** [GNUmakefile:122: gatling] Error 1 * ERROR: www-servers/gatling-0.16-r4::gentoo failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=www-servers/gatling-0.16-r4::gentoo'`, * the complete build log and the output of `emerge -pqv '=www-servers/gatling-0.16-r4::gentoo'`. * The complete build log is located at '/var/log/portage/www-servers:gatling-0.16-r4:20230917-032208.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/www-servers/gatling-0.16-r4/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/www-servers/gatling-0.16-r4/temp/environment'. * Working directory: '/var/tmp/portage/www-servers/gatling-0.16-r4/work/gatling-0.16' * S: '/var/tmp/portage/www-servers/gatling-0.16-r4/work/gatling-0.16'