>>> ctorrent dnh3.3.2 Downloading wget --passive-ftp -nd -t 3 -O '/home/autobuild/autobuild/instance-10/output-1/build/.ctorrent-dnh3.3.2.tar.gz.2BWTpu/output' 'http://www.rahul.net/dholmes/ctorrent/ctorrent-dnh3.3.2.tar.gz' --2022-11-07 17:33:19-- http://www.rahul.net/dholmes/ctorrent/ctorrent-dnh3.3.2.tar.gz Resolving www.rahul.net (www.rahul.net)... 152.44.41.158, 2605:7380:1000:1310:91:9dff:fe31:6cea Connecting to www.rahul.net (www.rahul.net)|152.44.41.158|:80... connected. HTTP request sent, awaiting response... 200 OK Length: 219053 (214K) [application/x-gzip] Saving to: '/home/autobuild/autobuild/instance-10/output-1/build/.ctorrent-dnh3.3.2.tar.gz.2BWTpu/output' 0K .......... .......... .......... .......... .......... 23% 781K 0s 50K .......... .......... .......... .......... .......... 46% 2.44M 0s 100K .......... .......... .......... .......... .......... 70% 235M 0s 150K .......... .......... .......... .......... .......... 93% 3.86M 0s 200K .......... ... 100% 946K=0.1s 2022-11-07 17:33:19 (1.87 MB/s) - '/home/autobuild/autobuild/instance-10/output-1/build/.ctorrent-dnh3.3.2.tar.gz.2BWTpu/output' saved [219053/219053] ctorrent-dnh3.3.2.tar.gz: OK (sha1: d4e221f0292268f80e2430ce9d451dd64cf1ffaa) >>> ctorrent dnh3.3.2 Extracting gzip -d -c /home/autobuild/autobuild/instance-10/dl/ctorrent/ctorrent-dnh3.3.2.tar.gz | /home/autobuild/autobuild/instance-10/output-1/host/bin/tar --strip-components=1 -C /home/autobuild/autobuild/instance-10/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/autobuild/autobuild/instance-10/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/autobuild/autobuild/instance-10/output-1/build/ctorrent-dnh3.3.2/ && rm -rf config.cache && PATH="/home/autobuild/autobuild/instance-10/output-1/host/bin:/home/autobuild/autobuild/instance-10/output-1/host/sbin:/home/autobuild/make:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/lib/jvm/default/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl" AR="/home/autobuild/autobuild/instance-10/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc-ar" AS="/home/autobuild/autobuild/instance-10/output-1/host/bin/riscv64-buildroot-linux-uclibc-as" LD="/home/autobuild/autobuild/instance-10/output-1/host/bin/riscv64-buildroot-linux-uclibc-ld" NM="/home/autobuild/autobuild/instance-10/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc-nm" CC="/home/autobuild/autobuild/instance-10/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc" GCC="/home/autobuild/autobuild/instance-10/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc" CPP="/home/autobuild/autobuild/instance-10/output-1/host/bin/riscv64-buildroot-linux-uclibc-cpp" CXX="/home/autobuild/autobuild/instance-10/output-1/host/bin/riscv64-buildroot-linux-uclibc-g++" FC="/home/autobuild/autobuild/instance-10/output-1/host/bin/riscv64-buildroot-linux-uclibc-gfortran" F77="/home/autobuild/autobuild/instance-10/output-1/host/bin/riscv64-buildroot-linux-uclibc-gfortran" RANLIB="/home/autobuild/autobuild/instance-10/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc-ranlib" READELF="/home/autobuild/autobuild/instance-10/output-1/host/bin/riscv64-buildroot-linux-uclibc-readelf" STRIP="/bin/true" OBJCOPY="/home/autobuild/autobuild/instance-10/output-1/host/bin/riscv64-buildroot-linux-uclibc-objcopy" OBJDUMP="/home/autobuild/autobuild/instance-10/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/autobuild/autobuild/instance-10/output-1/host/include" CFLAGS_FOR_BUILD="-O2 -I/home/autobuild/autobuild/instance-10/output-1/host/include" CXXFLAGS_FOR_BUILD="-O2 -I/home/autobuild/autobuild/instance-10/output-1/host/include" LDFLAGS_FOR_BUILD="-L/home/autobuild/autobuild/instance-10/output-1/host/lib -Wl,-rpath,/home/autobuild/autobuild/instance-10/output-1/host/lib" FCFLAGS_FOR_BUILD="" DEFAULT_ASSEMBLER="/home/autobuild/autobuild/instance-10/output-1/host/bin/riscv64-buildroot-linux-uclibc-as" DEFAULT_LINKER="/home/autobuild/autobuild/instance-10/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 -Og -g0 -fPIC -Wl,-elf2flt=-r -static" CXXFLAGS="-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Og -g0 -fPIC -Wl,-elf2flt=-r -static -Wl,-elf2flt=-r -static" LDFLAGS=" -Wl,-elf2flt=-r -static" FCFLAGS=" -Og -g0 -Wl,-elf2flt=-r -static" FFLAGS=" -Og -g0 -Wl,-elf2flt=-r -static" PKG_CONFIG="/home/autobuild/autobuild/instance-10/output-1/host/bin/pkg-config" STAGING_DIR="/home/autobuild/autobuild/instance-10/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=aarch64-unknown-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/autobuild/autobuild/instance-10/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/autobuild/autobuild/instance-10/output-1/host/bin/riscv64-buildroot-linux-uclibc-g++... none checking for riscv64-buildroot-linux-uclibc-gcc... /home/autobuild/autobuild/instance-10/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc checking whether we are using the GNU C compiler... yes checking whether /home/autobuild/autobuild/instance-10/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc accepts -g... yes checking for /home/autobuild/autobuild/instance-10/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc option to accept ISO C89... none needed checking dependency style of /home/autobuild/autobuild/instance-10/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/autobuild/autobuild/instance-10/output-1/host/bin/riscv64-buildroot-linux-uclibc-g++ -E checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/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/autobuild/autobuild/instance-10/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/autobuild/autobuild/instance-10/output-1/host/bin:/home/autobuild/autobuild/instance-10/output-1/host/sbin:/home/autobuild/make:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/lib/jvm/default/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl" /home/autobuild/make/make -j1 -C /home/autobuild/autobuild/instance-10/output-1/build/ctorrent-dnh3.3.2/ make[1]: Entering directory '/home/autobuild/autobuild/instance-10/output-1/build/ctorrent-dnh3.3.2' /home/autobuild/make/make all-am make[2]: Entering directory '/home/autobuild/autobuild/instance-10/output-1/build/ctorrent-dnh3.3.2' /home/autobuild/autobuild/instance-10/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 -Og -g0 -fPIC -Wl,-elf2flt=-r -static -Wl,-elf2flt=-r -static -c -o bencode.o bencode.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/autobuild/autobuild/instance-10/output-1/host/riscv64-buildroot-linux-uclibc/include/c++/11.3.0/cstdlib:75, from /home/autobuild/autobuild/instance-10/output-1/host/riscv64-buildroot-linux-uclibc/include/c++/11.3.0/stdlib.h:36, from bencode.cpp:13: /home/autobuild/autobuild/instance-10/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; | ^~~~~~~ make[2]: *** [Makefile:305: bencode.o] Error 1 make[2]: Leaving directory '/home/autobuild/autobuild/instance-10/output-1/build/ctorrent-dnh3.3.2' make[1]: *** [Makefile:175: all] Error 2 make[1]: Leaving directory '/home/autobuild/autobuild/instance-10/output-1/build/ctorrent-dnh3.3.2' make: *** [package/pkg-generic.mk:293: /home/autobuild/autobuild/instance-10/output-1/build/ctorrent-dnh3.3.2/.stamp_built] Error 2 make: Leaving directory '/home/autobuild/autobuild/instance-10/buildroot'