>>> ctorrent dnh3.3.2 Extracting gzip -d -c /home/buildroot/autobuild/instance-0/dl/ctorrent/ctorrent-dnh3.3.2.tar.gz | tar --strip-components=1 -C /home/buildroot/autobuild/instance-0/output-1/build/ctorrent-dnh3.3.2 -xf - >>> ctorrent dnh3.3.2 Patching Applying 0001-fix-musl-build.patch using patch: patching file compat.c >>> ctorrent dnh3.3.2 Updating config.sub and config.guess for file in config.guess config.sub; do for i in $(find /home/buildroot/autobuild/instance-0/output-1/build/ctorrent-dnh3.3.2 -name $file); do cp support/gnuconfig/$file $i; done; done >>> ctorrent dnh3.3.2 Patching libtool >>> ctorrent dnh3.3.2 Configuring (cd /home/buildroot/autobuild/instance-0/output-1/build/ctorrent-dnh3.3.2/ && rm -rf config.cache && PATH="/home/buildroot/autobuild/instance-0/output-1/host/bin:/home/buildroot/autobuild/instance-0/output-1/host/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" AR="/home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc-ar" AS="/home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-buildroot-linux-uclibc-as" LD="/home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-buildroot-linux-uclibc-ld" NM="/home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc-nm" CC="/home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc" GCC="/home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc" CPP="/home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-buildroot-linux-uclibc-cpp" CXX="/home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-buildroot-linux-uclibc-g++" FC="/home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-buildroot-linux-uclibc-gfortran" F77="/home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-buildroot-linux-uclibc-gfortran" RANLIB="/home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc-ranlib" READELF="/home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-buildroot-linux-uclibc-readelf" STRIP="/bin/true" OBJCOPY="/home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-buildroot-linux-uclibc-objcopy" OBJDUMP="/home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-buildroot-linux-uclibc-objdump" AR_FOR_BUILD="/usr/bin/ar" AS_FOR_BUILD="/usr/bin/as" CC_FOR_BUILD="/usr/bin/gcc" GCC_FOR_BUILD="/usr/bin/gcc" CXX_FOR_BUILD="/usr/bin/g++" LD_FOR_BUILD="/usr/bin/ld" CPPFLAGS_FOR_BUILD="-I/home/buildroot/autobuild/instance-0/output-1/host/include" CFLAGS_FOR_BUILD="-O2 -I/home/buildroot/autobuild/instance-0/output-1/host/include" CXXFLAGS_FOR_BUILD="-O2 -I/home/buildroot/autobuild/instance-0/output-1/host/include" LDFLAGS_FOR_BUILD="-L/home/buildroot/autobuild/instance-0/output-1/host/lib -Wl,-rpath,/home/buildroot/autobuild/instance-0/output-1/host/lib" FCFLAGS_FOR_BUILD="" DEFAULT_ASSEMBLER="/home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-buildroot-linux-uclibc-as" DEFAULT_LINKER="/home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-buildroot-linux-uclibc-ld" CPPFLAGS="-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64" CFLAGS="-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -fPIC -Wl,-elf2flt=-r -static" CXXFLAGS="-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -fPIC -Wl,-elf2flt=-r -static -Wl,-elf2flt=-r -static" LDFLAGS=" -Wl,-elf2flt=-r -static" FCFLAGS=" -Os -g0 -Wl,-elf2flt=-r -static" FFLAGS=" -Os -g0 -Wl,-elf2flt=-r -static" PKG_CONFIG="/home/buildroot/autobuild/instance-0/output-1/host/bin/pkg-config" STAGING_DIR="/home/buildroot/autobuild/instance-0/output-1/host/riscv64-buildroot-linux-uclibc/sysroot" INTLTOOL_PERL=/usr/bin/perl ac_cv_lbl_unaligned_fail=yes ac_cv_func_mmap_fixed_mapped=yes ac_cv_func_memcmp_working=yes ac_cv_have_decl_malloc=yes gl_cv_func_malloc_0_nonnull=yes ac_cv_func_malloc_0_nonnull=yes ac_cv_func_calloc_0_nonnull=yes ac_cv_func_realloc_0_nonnull=yes lt_cv_sys_lib_search_path_spec="" ac_cv_c_bigendian=no CONFIG_SITE=/dev/null ./configure --target=riscv64-buildroot-linux-uclibc --host=riscv64-buildroot-linux-uclibc --build=x86_64-pc-linux-gnu --prefix=/usr --exec-prefix=/usr --sysconfdir=/etc --localstatedir=/var --program-prefix="" --disable-gtk-doc --disable-gtk-doc-html --disable-doc --disable-docs --disable-documentation --with-xmlto=no --with-fop=no --disable-dependency-tracking --enable-ipv6 --disable-nls --enable-static --disable-shared --with-ssl=yes ) configure: loading site script /dev/null checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for gawk... gawk checking whether make sets $(MAKE)... yes checking for riscv64-buildroot-linux-uclibc-strip... /bin/true checking for C++ compiler default output file name... a.out checking whether the C++ compiler works... yes checking whether we are cross compiling... yes checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C++ compiler... yes checking whether /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-buildroot-linux-uclibc-g++ accepts -g... yes checking for style of include used by make... GNU checking dependency style of /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-buildroot-linux-uclibc-g++... none checking for riscv64-buildroot-linux-uclibc-gcc... /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc checking whether we are using the GNU C compiler... yes checking whether /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc accepts -g... yes checking for /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc option to accept ISO C89... none needed checking dependency style of /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc... none checking for library containing clock_gettime... no checking for library containing gethostbyname... no checking for library containing socket... no checking for socket in -lnsl... no checking for dirent.h that defines DIR... yes checking for library containing opendir... no checking how to run the C++ preprocessor... /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-buildroot-linux-uclibc-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... yes checking termio.h presence... yes checking for termio.h... yes checking sgtty.h usability... yes checking sgtty.h presence... yes checking for sgtty.h... yes 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 /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-buildroot-linux-uclibc-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... (cached) no checking for working memcmp... (cached) yes checking return type of signal handlers... void checking whether lstat dereferences a symlink specified with a trailing slash... no checking whether stat accepts an empty string... yes checking for working strtod... no checking for pow... no checking for pow in -lm... no configure: WARNING: cannot find library containing definition of pow checking for clock_gettime... no checking for ftruncate... no checking for gethostbyname... no checking for gettimeofday... no checking for getwd... no checking for inet_ntoa... no checking for memchr... no checking for memmove... no checking for memset... no checking for mkdir... no checking for random... no checking for select... no checking for snprintf... no checking for socket... no checking for strerror... no checking for strcasecmp... no checking for strncasecmp... no checking for strtol... no checking for strtoll... no checking for strnstr... no checking for system... no checking for vsnprintf... no checking for pid_t... yes checking vfork.h usability... no checking vfork.h presence... no checking for vfork.h... no checking for fork... no checking for vfork... no 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... unknown checking POSIX termios... no checking for termio.h... (cached) yes checking for library containing SHA1_Init... no 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 >>> ctorrent dnh3.3.2 Building PATH="/home/buildroot/autobuild/instance-0/output-1/host/bin:/home/buildroot/autobuild/instance-0/output-1/host/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" /usr/bin/make -j4 -C /home/buildroot/autobuild/instance-0/output-1/build/ctorrent-dnh3.3.2/ make[1]: Entering directory '/home/buildroot/autobuild/instance-0/output-1/build/ctorrent-dnh3.3.2' /usr/bin/make all-am make[2]: Entering directory '/home/buildroot/autobuild/instance-0/output-1/build/ctorrent-dnh3.3.2' /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-buildroot-linux-uclibc-g++ -DHAVE_CONFIG_H -I. -I. -I. -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -fPIC -Wl,-elf2flt=-r -static -Wl,-elf2flt=-r -static -c -o bencode.o bencode.cpp /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-buildroot-linux-uclibc-g++ -DHAVE_CONFIG_H -I. -I. -I. -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -fPIC -Wl,-elf2flt=-r -static -Wl,-elf2flt=-r -static -c -o bitfield.o bitfield.cpp /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-buildroot-linux-uclibc-g++ -DHAVE_CONFIG_H -I. -I. -I. -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -fPIC -Wl,-elf2flt=-r -static -Wl,-elf2flt=-r -static -c -o btconfig.o btconfig.cpp /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-buildroot-linux-uclibc-g++ -DHAVE_CONFIG_H -I. -I. -I. -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -fPIC -Wl,-elf2flt=-r -static -Wl,-elf2flt=-r -static -c -o btcontent.o btcontent.cpp /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-buildroot-linux-uclibc-g++ -DHAVE_CONFIG_H -I. -I. -I. -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -fPIC -Wl,-elf2flt=-r -static -Wl,-elf2flt=-r -static -c -o btfiles.o btfiles.cpp In file included from bencode.cpp:18: compat.h:57:6: error: conflicting declaration of C function 'void srandom(long unsigned int)' 57 | void srandom(unsigned long seed); | ^~~~~~~ In file included from /home/buildroot/autobuild/instance-0/output-1/host/riscv64-buildroot-linux-uclibc/include/c++/11.3.0/cstdlib:75, from /home/buildroot/autobuild/instance-0/output-1/host/riscv64-buildroot-linux-uclibc/include/c++/11.3.0/stdlib.h:36, from bencode.cpp:13: /home/buildroot/autobuild/instance-0/output-1/host/riscv64-buildroot-linux-uclibc/sysroot/usr/include/stdlib.h:303:13: note: previous declaration 'void srandom(unsigned int)' 303 | extern void srandom (unsigned int __seed) __THROW; | ^~~~~~~ In file included from bitfield.cpp:18: compat.h:57:6: error: conflicting declaration of C function 'void srandom(long unsigned int)' 57 | void srandom(unsigned long seed); | ^~~~~~~ In file included from /home/buildroot/autobuild/instance-0/output-1/host/riscv64-buildroot-linux-uclibc/include/c++/11.3.0/cstdlib:75, from /home/buildroot/autobuild/instance-0/output-1/host/riscv64-buildroot-linux-uclibc/include/c++/11.3.0/stdlib.h:36, from bitfield.cpp:14: /home/buildroot/autobuild/instance-0/output-1/host/riscv64-buildroot-linux-uclibc/sysroot/usr/include/stdlib.h:303:13: note: previous declaration 'void srandom(unsigned int)' 303 | extern void srandom (unsigned int __seed) __THROW; | ^~~~~~~ Makefile:305: recipe for target 'bencode.o' failed make[2]: *** [bencode.o] Error 1 make[2]: *** Waiting for unfinished jobs.... Makefile:305: recipe for target 'bitfield.o' failed make[2]: *** [bitfield.o] Error 1 In file included from btcontent.cpp:44: compat.h:57:6: error: conflicting declaration of C function 'void srandom(long unsigned int)' 57 | void srandom(unsigned long seed); | ^~~~~~~ In file included from /home/buildroot/autobuild/instance-0/output-1/host/riscv64-buildroot-linux-uclibc/include/c++/11.3.0/cstdlib:75, from /home/buildroot/autobuild/instance-0/output-1/host/riscv64-buildroot-linux-uclibc/include/c++/11.3.0/stdlib.h:36, from btcontent.cpp:27: /home/buildroot/autobuild/instance-0/output-1/host/riscv64-buildroot-linux-uclibc/sysroot/usr/include/stdlib.h:303:13: note: previous declaration 'void srandom(unsigned int)' 303 | extern void srandom (unsigned int __seed) __THROW; | ^~~~~~~ In file included from btfiles.cpp:27: compat.h:57:6: error: conflicting declaration of C function 'void srandom(long unsigned int)' 57 | void srandom(unsigned long seed); | ^~~~~~~ In file included from /home/buildroot/autobuild/instance-0/output-1/host/riscv64-buildroot-linux-uclibc/include/c++/11.3.0/cstdlib:75, from /home/buildroot/autobuild/instance-0/output-1/host/riscv64-buildroot-linux-uclibc/include/c++/11.3.0/stdlib.h:36, from btfiles.cpp:14: /home/buildroot/autobuild/instance-0/output-1/host/riscv64-buildroot-linux-uclibc/sysroot/usr/include/stdlib.h:303:13: note: previous declaration 'void srandom(unsigned int)' 303 | extern void srandom (unsigned int __seed) __THROW; | ^~~~~~~ Makefile:305: recipe for target 'btfiles.o' failed make[2]: *** [btfiles.o] Error 1 btcontent.cpp: In member function 'int btContent::NeedFlush() const': btcontent.cpp:764:1: warning: control reaches end of non-void function [-Wreturn-type] 764 | } | ^ Makefile:305: recipe for target 'btcontent.o' failed make[2]: *** [btcontent.o] Error 1 make[2]: Leaving directory '/home/buildroot/autobuild/instance-0/output-1/build/ctorrent-dnh3.3.2' Makefile:175: recipe for target 'all' failed make[1]: *** [all] Error 2 make[1]: Leaving directory '/home/buildroot/autobuild/instance-0/output-1/build/ctorrent-dnh3.3.2' package/pkg-generic.mk:290: recipe for target '/home/buildroot/autobuild/instance-0/output-1/build/ctorrent-dnh3.3.2/.stamp_built' failed make: *** [/home/buildroot/autobuild/instance-0/output-1/build/ctorrent-dnh3.3.2/.stamp_built] Error 2 make: Leaving directory '/home/buildroot/autobuild/instance-0/buildroot'