Diff of the two buildlogs: -- --- b1/build.log 2023-04-08 17:38:32.911244508 +0000 +++ b2/build.log 2023-04-08 17:39:51.608637012 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Sat Apr 8 05:36:50 -12 2023 -I: pbuilder-time-stamp: 1680975410 +I: Current time: Sat May 11 14:01:35 +14 2024 +I: pbuilder-time-stamp: 1715385695 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/bookworm-reproducible-base.tgz] I: copying local configuration @@ -16,7 +16,7 @@ I: copying [./libstorj_1.0.3.orig.tar.gz] I: copying [./libstorj_1.0.3-1.2.debian.tar.xz] I: Extracting source -gpgv: Signature made Mon Oct 11 19:04:37 2021 -12 +gpgv: Signature made Tue Oct 12 21:04:37 2021 +14 gpgv: using EDDSA key 83DCD17F44B22CC83656EDA1E8446B4AC8C77261 gpgv: Can't check signature: No public key dpkg-source: warning: cannot verify inline signature for ./libstorj_1.0.3-1.2.dsc: no acceptable signature found @@ -27,11 +27,20 @@ dpkg-source: info: applying ftbfs-pbkdf2.patch I: Not using root during the build. I: Installing the build-deps -I: user script /srv/workspace/pbuilder/28134/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/20056/tmp/hooks/D01_modify_environment starting +debug: Running on codethink15-arm64. +I: Changing host+domainname to test build reproducibility +I: Adding a custom variable just for the fun of it... +I: Changing /bin/sh to bash +lrwxrwxrwx 1 root root 4 Jan 6 2023 /bin/sh -> dash +I: Setting pbuilder2's login shell to /bin/bash +I: Setting pbuilder2's GECOS to second user,second room,second work-phone,second home-phone,second other +I: user script /srv/workspace/pbuilder/20056/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/20056/tmp/hooks/D02_print_environment starting I: set BUILDDIR='/build' - BUILDUSERGECOS='first user,first room,first work-phone,first home-phone,first other' - BUILDUSERNAME='pbuilder1' + BUILDUSERGECOS='second user,second room,second work-phone,second home-phone,second other' + BUILDUSERNAME='pbuilder2' BUILD_ARCH='arm64' DEBIAN_FRONTEND='noninteractive' DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=8' @@ -41,38 +50,38 @@ IFS=' ' LANG='C' - LANGUAGE='en_US:en' + LANGUAGE='nl_BE:nl' LC_ALL='C' MAIL='/var/mail/root' OPTIND='1' - PATH='/usr/sbin:/usr/bin:/sbin:/bin:/usr/games' + PATH='/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path' PBCURRENTCOMMANDLINEOPERATION='build' PBUILDER_OPERATION='build' PBUILDER_PKGDATADIR='/usr/share/pbuilder' PBUILDER_PKGLIBDIR='/usr/lib/pbuilder' PBUILDER_SYSCONFDIR='/etc' - PPID='28134' + PPID='20056' PS1='# ' PS2='> ' PS4='+ ' PWD='/' SHELL='/bin/bash' SHLVL='2' - SUDO_COMMAND='/usr/bin/timeout -k 18.1h 18h /usr/bin/ionice -c 3 /usr/bin/nice /usr/sbin/pbuilder --build --configfile /srv/reproducible-results/rbuild-debian/r-b-build.f3eEYROK/pbuilderrc_t2ez --distribution bookworm --hookdir /etc/pbuilder/first-build-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/bookworm-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.f3eEYROK/b1 --logfile b1/build.log libstorj_1.0.3-1.2.dsc' + SUDO_COMMAND='/usr/bin/timeout -k 24.1h 24h /usr/bin/ionice -c 3 /usr/bin/nice -n 11 /usr/bin/unshare --uts -- /usr/sbin/pbuilder --build --configfile /srv/reproducible-results/rbuild-debian/r-b-build.f3eEYROK/pbuilderrc_7qmq --distribution bookworm --hookdir /etc/pbuilder/rebuild-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/bookworm-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.f3eEYROK/b2 --logfile b2/build.log --extrapackages usrmerge libstorj_1.0.3-1.2.dsc' SUDO_GID='117' SUDO_UID='110' SUDO_USER='jenkins' TERM='unknown' - TZ='/usr/share/zoneinfo/Etc/GMT+12' + TZ='/usr/share/zoneinfo/Etc/GMT-14' USER='root' USERNAME='root' _='/usr/bin/systemd-run' http_proxy='http://192.168.101.16:3128' I: uname -a - Linux codethink16-arm64 4.15.0-208-generic #220-Ubuntu SMP Mon Mar 20 14:28:12 UTC 2023 aarch64 GNU/Linux + Linux i-capture-the-hostname 4.15.0-208-generic #220-Ubuntu SMP Mon Mar 20 14:28:12 UTC 2023 aarch64 GNU/Linux I: ls -l /bin - lrwxrwxrwx 1 root root 7 Apr 7 22:25 /bin -> usr/bin -I: user script /srv/workspace/pbuilder/28134/tmp/hooks/D02_print_environment finished + lrwxrwxrwx 1 root root 7 May 10 06:47 /bin -> usr/bin +I: user script /srv/workspace/pbuilder/20056/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -186,7 +195,7 @@ Get: 62 http://deb.debian.org/debian bookworm/main arm64 pkgconf-bin arm64 1.8.1-1 [28.9 kB] Get: 63 http://deb.debian.org/debian bookworm/main arm64 pkgconf arm64 1.8.1-1 [25.9 kB] Get: 64 http://deb.debian.org/debian bookworm/main arm64 pkg-config arm64 1.8.1-1 [13.7 kB] -Fetched 26.4 MB in 2s (12.9 MB/s) +Fetched 26.4 MB in 1s (43.1 MB/s) debconf: delaying package configuration, since apt-utils is not installed Selecting previously unselected package sensible-utils. (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 19616 files and directories currently installed.) @@ -456,8 +465,17 @@ Writing extended state information... Building tag database... -> Finished parsing the build-deps +Reading package lists... +Building dependency tree... +Reading state information... +usrmerge is already the newest version (35). +0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. I: Building the package -I: Running cd /build/libstorj-1.0.3/ && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games" HOME="/nonexistent/first-build" dpkg-buildpackage -us -uc -b && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games" HOME="/nonexistent/first-build" dpkg-genchanges -S > ../libstorj_1.0.3-1.2_source.changes +I: user script /srv/workspace/pbuilder/20056/tmp/hooks/A99_set_merged_usr starting +Re-configuring usrmerge... +I: user script /srv/workspace/pbuilder/20056/tmp/hooks/A99_set_merged_usr finished +hostname: Temporary failure in name resolution +I: Running cd /build/libstorj-1.0.3/ && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path" HOME="/nonexistent/second-build" dpkg-buildpackage -us -uc -b && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path" HOME="/nonexistent/second-build" dpkg-genchanges -S > ../libstorj_1.0.3-1.2_source.changes dpkg-buildpackage: info: source package libstorj dpkg-buildpackage: info: source version 1.0.3-1.2 dpkg-buildpackage: info: source distribution unstable @@ -612,12 +630,11 @@ /bin/bash ../libtool --tag=CC --mode=compile gcc -DPACKAGE_NAME=\"libstorj\" -DPACKAGE_TARNAME=\"libstorj\" -DPACKAGE_VERSION=\"1.0.3\" -DPACKAGE_STRING=\"libstorj\ 1.0.3\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"libstorj\" -DVERSION=\"1.0.3\" -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=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. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/libstorj-1.0.3=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -O3 -c -o bip39.lo bip39.c /bin/bash ../libtool --tag=CC --mode=compile gcc -DPACKAGE_NAME=\"libstorj\" -DPACKAGE_TARNAME=\"libstorj\" -DPACKAGE_VERSION=\"1.0.3\" -DPACKAGE_STRING=\"libstorj\ 1.0.3\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"libstorj\" -DVERSION=\"1.0.3\" -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=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. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/libstorj-1.0.3=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -O3 -c -o crypto.lo crypto.c libtool: compile: gcc -DPACKAGE_NAME=\"libstorj\" -DPACKAGE_TARNAME=\"libstorj\" -DPACKAGE_VERSION=\"1.0.3\" "-DPACKAGE_STRING=\"libstorj 1.0.3\"" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"libstorj\" -DVERSION=\"1.0.3\" -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=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. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/libstorj-1.0.3=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -O3 -c storj.c -fPIC -DPIC -o .libs/storj.o -libtool: compile: gcc -DPACKAGE_NAME=\"libstorj\" -DPACKAGE_TARNAME=\"libstorj\" -DPACKAGE_VERSION=\"1.0.3\" "-DPACKAGE_STRING=\"libstorj 1.0.3\"" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"libstorj\" -DVERSION=\"1.0.3\" -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=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. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/libstorj-1.0.3=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -O3 -c utils.c -fPIC -DPIC -o .libs/utils.o -libtool: compile: gcc -DPACKAGE_NAME=\"libstorj\" -DPACKAGE_TARNAME=\"libstorj\" -DPACKAGE_VERSION=\"1.0.3\" "-DPACKAGE_STRING=\"libstorj 1.0.3\"" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"libstorj\" -DVERSION=\"1.0.3\" -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=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. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/libstorj-1.0.3=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -O3 -c bip39.c -fPIC -DPIC -o .libs/bip39.o -libtool: compile: gcc -DPACKAGE_NAME=\"libstorj\" -DPACKAGE_TARNAME=\"libstorj\" -DPACKAGE_VERSION=\"1.0.3\" "-DPACKAGE_STRING=\"libstorj 1.0.3\"" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"libstorj\" -DVERSION=\"1.0.3\" -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=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. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/libstorj-1.0.3=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -O3 -c http.c -fPIC -DPIC -o .libs/http.o -libtool: compile: gcc -DPACKAGE_NAME=\"libstorj\" -DPACKAGE_TARNAME=\"libstorj\" -DPACKAGE_VERSION=\"1.0.3\" "-DPACKAGE_STRING=\"libstorj 1.0.3\"" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"libstorj\" -DVERSION=\"1.0.3\" -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=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. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/libstorj-1.0.3=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -O3 -c downloader.c -fPIC -DPIC -o .libs/downloader.o libtool: compile: gcc -DPACKAGE_NAME=\"libstorj\" -DPACKAGE_TARNAME=\"libstorj\" -DPACKAGE_VERSION=\"1.0.3\" "-DPACKAGE_STRING=\"libstorj 1.0.3\"" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"libstorj\" -DVERSION=\"1.0.3\" -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=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. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/libstorj-1.0.3=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -O3 -c uploader.c -fPIC -DPIC -o .libs/uploader.o +libtool: compile: gcc -DPACKAGE_NAME=\"libstorj\" -DPACKAGE_TARNAME=\"libstorj\" -DPACKAGE_VERSION=\"1.0.3\" "-DPACKAGE_STRING=\"libstorj 1.0.3\"" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"libstorj\" -DVERSION=\"1.0.3\" -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=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. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/libstorj-1.0.3=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -O3 -c http.c -fPIC -DPIC -o .libs/http.o +libtool: compile: gcc -DPACKAGE_NAME=\"libstorj\" -DPACKAGE_TARNAME=\"libstorj\" -DPACKAGE_VERSION=\"1.0.3\" "-DPACKAGE_STRING=\"libstorj 1.0.3\"" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"libstorj\" -DVERSION=\"1.0.3\" -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=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. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/libstorj-1.0.3=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -O3 -c utils.c -fPIC -DPIC -o .libs/utils.o libtool: compile: gcc -DPACKAGE_NAME=\"libstorj\" -DPACKAGE_TARNAME=\"libstorj\" -DPACKAGE_VERSION=\"1.0.3\" "-DPACKAGE_STRING=\"libstorj 1.0.3\"" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"libstorj\" -DVERSION=\"1.0.3\" -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=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. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/libstorj-1.0.3=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -O3 -c crypto.c -fPIC -DPIC -o .libs/crypto.o +libtool: compile: gcc -DPACKAGE_NAME=\"libstorj\" -DPACKAGE_TARNAME=\"libstorj\" -DPACKAGE_VERSION=\"1.0.3\" "-DPACKAGE_STRING=\"libstorj 1.0.3\"" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"libstorj\" -DVERSION=\"1.0.3\" -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=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. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/libstorj-1.0.3=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -O3 -c downloader.c -fPIC -DPIC -o .libs/downloader.o cli.c:33:29: warning: ISO C does not allow extra ';' outside of a function [-Wpedantic] 33 | static inline void noop() {}; | ^ @@ -625,6 +642,7 @@ cli.c:257:16: warning: unused variable 'RETURN' [-Wunused-variable] 257 | const char RETURN = 13; | ^~~~~~ +libtool: compile: gcc -DPACKAGE_NAME=\"libstorj\" -DPACKAGE_TARNAME=\"libstorj\" -DPACKAGE_VERSION=\"1.0.3\" "-DPACKAGE_STRING=\"libstorj 1.0.3\"" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"libstorj\" -DVERSION=\"1.0.3\" -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=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. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/libstorj-1.0.3=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -O3 -c bip39.c -fPIC -DPIC -o .libs/bip39.o cli.c: In function 'list_mirrors_callback': cli.c:558:25: warning: unused variable 'port' [-Wunused-variable] 558 | struct json_object *port; @@ -640,61 +658,9 @@ storj.h:297:20: warning: 'BUCKET_OP' defined but not used [-Wunused-variable] 297 | static const char *BUCKET_OP[] = { "PUSH", "PULL" }; | ^~~~~~~~~ -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] - 441 | size_t out_len = base64_encode_update(&ctx3, (uint8_t *)*buffer_base64, - | ^~~~~~~~~~~~~~~~~~~~~~~~~ - | | - | uint8_t * {aka unsigned char *} -In file included from crypto.h:17, - from crypto.c:1: -/usr/include/nettle/base64.h:99:28: note: expected 'char *' but argument is of type 'uint8_t *' {aka 'unsigned char *'} - 99 | char *dst, - | ~~~~~~^~~ -crypto.c:443:69: warning: pointer targets in passing argument 2 of 'nettle_base64_encode_final' differ in signedness [-Wpointer-sign] - 443 | out_len += base64_encode_final(&ctx3, (uint8_t *)*buffer_base64 + out_len); - | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ - | | - | uint8_t * {aka unsigned char *} -/usr/include/nettle/base64.h:107:27: note: expected 'char *' but argument is of type 'uint8_t *' {aka 'unsigned char *'} - 107 | char *dst); - | ~~~~~~^~~ -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] - 463 | strlen(buffer_base64), (uint8_t *)buffer_base64)) { - | ^~~~~~~~~~~~~~~~~~~~~~~~ - | | - | uint8_t * {aka unsigned char *} -/usr/include/nettle/base64.h:162:34: note: expected 'const char *' but argument is of type 'uint8_t *' {aka 'unsigned char *'} - 162 | const char *src); - | ~~~~~~~~~~~~^~~ storj.c:6:29: warning: ISO C does not allow extra ';' outside of a function [-Wpedantic] 6 | static inline void noop() {}; | ^ -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] - 11 | base16_encode_update(result, length, data); - | ^~~~~~ - | | - | uint8_t * {aka unsigned char *} -In file included from utils.h:14, - from utils.c:1: -/usr/include/nettle/base16.h:64:28: note: expected 'char *' but argument is of type 'uint8_t *' {aka 'unsigned char *'} - 64 | 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] - 40 | length, (uint8_t *)data)) { - | ^~~~~~~~~~~~~~~ - | | - | uint8_t * {aka unsigned char *} -/usr/include/nettle/base16.h:100:34: note: expected 'const char *' but argument is of type 'uint8_t *' {aka 'unsigned char *'} - 100 | const char *src); - | ~~~~~~~~~~~~^~~ -utils.c: At top level: -utils.c:106:2: warning: ISO C does not allow extra ';' outside of a function [-Wpedantic] - 106 | }; - | ^ storj.c: In function 'storj_encrypt_auth': storj.c:802:9: warning: unused variable 'mnemonic_length' [-Wunused-variable] 802 | int mnemonic_length = strlen(mnemonic); @@ -732,10 +698,6 @@ 1795 | clean_variables: | ^~~~~~~~~~~~~~~ uploader.c: In function 'queue_next_work': -downloader.c: In function 'request_replace_pointer': -downloader.c:84:9: warning: unused variable 'excluded_farmer_ids_len' [-Wunused-variable] - 84 | int excluded_farmer_ids_len = (req->excluded_farmer_ids) ? strlen(req->excluded_farmer_ids) : 0; - | ^~~~~~~~~~~~~~~~~~~~~~~ uploader.c:2297:16: warning: ISO C forbids 'return' with expression, in function returning void [-Wpedantic] 2297 | return cleanup_state(state); | ^~~~~~~~~~~~~~~~~~~~ @@ -789,6 +751,76 @@ uploader.h:178:13: warning: 'verify_file_id_callback' declared 'static' but never defined [-Wunused-function] 178 | 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] + 3 | static void print_shard_info(storj_upload_state_t *state, int index) { + | ^~~~~~~~~~~~~~~~ +In file included from uploader.h:9: +storj.h:297:20: warning: 'BUCKET_OP' defined but not used [-Wunused-variable] + 297 | static const char *BUCKET_OP[] = { "PUSH", "PULL" }; + | ^~~~~~~~~ +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] + 11 | base16_encode_update(result, length, data); + | ^~~~~~ + | | + | uint8_t * {aka unsigned char *} +In file included from utils.h:14, + from utils.c:1: +/usr/include/nettle/base16.h:64:28: note: expected 'char *' but argument is of type 'uint8_t *' {aka 'unsigned char *'} + 64 | 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] + 40 | length, (uint8_t *)data)) { + | ^~~~~~~~~~~~~~~ + | | + | uint8_t * {aka unsigned char *} +/usr/include/nettle/base16.h:100:34: note: expected 'const char *' but argument is of type 'uint8_t *' {aka 'unsigned char *'} + 100 | const char *src); + | ~~~~~~~~~~~~^~~ +utils.c: At top level: +utils.c:106:2: warning: ISO C does not allow extra ';' outside of a function [-Wpedantic] + 106 | }; + | ^ +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] + 441 | size_t out_len = base64_encode_update(&ctx3, (uint8_t *)*buffer_base64, + | ^~~~~~~~~~~~~~~~~~~~~~~~~ + | | + | uint8_t * {aka unsigned char *} +In file included from crypto.h:17, + from crypto.c:1: +/usr/include/nettle/base64.h:99:28: note: expected 'char *' but argument is of type 'uint8_t *' {aka 'unsigned char *'} + 99 | char *dst, + | ~~~~~~^~~ +crypto.c:443:69: warning: pointer targets in passing argument 2 of 'nettle_base64_encode_final' differ in signedness [-Wpointer-sign] + 443 | out_len += base64_encode_final(&ctx3, (uint8_t *)*buffer_base64 + out_len); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ + | | + | uint8_t * {aka unsigned char *} +/usr/include/nettle/base64.h:107:27: note: expected 'char *' but argument is of type 'uint8_t *' {aka 'unsigned char *'} + 107 | char *dst); + | ~~~~~~^~~ +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] + 463 | strlen(buffer_base64), (uint8_t *)buffer_base64)) { + | ^~~~~~~~~~~~~~~~~~~~~~~~ + | | + | uint8_t * {aka unsigned char *} +/usr/include/nettle/base64.h:162:34: note: expected 'const char *' but argument is of type 'uint8_t *' {aka 'unsigned char *'} + 162 | const char *src); + | ~~~~~~~~~~~~^~~ +cli.c: In function 'get_info_callback': +cli.c:962:16: warning: pointer 'req' used after 'free' [-Wuse-after-free] + 962 | if (req->error_code) { + | ~~~^~~~~~~~~~~~ +cli.c:960:9: note: call to 'free' here + 960 | free(req); + | ^~~~~~~~~ +downloader.c: In function 'request_replace_pointer': +downloader.c:84:9: warning: unused variable 'excluded_farmer_ids_len' [-Wunused-variable] + 84 | int excluded_farmer_ids_len = (req->excluded_farmer_ids) ? strlen(req->excluded_farmer_ids) : 0; + | ^~~~~~~~~~~~~~~~~~~~~~~ downloader.c: In function 'prepare_file_hmac': downloader.c:1385:35: warning: pointer targets in passing argument 5 of 'nettle_base16_decode_update' differ in signedness [-Wpointer-sign] 1385 | (uint8_t *)pointer->shard_hash)) { @@ -810,13 +842,7 @@ /usr/include/nettle/base16.h:64:28: note: expected 'char *' but argument is of type 'uint8_t *' {aka 'unsigned char *'} 64 | base16_encode_update(char *dst, | ~~~~~~^~~ -uploader.c:3:13: warning: 'print_shard_info' defined but not used [-Wunused-function] - 3 | static void print_shard_info(storj_upload_state_t *state, int index) { - | ^~~~~~~~~~~~~~~~ -In file included from uploader.h:9: -storj.h:297:20: warning: 'BUCKET_OP' defined but not used [-Wunused-variable] - 297 | static const char *BUCKET_OP[] = { "PUSH", "PULL" }; - | ^~~~~~~~~ +libtool: compile: gcc -DPACKAGE_NAME=\"libstorj\" -DPACKAGE_TARNAME=\"libstorj\" -DPACKAGE_VERSION=\"1.0.3\" "-DPACKAGE_STRING=\"libstorj 1.0.3\"" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"libstorj\" -DVERSION=\"1.0.3\" -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=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. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/libstorj-1.0.3=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -O3 -c utils.c -o utils.o >/dev/null 2>&1 In file included from downloader.h:10: storj.h: At top level: storj.h:297:20: warning: 'BUCKET_OP' defined but not used [-Wunused-variable] @@ -835,19 +861,6 @@ /usr/include/aarch64-linux-gnu/curl/curl.h:1286:3: note: declared here 1286 | CURLOPTDEPRECATED(CURLOPT_PUT, CURLOPTTYPE_LONG, 54, | ^~~~~~~~~~~~~~~~~ -cli.c: In function 'get_info_callback': -cli.c:962:16: warning: pointer 'req' used after 'free' [-Wuse-after-free] - 962 | if (req->error_code) { - | ~~~^~~~~~~~~~~~ -cli.c:960:9: note: call to 'free' here - 960 | free(req); - | ^~~~~~~~~ -In file included from http.h:18: -storj.h: At top level: -storj.h:297:20: warning: 'BUCKET_OP' defined but not used [-Wunused-variable] - 297 | static const char *BUCKET_OP[] = { "PUSH", "PULL" }; - | ^~~~~~~~~ -libtool: compile: gcc -DPACKAGE_NAME=\"libstorj\" -DPACKAGE_TARNAME=\"libstorj\" -DPACKAGE_VERSION=\"1.0.3\" "-DPACKAGE_STRING=\"libstorj 1.0.3\"" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"libstorj\" -DVERSION=\"1.0.3\" -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=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. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/libstorj-1.0.3=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -O3 -c utils.c -o utils.o >/dev/null 2>&1 uploader.c: In function 'create_parity_shards': uploader.c:1936:8: warning: 'parity_file' may be used uninitialized [-Wmaybe-uninitialized] 1936 | if (parity_file) { @@ -861,9 +874,13 @@ uploader.c:1836:14: note: 'parity_size' was declared here 1836 | uint64_t parity_size = state->total_shards * state->shard_size - state->file_size; | ^~~~~~~~~~~ -libtool: compile: gcc -DPACKAGE_NAME=\"libstorj\" -DPACKAGE_TARNAME=\"libstorj\" -DPACKAGE_VERSION=\"1.0.3\" "-DPACKAGE_STRING=\"libstorj 1.0.3\"" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"libstorj\" -DVERSION=\"1.0.3\" -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=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. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/libstorj-1.0.3=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -O3 -c crypto.c -o crypto.o >/dev/null 2>&1 -libtool: compile: gcc -DPACKAGE_NAME=\"libstorj\" -DPACKAGE_TARNAME=\"libstorj\" -DPACKAGE_VERSION=\"1.0.3\" "-DPACKAGE_STRING=\"libstorj 1.0.3\"" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"libstorj\" -DVERSION=\"1.0.3\" -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=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. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/libstorj-1.0.3=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -O3 -c bip39.c -o bip39.o >/dev/null 2>&1 +In file included from http.h:18: +storj.h: At top level: +storj.h:297:20: warning: 'BUCKET_OP' defined but not used [-Wunused-variable] + 297 | static const char *BUCKET_OP[] = { "PUSH", "PULL" }; + | ^~~~~~~~~ /bin/bash ../libtool --tag=CC --mode=compile gcc -DPACKAGE_NAME=\"libstorj\" -DPACKAGE_TARNAME=\"libstorj\" -DPACKAGE_VERSION=\"1.0.3\" -DPACKAGE_STRING=\"libstorj\ 1.0.3\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"libstorj\" -DVERSION=\"1.0.3\" -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=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. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/libstorj-1.0.3=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -O3 -c -o rs.lo rs.c +libtool: compile: gcc -DPACKAGE_NAME=\"libstorj\" -DPACKAGE_TARNAME=\"libstorj\" -DPACKAGE_VERSION=\"1.0.3\" "-DPACKAGE_STRING=\"libstorj 1.0.3\"" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"libstorj\" -DVERSION=\"1.0.3\" -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=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. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/libstorj-1.0.3=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -O3 -c bip39.c -o bip39.o >/dev/null 2>&1 In function 'free_encryption_ctx', inlined from 'prepare_frame' at uploader.c:1480:9: uploader.c:324:12: warning: 'encryption_ctx' may be used uninitialized [-Wmaybe-uninitialized] @@ -873,6 +890,8 @@ uploader.c:1383:29: note: 'encryption_ctx' was declared here 1383 | storj_encryption_ctx_t *encryption_ctx = NULL; | ^~~~~~~~~~~~~~ +libtool: compile: gcc -DPACKAGE_NAME=\"libstorj\" -DPACKAGE_TARNAME=\"libstorj\" -DPACKAGE_VERSION=\"1.0.3\" "-DPACKAGE_STRING=\"libstorj 1.0.3\"" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"libstorj\" -DVERSION=\"1.0.3\" -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=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. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/libstorj-1.0.3=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -O3 -c crypto.c -o crypto.o >/dev/null 2>&1 +libtool: compile: gcc -DPACKAGE_NAME=\"libstorj\" -DPACKAGE_TARNAME=\"libstorj\" -DPACKAGE_VERSION=\"1.0.3\" "-DPACKAGE_STRING=\"libstorj 1.0.3\"" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"libstorj\" -DVERSION=\"1.0.3\" -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=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. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/libstorj-1.0.3=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -O3 -c storj.c -o storj.o >/dev/null 2>&1 libtool: compile: gcc -DPACKAGE_NAME=\"libstorj\" -DPACKAGE_TARNAME=\"libstorj\" -DPACKAGE_VERSION=\"1.0.3\" "-DPACKAGE_STRING=\"libstorj 1.0.3\"" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"libstorj\" -DVERSION=\"1.0.3\" -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=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. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/libstorj-1.0.3=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -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] @@ -882,8 +901,6 @@ 797 | int i, j, c, swap, subMatrixRow, dataShards, nos, nshards; | ^~~ libtool: compile: gcc -DPACKAGE_NAME=\"libstorj\" -DPACKAGE_TARNAME=\"libstorj\" -DPACKAGE_VERSION=\"1.0.3\" "-DPACKAGE_STRING=\"libstorj 1.0.3\"" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"libstorj\" -DVERSION=\"1.0.3\" -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=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. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/libstorj-1.0.3=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -O3 -c http.c -o http.o >/dev/null 2>&1 -libtool: compile: gcc -DPACKAGE_NAME=\"libstorj\" -DPACKAGE_TARNAME=\"libstorj\" -DPACKAGE_VERSION=\"1.0.3\" "-DPACKAGE_STRING=\"libstorj 1.0.3\"" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"libstorj\" -DVERSION=\"1.0.3\" -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=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. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/libstorj-1.0.3=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -O3 -c storj.c -o storj.o >/dev/null 2>&1 -libtool: compile: gcc -DPACKAGE_NAME=\"libstorj\" -DPACKAGE_TARNAME=\"libstorj\" -DPACKAGE_VERSION=\"1.0.3\" "-DPACKAGE_STRING=\"libstorj 1.0.3\"" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"libstorj\" -DVERSION=\"1.0.3\" -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=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. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/libstorj-1.0.3=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -O3 -c downloader.c -o downloader.o >/dev/null 2>&1 uploader.c: In function 'create_encrypted_file': uploader.c:1616:8: warning: 'encrypted_file' may be used uninitialized [-Wmaybe-uninitialized] 1616 | if (encrypted_file) { @@ -891,8 +908,9 @@ uploader.c:1571:11: note: 'encrypted_file' was declared here 1571 | FILE *encrypted_file = fopen(state->encrypted_file_path, "w+"); | ^~~~~~~~~~~~~~ -libtool: compile: gcc -DPACKAGE_NAME=\"libstorj\" -DPACKAGE_TARNAME=\"libstorj\" -DPACKAGE_VERSION=\"1.0.3\" "-DPACKAGE_STRING=\"libstorj 1.0.3\"" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"libstorj\" -DVERSION=\"1.0.3\" -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=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. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/libstorj-1.0.3=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -O3 -c rs.c -o rs.o >/dev/null 2>&1 +libtool: compile: gcc -DPACKAGE_NAME=\"libstorj\" -DPACKAGE_TARNAME=\"libstorj\" -DPACKAGE_VERSION=\"1.0.3\" "-DPACKAGE_STRING=\"libstorj 1.0.3\"" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"libstorj\" -DVERSION=\"1.0.3\" -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=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. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/libstorj-1.0.3=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -O3 -c downloader.c -o downloader.o >/dev/null 2>&1 libtool: compile: gcc -DPACKAGE_NAME=\"libstorj\" -DPACKAGE_TARNAME=\"libstorj\" -DPACKAGE_VERSION=\"1.0.3\" "-DPACKAGE_STRING=\"libstorj 1.0.3\"" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"libstorj\" -DVERSION=\"1.0.3\" -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=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. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/libstorj-1.0.3=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -O3 -c uploader.c -o uploader.o >/dev/null 2>&1 +libtool: compile: gcc -DPACKAGE_NAME=\"libstorj\" -DPACKAGE_TARNAME=\"libstorj\" -DPACKAGE_VERSION=\"1.0.3\" "-DPACKAGE_STRING=\"libstorj 1.0.3\"" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"libstorj\" -DVERSION=\"1.0.3\" -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=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. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/libstorj-1.0.3=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -O3 -c rs.c -o rs.o >/dev/null 2>&1 /bin/bash ../libtool --tag=CC --mode=link gcc -g -O2 -ffile-prefix-map=/build/libstorj-1.0.3=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -O3 -Wall -Wl,-z,relro -Wl,-z,now -o libstorj.la -rpath /usr/lib/aarch64-linux-gnu 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 -g -O2 -fstack-protector-strong -O3 -Wl,-z -Wl,relro -Wl,-z -Wl,now -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") @@ -1002,6 +1020,11 @@ tests.c:1124:11: warning: unused variable 'file_name' [-Wunused-variable] 1124 | char *file_name = "samplefile.txt"; | ^~~~~~~~~ +In file included from storjtests.h:4, + from mockbridge.c:1: +../src/storj.h:297:20: warning: 'BUCKET_OP' defined but not used [-Wunused-variable] + 297 | static const char *BUCKET_OP[] = { "PUSH", "PULL" }; + | ^~~~~~~~~ tests.c: In function 'start_test_server': tests.c:1520:29: warning: passing argument 5 of 'MHD_start_daemon' from incompatible pointer type [-Wincompatible-pointer-types] 1520 | &mock_bridge_server, @@ -1018,11 +1041,6 @@ ../src/storj.h:297:20: warning: 'BUCKET_OP' defined but not used [-Wunused-variable] 297 | static const char *BUCKET_OP[] = { "PUSH", "PULL" }; | ^~~~~~~~~ -In file included from storjtests.h:4, - from mockbridge.c:1: -../src/storj.h:297:20: warning: 'BUCKET_OP' defined but not used [-Wunused-variable] - 297 | static const char *BUCKET_OP[] = { "PUSH", "PULL" }; - | ^~~~~~~~~ mockbridge.c: In function 'mock_bridge_server': mockbridge.c:60:9: warning: 'strlen' argument missing terminating nul [-Wstringop-overread] 60 | if (parse_json(mockbridge_json, &responses)) { @@ -1107,10 +1125,10 @@ dh_gencontrol dh_md5sums dh_builddeb -dpkg-deb: building package 'libstorj0-dbgsym' in '../libstorj0-dbgsym_1.0.3-1.2_arm64.deb'. dpkg-deb: building package 'libstorj0' in '../libstorj0_1.0.3-1.2_arm64.deb'. -dpkg-deb: building package 'storj' in '../storj_1.0.3-1.2_arm64.deb'. dpkg-deb: building package 'libstorj-dev' in '../libstorj-dev_1.0.3-1.2_arm64.deb'. +dpkg-deb: building package 'storj' in '../storj_1.0.3-1.2_arm64.deb'. +dpkg-deb: building package 'libstorj0-dbgsym' in '../libstorj0-dbgsym_1.0.3-1.2_arm64.deb'. dpkg-deb: building package 'storj-dbgsym' in '../storj-dbgsym_1.0.3-1.2_arm64.deb'. dpkg-genbuildinfo --build=binary -O../libstorj_1.0.3-1.2_arm64.buildinfo dpkg-genchanges --build=binary -O../libstorj_1.0.3-1.2_arm64.changes @@ -1119,12 +1137,14 @@ dpkg-buildpackage: info: binary-only upload (no source included) dpkg-genchanges: info: not including original source code in upload I: copying local configuration +I: user script /srv/workspace/pbuilder/20056/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/20056/tmp/hooks/B01_cleanup finished I: unmounting dev/ptmx filesystem I: unmounting dev/pts filesystem I: unmounting dev/shm filesystem I: unmounting proc filesystem I: unmounting sys filesystem I: cleaning the build env -I: removing directory /srv/workspace/pbuilder/28134 and its subdirectories -I: Current time: Sat Apr 8 05:38:31 -12 2023 -I: pbuilder-time-stamp: 1680975511 +I: removing directory /srv/workspace/pbuilder/20056 and its subdirectories +I: Current time: Sat May 11 14:02:50 +14 2024 +I: pbuilder-time-stamp: 1715385770