* Package: net-p2p/ctorrent-3.3.2-r4 * Repository: gentoo * USE: abi_x86_64 amd64 elibc_musl kernel_linux userland_GNU * FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox >>> Unpacking source... >>> Unpacking ctorrent-dnh3.3.2.tar.gz to /var/tmp/portage/net-p2p/ctorrent-3.3.2-r4/work >>> Source unpacked in /var/tmp/portage/net-p2p/ctorrent-3.3.2-r4/work >>> Preparing source in /var/tmp/portage/net-p2p/ctorrent-3.3.2-r4/work/ctorrent-dnh3.3.2 ... * Applying ctorrent-CVE-2009-1759.patch ... [ ok ] * Applying ctorrent-3.3.2-negative-ints.patch ... [ ok ] * Applying ctorrent-3.3.2-empty-path-components.patch ... [ ok ] >>> Source prepared. >>> Configuring source in /var/tmp/portage/net-p2p/ctorrent-3.3.2-r4/work/ctorrent-dnh3.3.2 ... ./configure --prefix=/usr --build=x86_64-gentoo-linux-musl --host=x86_64-gentoo-linux-musl --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --disable-dependency-tracking --docdir=/usr/share/doc/ctorrent-3.3.2-r4 --htmldir=/usr/share/doc/ctorrent-3.3.2-r4/html --libdir=/usr/lib checking for a BSD-compatible install... /usr/lib/portage/python3.6/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-gentoo-linux-musl-g++... x86_64-gentoo-linux-musl-g++ 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-gentoo-linux-musl-g++ accepts -g... yes checking for style of include used by make... GNU checking dependency style of x86_64-gentoo-linux-musl-g++... none checking for x86_64-gentoo-linux-musl-gcc... x86_64-gentoo-linux-musl-gcc checking whether we are using the GNU C compiler... yes checking whether x86_64-gentoo-linux-musl-gcc accepts -g... yes checking for x86_64-gentoo-linux-musl-gcc option to accept ISO C89... none needed checking dependency style of x86_64-gentoo-linux-musl-gcc... none checking for library containing clock_gettime... none required checking for library containing gethostbyname... none required checking for library containing socket... none required checking for dirent.h that defines DIR... yes checking for library containing opendir... none required checking how to run the C++ preprocessor... x86_64-gentoo-linux-musl-g++ -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 whether time.h and sys/time.h may both be included... 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 arpa/inet.h usability... yes checking arpa/inet.h presence... yes checking for arpa/inet.h... yes checking fcntl.h usability... yes checking fcntl.h presence... yes checking for fcntl.h... yes checking limits.h usability... yes checking limits.h presence... yes checking for limits.h... yes checking for memory.h... (cached) yes checking netdb.h usability... yes checking netdb.h presence... yes checking for netdb.h... yes checking netinet/in.h usability... yes checking netinet/in.h presence... yes checking for netinet/in.h... yes checking sys/param.h usability... yes checking sys/param.h presence... yes checking for sys/param.h... yes checking sys/socket.h usability... yes checking sys/socket.h presence... yes checking for sys/socket.h... yes checking sys/time.h usability... yes checking sys/time.h presence... yes checking for sys/time.h... yes checking for unistd.h... (cached) yes checking termios.h usability... yes checking termios.h presence... yes checking for termios.h... yes checking termio.h usability... no checking termio.h presence... no checking for termio.h... no checking sgtty.h usability... no checking sgtty.h presence... no checking for sgtty.h... no checking ioctl.h usability... no checking ioctl.h presence... no checking for ioctl.h... no checking sys/ioctl.h usability... yes checking sys/ioctl.h presence... yes checking for sys/ioctl.h... yes checking for an ANSI C-conforming const... yes checking for inline... inline checking whether x86_64-gentoo-linux-musl-gcc needs -traditional... no checking for size_t... yes checking for ssize_t... yes checking for int8_t... yes checking for int16_t... yes checking for int32_t... yes checking for int64_t... yes checking for uint8_t... yes checking for uint16_t... yes checking for uint32_t... yes checking for uint64_t... yes checking for clockid_t... yes checking whether INADDR_NONE is declared... yes checking whether byte ordering is bigendian... no checking for working memcmp... yes checking return type of signal handlers... void checking whether lstat dereferences a symlink specified with a trailing slash... yes checking whether stat accepts an empty string... no checking for working strtod... yes checking for clock_gettime... yes checking for ftruncate... yes checking for gethostbyname... yes checking for gettimeofday... yes checking for getwd... no checking for inet_ntoa... yes checking for memchr... yes checking for memmove... yes checking for memset... yes checking for mkdir... yes checking for random... yes checking for select... yes checking for snprintf... yes checking for socket... yes checking for strerror... yes checking for strcasecmp... yes checking for strncasecmp... yes checking for strtol... yes checking for strtoll... yes checking for strnstr... no checking for system... yes checking for vsnprintf... yes checking for pid_t... yes checking vfork.h usability... no checking vfork.h presence... no checking for vfork.h... no checking for fork... yes checking for vfork... yes checking for working fork... yes checking for working vfork... (cached) yes checking for special C compiler options needed for large files... no checking for _FILE_OFFSET_BITS value needed for large files... no checking for _LARGEFILE_SOURCE value needed for large files... no checking POSIX termios... yes checking whether termios.h defines TIOCGWINSZ... no checking whether sys/ioctl.h defines TIOCGWINSZ... yes checking for library containing SHA1_Init... -lcrypto checking openssl/sha.h usability... yes checking openssl/sha.h presence... yes checking for openssl/sha.h... yes checking ssl/sha.h usability... no checking ssl/sha.h presence... no checking for ssl/sha.h... no checking sha.h usability... no checking sha.h presence... no checking for sha.h... no checking for ctime_r... yes, and it takes 2 arguments configure: creating ./config.status config.status: creating Makefile config.status: WARNING: Makefile.in seems to ignore the --datarootdir setting config.status: creating config.h config.status: executing depfiles commands >>> Source configured. >>> Compiling source in /var/tmp/portage/net-p2p/ctorrent-3.3.2-r4/work/ctorrent-dnh3.3.2 ... make -j1 make all-am make[1]: Entering directory '/var/tmp/portage/net-p2p/ctorrent-3.3.2-r4/work/ctorrent-dnh3.3.2' x86_64-gentoo-linux-musl-g++ -DHAVE_CONFIG_H -I. -I. -I. -O2 -pipe -march=native -fno-common -falign-functions=32:25:16 -c -o bencode.o bencode.cpp x86_64-gentoo-linux-musl-g++ -DHAVE_CONFIG_H -I. -I. -I. -O2 -pipe -march=native -fno-common -falign-functions=32:25:16 -c -o bitfield.o bitfield.cpp x86_64-gentoo-linux-musl-g++ -DHAVE_CONFIG_H -I. -I. -I. -O2 -pipe -march=native -fno-common -falign-functions=32:25:16 -c -o btconfig.o btconfig.cpp x86_64-gentoo-linux-musl-g++ -DHAVE_CONFIG_H -I. -I. -I. -O2 -pipe -march=native -fno-common -falign-functions=32:25:16 -c -o btcontent.o btcontent.cpp btcontent.cpp: In member function ‘int btContent::NeedFlush() const’: btcontent.cpp:768:1: warning: control reaches end of non-void function [-Wreturn-type] 768 | } | ^ x86_64-gentoo-linux-musl-g++ -DHAVE_CONFIG_H -I. -I. -I. -O2 -pipe -march=native -fno-common -falign-functions=32:25:16 -c -o btfiles.o btfiles.cpp x86_64-gentoo-linux-musl-g++ -DHAVE_CONFIG_H -I. -I. -I. -O2 -pipe -march=native -fno-common -falign-functions=32:25:16 -c -o btrequest.o btrequest.cpp x86_64-gentoo-linux-musl-g++ -DHAVE_CONFIG_H -I. -I. -I. -O2 -pipe -march=native -fno-common -falign-functions=32:25:16 -c -o btstream.o btstream.cpp x86_64-gentoo-linux-musl-g++ -DHAVE_CONFIG_H -I. -I. -I. -O2 -pipe -march=native -fno-common -falign-functions=32:25:16 -c -o bufio.o bufio.cpp x86_64-gentoo-linux-musl-gcc -DHAVE_CONFIG_H -I. -I. -I. -O2 -pipe -march=native -fno-common -falign-functions=32:25:16 -c compat.c compat.c: In function ‘strnstr’: compat.c:70:3: error: unknown type name ‘ssize_t’; did you mean ‘size_t’? 70 | ssize_t plen; | ^~~~~~~ | size_t compat.c:71:3: error: unknown type name ‘ssize_t’; did you mean ‘size_t’? 71 | ssize_t len = strlen(needle); | ^~~~~~~ | size_t make[1]: *** [Makefile:291: compat.o] Error 1 make[1]: Leaving directory '/var/tmp/portage/net-p2p/ctorrent-3.3.2-r4/work/ctorrent-dnh3.3.2' make: *** [Makefile:175: all] Error 2 * ERROR: net-p2p/ctorrent-3.3.2-r4::gentoo failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=net-p2p/ctorrent-3.3.2-r4::gentoo'`, * the complete build log and the output of `emerge -pqv '=net-p2p/ctorrent-3.3.2-r4::gentoo'`. * The complete build log is located at '/var/log/portage/net-p2p:ctorrent-3.3.2-r4:20200321-034437.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/net-p2p/ctorrent-3.3.2-r4/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/net-p2p/ctorrent-3.3.2-r4/temp/environment'. * Working directory: '/var/tmp/portage/net-p2p/ctorrent-3.3.2-r4/work/ctorrent-dnh3.3.2' * S: '/var/tmp/portage/net-p2p/ctorrent-3.3.2-r4/work/ctorrent-dnh3.3.2'