>>> rhash 1.4.1 Extracting gzip -d -c /tmp/instance-0/dl/rhash/rhash-1.4.1-src.tar.gz | tar --strip-components=1 -C /tmp/instance-0/output-1/build/rhash-1.4.1 -xf - >>> rhash 1.4.1 Patching Applying 0001-configure-allow-cross-compilation.patch using patch: patching file configure Applying 0002-configure-add-uclinux-target.patch using patch: patching file configure Hunk #1 succeeded at 427 (offset 1 line). >>> rhash 1.4.1 Configuring (cd /tmp/instance-0/output-1/build/rhash-1.4.1; PATH="/tmp/instance-0/output-1/host/bin:/tmp/instance-0/output-1/host/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin" AR="/tmp/instance-0/output-1/host/bin/arm-linux-ar" AS="/tmp/instance-0/output-1/host/bin/arm-linux-as" LD="/tmp/instance-0/output-1/host/bin/arm-linux-ld" NM="/tmp/instance-0/output-1/host/bin/arm-linux-nm" CC="/tmp/instance-0/output-1/host/bin/arm-linux-gcc" GCC="/tmp/instance-0/output-1/host/bin/arm-linux-gcc" CPP="/tmp/instance-0/output-1/host/bin/arm-linux-cpp" CXX="/tmp/instance-0/output-1/host/bin/arm-linux-g++" FC="/tmp/instance-0/output-1/host/bin/arm-linux-gfortran" F77="/tmp/instance-0/output-1/host/bin/arm-linux-gfortran" RANLIB="/tmp/instance-0/output-1/host/bin/arm-linux-ranlib" READELF="/tmp/instance-0/output-1/host/bin/arm-linux-readelf" STRIP="/tmp/instance-0/output-1/host/bin/arm-linux-strip" OBJCOPY="/tmp/instance-0/output-1/host/bin/arm-linux-objcopy" OBJDUMP="/tmp/instance-0/output-1/host/bin/arm-linux-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-0/output-1/host/include" CFLAGS_FOR_BUILD="-O2 -I/tmp/instance-0/output-1/host/include" CXXFLAGS_FOR_BUILD="-O2 -I/tmp/instance-0/output-1/host/include" LDFLAGS_FOR_BUILD="-L/tmp/instance-0/output-1/host/lib -Wl,-rpath,/tmp/instance-0/output-1/host/lib" FCFLAGS_FOR_BUILD="" DEFAULT_ASSEMBLER="/tmp/instance-0/output-1/host/bin/arm-linux-as" DEFAULT_LINKER="/tmp/instance-0/output-1/host/bin/arm-linux-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 -O2 -g0 -DNDEBUG " CXXFLAGS="-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 -DNDEBUG " LDFLAGS="" FCFLAGS=" -O2 -g0 -DNDEBUG" FFLAGS=" -O2 -g0 -DNDEBUG" PKG_CONFIG="/tmp/instance-0/output-1/host/bin/pkg-config" STAGING_DIR="/tmp/instance-0/output-1/host/arm-buildroot-linux-musleabihf/sysroot" INTLTOOL_PERL=/usr/bin/perl ./configure --prefix=/usr --cc=/tmp/instance-0/output-1/host/bin/arm-linux-gcc --target=arm-buildroot-linux-musleabihf --enable-gettext --enable-openssl ) Checking for target OS ... Linux Checking for /tmp/instance-0/output-1/host/bin/arm-linux-gcc version ... arm-linux-gcc.br_real 9.3.0 Checking for linker support for -static ... yes Checking for linker support for --version-script ... yes Checking for gettext ... found Checking for OpenSSL ... found Checking for sources ... RHash 1.4.0 Writing config.mak Writing librhash/config.mak Writing dist/librhash.pc >>> rhash 1.4.1 Building PATH="/tmp/instance-0/output-1/host/bin:/tmp/instance-0/output-1/host/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin" PATH="/tmp/instance-0/output-1/host/bin:/tmp/instance-0/output-1/host/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin" AR="/tmp/instance-0/output-1/host/bin/arm-linux-ar" AS="/tmp/instance-0/output-1/host/bin/arm-linux-as" LD="/tmp/instance-0/output-1/host/bin/arm-linux-ld" NM="/tmp/instance-0/output-1/host/bin/arm-linux-nm" CC="/tmp/instance-0/output-1/host/bin/arm-linux-gcc" GCC="/tmp/instance-0/output-1/host/bin/arm-linux-gcc" CPP="/tmp/instance-0/output-1/host/bin/arm-linux-cpp" CXX="/tmp/instance-0/output-1/host/bin/arm-linux-g++" FC="/tmp/instance-0/output-1/host/bin/arm-linux-gfortran" F77="/tmp/instance-0/output-1/host/bin/arm-linux-gfortran" RANLIB="/tmp/instance-0/output-1/host/bin/arm-linux-ranlib" READELF="/tmp/instance-0/output-1/host/bin/arm-linux-readelf" STRIP="/tmp/instance-0/output-1/host/bin/arm-linux-strip" OBJCOPY="/tmp/instance-0/output-1/host/bin/arm-linux-objcopy" OBJDUMP="/tmp/instance-0/output-1/host/bin/arm-linux-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-0/output-1/host/include" CFLAGS_FOR_BUILD="-O2 -I/tmp/instance-0/output-1/host/include" CXXFLAGS_FOR_BUILD="-O2 -I/tmp/instance-0/output-1/host/include" LDFLAGS_FOR_BUILD="-L/tmp/instance-0/output-1/host/lib -Wl,-rpath,/tmp/instance-0/output-1/host/lib" FCFLAGS_FOR_BUILD="" DEFAULT_ASSEMBLER="/tmp/instance-0/output-1/host/bin/arm-linux-as" DEFAULT_LINKER="/tmp/instance-0/output-1/host/bin/arm-linux-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 -O2 -g0 -DNDEBUG " CXXFLAGS="-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 -DNDEBUG " LDFLAGS="" FCFLAGS=" -O2 -g0 -DNDEBUG" FFLAGS=" -O2 -g0 -DNDEBUG" PKG_CONFIG="/tmp/instance-0/output-1/host/bin/pkg-config" STAGING_DIR="/tmp/instance-0/output-1/host/arm-buildroot-linux-musleabihf/sysroot" INTLTOOL_PERL=/usr/bin/perl /usr/bin/make -j32 -C /tmp/instance-0/output-1/build/rhash-1.4.1 lib-shared build-shared make[1]: Entering directory '/tmp/instance-0/output-1/build/rhash-1.4.1' cd librhash && /usr/bin/make lib-shared /tmp/instance-0/output-1/host/bin/arm-linux-gcc -c -DUSE_GETTEXT -O2 -DNDEBUG -pipe -ffunction-sections -fdata-sections -fomit-frame-pointer -Wall -W -Wstrict-prototypes -Wnested-externs -Winline -Wpointer-arith -Wbad-function-cast -Wmissing-prototypes -Wmissing-declarations calc_sums.c -o calc_sums.o /tmp/instance-0/output-1/host/bin/arm-linux-gcc -c -DUSE_GETTEXT -O2 -DNDEBUG -pipe -ffunction-sections -fdata-sections -fomit-frame-pointer -Wall -W -Wstrict-prototypes -Wnested-externs -Winline -Wpointer-arith -Wbad-function-cast -Wmissing-prototypes -Wmissing-declarations hash_print.c -o hash_print.o /tmp/instance-0/output-1/host/bin/arm-linux-gcc -c -DUSE_GETTEXT -O2 -DNDEBUG -pipe -ffunction-sections -fdata-sections -fomit-frame-pointer -Wall -W -Wstrict-prototypes -Wnested-externs -Winline -Wpointer-arith -Wbad-function-cast -Wmissing-prototypes -Wmissing-declarations common_func.c -o common_func.o /tmp/instance-0/output-1/host/bin/arm-linux-gcc -c -DUSE_GETTEXT -O2 -DNDEBUG -pipe -ffunction-sections -fdata-sections -fomit-frame-pointer -Wall -W -Wstrict-prototypes -Wnested-externs -Winline -Wpointer-arith -Wbad-function-cast -Wmissing-prototypes -Wmissing-declarations hash_update.c -o hash_update.o /tmp/instance-0/output-1/host/bin/arm-linux-gcc -c -DUSE_GETTEXT -O2 -DNDEBUG -pipe -ffunction-sections -fdata-sections -fomit-frame-pointer -Wall -W -Wstrict-prototypes -Wnested-externs -Winline -Wpointer-arith -Wbad-function-cast -Wmissing-prototypes -Wmissing-declarations file.c -o file.o /tmp/instance-0/output-1/host/bin/arm-linux-gcc -c -DUSE_GETTEXT -O2 -DNDEBUG -pipe -ffunction-sections -fdata-sections -fomit-frame-pointer -Wall -W -Wstrict-prototypes -Wnested-externs -Winline -Wpointer-arith -Wbad-function-cast -Wmissing-prototypes -Wmissing-declarations file_mask.c -o file_mask.o /tmp/instance-0/output-1/host/bin/arm-linux-gcc -c -DUSE_GETTEXT -O2 -DNDEBUG -pipe -ffunction-sections -fdata-sections -fomit-frame-pointer -Wall -W -Wstrict-prototypes -Wnested-externs -Winline -Wpointer-arith -Wbad-function-cast -Wmissing-prototypes -Wmissing-declarations file_set.c -o file_set.o /tmp/instance-0/output-1/host/bin/arm-linux-gcc -c -DUSE_GETTEXT -O2 -DNDEBUG -pipe -ffunction-sections -fdata-sections -fomit-frame-pointer -Wall -W -Wstrict-prototypes -Wnested-externs -Winline -Wpointer-arith -Wbad-function-cast -Wmissing-prototypes -Wmissing-declarations find_file.c -o find_file.o /tmp/instance-0/output-1/host/bin/arm-linux-gcc -c -DUSE_GETTEXT -O2 -DNDEBUG -pipe -ffunction-sections -fdata-sections -fomit-frame-pointer -Wall -W -Wstrict-prototypes -Wnested-externs -Winline -Wpointer-arith -Wbad-function-cast -Wmissing-prototypes -Wmissing-declarations hash_check.c -o hash_check.o /tmp/instance-0/output-1/host/bin/arm-linux-gcc -c -DUSE_GETTEXT -O2 -DNDEBUG -pipe -ffunction-sections -fdata-sections -fomit-frame-pointer -Wall -W -Wstrict-prototypes -Wnested-externs -Winline -Wpointer-arith -Wbad-function-cast -Wmissing-prototypes -Wmissing-declarations output.c -o output.o /tmp/instance-0/output-1/host/bin/arm-linux-gcc -c -DUSE_GETTEXT -O2 -DNDEBUG -pipe -ffunction-sections -fdata-sections -fomit-frame-pointer -Wall -W -Wstrict-prototypes -Wnested-externs -Winline -Wpointer-arith -Wbad-function-cast -Wmissing-prototypes -Wmissing-declarations -DSYSCONFDIR=\"/usr/etc\" parse_cmdline.c -o parse_cmdline.o /tmp/instance-0/output-1/host/bin/arm-linux-gcc -c -DUSE_GETTEXT -O2 -DNDEBUG -pipe -ffunction-sections -fdata-sections -fomit-frame-pointer -Wall -W -Wstrict-prototypes -Wnested-externs -Winline -Wpointer-arith -Wbad-function-cast -Wmissing-prototypes -Wmissing-declarations -DLOCALEDIR=\"/usr/share/locale\" rhash_main.c -o rhash_main.o make[2]: Entering directory '/tmp/instance-0/output-1/build/rhash-1.4.1/librhash' sed -ne '1s/.*/{ global:/p; s/^RHASH_API.* \(rhash_[a-z0-9_]*\)(.*/ \1;/p; $s/.*/local: *; };/p' rhash.h rhash_torrent.h rhash_timing.h > exports.sym rm -f librhash.so /tmp/instance-0/output-1/host/bin/arm-linux-gcc -c -DUSE_GETTEXT -O2 -DNDEBUG -pipe -ffunction-sections -fdata-sections -fomit-frame-pointer -Wall -W -Wstrict-prototypes -Wnested-externs -Winline -Wpointer-arith -Wbad-function-cast -Wmissing-prototypes -Wmissing-declarations win_utils.c -o win_utils.o ln -s librhash.so.0 librhash.so /tmp/instance-0/output-1/host/bin/arm-linux-gcc -DUSE_OPENSSL -O2 -DNDEBUG -pipe -ffunction-sections -fdata-sections -fomit-frame-pointer -Wall -W -Wstrict-prototypes -Wnested-externs -Winline -Wpointer-arith -Wbad-function-cast -Wmissing-prototypes -Wmissing-declarations -fpic -DRHASH_XVERSION=0x01040000 algorithms.c byte_order.c plug_openssl.c rhash.c rhash_timing.c rhash_torrent.c aich.c blake2b.c blake2s.c crc32.c ed2k.c edonr.c hex.c md4.c md5.c sha1.c sha256.c sha512.c sha3.c ripemd-160.c gost12.c gost94.c has160.c snefru.c tiger.c tiger_sbox.c tth.c torrent.c util.c whirlpool.c whirlpool_sbox.c -lcrypto -shared -Wl,--version-script,exports.sym,-soname,librhash.so.0 -o librhash.so.0 plug_openssl.c: In function 'wrapRIPEMD160_Final': plug_openssl.c:108:14: warning: implicit declaration of function 'RIPEMD160_Final'; did you mean 'wrapRIPEMD160_Final'? [-Wimplicit-function-declaration] 108 | WRAP_FINAL(RIPEMD160) | ^~~~~~~~~ plug_openssl.c:82:41: note: in definition of macro 'CALL_FINAL' 82 | # define CALL_FINAL(name, result, ctx) name##_Final(result, ctx) | ^~~~ plug_openssl.c:91:26: note: in expansion of macro 'WRAP_FINAL2' 91 | #define WRAP_FINAL(name) WRAP_FINAL2(name, name##_CTX) | ^~~~~~~~~~~ plug_openssl.c:108:3: note: in expansion of macro 'WRAP_FINAL' 108 | WRAP_FINAL(RIPEMD160) | ^~~~~~~~~~ plug_openssl.c:108:14: warning: nested extern declaration of 'RIPEMD160_Final' [-Wnested-externs] 108 | WRAP_FINAL(RIPEMD160) | ^~~~~~~~~ plug_openssl.c:82:41: note: in definition of macro 'CALL_FINAL' 82 | # define CALL_FINAL(name, result, ctx) name##_Final(result, ctx) | ^~~~ plug_openssl.c:91:26: note: in expansion of macro 'WRAP_FINAL2' 91 | #define WRAP_FINAL(name) WRAP_FINAL2(name, name##_CTX) | ^~~~~~~~~~~ plug_openssl.c:108:3: note: in expansion of macro 'WRAP_FINAL' 108 | WRAP_FINAL(RIPEMD160) | ^~~~~~~~~~ plug_openssl.c:108:14: error: 'RIPEMD160_CTX' undeclared (first use in this function) 108 | WRAP_FINAL(RIPEMD160) | ^~~~~~~~~ plug_openssl.c:82:62: note: in definition of macro 'CALL_FINAL' 82 | # define CALL_FINAL(name, result, ctx) name##_Final(result, ctx) | ^~~ plug_openssl.c:91:26: note: in expansion of macro 'WRAP_FINAL2' 91 | #define WRAP_FINAL(name) WRAP_FINAL2(name, name##_CTX) | ^~~~~~~~~~~ plug_openssl.c:108:3: note: in expansion of macro 'WRAP_FINAL' 108 | WRAP_FINAL(RIPEMD160) | ^~~~~~~~~~ plug_openssl.c:108:14: note: each undeclared identifier is reported only once for each function it appears in 108 | WRAP_FINAL(RIPEMD160) | ^~~~~~~~~ plug_openssl.c:82:62: note: in definition of macro 'CALL_FINAL' 82 | # define CALL_FINAL(name, result, ctx) name##_Final(result, ctx) | ^~~ plug_openssl.c:91:26: note: in expansion of macro 'WRAP_FINAL2' 91 | #define WRAP_FINAL(name) WRAP_FINAL2(name, name##_CTX) | ^~~~~~~~~~~ plug_openssl.c:108:3: note: in expansion of macro 'WRAP_FINAL' 108 | WRAP_FINAL(RIPEMD160) | ^~~~~~~~~~ plug_openssl.c:94:38: error: expected expression before ')' token 94 | CALL_FINAL(name, result, (CTX_TYPE*)ctx); \ | ^ plug_openssl.c:82:62: note: in definition of macro 'CALL_FINAL' 82 | # define CALL_FINAL(name, result, ctx) name##_Final(result, ctx) | ^~~ plug_openssl.c:91:26: note: in expansion of macro 'WRAP_FINAL2' 91 | #define WRAP_FINAL(name) WRAP_FINAL2(name, name##_CTX) | ^~~~~~~~~~~ plug_openssl.c:108:3: note: in expansion of macro 'WRAP_FINAL' 108 | WRAP_FINAL(RIPEMD160) | ^~~~~~~~~~ plug_openssl.c:93:39: warning: unused parameter 'ctx' [-Wunused-parameter] 93 | static void wrap##name##_Final(void* ctx, unsigned char* result) { \ | ~~~~~~^~~ plug_openssl.c:91:26: note: in expansion of macro 'WRAP_FINAL2' 91 | #define WRAP_FINAL(name) WRAP_FINAL2(name, name##_CTX) | ^~~~~~~~~~~ plug_openssl.c:108:3: note: in expansion of macro 'WRAP_FINAL' 108 | WRAP_FINAL(RIPEMD160) | ^~~~~~~~~~ plug_openssl.c: At top level: plug_openssl.c:136:25: error: 'RIPEMD160_CTX' undeclared here (not in a function) 136 | { &info_rmd160, sizeof(RIPEMD160_CTX), offsetof(RIPEMD160_CTX, A), HASH_INFO_METHODS(RIPEMD160) }, /* 160 bit */ | ^~~~~~~~~~~~~ In file included from /tmp/instance-0/output-1/host/arm-buildroot-linux-musleabihf/sysroot/usr/include/openssl/md5.h:17, from plug_openssl.c:21: plug_openssl.c:136:50: error: expected specifier-qualifier-list before 'RIPEMD160_CTX' 136 | { &info_rmd160, sizeof(RIPEMD160_CTX), offsetof(RIPEMD160_CTX, A), HASH_INFO_METHODS(RIPEMD160) }, /* 160 bit */ | ^~~~~~~~~~~~~ plug_openssl.c:136:87: error: 'RIPEMD160_Init' undeclared here (not in a function) 136 | { &info_rmd160, sizeof(RIPEMD160_CTX), offsetof(RIPEMD160_CTX, A), HASH_INFO_METHODS(RIPEMD160) }, /* 160 bit */ | ^~~~~~~~~ plug_openssl.c:83:59: note: in definition of macro 'HASH_INFO_METHODS' 83 | # define HASH_INFO_METHODS(name) (pinit_t)(void(*)(void))name##_Init, (pupdate_t)(void(*)(void))name##_Update, wrap##name##_Final, 0 | ^~~~ plug_openssl.c:136:87: error: 'RIPEMD160_Update' undeclared here (not in a function) 136 | { &info_rmd160, sizeof(RIPEMD160_CTX), offsetof(RIPEMD160_CTX, A), HASH_INFO_METHODS(RIPEMD160) }, /* 160 bit */ | ^~~~~~~~~ plug_openssl.c:83:98: note: in definition of macro 'HASH_INFO_METHODS' 83 | # define HASH_INFO_METHODS(name) (pinit_t)(void(*)(void))name##_Init, (pupdate_t)(void(*)(void))name##_Update, wrap##name##_Final, 0 | ^~~~ make[2]: *** [Makefile:179: librhash.so.0] Error 1 make[2]: Leaving directory '/tmp/instance-0/output-1/build/rhash-1.4.1/librhash' make[1]: *** [Makefile:123: librhash/librhash.so.0] Error 2 make[1]: Leaving directory '/tmp/instance-0/output-1/build/rhash-1.4.1' make: *** [package/pkg-generic.mk:250: /tmp/instance-0/output-1/build/rhash-1.4.1/.stamp_built] Error 2 make: Leaving directory '/tmp/instance-0/buildroot'