* Package: www-servers/gatling-0.15 * Repository: gentoo * Maintainer: patrick@gentoo.org sping@gentoo.org * USE: abi_x86_64 amd64 elibc_glibc kernel_linux ssl userland_GNU * FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox * Creating gatling user and group ... * Adding group 'gatling' to your system ... * - Groupid: next available * Adding user 'gatling' to your system ... * - Userid: 989 * - Shell: /sbin/nologin * - Home: /var/www/localhost * - Groups: gatling * - GECOS: added by portage for gatling >>> Unpacking source... >>> Unpacking gatling-0.15.tar.xz to /var/tmp/portage/www-servers/gatling-0.15/work >>> Source unpacked in /var/tmp/portage/www-servers/gatling-0.15/work >>> Preparing source in /var/tmp/portage/www-servers/gatling-0.15/work/gatling-0.15 ... * Applying gatling-0.13-compile.patch ... [ ok ] >>> Source prepared. >>> Configuring source in /var/tmp/portage/www-servers/gatling-0.15/work/gatling-0.15 ... >>> Source configured. >>> Compiling source in /var/tmp/portage/www-servers/gatling-0.15/work/gatling-0.15 ... make -j1 DIET= CC=x86_64-pc-linux-gnu-gcc 'CFLAGS=-O2 -pipe -march=native -fno-common -I/usr/include/libowfat' 'LDFLAGS=-Wl,-O1 -Wl,--as-needed' prefix=/usr gatling tlsgatling rm -f havesetresuid.h if x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-common -I/usr/include/libowfat -o tryresuid trysetresuid.c >/dev/null 2>&1; then echo "#define LIBC_HAS_SETRESUID"; fi > havesetresuid.h rm -f tryresuid (head -n 1 CHANGES | sed 's/\([^:]*\):/#define VERSION "\1"/') > version.h rm -f havealloca.h echo "#include " > havealloca.h if x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-common -I/usr/include/libowfat -c tryalloca.c -DA >/dev/null 2>&1; then echo "#include "; fi >> havealloca.h if x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-common -I/usr/include/libowfat -c tryalloca.c -DB >/dev/null 2>&1; then echo "#include "; fi >> havealloca.h rm -f tryalloca.o x86_64-pc-linux-gnu-gcc -c gatling.c -o gatling.o -I. -O2 -pipe -march=native -fno-common -I/usr/include/libowfat gatling.c: In function ‘main’: gatling.c:1507:21: warning: ignoring return value of ‘chdir’, declared with attribute warn_unused_result [-Wunused-result] 1507 | if (chroot_to) { chdir(chroot_to); chroot(chroot_to); } | ^~~~~~~~~~~~~~~~ gatling.c:1507:39: warning: ignoring return value of ‘chroot’, declared with attribute warn_unused_result [-Wunused-result] 1507 | if (chroot_to) { chdir(chroot_to); chroot(chroot_to); } | ^~~~~~~~~~~~~~~~~ gatling.c:1525:6: warning: ignoring return value of ‘fchdir’, declared with attribute warn_unused_result [-Wunused-result] 1525 | fchdir(savedir); | ^~~~~~~~~~~~~~~ x86_64-pc-linux-gnu-gcc -c mime.c -o mime.o -I. -O2 -pipe -march=native -fno-common -I/usr/include/libowfat x86_64-pc-linux-gnu-gcc -c ftp.c -o ftp.o -I. -O2 -pipe -march=native -fno-common -I/usr/include/libowfat ftp.c: In function ‘ftp_open’: ftp.c:70:15: warning: ignoring return value of ‘fchmodat’, declared with attribute warn_unused_result [-Wunused-result] 70 | if (!fd) fchmodat(dirfd,x+1,0777,0); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ x86_64-pc-linux-gnu-gcc -c http.c -o http.o -I. -O2 -pipe -march=native -fno-common -I/usr/include/libowfat http.c: In function ‘proxy_connection’: http.c:953:12: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result] 953 | a=reqlen; write(forksock[0],&a,4); | ^~~~~~~~~~~~~~~~~~~~~~~ http.c:954:17: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result] 954 | a=strlen(dir); write(forksock[0],&a,4); | ^~~~~~~~~~~~~~~~~~~~~~~ http.c:955:16: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result] 955 | a=strlen(ra); write(forksock[0],&a,4); | ^~~~~~~~~~~~~~~~~~~~~~~ http.c:956:2: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result] 956 | write(forksock[0],req,reqlen); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ http.c:957:2: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result] 957 | write(forksock[0],dir,strlen(dir)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ http.c:958:2: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result] 958 | write(forksock[0],ra,strlen(ra)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ http.c:959:30: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result] 959 | b=ctx_for_sockfd->peerport; write(forksock[0],&b,2); | ^~~~~~~~~~~~~~~~~~~~~~~ http.c:960:28: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result] 960 | b=ctx_for_sockfd->myport; write(forksock[0],&b,2); | ^~~~~~~~~~~~~~~~~~~~~~~ http.c:968:2: warning: ignoring return value of ‘read’, declared with attribute warn_unused_result [-Wunused-result] 968 | read(forksock[0],&a,4); /* code; 0 means OK */ | ^~~~~~~~~~~~~~~~~~~~~~ http.c:969:2: warning: ignoring return value of ‘read’, declared with attribute warn_unused_result [-Wunused-result] 969 | read(forksock[0],&len,4); /* length of error message */ | ^~~~~~~~~~~~~~~~~~~~~~~~ http.c:970:2: warning: ignoring return value of ‘read’, declared with attribute warn_unused_result [-Wunused-result] 970 | read(forksock[0],&pid,sizeof(pid)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ http.c:973:4: warning: ignoring return value of ‘read’, declared with attribute warn_unused_result [-Wunused-result] 973 | read(forksock[0],c,len); | ^~~~~~~~~~~~~~~~~~~~~~~ http.c: In function ‘get_md5_randomness’: http.c:2151:5: warning: ignoring return value of ‘read’, declared with attribute warn_unused_result [-Wunused-result] 2151 | read(fd,buf,16); | ^~~~~~~~~~~~~~~ http.c: In function ‘forkslave’: http.c:3286:22: warning: ignoring return value of ‘chdir’, declared with attribute warn_unused_result [-Wunused-result] 3286 | if (chroot_to) { chdir(chroot_to); chroot(chroot_to); } | ^~~~~~~~~~~~~~~~ http.c:3286:40: warning: ignoring return value of ‘chroot’, declared with attribute warn_unused_result [-Wunused-result] 3286 | if (chroot_to) { chdir(chroot_to); chroot(chroot_to); } | ^~~~~~~~~~~~~~~~~ http.c:3291:5: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result] 3291 | write(fd,&code,4); | ^~~~~~~~~~~~~~~~~ http.c:3292:5: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result] 3292 | write(fd,&code,4); | ^~~~~~~~~~~~~~~~~ http.c:3294:5: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result] 3294 | write(fd,&pid,sizeof(pid)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ http.c:3437:4: warning: ignoring return value of ‘chdir’, declared with attribute warn_unused_result [-Wunused-result] 3437 | chdir(path); | ^~~~~~~~~~~ http.c:3454:7: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result] 3454 | write(1,e,sizeof(e)-1); | ^~~~~~~~~~~~~~~~~~~~~~ http.c:3475:3: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result] 3475 | write(fd,&code,4); | ^~~~~~~~~~~~~~~~~ http.c:3478:5: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result] 3478 | write(fd,&pid,sizeof(pid)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ http.c:3480:3: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result] 3480 | write(fd,msg,code); | ^~~~~~~~~~~~~~~~~~ x86_64-pc-linux-gnu-gcc -c smb.c -o smb.o -I. -O2 -pipe -march=native -fno-common -I/usr/include/libowfat In file included from /usr/include/inttypes.h:25, from /usr/include/libowfat/uint64.h:5, from /usr/include/libowfat/io.h:7, from gatling.h:7, from smb.c:3: /usr/include/features.h:185:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 185 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ x86_64-pc-linux-gnu-gcc -c common.c -o common.o -I. -O2 -pipe -march=native -fno-common -I/usr/include/libowfat x86_64-pc-linux-gnu-gcc -c connstat.c -o connstat.o -I. -O2 -pipe -march=native -fno-common -I/usr/include/libowfat x86_64-pc-linux-gnu-gcc -c httpstream.c -o httpstream.o -I. -O2 -pipe -march=native -fno-common -I/usr/include/libowfat x86_64-pc-linux-gnu-gcc -c dirfd.c -o dirfd.o -I. -O2 -pipe -march=native -fno-common -I/usr/include/libowfat if x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-common -I/usr/include/libowfat -o trymd5 trymd5.c >/dev/null 2>&1; then echo ""; else \ if x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-common -I/usr/include/libowfat -o trymd5 trymd5.c -lmd >/dev/null 2>&1; then echo "-lmd"; else \ if x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-common -I/usr/include/libowfat -o trymd5 trymd5.c -lcrypto >/dev/null 2>&1; then echo "-lcrypto"; \ fi; fi; fi > md5lib rm -f trymd5 if x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-common -I/usr/include/libowfat -o trysocket trysocket.c >/dev/null 2>&1; then echo ""; else \ if x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-common -I/usr/include/libowfat -o trysocket trysocket.c -lsocket >/dev/null 2>&1; then echo "-lsocket"; else \ if x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-common -I/usr/include/libowfat -o trysocket trysocket.c -lsocket -lnsl >/dev/null 2>&1; then echo "-lsocket -lnsl"; else \ if x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-common -I/usr/include/libowfat -o trysocket trysocket.c -lwsock32 >/dev/null 2>&1; then echo "-lwsock32"; \ fi; fi; fi; fi > libsocket rm -f trysocket if x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-common -I/usr/include/libowfat -o tryiconv tryiconv.c >/dev/null 2>&1; then echo ""; else \ if x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-common -I/usr/include/libowfat -o tryiconv tryiconv.c -liconv >/dev/null 2>&1; then echo "-liconv"; else \ if x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-common -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 rm -f tryiconv touch dummy.c x86_64-pc-linux-gnu-gcc -c dummy.c -o dummy.o -I. -O2 -pipe -march=native -fno-common -I/usr/include/libowfat ar q libsocketkludge.a dummy.o ar: creating libsocketkludge.a ranlib libsocketkludge.a if x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-common -I/usr/include/libowfat -o trycrypt trycrypt.c >/dev/null 2>&1; then echo ""; else \ if x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-common -I/usr/include/libowfat -o trycrypt trycrypt.c -lcrypt >/dev/null 2>&1; then echo "-lcrypt"; \ fi; fi > libcrypt rm -f trycrypt x86_64-pc-linux-gnu-gcc -Wl,-O1 -Wl,--as-needed 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/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: http.o:(.bss+0x2090): multiple definition of `ifd'; gatling.o:(.bss+0x580): first defined here /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: common.o:(.bss+0x0): multiple definition of `ifd'; gatling.o:(.bss+0x580): first defined here /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: dirfd.o:(.bss+0x28): multiple definition of `ifd'; gatling.o:(.bss+0x580): first defined here /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../lib64/libowfat.a(io_fd.o):(.bss+0xb0): multiple definition of `first_deferred'; /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../lib64/libowfat.a(io_close.o):(.data+0x0): first defined here collect2: error: ld returned 1 exit status make: *** [GNUmakefile:99: gatling] Error 1 * ERROR: www-servers/gatling-0.15::gentoo failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=www-servers/gatling-0.15::gentoo'`, * the complete build log and the output of `emerge -pqv '=www-servers/gatling-0.15::gentoo'`. * The complete build log is located at '/var/log/portage/www-servers:gatling-0.15:20200126-072616.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/www-servers/gatling-0.15/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/www-servers/gatling-0.15/temp/environment'. * Working directory: '/var/tmp/portage/www-servers/gatling-0.15/work/gatling-0.15' * S: '/var/tmp/portage/www-servers/gatling-0.15/work/gatling-0.15'