>>> ctorrent dnh3.3.2 Downloading wget --passive-ftp -nd -t 3 -O '/tmp/instance-6/output-1/build/.ctorrent-dnh3.3.2.tar.gz.BJTfi1/output' 'http://www.rahul.net/dholmes/ctorrent/ctorrent-dnh3.3.2.tar.gz' --2023-02-10 01:37:17-- 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: '/tmp/instance-6/output-1/build/.ctorrent-dnh3.3.2.tar.gz.BJTfi1/output' 0K .......... .......... .......... .......... .......... 23% 907K 0s 50K .......... .......... .......... .......... .......... 46% 1.74M 0s 100K .......... .......... .......... .......... .......... 70% 225M 0s 150K .......... .......... .......... .......... .......... 93% 287M 0s 200K .......... ... 100% 527K=0.1s 2023-02-10 01:37:17 (1.90 MB/s) - '/tmp/instance-6/output-1/build/.ctorrent-dnh3.3.2.tar.gz.BJTfi1/output' saved [219053/219053] ctorrent-dnh3.3.2.tar.gz: OK (sha1: d4e221f0292268f80e2430ce9d451dd64cf1ffaa) >>> ctorrent dnh3.3.2 Extracting gzip -d -c /tmp/instance-6/dl/ctorrent/ctorrent-dnh3.3.2.tar.gz | tar --strip-components=1 -C /tmp/instance-6/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 /tmp/instance-6/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 /tmp/instance-6/output-1/build/ctorrent-dnh3.3.2/ && rm -rf config.cache && PATH="/tmp/instance-6/output-1/host/bin:/tmp/instance-6/output-1/host/sbin:/home/autobuild/make:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" AR="/tmp/instance-6/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc-ar" AS="/tmp/instance-6/output-1/host/bin/riscv64-buildroot-linux-uclibc-as" LD="/tmp/instance-6/output-1/host/bin/riscv64-buildroot-linux-uclibc-ld" NM="/tmp/instance-6/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc-nm" CC="/tmp/instance-6/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc" GCC="/tmp/instance-6/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc" CPP="/tmp/instance-6/output-1/host/bin/riscv64-buildroot-linux-uclibc-cpp" CXX="/tmp/instance-6/output-1/host/bin/riscv64-buildroot-linux-uclibc-g++" FC="/tmp/instance-6/output-1/host/bin/riscv64-buildroot-linux-uclibc-gfortran" F77="/tmp/instance-6/output-1/host/bin/riscv64-buildroot-linux-uclibc-gfortran" RANLIB="/tmp/instance-6/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc-ranlib" READELF="/tmp/instance-6/output-1/host/bin/riscv64-buildroot-linux-uclibc-readelf" STRIP="/bin/true" OBJCOPY="/tmp/instance-6/output-1/host/bin/riscv64-buildroot-linux-uclibc-objcopy" OBJDUMP="/tmp/instance-6/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/tmp/instance-6/output-1/host/include" CFLAGS_FOR_BUILD="-O2 -I/tmp/instance-6/output-1/host/include" CXXFLAGS_FOR_BUILD="-O2 -I/tmp/instance-6/output-1/host/include" LDFLAGS_FOR_BUILD="-L/tmp/instance-6/output-1/host/lib -Wl,-rpath,/tmp/instance-6/output-1/host/lib" FCFLAGS_FOR_BUILD="" DEFAULT_ASSEMBLER="/tmp/instance-6/output-1/host/bin/riscv64-buildroot-linux-uclibc-as" DEFAULT_LINKER="/tmp/instance-6/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 -O3 -g0 -fPIC -Wl,-elf2flt=-r -static" CXXFLAGS="-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O3 -g0 -fPIC -Wl,-elf2flt=-r -static -Wl,-elf2flt=-r -static" LDFLAGS=" -Wl,-elf2flt=-r -static" FCFLAGS=" -O3 -g0 -Wl,-elf2flt=-r -static" FFLAGS=" -O3 -g0 -Wl,-elf2flt=-r -static" PKG_CONFIG="/tmp/instance-6/output-1/host/bin/pkg-config" STAGING_DIR="/tmp/instance-6/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... no checking for mawk... mawk 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 /tmp/instance-6/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 /tmp/instance-6/output-1/host/bin/riscv64-buildroot-linux-uclibc-g++... none checking for riscv64-buildroot-linux-uclibc-gcc... /tmp/instance-6/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc checking whether we are using the GNU C compiler... yes checking whether /tmp/instance-6/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc accepts -g... yes checking for /tmp/instance-6/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc option to accept ISO C89... none needed checking dependency style of /tmp/instance-6/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... /tmp/instance-6/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 /tmp/instance-6/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="/tmp/instance-6/output-1/host/bin:/tmp/instance-6/output-1/host/sbin:/home/autobuild/make:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" /home/autobuild/make/make -j1 -C /tmp/instance-6/output-1/build/ctorrent-dnh3.3.2/ make[1]: Entering directory '/tmp/instance-6/output-1/build/ctorrent-dnh3.3.2' /home/autobuild/make/make all-am make[2]: Entering directory '/tmp/instance-6/output-1/build/ctorrent-dnh3.3.2' /tmp/instance-6/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 -O3 -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 /tmp/instance-6/output-1/host/riscv64-buildroot-linux-uclibc/include/c++/10.4.0/cstdlib:75, from /tmp/instance-6/output-1/host/riscv64-buildroot-linux-uclibc/include/c++/10.4.0/stdlib.h:36, from bencode.cpp:13: /tmp/instance-6/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 '/tmp/instance-6/output-1/build/ctorrent-dnh3.3.2' make[1]: *** [Makefile:175: all] Error 2 make[1]: Leaving directory '/tmp/instance-6/output-1/build/ctorrent-dnh3.3.2' make: *** [package/pkg-generic.mk:293: /tmp/instance-6/output-1/build/ctorrent-dnh3.3.2/.stamp_built] Error 2 make: Leaving directory '/tmp/instance-6/buildroot'