+ exec + rm -rf /rpmbuild + mkdir -p /rpmbuild + su -c 'rpmbuild -ba /builddir/build/SPECS/libstorj.spec --define "debug_package %{nil}" --undefine _annotated_build --define "_missing_doc_files_terminate_build %{nil}" --define "_emacs_sitestartdir /usr/share/emacs/site-lisp/site-start.d" --define "_emacs_sitelispdir /usr/share/emacs/site-lisp" --nocheck ' mockbuild Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.b42lOp + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf libstorj-1.0.2 + /usr/bin/tar -xof - + /usr/bin/gzip -dc /builddir/build/SOURCES/libstorj-1.0.2.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd libstorj-1.0.2 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.HD348D + umask 022 + cd /builddir/build/BUILD + cd libstorj-1.0.2 + autoreconf -vif autoreconf: Entering directory `.' autoreconf: configure.ac: not using Gettext autoreconf: running: aclocal --force -I build-aux/m4 aclocal: warning: couldn't open directory 'build-aux/m4': No such file or directory autoreconf: configure.ac: tracing autoreconf: configure.ac: creating directory build-aux autoreconf: running: libtoolize --copy --force libtoolize: putting auxiliary files in AC_CONFIG_AUX_DIR, 'build-aux'. libtoolize: copying file 'build-aux/ltmain.sh' libtoolize: putting macros in AC_CONFIG_MACRO_DIRS, 'build-aux/m4'. libtoolize: copying file 'build-aux/m4/libtool.m4' libtoolize: copying file 'build-aux/m4/ltoptions.m4' libtoolize: copying file 'build-aux/m4/ltsugar.m4' libtoolize: copying file 'build-aux/m4/ltversion.m4' libtoolize: copying file 'build-aux/m4/lt~obsolete.m4' autoreconf: running: /usr/bin/autoconf --force autoreconf: configure.ac: not using Autoheader autoreconf: running: automake --add-missing --copy --force-missing configure.ac:5: installing 'build-aux/compile' configure.ac:5: installing 'build-aux/config.guess' configure.ac:5: installing 'build-aux/config.sub' configure.ac:4: installing 'build-aux/install-sh' configure.ac:4: installing 'build-aux/missing' src/Makefile.am: installing 'build-aux/depcomp' parallel-tests: installing 'build-aux/test-driver' autoreconf: Leaving directory `.' + CFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 ' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 ' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + '[' 1 = 1 ']' +++ dirname ./configure ++ find . -name config.guess -o -name config.sub + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./build-aux/config.sub + '[' -f /usr/lib/rpm/redhat/config.sub ']' + /usr/bin/rm -f ./build-aux/config.sub ++ basename ./build-aux/config.sub + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.sub ./build-aux/config.sub '/usr/lib/rpm/redhat/config.sub' -> './build-aux/config.sub' + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./build-aux/config.guess + '[' -f /usr/lib/rpm/redhat/config.guess ']' + /usr/bin/rm -f ./build-aux/config.guess ++ basename ./build-aux/config.guess + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.guess ./build-aux/config.guess '/usr/lib/rpm/redhat/config.guess' -> './build-aux/config.guess' + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./depends/config.sub + '[' -f /usr/lib/rpm/redhat/config.sub ']' + /usr/bin/rm -f ./depends/config.sub ++ basename ./depends/config.sub + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.sub ./depends/config.sub '/usr/lib/rpm/redhat/config.sub' -> './depends/config.sub' + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./depends/config.guess + '[' -f /usr/lib/rpm/redhat/config.guess ']' + /usr/bin/rm -f ./depends/config.guess ++ basename ./depends/config.guess + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.guess ./depends/config.guess '/usr/lib/rpm/redhat/config.guess' -> './depends/config.guess' + '[' 1 = 1 ']' + '[' x '!=' x-specs=/usr/lib/rpm/redhat/redhat-hardened-ld ']' ++ find . -name ltmain.sh + for i in $(find . -name ltmain.sh) + /usr/bin/sed -i.backup -e 's~compiler_flags=$~compiler_flags="-specs=/usr/lib/rpm/redhat/redhat-hardened-ld"~' ./build-aux/ltmain.sh + ./configure --build=riscv64-redhat-linux-gnu --host=riscv64-redhat-linux-gnu --program-prefix= --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /usr/bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking build system type... riscv64-redhat-linux-gnu checking host system type... riscv64-redhat-linux-gnu checking how to print strings... printf checking for style of include used by make... GNU checking for riscv64-redhat-linux-gnu-gcc... no checking for gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking whether gcc understands -c and -o together... yes checking dependency style of gcc... none checking for a sed that does not truncate output... /usr/bin/sed checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for fgrep... /usr/bin/grep -F checking for ld used by gcc... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... BSD nm checking whether ln -s works... yes checking the maximum length of command line arguments... 1572864 checking how to convert riscv64-redhat-linux-gnu file names to riscv64-redhat-linux-gnu format... func_convert_file_noop checking how to convert riscv64-redhat-linux-gnu file names to toolchain format... func_convert_file_noop checking for /usr/bin/ld option to reload object files... -r checking for riscv64-redhat-linux-gnu-objdump... no checking for objdump... objdump checking how to recognize dependent libraries... pass_all checking for riscv64-redhat-linux-gnu-dlltool... no checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for riscv64-redhat-linux-gnu-ar... no checking for ar... ar checking for archiver @FILE support... @ checking for riscv64-redhat-linux-gnu-strip... no checking for strip... strip checking for riscv64-redhat-linux-gnu-ranlib... no checking for ranlib... ranlib checking command to parse /usr/bin/nm -B output from gcc object... ok checking for sysroot... no checking for a working dd... /usr/bin/dd checking how to truncate binary pipes... /usr/bin/dd bs=4096 count=1 checking for riscv64-redhat-linux-gnu-mt... no checking for mt... no checking if : is a manifest tool... no checking how to run the C preprocessor... gcc -E checking for ANSI C header files... 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 for dlfcn.h... yes checking for objdir... .libs checking if gcc supports -fno-rtti -fno-exceptions... no checking for gcc option to produce PIC... -fPIC -DPIC checking if gcc PIC flag -fPIC -DPIC works... yes checking if gcc static flag -static works... no checking if gcc supports -c -o file.o... yes checking if gcc supports -c -o file.o... (cached) yes checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... yes checking for hexdump... /usr/bin/hexdump checking for riscv64-redhat-linux-gnu-pkg-config... /usr/bin/riscv64-redhat-linux-gnu-pkg-config checking pkg-config is at least version 0.9.0... yes checking for LIBCURL... yes checking curl/curl.h usability... yes checking curl/curl.h presence... yes checking for curl/curl.h... yes checking for NETTLE... yes checking nettle/aes.h usability... yes checking nettle/aes.h presence... yes checking for nettle/aes.h... yes checking for JSON... yes checking json-c/json.h usability... yes checking json-c/json.h presence... yes checking for json-c/json.h... yes checking for UV... yes checking uv.h usability... yes checking uv.h presence... yes checking for uv.h... yes checking for MICROHTTPD... yes checking microhttpd.h usability... yes checking microhttpd.h presence... yes checking for microhttpd.h... yes checking for aligned_alloc... yes checking for posix_memalign... yes checking for posix_fallocate... yes checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating src/Makefile config.status: creating test/Makefile config.status: creating libstorj.pc config.status: executing depfiles commands config.status: executing libtool commands + /usr/bin/make -O -j4 Making all in src make[1]: Entering directory '/builddir/build/BUILD/libstorj-1.0.2/src' /bin/sh ../libtool --tag=CC --mode=compile gcc -DPACKAGE_NAME=\"libstorj\" -DPACKAGE_TARNAME=\"libstorj\" -DPACKAGE_VERSION=\"1.0.2\" -DPACKAGE_STRING=\"libstorj\ 1.0.2\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"libstorj\" -DVERSION=\"1.0.2\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_CURL_CURL_H=1 -DHAVE_NETTLE_AES_H=1 -DHAVE_JSON_C_JSON_H=1 -DHAVE_UV_H=1 -DHAVE_MICROHTTPD_H=1 -DHAVE_ALIGNED_ALLOC=1 -DHAVE_POSIX_MEMALIGN=1 -DHAVE_POSIX_FALLOCATE=1 -I. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -O3 -c -o utils.lo utils.c libtool: compile: gcc -DPACKAGE_NAME=\"libstorj\" -DPACKAGE_TARNAME=\"libstorj\" -DPACKAGE_VERSION=\"1.0.2\" "-DPACKAGE_STRING=\"libstorj 1.0.2\"" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"libstorj\" -DVERSION=\"1.0.2\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_CURL_CURL_H=1 -DHAVE_NETTLE_AES_H=1 -DHAVE_JSON_C_JSON_H=1 -DHAVE_UV_H=1 -DHAVE_MICROHTTPD_H=1 -DHAVE_ALIGNED_ALLOC=1 -DHAVE_POSIX_MEMALIGN=1 -DHAVE_POSIX_FALLOCATE=1 -I. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -O3 -c utils.c -fPIC -DPIC -o .libs/utils.o utils.c: In function 'hex2str': utils.c:11:26: warning: pointer targets in passing argument 1 of 'nettle_base16_encode_update' differ in signedness [-Wpointer-sign] base16_encode_update(result, length, data); ^~~~~~ In file included from utils.h:14:0, from utils.c:1: /usr/include/nettle/base16.h:64:1: note: expected 'char *' but argument is of type 'uint8_t * {aka unsigned char *}' base16_encode_update(char *dst, ^ utils.c: In function 'str2hex': utils.c:40:39: warning: pointer targets in passing argument 5 of 'nettle_base16_decode_update' differ in signedness [-Wpointer-sign] length, (uint8_t *)data)) { ^ In file included from utils.h:14:0, from utils.c:1: /usr/include/nettle/base16.h:96:1: note: expected 'const char *' but argument is of type 'uint8_t * {aka unsigned char *}' base16_decode_update(struct base16_decode_ctx *ctx, ^ libtool: compile: gcc -DPACKAGE_NAME=\"libstorj\" -DPACKAGE_TARNAME=\"libstorj\" -DPACKAGE_VERSION=\"1.0.2\" "-DPACKAGE_STRING=\"libstorj 1.0.2\"" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"libstorj\" -DVERSION=\"1.0.2\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_CURL_CURL_H=1 -DHAVE_NETTLE_AES_H=1 -DHAVE_JSON_C_JSON_H=1 -DHAVE_UV_H=1 -DHAVE_MICROHTTPD_H=1 -DHAVE_ALIGNED_ALLOC=1 -DHAVE_POSIX_MEMALIGN=1 -DHAVE_POSIX_FALLOCATE=1 -I. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -O3 -c utils.c -o utils.o >/dev/null 2>&1 make[1]: Leaving directory '/builddir/build/BUILD/libstorj-1.0.2/src' make[1]: Entering directory '/builddir/build/BUILD/libstorj-1.0.2/src' /bin/sh ../libtool --tag=CC --mode=compile gcc -DPACKAGE_NAME=\"libstorj\" -DPACKAGE_TARNAME=\"libstorj\" -DPACKAGE_VERSION=\"1.0.2\" -DPACKAGE_STRING=\"libstorj\ 1.0.2\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"libstorj\" -DVERSION=\"1.0.2\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_CURL_CURL_H=1 -DHAVE_NETTLE_AES_H=1 -DHAVE_JSON_C_JSON_H=1 -DHAVE_UV_H=1 -DHAVE_MICROHTTPD_H=1 -DHAVE_ALIGNED_ALLOC=1 -DHAVE_POSIX_MEMALIGN=1 -DHAVE_POSIX_FALLOCATE=1 -I. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -O3 -c -o http.lo http.c libtool: compile: gcc -DPACKAGE_NAME=\"libstorj\" -DPACKAGE_TARNAME=\"libstorj\" -DPACKAGE_VERSION=\"1.0.2\" "-DPACKAGE_STRING=\"libstorj 1.0.2\"" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"libstorj\" -DVERSION=\"1.0.2\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_CURL_CURL_H=1 -DHAVE_NETTLE_AES_H=1 -DHAVE_JSON_C_JSON_H=1 -DHAVE_UV_H=1 -DHAVE_MICROHTTPD_H=1 -DHAVE_ALIGNED_ALLOC=1 -DHAVE_POSIX_MEMALIGN=1 -DHAVE_POSIX_FALLOCATE=1 -I. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -O3 -c http.c -fPIC -DPIC -o .libs/http.o In file included from http.h:18:0, from http.c:1: storj.h:297:20: warning: 'BUCKET_OP' defined but not used [-Wunused-variable] static const char *BUCKET_OP[] = { "PUSH", "PULL" }; ^~~~~~~~~ libtool: compile: gcc -DPACKAGE_NAME=\"libstorj\" -DPACKAGE_TARNAME=\"libstorj\" -DPACKAGE_VERSION=\"1.0.2\" "-DPACKAGE_STRING=\"libstorj 1.0.2\"" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"libstorj\" -DVERSION=\"1.0.2\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_CURL_CURL_H=1 -DHAVE_NETTLE_AES_H=1 -DHAVE_JSON_C_JSON_H=1 -DHAVE_UV_H=1 -DHAVE_MICROHTTPD_H=1 -DHAVE_ALIGNED_ALLOC=1 -DHAVE_POSIX_MEMALIGN=1 -DHAVE_POSIX_FALLOCATE=1 -I. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -O3 -c http.c -o http.o >/dev/null 2>&1 make[1]: Leaving directory '/builddir/build/BUILD/libstorj-1.0.2/src' make[1]: Entering directory '/builddir/build/BUILD/libstorj-1.0.2/src' /bin/sh ../libtool --tag=CC --mode=compile gcc -DPACKAGE_NAME=\"libstorj\" -DPACKAGE_TARNAME=\"libstorj\" -DPACKAGE_VERSION=\"1.0.2\" -DPACKAGE_STRING=\"libstorj\ 1.0.2\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"libstorj\" -DVERSION=\"1.0.2\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_CURL_CURL_H=1 -DHAVE_NETTLE_AES_H=1 -DHAVE_JSON_C_JSON_H=1 -DHAVE_UV_H=1 -DHAVE_MICROHTTPD_H=1 -DHAVE_ALIGNED_ALLOC=1 -DHAVE_POSIX_MEMALIGN=1 -DHAVE_POSIX_FALLOCATE=1 -I. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -O3 -c -o storj.lo storj.c libtool: compile: gcc -DPACKAGE_NAME=\"libstorj\" -DPACKAGE_TARNAME=\"libstorj\" -DPACKAGE_VERSION=\"1.0.2\" "-DPACKAGE_STRING=\"libstorj 1.0.2\"" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"libstorj\" -DVERSION=\"1.0.2\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_CURL_CURL_H=1 -DHAVE_NETTLE_AES_H=1 -DHAVE_JSON_C_JSON_H=1 -DHAVE_UV_H=1 -DHAVE_MICROHTTPD_H=1 -DHAVE_ALIGNED_ALLOC=1 -DHAVE_POSIX_MEMALIGN=1 -DHAVE_POSIX_FALLOCATE=1 -I. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -O3 -c storj.c -fPIC -DPIC -o .libs/storj.o storj.c: In function 'storj_encrypt_auth': storj.c:802:9: warning: unused variable 'mnemonic_length' [-Wunused-variable] int mnemonic_length = strlen(mnemonic); ^~~~~~~~~~~~~~~ storj.c:794:9: warning: unused variable 'pass_length' [-Wunused-variable] int pass_length = strlen(bridge_pass); ^~~~~~~~~~~ libtool: compile: gcc -DPACKAGE_NAME=\"libstorj\" -DPACKAGE_TARNAME=\"libstorj\" -DPACKAGE_VERSION=\"1.0.2\" "-DPACKAGE_STRING=\"libstorj 1.0.2\"" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"libstorj\" -DVERSION=\"1.0.2\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_CURL_CURL_H=1 -DHAVE_NETTLE_AES_H=1 -DHAVE_JSON_C_JSON_H=1 -DHAVE_UV_H=1 -DHAVE_MICROHTTPD_H=1 -DHAVE_ALIGNED_ALLOC=1 -DHAVE_POSIX_MEMALIGN=1 -DHAVE_POSIX_FALLOCATE=1 -I. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -O3 -c storj.c -o storj.o >/dev/null 2>&1 make[1]: Leaving directory '/builddir/build/BUILD/libstorj-1.0.2/src' make[1]: Entering directory '/builddir/build/BUILD/libstorj-1.0.2/src' /bin/sh ../libtool --tag=CC --mode=compile gcc -DPACKAGE_NAME=\"libstorj\" -DPACKAGE_TARNAME=\"libstorj\" -DPACKAGE_VERSION=\"1.0.2\" -DPACKAGE_STRING=\"libstorj\ 1.0.2\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"libstorj\" -DVERSION=\"1.0.2\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_CURL_CURL_H=1 -DHAVE_NETTLE_AES_H=1 -DHAVE_JSON_C_JSON_H=1 -DHAVE_UV_H=1 -DHAVE_MICROHTTPD_H=1 -DHAVE_ALIGNED_ALLOC=1 -DHAVE_POSIX_MEMALIGN=1 -DHAVE_POSIX_FALLOCATE=1 -I. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -O3 -c -o crypto.lo crypto.c libtool: compile: gcc -DPACKAGE_NAME=\"libstorj\" -DPACKAGE_TARNAME=\"libstorj\" -DPACKAGE_VERSION=\"1.0.2\" "-DPACKAGE_STRING=\"libstorj 1.0.2\"" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"libstorj\" -DVERSION=\"1.0.2\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_CURL_CURL_H=1 -DHAVE_NETTLE_AES_H=1 -DHAVE_JSON_C_JSON_H=1 -DHAVE_UV_H=1 -DHAVE_MICROHTTPD_H=1 -DHAVE_ALIGNED_ALLOC=1 -DHAVE_POSIX_MEMALIGN=1 -DHAVE_POSIX_FALLOCATE=1 -I. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -O3 -c crypto.c -fPIC -DPIC -o .libs/crypto.o crypto.c: In function 'encrypt_meta': crypto.c:441:50: warning: pointer targets in passing argument 2 of 'nettle_base64_encode_update' differ in signedness [-Wpointer-sign] size_t out_len = base64_encode_update(&ctx3, (uint8_t *)*buffer_base64, ^ In file included from crypto.h:17:0, from crypto.c:1: /usr/include/nettle/base64.h:98:1: note: expected 'char *' but argument is of type 'uint8_t * {aka unsigned char *}' base64_encode_update(struct base64_encode_ctx *ctx, ^ crypto.c:443:43: warning: pointer targets in passing argument 2 of 'nettle_base64_encode_final' differ in signedness [-Wpointer-sign] out_len += base64_encode_final(&ctx3, (uint8_t *)*buffer_base64 + out_len); ^ In file included from crypto.h:17:0, from crypto.c:1: /usr/include/nettle/base64.h:106:1: note: expected 'char *' but argument is of type 'uint8_t * {aka unsigned char *}' base64_encode_final(struct base64_encode_ctx *ctx, ^ crypto.c: In function 'decrypt_meta': crypto.c:463:54: warning: pointer targets in passing argument 5 of 'nettle_base64_decode_update' differ in signedness [-Wpointer-sign] strlen(buffer_base64), (uint8_t *)buffer_base64)) { ^ In file included from crypto.h:17:0, from crypto.c:1: /usr/include/nettle/base64.h:158:1: note: expected 'const char *' but argument is of type 'uint8_t * {aka unsigned char *}' base64_decode_update(struct base64_decode_ctx *ctx, ^ libtool: compile: gcc -DPACKAGE_NAME=\"libstorj\" -DPACKAGE_TARNAME=\"libstorj\" -DPACKAGE_VERSION=\"1.0.2\" "-DPACKAGE_STRING=\"libstorj 1.0.2\"" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"libstorj\" -DVERSION=\"1.0.2\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_CURL_CURL_H=1 -DHAVE_NETTLE_AES_H=1 -DHAVE_JSON_C_JSON_H=1 -DHAVE_UV_H=1 -DHAVE_MICROHTTPD_H=1 -DHAVE_ALIGNED_ALLOC=1 -DHAVE_POSIX_MEMALIGN=1 -DHAVE_POSIX_FALLOCATE=1 -I. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -O3 -c crypto.c -o crypto.o >/dev/null 2>&1 make[1]: Leaving directory '/builddir/build/BUILD/libstorj-1.0.2/src' make[1]: Entering directory '/builddir/build/BUILD/libstorj-1.0.2/src' /bin/sh ../libtool --tag=CC --mode=compile gcc -DPACKAGE_NAME=\"libstorj\" -DPACKAGE_TARNAME=\"libstorj\" -DPACKAGE_VERSION=\"1.0.2\" -DPACKAGE_STRING=\"libstorj\ 1.0.2\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"libstorj\" -DVERSION=\"1.0.2\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_CURL_CURL_H=1 -DHAVE_NETTLE_AES_H=1 -DHAVE_JSON_C_JSON_H=1 -DHAVE_UV_H=1 -DHAVE_MICROHTTPD_H=1 -DHAVE_ALIGNED_ALLOC=1 -DHAVE_POSIX_MEMALIGN=1 -DHAVE_POSIX_FALLOCATE=1 -I. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -O3 -c -o downloader.lo downloader.c libtool: compile: gcc -DPACKAGE_NAME=\"libstorj\" -DPACKAGE_TARNAME=\"libstorj\" -DPACKAGE_VERSION=\"1.0.2\" "-DPACKAGE_STRING=\"libstorj 1.0.2\"" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"libstorj\" -DVERSION=\"1.0.2\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_CURL_CURL_H=1 -DHAVE_NETTLE_AES_H=1 -DHAVE_JSON_C_JSON_H=1 -DHAVE_UV_H=1 -DHAVE_MICROHTTPD_H=1 -DHAVE_ALIGNED_ALLOC=1 -DHAVE_POSIX_MEMALIGN=1 -DHAVE_POSIX_FALLOCATE=1 -I. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -O3 -c downloader.c -fPIC -DPIC -o .libs/downloader.o downloader.c: In function 'request_replace_pointer': downloader.c:86:9: warning: unused variable 'excluded_farmer_ids_len' [-Wunused-variable] int excluded_farmer_ids_len = (req->excluded_farmer_ids) ? strlen(req->excluded_farmer_ids) : 0; ^~~~~~~~~~~~~~~~~~~~~~~ downloader.c: In function 'prepare_file_hmac': downloader.c:1396:35: warning: pointer targets in passing argument 5 of 'nettle_base16_decode_update' differ in signedness [-Wpointer-sign] (uint8_t *)pointer->shard_hash)) { ^ In file included from utils.h:14:0, from http.h:19, from downloader.h:11, from downloader.c:1: /usr/include/nettle/base16.h:96:1: note: expected 'const char *' but argument is of type 'uint8_t * {aka unsigned char *}' base16_decode_update(struct base16_decode_ctx *ctx, ^ downloader.c:1416:26: warning: pointer targets in passing argument 1 of 'nettle_base16_encode_update' differ in signedness [-Wpointer-sign] base16_encode_update((uint8_t *)state->hmac, SHA512_DIGEST_SIZE, digest_raw); ^ In file included from utils.h:14:0, from http.h:19, from downloader.h:11, from downloader.c:1: /usr/include/nettle/base16.h:64:1: note: expected 'char *' but argument is of type 'uint8_t * {aka unsigned char *}' base16_encode_update(char *dst, ^ In file included from downloader.h:10:0, from downloader.c:1: At top level: storj.h:297:20: warning: 'BUCKET_OP' defined but not used [-Wunused-variable] static const char *BUCKET_OP[] = { "PUSH", "PULL" }; ^~~~~~~~~ libtool: compile: gcc -DPACKAGE_NAME=\"libstorj\" -DPACKAGE_TARNAME=\"libstorj\" -DPACKAGE_VERSION=\"1.0.2\" "-DPACKAGE_STRING=\"libstorj 1.0.2\"" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"libstorj\" -DVERSION=\"1.0.2\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_CURL_CURL_H=1 -DHAVE_NETTLE_AES_H=1 -DHAVE_JSON_C_JSON_H=1 -DHAVE_UV_H=1 -DHAVE_MICROHTTPD_H=1 -DHAVE_ALIGNED_ALLOC=1 -DHAVE_POSIX_MEMALIGN=1 -DHAVE_POSIX_FALLOCATE=1 -I. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -O3 -c downloader.c -o downloader.o >/dev/null 2>&1 make[1]: Leaving directory '/builddir/build/BUILD/libstorj-1.0.2/src' make[1]: Entering directory '/builddir/build/BUILD/libstorj-1.0.2/src' /bin/sh ../libtool --tag=CC --mode=compile gcc -DPACKAGE_NAME=\"libstorj\" -DPACKAGE_TARNAME=\"libstorj\" -DPACKAGE_VERSION=\"1.0.2\" -DPACKAGE_STRING=\"libstorj\ 1.0.2\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"libstorj\" -DVERSION=\"1.0.2\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_CURL_CURL_H=1 -DHAVE_NETTLE_AES_H=1 -DHAVE_JSON_C_JSON_H=1 -DHAVE_UV_H=1 -DHAVE_MICROHTTPD_H=1 -DHAVE_ALIGNED_ALLOC=1 -DHAVE_POSIX_MEMALIGN=1 -DHAVE_POSIX_FALLOCATE=1 -I. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -O3 -c -o bip39.lo bip39.c libtool: compile: gcc -DPACKAGE_NAME=\"libstorj\" -DPACKAGE_TARNAME=\"libstorj\" -DPACKAGE_VERSION=\"1.0.2\" "-DPACKAGE_STRING=\"libstorj 1.0.2\"" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"libstorj\" -DVERSION=\"1.0.2\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_CURL_CURL_H=1 -DHAVE_NETTLE_AES_H=1 -DHAVE_JSON_C_JSON_H=1 -DHAVE_UV_H=1 -DHAVE_MICROHTTPD_H=1 -DHAVE_ALIGNED_ALLOC=1 -DHAVE_POSIX_MEMALIGN=1 -DHAVE_POSIX_FALLOCATE=1 -I. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -O3 -c bip39.c -fPIC -DPIC -o .libs/bip39.o libtool: compile: gcc -DPACKAGE_NAME=\"libstorj\" -DPACKAGE_TARNAME=\"libstorj\" -DPACKAGE_VERSION=\"1.0.2\" "-DPACKAGE_STRING=\"libstorj 1.0.2\"" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"libstorj\" -DVERSION=\"1.0.2\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_CURL_CURL_H=1 -DHAVE_NETTLE_AES_H=1 -DHAVE_JSON_C_JSON_H=1 -DHAVE_UV_H=1 -DHAVE_MICROHTTPD_H=1 -DHAVE_ALIGNED_ALLOC=1 -DHAVE_POSIX_MEMALIGN=1 -DHAVE_POSIX_FALLOCATE=1 -I. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -O3 -c bip39.c -o bip39.o >/dev/null 2>&1 make[1]: Leaving directory '/builddir/build/BUILD/libstorj-1.0.2/src' make[1]: Entering directory '/builddir/build/BUILD/libstorj-1.0.2/src' gcc -DPACKAGE_NAME=\"libstorj\" -DPACKAGE_TARNAME=\"libstorj\" -DPACKAGE_VERSION=\"1.0.2\" -DPACKAGE_STRING=\"libstorj\ 1.0.2\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"libstorj\" -DVERSION=\"1.0.2\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_CURL_CURL_H=1 -DHAVE_NETTLE_AES_H=1 -DHAVE_JSON_C_JSON_H=1 -DHAVE_UV_H=1 -DHAVE_MICROHTTPD_H=1 -DHAVE_ALIGNED_ALLOC=1 -DHAVE_POSIX_MEMALIGN=1 -DHAVE_POSIX_FALLOCATE=1 -I. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -O3 -c -o cli.o cli.c cli.c: In function 'get_password': cli.c:257:16: warning: unused variable 'RETURN' [-Wunused-variable] const char RETURN = 13; ^~~~~~ cli.c: In function 'list_mirrors_callback': cli.c:558:25: warning: unused variable 'port' [-Wunused-variable] struct json_object *port; ^~~~ cli.c:557:25: warning: unused variable 'address' [-Wunused-variable] struct json_object *address; ^~~~~~~ cli.c:553:25: warning: unused variable 'available' [-Wunused-variable] struct json_object *available; ^~~~~~~~~ In file included from cli.c:17:0: At top level: storj.h:297:20: warning: 'BUCKET_OP' defined but not used [-Wunused-variable] static const char *BUCKET_OP[] = { "PUSH", "PULL" }; ^~~~~~~~~ make[1]: Leaving directory '/builddir/build/BUILD/libstorj-1.0.2/src' make[1]: Entering directory '/builddir/build/BUILD/libstorj-1.0.2/src' /bin/sh ../libtool --tag=CC --mode=compile gcc -DPACKAGE_NAME=\"libstorj\" -DPACKAGE_TARNAME=\"libstorj\" -DPACKAGE_VERSION=\"1.0.2\" -DPACKAGE_STRING=\"libstorj\ 1.0.2\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"libstorj\" -DVERSION=\"1.0.2\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_CURL_CURL_H=1 -DHAVE_NETTLE_AES_H=1 -DHAVE_JSON_C_JSON_H=1 -DHAVE_UV_H=1 -DHAVE_MICROHTTPD_H=1 -DHAVE_ALIGNED_ALLOC=1 -DHAVE_POSIX_MEMALIGN=1 -DHAVE_POSIX_FALLOCATE=1 -I. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -O3 -c -o rs.lo rs.c libtool: compile: gcc -DPACKAGE_NAME=\"libstorj\" -DPACKAGE_TARNAME=\"libstorj\" -DPACKAGE_VERSION=\"1.0.2\" "-DPACKAGE_STRING=\"libstorj 1.0.2\"" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"libstorj\" -DVERSION=\"1.0.2\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_CURL_CURL_H=1 -DHAVE_NETTLE_AES_H=1 -DHAVE_JSON_C_JSON_H=1 -DHAVE_UV_H=1 -DHAVE_MICROHTTPD_H=1 -DHAVE_ALIGNED_ALLOC=1 -DHAVE_POSIX_MEMALIGN=1 -DHAVE_POSIX_FALLOCATE=1 -I. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -O3 -c rs.c -fPIC -DPIC -o .libs/rs.o rs.c: In function 'reed_solomon_decode': rs.c:797:55: warning: variable 'nshards' set but not used [-Wunused-but-set-variable] int i, j, c, swap, subMatrixRow, dataShards, nos, nshards; ^~~~~~~ rs.c:797:50: warning: variable 'nos' set but not used [-Wunused-but-set-variable] int i, j, c, swap, subMatrixRow, dataShards, nos, nshards; ^~~ libtool: compile: gcc -DPACKAGE_NAME=\"libstorj\" -DPACKAGE_TARNAME=\"libstorj\" -DPACKAGE_VERSION=\"1.0.2\" "-DPACKAGE_STRING=\"libstorj 1.0.2\"" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"libstorj\" -DVERSION=\"1.0.2\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_CURL_CURL_H=1 -DHAVE_NETTLE_AES_H=1 -DHAVE_JSON_C_JSON_H=1 -DHAVE_UV_H=1 -DHAVE_MICROHTTPD_H=1 -DHAVE_ALIGNED_ALLOC=1 -DHAVE_POSIX_MEMALIGN=1 -DHAVE_POSIX_FALLOCATE=1 -I. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -O3 -c rs.c -o rs.o >/dev/null 2>&1 make[1]: Leaving directory '/builddir/build/BUILD/libstorj-1.0.2/src' make[1]: Entering directory '/builddir/build/BUILD/libstorj-1.0.2/src' /bin/sh ../libtool --tag=CC --mode=compile gcc -DPACKAGE_NAME=\"libstorj\" -DPACKAGE_TARNAME=\"libstorj\" -DPACKAGE_VERSION=\"1.0.2\" -DPACKAGE_STRING=\"libstorj\ 1.0.2\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"libstorj\" -DVERSION=\"1.0.2\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_CURL_CURL_H=1 -DHAVE_NETTLE_AES_H=1 -DHAVE_JSON_C_JSON_H=1 -DHAVE_UV_H=1 -DHAVE_MICROHTTPD_H=1 -DHAVE_ALIGNED_ALLOC=1 -DHAVE_POSIX_MEMALIGN=1 -DHAVE_POSIX_FALLOCATE=1 -I. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -O3 -c -o uploader.lo uploader.c libtool: compile: gcc -DPACKAGE_NAME=\"libstorj\" -DPACKAGE_TARNAME=\"libstorj\" -DPACKAGE_VERSION=\"1.0.2\" "-DPACKAGE_STRING=\"libstorj 1.0.2\"" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"libstorj\" -DVERSION=\"1.0.2\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_CURL_CURL_H=1 -DHAVE_NETTLE_AES_H=1 -DHAVE_JSON_C_JSON_H=1 -DHAVE_UV_H=1 -DHAVE_MICROHTTPD_H=1 -DHAVE_ALIGNED_ALLOC=1 -DHAVE_POSIX_MEMALIGN=1 -DHAVE_POSIX_FALLOCATE=1 -I. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -O3 -c uploader.c -fPIC -DPIC -o .libs/uploader.o uploader.c: In function 'prepare_bucket_entry_hmac': uploader.c:485:35: warning: pointer targets in passing argument 5 of 'nettle_base16_decode_update' differ in signedness [-Wpointer-sign] (uint8_t *)shard->meta->hash)) { ^ In file included from utils.h:14:0, from http.h:19, from uploader.h:10, from uploader.c:1: /usr/include/nettle/base16.h:96:1: note: expected 'const char *' but argument is of type 'uint8_t * {aka unsigned char *}' base16_decode_update(struct base16_decode_ctx *ctx, ^ uploader.c:505:26: warning: pointer targets in passing argument 1 of 'nettle_base16_encode_update' differ in signedness [-Wpointer-sign] base16_encode_update((uint8_t *)state->hmac_id, SHA512_DIGEST_SIZE, digest_raw); ^ In file included from utils.h:14:0, from http.h:19, from uploader.h:10, from uploader.c:1: /usr/include/nettle/base16.h:64:1: note: expected 'char *' but argument is of type 'uint8_t * {aka unsigned char *}' base16_encode_update(char *dst, ^ uploader.c: In function 'after_create_encrypted_file': uploader.c:1547:1: warning: label 'clean_variables' defined but not used [-Wunused-label] clean_variables: ^~~~~~~~~~~~~~~ uploader.c: In function 'after_create_parity_shards': uploader.c:1800:1: warning: label 'clean_variables' defined but not used [-Wunused-label] clean_variables: ^~~~~~~~~~~~~~~ uploader.c: In function 'create_tmp_name': uploader.c:2604:40: warning: pointer targets in passing argument 3 of 'nettle_sha256_update' differ in signedness [-Wpointer-sign] sha256_update(&ctx, file_name_len, state->encrypted_file_name); ^~~~~ In file included from /usr/include/nettle/sha.h:40:0, from http.h:11, from uploader.h:10, from uploader.c:1: /usr/include/nettle/sha2.h:85:1: note: expected 'const uint8_t * {aka const unsigned char *}' but argument is of type 'const char *' sha256_update(struct sha256_ctx *ctx, ^ uploader.c:2606:26: warning: pointer targets in passing argument 1 of 'nettle_base16_encode_update' differ in signedness [-Wpointer-sign] base16_encode_update(digest_encoded, SHA256_DIGEST_SIZE, digest); ^~~~~~~~~~~~~~ In file included from utils.h:14:0, from http.h:19, from uploader.h:10, from uploader.c:1: /usr/include/nettle/base16.h:64:1: note: expected 'char *' but argument is of type 'uint8_t * {aka unsigned char *}' base16_encode_update(char *dst, ^ In file included from uploader.c:1:0: uploader.c: At top level: uploader.h:133:12: warning: 'prepare_encryption_key' declared 'static' but never defined [-Wunused-function] static int prepare_encryption_key(storj_upload_state_t *state, ^~~~~~~~~~~~~~~~~~~~~~ uploader.h:157:13: warning: 'request_token' declared 'static' but never defined [-Wunused-function] static void request_token(uv_work_t *work); ^~~~~~~~~~~~~ uploader.h:166:13: warning: 'after_request_token' declared 'static' but never defined [-Wunused-function] static void after_request_token(uv_work_t *work, int status); ^~~~~~~~~~~~~~~~~~~ uploader.h:176:13: warning: 'queue_verify_file_id' declared 'static' but never defined [-Wunused-function] static void queue_verify_file_id(storj_upload_state_t *state); ^~~~~~~~~~~~~~~~~~~~ uploader.h:178:13: warning: 'verify_file_id_callback' declared 'static' but never defined [-Wunused-function] static void verify_file_id_callback(uv_work_t *work_req, int status); ^~~~~~~~~~~~~~~~~~~~~~~ uploader.c:3:13: warning: 'print_shard_info' defined but not used [-Wunused-function] static void print_shard_info(storj_upload_state_t *state, int index) { ^~~~~~~~~~~~~~~~ In file included from uploader.h:9:0, from uploader.c:1: storj.h:297:20: warning: 'BUCKET_OP' defined but not used [-Wunused-variable] static const char *BUCKET_OP[] = { "PUSH", "PULL" }; ^~~~~~~~~ uploader.c: In function 'create_parity_shards': uploader.c:1942:9: warning: 'parity_file' may be used uninitialized in this function [-Wmaybe-uninitialized] fclose(parity_file); ^~~~~~~~~~~~~~~~~~~ uploader.c:1938:9: warning: 'parity_size' may be used uninitialized in this function [-Wmaybe-uninitialized] unmap_file(map_parity, parity_size); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ uploader.c: In function 'prepare_frame': uploader.c:331:5: warning: 'encryption_ctx' may be used uninitialized in this function [-Wmaybe-uninitialized] free(ctx); ^~~~~~~~~ uploader.c:1388:29: note: 'encryption_ctx' was declared here storj_encryption_ctx_t *encryption_ctx = NULL; ^~~~~~~~~~~~~~ uploader.c: In function 'create_encrypted_file': uploader.c:1622:9: warning: 'encrypted_file' may be used uninitialized in this function [-Wmaybe-uninitialized] fclose(encrypted_file); ^~~~~~~~~~~~~~~~~~~~~~ libtool: compile: gcc -DPACKAGE_NAME=\"libstorj\" -DPACKAGE_TARNAME=\"libstorj\" -DPACKAGE_VERSION=\"1.0.2\" "-DPACKAGE_STRING=\"libstorj 1.0.2\"" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"libstorj\" -DVERSION=\"1.0.2\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_CURL_CURL_H=1 -DHAVE_NETTLE_AES_H=1 -DHAVE_JSON_C_JSON_H=1 -DHAVE_UV_H=1 -DHAVE_MICROHTTPD_H=1 -DHAVE_ALIGNED_ALLOC=1 -DHAVE_POSIX_MEMALIGN=1 -DHAVE_POSIX_FALLOCATE=1 -I. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -O3 -c uploader.c -o uploader.o >/dev/null 2>&1 make[1]: Leaving directory '/builddir/build/BUILD/libstorj-1.0.2/src' make[1]: Entering directory '/builddir/build/BUILD/libstorj-1.0.2/src' /bin/sh ../libtool --tag=CC --mode=link gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -O3 -Wall -Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o libstorj.la -rpath /usr/lib64 storj.lo utils.lo http.lo uploader.lo downloader.lo bip39.lo crypto.lo rs.lo -lcurl -lnettle -ljson-c -luv -lm libtool: link: gcc -shared -fPIC -DPIC .libs/storj.o .libs/utils.o .libs/http.o .libs/uploader.o .libs/downloader.o .libs/bip39.o .libs/crypto.o .libs/rs.o -lcurl -lnettle -ljson-c -luv -lm -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -O2 -g -fstack-protector-strong -grecord-gcc-switches -O3 -Wl,-z -Wl,relro -Wl,-soname -Wl,libstorj.so.0 -o .libs/libstorj.so.0.0.0 libtool: link: (cd ".libs" && rm -f "libstorj.so.0" && ln -s "libstorj.so.0.0.0" "libstorj.so.0") libtool: link: (cd ".libs" && rm -f "libstorj.so" && ln -s "libstorj.so.0.0.0" "libstorj.so") libtool: link: ar cru .libs/libstorj.a storj.o utils.o http.o uploader.o downloader.o bip39.o crypto.o rs.o libtool: link: ranlib .libs/libstorj.a libtool: link: ( cd ".libs" && rm -f "libstorj.la" && ln -s "../libstorj.la" "libstorj.la" ) make[1]: Leaving directory '/builddir/build/BUILD/libstorj-1.0.2/src' make[1]: Entering directory '/builddir/build/BUILD/libstorj-1.0.2/src' /bin/sh ../libtool --tag=CC --mode=link gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -O3 -Wall -static -Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o storj cli.o libstorj.la libtool: link: gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -O3 -Wall -Wl,-z -Wl,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o storj cli.o ./.libs/libstorj.a -lcurl -lnettle -ljson-c -luv -lm make[1]: Leaving directory '/builddir/build/BUILD/libstorj-1.0.2/src' Making all in . make[1]: Nothing to be done for 'all-am'. Making all in test make[1]: Entering directory '/builddir/build/BUILD/libstorj-1.0.2/test' Generated mockbridge.json.h make[1]: Leaving directory '/builddir/build/BUILD/libstorj-1.0.2/test' make[1]: Entering directory '/builddir/build/BUILD/libstorj-1.0.2/test' Generated mockbridgeinfo.json.h make[1]: Leaving directory '/builddir/build/BUILD/libstorj-1.0.2/test' make[1]: Entering directory '/builddir/build/BUILD/libstorj-1.0.2/test' gcc -DPACKAGE_NAME=\"libstorj\" -DPACKAGE_TARNAME=\"libstorj\" -DPACKAGE_VERSION=\"1.0.2\" -DPACKAGE_STRING=\"libstorj\ 1.0.2\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"libstorj\" -DVERSION=\"1.0.2\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_CURL_CURL_H=1 -DHAVE_NETTLE_AES_H=1 -DHAVE_JSON_C_JSON_H=1 -DHAVE_UV_H=1 -DHAVE_MICROHTTPD_H=1 -DHAVE_ALIGNED_ALLOC=1 -DHAVE_POSIX_MEMALIGN=1 -DHAVE_POSIX_FALLOCATE=1 -I. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -O3 -c -o mockfarmer.o mockfarmer.c mockfarmer.c: In function 'setup_test_farmer_data': mockfarmer.c:57:24: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] data_blocks[i] = data + i * shard_bytes; ^ mockfarmer.c:67:23: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] fec_blocks[i] = data + (total_data_shards + i) * shard_bytes; ^ mockfarmer.c: In function 'mock_farmer_shard_server': mockfarmer.c:96:17: warning: unused variable 'encoding' [-Wunused-variable] const char *encoding = MHD_lookup_connection_value(connection, ^~~~~~~~ In file included from storjtests.h:4:0, from mockfarmer.c:5: At top level: ../src/storj.h:297:20: warning: 'BUCKET_OP' defined but not used [-Wunused-variable] static const char *BUCKET_OP[] = { "PUSH", "PULL" }; ^~~~~~~~~ make[1]: Leaving directory '/builddir/build/BUILD/libstorj-1.0.2/test' make[1]: Entering directory '/builddir/build/BUILD/libstorj-1.0.2/test' gcc -DPACKAGE_NAME=\"libstorj\" -DPACKAGE_TARNAME=\"libstorj\" -DPACKAGE_VERSION=\"1.0.2\" -DPACKAGE_STRING=\"libstorj\ 1.0.2\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"libstorj\" -DVERSION=\"1.0.2\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_CURL_CURL_H=1 -DHAVE_NETTLE_AES_H=1 -DHAVE_JSON_C_JSON_H=1 -DHAVE_UV_H=1 -DHAVE_MICROHTTPD_H=1 -DHAVE_ALIGNED_ALLOC=1 -DHAVE_POSIX_MEMALIGN=1 -DHAVE_POSIX_FALLOCATE=1 -I. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -O3 -c -o mockbridge.o mockbridge.c In file included from storjtests.h:4:0, from mockbridge.c:1: ../src/storj.h:297:20: warning: 'BUCKET_OP' defined but not used [-Wunused-variable] static const char *BUCKET_OP[] = { "PUSH", "PULL" }; ^~~~~~~~~ make[1]: Leaving directory '/builddir/build/BUILD/libstorj-1.0.2/test' make[1]: Entering directory '/builddir/build/BUILD/libstorj-1.0.2/test' gcc -DPACKAGE_NAME=\"libstorj\" -DPACKAGE_TARNAME=\"libstorj\" -DPACKAGE_VERSION=\"1.0.2\" -DPACKAGE_STRING=\"libstorj\ 1.0.2\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"libstorj\" -DVERSION=\"1.0.2\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_CURL_CURL_H=1 -DHAVE_NETTLE_AES_H=1 -DHAVE_JSON_C_JSON_H=1 -DHAVE_UV_H=1 -DHAVE_MICROHTTPD_H=1 -DHAVE_ALIGNED_ALLOC=1 -DHAVE_POSIX_MEMALIGN=1 -DHAVE_POSIX_FALLOCATE=1 -I. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -O3 -c -o tests.o tests.c tests.c: In function 'test_generate_file_key': tests.c:1124:11: warning: unused variable 'file_name' [-Wunused-variable] char *file_name = "samplefile.txt"; ^~~~~~~~~ In file included from storjtests.h:4:0, from tests.c:1: At top level: ../src/storj.h:297:20: warning: 'BUCKET_OP' defined but not used [-Wunused-variable] static const char *BUCKET_OP[] = { "PUSH", "PULL" }; ^~~~~~~~~ make[1]: Leaving directory '/builddir/build/BUILD/libstorj-1.0.2/test' make[1]: Entering directory '/builddir/build/BUILD/libstorj-1.0.2/test' /bin/sh ../libtool --tag=CC --mode=link gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -O3 -Wall -g -static -lmicrohttpd -Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o tests mockbridge.o mockfarmer.o tests.o ../src/libstorj.la libtool: link: gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -O3 -Wall -g -Wl,-z -Wl,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o tests mockbridge.o mockfarmer.o tests.o -lmicrohttpd ../src/.libs/libstorj.a -lcurl -lnettle -ljson-c -luv -lm make[1]: Leaving directory '/builddir/build/BUILD/libstorj-1.0.2/test' make[1]: Entering directory '/builddir/build/BUILD/libstorj-1.0.2/test' gcc -DPACKAGE_NAME=\"libstorj\" -DPACKAGE_TARNAME=\"libstorj\" -DPACKAGE_VERSION=\"1.0.2\" -DPACKAGE_STRING=\"libstorj\ 1.0.2\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"libstorj\" -DVERSION=\"1.0.2\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_CURL_CURL_H=1 -DHAVE_NETTLE_AES_H=1 -DHAVE_JSON_C_JSON_H=1 -DHAVE_UV_H=1 -DHAVE_MICROHTTPD_H=1 -DHAVE_ALIGNED_ALLOC=1 -DHAVE_POSIX_MEMALIGN=1 -DHAVE_POSIX_FALLOCATE=1 -I. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -O3 -c -o tests_rs.o tests_rs.c In file included from tests_rs.c:36:0: ../src/rs.c: In function 'reed_solomon_decode': ../src/rs.c:797:55: warning: variable 'nshards' set but not used [-Wunused-but-set-variable] int i, j, c, swap, subMatrixRow, dataShards, nos, nshards; ^~~~~~~ ../src/rs.c:797:50: warning: variable 'nos' set but not used [-Wunused-but-set-variable] int i, j, c, swap, subMatrixRow, dataShards, nos, nshards; ^~~ At top level: ../src/rs.c:509:18: warning: 'rdtsc' defined but not used [-Wunused-function] static long long rdtsc(void) ^~~~~ make[1]: Leaving directory '/builddir/build/BUILD/libstorj-1.0.2/test' make[1]: Entering directory '/builddir/build/BUILD/libstorj-1.0.2/test' /bin/sh ../libtool --tag=CC --mode=link gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -O3 -Wall -g -Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o tests_rs tests_rs.o libtool: link: gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -O3 -Wall -g -Wl,-z -Wl,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o tests_rs tests_rs.o make[1]: Leaving directory '/builddir/build/BUILD/libstorj-1.0.2/test' + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.OLA7hq + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/libstorj-1.0.2-2.fc28.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/libstorj-1.0.2-2.fc28.riscv64 ++ dirname /builddir/build/BUILDROOT/libstorj-1.0.2-2.fc28.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/libstorj-1.0.2-2.fc28.riscv64 + cd libstorj-1.0.2 + /usr/bin/make install DESTDIR=/builddir/build/BUILDROOT/libstorj-1.0.2-2.fc28.riscv64 'INSTALL=/usr/bin/install -p' Making install in src make[1]: Entering directory '/builddir/build/BUILD/libstorj-1.0.2/src' make[2]: Entering directory '/builddir/build/BUILD/libstorj-1.0.2/src' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/libstorj-1.0.2-2.fc28.riscv64/usr/lib64' /bin/sh ../libtool --mode=install /usr/bin/install -p libstorj.la '/builddir/build/BUILDROOT/libstorj-1.0.2-2.fc28.riscv64/usr/lib64' libtool: install: /usr/bin/install -p .libs/libstorj.so.0.0.0 /builddir/build/BUILDROOT/libstorj-1.0.2-2.fc28.riscv64/usr/lib64/libstorj.so.0.0.0 libtool: install: (cd /builddir/build/BUILDROOT/libstorj-1.0.2-2.fc28.riscv64/usr/lib64 && { ln -s -f libstorj.so.0.0.0 libstorj.so.0 || { rm -f libstorj.so.0 && ln -s libstorj.so.0.0.0 libstorj.so.0; }; }) libtool: install: (cd /builddir/build/BUILDROOT/libstorj-1.0.2-2.fc28.riscv64/usr/lib64 && { ln -s -f libstorj.so.0.0.0 libstorj.so || { rm -f libstorj.so && ln -s libstorj.so.0.0.0 libstorj.so; }; }) libtool: install: /usr/bin/install -p .libs/libstorj.lai /builddir/build/BUILDROOT/libstorj-1.0.2-2.fc28.riscv64/usr/lib64/libstorj.la libtool: install: /usr/bin/install -p .libs/libstorj.a /builddir/build/BUILDROOT/libstorj-1.0.2-2.fc28.riscv64/usr/lib64/libstorj.a libtool: install: chmod 644 /builddir/build/BUILDROOT/libstorj-1.0.2-2.fc28.riscv64/usr/lib64/libstorj.a libtool: install: ranlib /builddir/build/BUILDROOT/libstorj-1.0.2-2.fc28.riscv64/usr/lib64/libstorj.a libtool: warning: remember to run 'libtool --finish /usr/lib64' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/libstorj-1.0.2-2.fc28.riscv64/usr/bin' /bin/sh ../libtool --mode=install /usr/bin/install -p storj '/builddir/build/BUILDROOT/libstorj-1.0.2-2.fc28.riscv64/usr/bin' libtool: install: /usr/bin/install -p storj /builddir/build/BUILDROOT/libstorj-1.0.2-2.fc28.riscv64/usr/bin/storj /usr/bin/mkdir -p '/builddir/build/BUILDROOT/libstorj-1.0.2-2.fc28.riscv64/usr/include' /usr/bin/install -p -m 644 storj.h '/builddir/build/BUILDROOT/libstorj-1.0.2-2.fc28.riscv64/usr/include' make[2]: Leaving directory '/builddir/build/BUILD/libstorj-1.0.2/src' make[1]: Leaving directory '/builddir/build/BUILD/libstorj-1.0.2/src' Making install in . make[1]: Entering directory '/builddir/build/BUILD/libstorj-1.0.2' make[2]: Entering directory '/builddir/build/BUILD/libstorj-1.0.2' make[2]: Nothing to be done for 'install-exec-am'. /usr/bin/mkdir -p '/builddir/build/BUILDROOT/libstorj-1.0.2-2.fc28.riscv64/usr/lib64/pkgconfig' /usr/bin/install -p -m 644 libstorj.pc '/builddir/build/BUILDROOT/libstorj-1.0.2-2.fc28.riscv64/usr/lib64/pkgconfig' make[2]: Leaving directory '/builddir/build/BUILD/libstorj-1.0.2' make[1]: Leaving directory '/builddir/build/BUILD/libstorj-1.0.2' Making install in test make[1]: Entering directory '/builddir/build/BUILD/libstorj-1.0.2/test' make[2]: Entering directory '/builddir/build/BUILD/libstorj-1.0.2/test' make[2]: Nothing to be done for 'install-exec-am'. make[2]: Nothing to be done for 'install-data-am'. make[2]: Leaving directory '/builddir/build/BUILD/libstorj-1.0.2/test' make[1]: Leaving directory '/builddir/build/BUILD/libstorj-1.0.2/test' + rm -f /builddir/build/BUILDROOT/libstorj-1.0.2-2.fc28.riscv64//usr/lib64/libstorj.a /builddir/build/BUILDROOT/libstorj-1.0.2-2.fc28.riscv64//usr/lib64/libstorj.la + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig /sbin/ldconfig: Warning: ignoring configuration file that cannot be opened: /etc/ld.so.conf: No such file or directory + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-strip /usr/bin/strip + /usr/lib/rpm/brp-strip-comment-note /usr/bin/strip /usr/bin/objdump + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile /usr/bin/python 1 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs Processing files: libstorj-1.0.2-2.fc28.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.HSW4e5 + umask 022 + cd /builddir/build/BUILD + cd libstorj-1.0.2 + DOCDIR=/builddir/build/BUILDROOT/libstorj-1.0.2-2.fc28.riscv64/usr/share/doc/libstorj + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/libstorj-1.0.2-2.fc28.riscv64/usr/share/doc/libstorj + cp -pr README.md /builddir/build/BUILDROOT/libstorj-1.0.2-2.fc28.riscv64/usr/share/doc/libstorj + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.ULMh17 + umask 022 + cd /builddir/build/BUILD + cd libstorj-1.0.2 + LICENSEDIR=/builddir/build/BUILDROOT/libstorj-1.0.2-2.fc28.riscv64/usr/share/licenses/libstorj + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/libstorj-1.0.2-2.fc28.riscv64/usr/share/licenses/libstorj + cp -pr LICENSE /builddir/build/BUILDROOT/libstorj-1.0.2-2.fc28.riscv64/usr/share/licenses/libstorj + exit 0 Provides: libstorj = 1.0.2-2.fc28 libstorj(riscv-64) = 1.0.2-2.fc28 libstorj.so.0()(64bit) Requires(interp): /sbin/ldconfig /sbin/ldconfig Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires(post): /sbin/ldconfig Requires(postun): /sbin/ldconfig Requires: ld-linux-riscv64-lp64d.so.1()(64bit) ld-linux-riscv64-lp64d.so.1(GLIBC_2.27)(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.27)(64bit) libcurl.so.4()(64bit) libjson-c.so.3()(64bit) libm.so.6()(64bit) libm.so.6(GLIBC_2.27)(64bit) libnettle.so.6()(64bit) libnettle.so.6(NETTLE_6)(64bit) libuv.so.1()(64bit) rtld(GNU_HASH) Processing files: libstorj-devel-1.0.2-2.fc28.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.o0BHlw + umask 022 + cd /builddir/build/BUILD + cd libstorj-1.0.2 + DOCDIR=/builddir/build/BUILDROOT/libstorj-1.0.2-2.fc28.riscv64/usr/share/doc/libstorj-devel + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/libstorj-1.0.2-2.fc28.riscv64/usr/share/doc/libstorj-devel + cp -pr README.md /builddir/build/BUILDROOT/libstorj-1.0.2-2.fc28.riscv64/usr/share/doc/libstorj-devel + exit 0 Provides: libstorj-devel = 1.0.2-2.fc28 libstorj-devel(riscv-64) = 1.0.2-2.fc28 pkgconfig(libstorj) = 1.0.2 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: /usr/bin/pkg-config libstorj.so.0()(64bit) pkgconfig(json-c) pkgconfig(libcurl) pkgconfig(libuv) pkgconfig(nettle) Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/libstorj-1.0.2-2.fc28.riscv64 Wrote: /builddir/build/SRPMS/libstorj-1.0.2-2.fc28.src.rpm Wrote: /builddir/build/RPMS/riscv64/libstorj-1.0.2-2.fc28.riscv64.rpm Wrote: /builddir/build/RPMS/riscv64/libstorj-devel-1.0.2-2.fc28.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.cw8oGs + umask 022 + cd /builddir/build/BUILD + cd libstorj-1.0.2 + /usr/bin/rm -rf /builddir/build/BUILDROOT/libstorj-1.0.2-2.fc28.riscv64 + exit 0 + touch /buildok + cleanup + set +e + sync + sleep 5 + sync + poweroff Terminated ++ cleanup ++ set +e ++ sync ++ sleep 5 +++ cleanup +++ set +e +++ sync +++ sleep 5 +++ sync +++ poweroff