Diff of the two buildlogs: -- --- b1/build.log 2024-04-09 02:53:14.416227218 +0000 +++ b2/build.log 2024-04-09 02:54:39.412613248 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Mon Apr 8 14:52:15 -12 2024 -I: pbuilder-time-stamp: 1712631135 +I: Current time: Mon May 12 23:16:28 +14 2025 +I: pbuilder-time-stamp: 1747041388 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/unstable-reproducible-base.tgz] I: copying local configuration @@ -29,54 +29,86 @@ dpkg-source: info: applying 0001-testsuite-send-4-requests-instead-of-infinity.patch I: Not using root during the build. I: Installing the build-deps -I: user script /srv/workspace/pbuilder/21077/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/39246/tmp/hooks/D01_modify_environment starting +debug: Running on ionos6-i386. +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 +'/bin/sh' -> '/bin/bash' +lrwxrwxrwx 1 root root 9 May 12 09:17 /bin/sh -> /bin/bash +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/39246/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/39246/tmp/hooks/D02_print_environment starting I: set - BUILDDIR='/build/reproducible-path' - BUILDUSERGECOS='first user,first room,first work-phone,first home-phone,first other' - BUILDUSERNAME='pbuilder1' - BUILD_ARCH='i386' - DEBIAN_FRONTEND='noninteractive' - DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=11 ' - DISTRIBUTION='unstable' - HOME='/root' - HOST_ARCH='i386' + BASH=/bin/sh + BASHOPTS=checkwinsize:cmdhist:complete_fullquote:extquote:force_fignore:globasciiranges:globskipdots:hostcomplete:interactive_comments:patsub_replacement:progcomp:promptvars:sourcepath + BASH_ALIASES=() + BASH_ARGC=() + BASH_ARGV=() + BASH_CMDS=() + BASH_LINENO=([0]="12" [1]="0") + BASH_LOADABLES_PATH=/usr/local/lib/bash:/usr/lib/bash:/opt/local/lib/bash:/usr/pkg/lib/bash:/opt/pkg/lib/bash:. + BASH_SOURCE=([0]="/tmp/hooks/D02_print_environment" [1]="/tmp/hooks/D02_print_environment") + BASH_VERSINFO=([0]="5" [1]="2" [2]="21" [3]="1" [4]="release" [5]="i686-pc-linux-gnu") + BASH_VERSION='5.2.21(1)-release' + BUILDDIR=/build/reproducible-path + BUILDUSERGECOS='second user,second room,second work-phone,second home-phone,second other' + BUILDUSERNAME=pbuilder2 + BUILD_ARCH=i386 + DEBIAN_FRONTEND=noninteractive + DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=21 ' + DIRSTACK=() + DISTRIBUTION=unstable + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=i686 + HOST_ARCH=i386 IFS=' ' - INVOCATION_ID='c14e0e6414dc4cb5ac74e3faad4e0094' - LANG='C' - LANGUAGE='en_US:en' - LC_ALL='C' - LD_LIBRARY_PATH='/usr/lib/libeatmydata' - LD_PRELOAD='libeatmydata.so' - MAIL='/var/mail/root' - OPTIND='1' - PATH='/usr/sbin:/usr/bin:/sbin:/bin:/usr/games' - PBCURRENTCOMMANDLINEOPERATION='build' - PBUILDER_OPERATION='build' - PBUILDER_PKGDATADIR='/usr/share/pbuilder' - PBUILDER_PKGLIBDIR='/usr/lib/pbuilder' - PBUILDER_SYSCONFDIR='/etc' - PPID='21077' - PS1='# ' - PS2='> ' + INVOCATION_ID=257fc51561924655aeae84b759f1e3ee + LANG=C + LANGUAGE=de_CH:de + LC_ALL=C + LD_LIBRARY_PATH=/usr/lib/libeatmydata + LD_PRELOAD=libeatmydata.so + MACHTYPE=i686-pc-linux-gnu + MAIL=/var/mail/root + OPTERR=1 + OPTIND=1 + OSTYPE=linux-gnu + 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 + PIPESTATUS=([0]="0") + POSIXLY_CORRECT=y + PPID=39246 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.I4fDKDnh/pbuilderrc_pgZa --distribution unstable --hookdir /etc/pbuilder/first-build-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/unstable-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.I4fDKDnh/b1 --logfile b1/build.log opentracker_0.0~git20210823.110868e-9.dsc' - SUDO_GID='112' - SUDO_UID='107' - SUDO_USER='jenkins' - TERM='unknown' - TZ='/usr/share/zoneinfo/Etc/GMT+12' - USER='root' - _='/usr/bin/systemd-run' - http_proxy='http://78.137.99.97:3128' + PWD=/ + SHELL=/bin/bash + SHELLOPTS=braceexpand:errexit:hashall:interactive-comments:posix + SHLVL=3 + 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.I4fDKDnh/pbuilderrc_niTr --distribution unstable --hookdir /etc/pbuilder/rebuild-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/unstable-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.I4fDKDnh/b2 --logfile b2/build.log opentracker_0.0~git20210823.110868e-9.dsc' + SUDO_GID=112 + SUDO_UID=107 + SUDO_USER=jenkins + TERM=unknown + TZ=/usr/share/zoneinfo/Etc/GMT-14 + UID=0 + USER=root + _='I: set' + http_proxy=http://85.184.249.68:3128 I: uname -a - Linux ionos12-i386 6.1.0-18-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.76-1 (2024-02-01) x86_64 GNU/Linux + Linux i-capture-the-hostname 6.1.0-18-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.76-1 (2024-02-01) x86_64 GNU/Linux I: ls -l /bin - lrwxrwxrwx 1 root root 7 Apr 7 07:42 /bin -> usr/bin -I: user script /srv/workspace/pbuilder/21077/tmp/hooks/D02_print_environment finished + lrwxrwxrwx 1 root root 7 May 10 14:05 /bin -> usr/bin +I: user script /srv/workspace/pbuilder/39246/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -149,7 +181,7 @@ Get: 31 http://deb.debian.org/debian unstable/main i386 libowfat0t64 i386 0.32-5 [101 kB] Get: 32 http://deb.debian.org/debian unstable/main i386 libowfat-dev i386 0.32-5 [297 kB] Get: 33 http://deb.debian.org/debian unstable/main i386 zlib1g-dev i386 1:1.3.dfsg-3.1 [915 kB] -Fetched 20.6 MB in 1s (21.7 MB/s) +Fetched 20.6 MB in 0s (86.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 ... 19679 files and directories currently installed.) @@ -296,7 +328,11 @@ Building tag database... -> Finished parsing the build-deps I: Building the package -I: Running cd /build/reproducible-path/opentracker-0.0~git20210823.110868e/ && 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 > ../opentracker_0.0~git20210823.110868e-9_source.changes +I: user script /srv/workspace/pbuilder/39246/tmp/hooks/A99_set_merged_usr starting +Not re-configuring usrmerge for unstable +I: user script /srv/workspace/pbuilder/39246/tmp/hooks/A99_set_merged_usr finished +hostname: Name or service not known +I: Running cd /build/reproducible-path/opentracker-0.0~git20210823.110868e/ && 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 > ../opentracker_0.0~git20210823.110868e-9_source.changes dpkg-buildpackage: info: source package opentracker dpkg-buildpackage: info: source version 0.0~git20210823.110868e-9 dpkg-buildpackage: info: source distribution unstable @@ -308,7 +344,7 @@ debian/rules override_dh_auto_clean make[1]: Entering directory '/build/reproducible-path/opentracker-0.0~git20210823.110868e' dh_auto_clean - make -j11 clean + make -j21 clean make[2]: Entering directory '/build/reproducible-path/opentracker-0.0~git20210823.110868e' Makefile:87: warning: ignoring prerequisites on suffix rule definition Makefile:84: warning: ignoring prerequisites on suffix rule definition @@ -332,7 +368,7 @@ mkdir -p "opentracker-ipv6" cd "opentracker-ipv6" && ln -s ../*.h ../*.c ../Makefile . STRIP=true FEATURES="-DWANT_ACCESSLIST_WHITE -DWANT_COMPRESSION_GZIP -DWANT_SYSLOGS -DWANT_RESTRICT_STATS -DWANT_ACCESSLIST_WHITE -DWANT_COMPRESSION_GZIP -DWANT_SYSLOGS -DWANT_RESTRICT_STATS" dh_auto_build --sourcedirectory=opentracker-ipv4 -- LIBOWFAT_HEADERS=/usr/include/libowfat - cd opentracker-ipv4 && make -j11 "INSTALL=install --strip-program=true" LIBOWFAT_HEADERS=/usr/include/libowfat + cd opentracker-ipv4 && make -j21 "INSTALL=install --strip-program=true" LIBOWFAT_HEADERS=/usr/include/libowfat make[2]: Entering directory '/build/reproducible-path/opentracker-0.0~git20210823.110868e/opentracker-ipv4' Makefile:87: warning: ignoring prerequisites on suffix rule definition Makefile:84: warning: ignoring prerequisites on suffix rule definition @@ -351,54 +387,50 @@ cc -c -o ot_iovec.o -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/opentracker-0.0~git20210823.110868e=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/libowfat -Wall -pipe -Wextra -O3 -DWANT_ACCESSLIST_WHITE -DWANT_COMPRESSION_GZIP -DWANT_SYSLOGS -DWANT_RESTRICT_STATS -DWANT_ACCESSLIST_WHITE -DWANT_COMPRESSION_GZIP -DWANT_SYSLOGS -DWANT_RESTRICT_STATS -DWANT_FULLSCRAPE ot_iovec.c cc -c -o ot_fullscrape.o -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/opentracker-0.0~git20210823.110868e=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/libowfat -Wall -pipe -Wextra -O3 -DWANT_ACCESSLIST_WHITE -DWANT_COMPRESSION_GZIP -DWANT_SYSLOGS -DWANT_RESTRICT_STATS -DWANT_ACCESSLIST_WHITE -DWANT_COMPRESSION_GZIP -DWANT_SYSLOGS -DWANT_RESTRICT_STATS -DWANT_FULLSCRAPE ot_fullscrape.c cc -c -o ot_accesslist.o -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/opentracker-0.0~git20210823.110868e=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/libowfat -Wall -pipe -Wextra -O3 -DWANT_ACCESSLIST_WHITE -DWANT_COMPRESSION_GZIP -DWANT_SYSLOGS -DWANT_RESTRICT_STATS -DWANT_ACCESSLIST_WHITE -DWANT_COMPRESSION_GZIP -DWANT_SYSLOGS -DWANT_RESTRICT_STATS -DWANT_FULLSCRAPE ot_accesslist.c +cc -c -o ot_http.o -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/opentracker-0.0~git20210823.110868e=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/libowfat -Wall -pipe -Wextra -O3 -DWANT_ACCESSLIST_WHITE -DWANT_COMPRESSION_GZIP -DWANT_SYSLOGS -DWANT_RESTRICT_STATS -DWANT_ACCESSLIST_WHITE -DWANT_COMPRESSION_GZIP -DWANT_SYSLOGS -DWANT_RESTRICT_STATS -DWANT_FULLSCRAPE ot_http.c +cc -c -o ot_livesync.o -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/opentracker-0.0~git20210823.110868e=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/libowfat -Wall -pipe -Wextra -O3 -DWANT_ACCESSLIST_WHITE -DWANT_COMPRESSION_GZIP -DWANT_SYSLOGS -DWANT_RESTRICT_STATS -DWANT_ACCESSLIST_WHITE -DWANT_COMPRESSION_GZIP -DWANT_SYSLOGS -DWANT_RESTRICT_STATS -DWANT_FULLSCRAPE ot_livesync.c +cc -c -o ot_rijndael.o -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/opentracker-0.0~git20210823.110868e=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/libowfat -Wall -pipe -Wextra -O3 -DWANT_ACCESSLIST_WHITE -DWANT_COMPRESSION_GZIP -DWANT_SYSLOGS -DWANT_RESTRICT_STATS -DWANT_ACCESSLIST_WHITE -DWANT_COMPRESSION_GZIP -DWANT_SYSLOGS -DWANT_RESTRICT_STATS -DWANT_FULLSCRAPE ot_rijndael.c +cc -c -o opentracker.debug.o -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/opentracker-0.0~git20210823.110868e=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/libowfat -Wall -pipe -Wextra -D_DEBUG -g -ggdb -DWANT_ACCESSLIST_WHITE -DWANT_COMPRESSION_GZIP -DWANT_SYSLOGS -DWANT_RESTRICT_STATS -DWANT_ACCESSLIST_WHITE -DWANT_COMPRESSION_GZIP -DWANT_SYSLOGS -DWANT_RESTRICT_STATS -DWANT_FULLSCRAPE opentracker.c +cc -c -o trackerlogic.debug.o -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/opentracker-0.0~git20210823.110868e=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/libowfat -Wall -pipe -Wextra -D_DEBUG -g -ggdb -DWANT_ACCESSLIST_WHITE -DWANT_COMPRESSION_GZIP -DWANT_SYSLOGS -DWANT_RESTRICT_STATS -DWANT_ACCESSLIST_WHITE -DWANT_COMPRESSION_GZIP -DWANT_SYSLOGS -DWANT_RESTRICT_STATS -DWANT_FULLSCRAPE trackerlogic.c +cc -c -o scan_urlencoded_query.debug.o -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/opentracker-0.0~git20210823.110868e=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/libowfat -Wall -pipe -Wextra -D_DEBUG -g -ggdb -DWANT_ACCESSLIST_WHITE -DWANT_COMPRESSION_GZIP -DWANT_SYSLOGS -DWANT_RESTRICT_STATS -DWANT_ACCESSLIST_WHITE -DWANT_COMPRESSION_GZIP -DWANT_SYSLOGS -DWANT_RESTRICT_STATS -DWANT_FULLSCRAPE scan_urlencoded_query.c +cc -c -o ot_mutex.debug.o -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/opentracker-0.0~git20210823.110868e=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/libowfat -Wall -pipe -Wextra -D_DEBUG -g -ggdb -DWANT_ACCESSLIST_WHITE -DWANT_COMPRESSION_GZIP -DWANT_SYSLOGS -DWANT_RESTRICT_STATS -DWANT_ACCESSLIST_WHITE -DWANT_COMPRESSION_GZIP -DWANT_SYSLOGS -DWANT_RESTRICT_STATS -DWANT_FULLSCRAPE ot_mutex.c +cc -c -o ot_stats.debug.o -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/opentracker-0.0~git20210823.110868e=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/libowfat -Wall -pipe -Wextra -D_DEBUG -g -ggdb -DWANT_ACCESSLIST_WHITE -DWANT_COMPRESSION_GZIP -DWANT_SYSLOGS -DWANT_RESTRICT_STATS -DWANT_ACCESSLIST_WHITE -DWANT_COMPRESSION_GZIP -DWANT_SYSLOGS -DWANT_RESTRICT_STATS -DWANT_FULLSCRAPE ot_stats.c +cc -c -o ot_vector.debug.o -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/opentracker-0.0~git20210823.110868e=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/libowfat -Wall -pipe -Wextra -D_DEBUG -g -ggdb -DWANT_ACCESSLIST_WHITE -DWANT_COMPRESSION_GZIP -DWANT_SYSLOGS -DWANT_RESTRICT_STATS -DWANT_ACCESSLIST_WHITE -DWANT_COMPRESSION_GZIP -DWANT_SYSLOGS -DWANT_RESTRICT_STATS -DWANT_FULLSCRAPE ot_vector.c +cc -c -o ot_clean.debug.o -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/opentracker-0.0~git20210823.110868e=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/libowfat -Wall -pipe -Wextra -D_DEBUG -g -ggdb -DWANT_ACCESSLIST_WHITE -DWANT_COMPRESSION_GZIP -DWANT_SYSLOGS -DWANT_RESTRICT_STATS -DWANT_ACCESSLIST_WHITE -DWANT_COMPRESSION_GZIP -DWANT_SYSLOGS -DWANT_RESTRICT_STATS -DWANT_FULLSCRAPE ot_clean.c +ot_vector.c: In function 'vector_redistribute_buckets': ot_vector.c: In function 'vector_redistribute_buckets': ot_vector.c:203:14: warning: ISO C forbids 'return' with expression, in function returning void [-Wpedantic] 203 | return vector_clean_list( bucket_list_new, num_buckets_new ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +ot_vector.c:203:14: warning: ISO C forbids 'return' with expression, in function returning void [-Wpedantic] + 203 | return vector_clean_list( bucket_list_new, num_buckets_new ); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ot_vector.c:161:6: note: declared here 161 | void vector_redistribute_buckets( ot_peerlist * peer_list ) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ +ot_vector.c:161:6: note: declared here + 161 | void vector_redistribute_buckets( ot_peerlist * peer_list ) { + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ +ot_vector.c:216:27: warning: ISO C forbids 'return' with expression, in function returning void [-Wpedantic] + 216 | if( !tmp ) return vector_clean_list( bucket_list_new, num_buckets_new ); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ot_vector.c:216:27: warning: ISO C forbids 'return' with expression, in function returning void [-Wpedantic] 216 | if( !tmp ) return vector_clean_list( bucket_list_new, num_buckets_new ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ot_vector.c:161:6: note: declared here 161 | void vector_redistribute_buckets( ot_peerlist * peer_list ) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ -ot_stats.c: In function 'stats_issue_event': -ot_stats.c:694:13: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] - 694 | (void)write( 2, _debug, off ); - | ^~~~~~~~~~~~~~~~~~~~~~~ -ot_stats.c:705:13: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] - 705 | (void)write( 2, _debug, off ); - | ^~~~~~~~~~~~~~~~~~~~~~~ -ot_fullscrape.c: In function 'fullscrape_write_one': -ot_fullscrape.c:116:28: warning: format '%zd' expects argument of type 'signed size_t', but argument 3 has type 'ot_time' {aka 'long int'} [-Wformat=] - 116 | r += sprintf( r, ":%zd:%zd\n", peer_list->base, peer_list->down_count ); - | ~~^ ~~~~~~~~~~~~~~~ - | | | - | int ot_time {aka long int} - | %ld -ot_fullscrape.c: In function 'fullscrape_make': -ot_fullscrape.c:154:18: warning: ISO C forbids 'return' with expression, in function returning void [-Wpedantic] - 154 | return mutex_bucket_unlock( bucket, 0 ); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -ot_fullscrape.c:122:13: note: declared here - 122 | static void fullscrape_make( int *iovec_entries, struct iovec **iovector, ot_tasktype mode ) { - | ^~~~~~~~~~~~~~~ -ot_fullscrape.c: In function 'fullscrape_make_gzip': -ot_fullscrape.c:228:18: warning: ISO C forbids 'return' with expression, in function returning void [-Wpedantic] - 228 | return mutex_bucket_unlock( bucket, 0 ); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -ot_fullscrape.c:178:13: note: declared here - 178 | static void fullscrape_make_gzip( int *iovec_entries, struct iovec **iovector, ot_tasktype mode ) { - | ^~~~~~~~~~~~~~~~~~~~ -ot_fullscrape.c:265:14: warning: ISO C forbids 'return' with expression, in function returning void [-Wpedantic] - 265 | return mutex_bucket_unlock( bucket, 0 ); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -ot_fullscrape.c:178:13: note: declared here - 178 | static void fullscrape_make_gzip( int *iovec_entries, struct iovec **iovector, ot_tasktype mode ) { - | ^~~~~~~~~~~~~~~~~~~~ -cc -c -o ot_http.o -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/opentracker-0.0~git20210823.110868e=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/libowfat -Wall -pipe -Wextra -O3 -DWANT_ACCESSLIST_WHITE -DWANT_COMPRESSION_GZIP -DWANT_SYSLOGS -DWANT_RESTRICT_STATS -DWANT_ACCESSLIST_WHITE -DWANT_COMPRESSION_GZIP -DWANT_SYSLOGS -DWANT_RESTRICT_STATS -DWANT_FULLSCRAPE ot_http.c +ot_vector.c:161:6: note: declared here + 161 | void vector_redistribute_buckets( ot_peerlist * peer_list ) { + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ +ot_udp.c: In function 'udp_worker': +ot_udp.c:195:16: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] + 195 | int64 sock = (int64)args; + | ^ +ot_udp.c: In function 'udp_init': +ot_udp.c:224:51: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] + 224 | pthread_create( &thread_id, NULL, udp_worker, (void *)sock ); + | ^ trackerlogic.c: In function 'add_torrent_from_saved_state': trackerlogic.c:53:12: warning: ISO C forbids 'return' with expression, in function returning void [-Wpedantic] 53 | return mutex_bucket_unlock_by_hash( hash, 0 ); @@ -412,6 +444,7 @@ trackerlogic.c:47:6: note: declared here 47 | void add_torrent_from_saved_state( ot_hash hash, ot_time base, size_t down_count ) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ +cc -c -o ot_udp.debug.o -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/opentracker-0.0~git20210823.110868e=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/libowfat -Wall -pipe -Wextra -D_DEBUG -g -ggdb -DWANT_ACCESSLIST_WHITE -DWANT_COMPRESSION_GZIP -DWANT_SYSLOGS -DWANT_RESTRICT_STATS -DWANT_ACCESSLIST_WHITE -DWANT_COMPRESSION_GZIP -DWANT_SYSLOGS -DWANT_RESTRICT_STATS -DWANT_FULLSCRAPE ot_udp.c trackerlogic.c:64:12: warning: ISO C forbids 'return' with expression, in function returning void [-Wpedantic] 64 | return mutex_bucket_unlock_by_hash( hash, 0 ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -424,34 +457,6 @@ trackerlogic.c:47:6: note: declared here 47 | void add_torrent_from_saved_state( ot_hash hash, ot_time base, size_t down_count ) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ -ot_vector.c: In function 'vector_find_or_insert': -ot_vector.c:74:31: warning: pointer 'base' may be used after 'realloc' [-Wuse-after-free] - 74 | match = new_data + (match - (uint8_t*)vector->data); - | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ -ot_vector.c:71:25: note: call to 'realloc' here - 71 | uint8_t *new_data = realloc( vector->data, new_space * member_size ); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -ot_udp.c: In function 'udp_worker': -ot_udp.c:195:16: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] - 195 | int64 sock = (int64)args; - | ^ -ot_udp.c: In function 'udp_init': -ot_udp.c:224:51: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] - 224 | pthread_create( &thread_id, NULL, udp_worker, (void *)sock ); - | ^ -cc -c -o ot_livesync.o -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/opentracker-0.0~git20210823.110868e=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/libowfat -Wall -pipe -Wextra -O3 -DWANT_ACCESSLIST_WHITE -DWANT_COMPRESSION_GZIP -DWANT_SYSLOGS -DWANT_RESTRICT_STATS -DWANT_ACCESSLIST_WHITE -DWANT_COMPRESSION_GZIP -DWANT_SYSLOGS -DWANT_RESTRICT_STATS -DWANT_FULLSCRAPE ot_livesync.c -ot_vector.c: In function 'vector_find_or_insert_peer': -ot_vector.c:100:31: warning: pointer 'base' may be used after 'realloc' [-Wuse-after-free] - 100 | match = new_data + (match - (ot_peer*)vector->data); - | ^ -ot_vector.c:97:25: note: call to 'realloc' here - 97 | ot_peer *new_data = realloc( vector->data, new_space * sizeof(ot_peer) ); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -cc -c -o ot_rijndael.o -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/opentracker-0.0~git20210823.110868e=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/libowfat -Wall -pipe -Wextra -O3 -DWANT_ACCESSLIST_WHITE -DWANT_COMPRESSION_GZIP -DWANT_SYSLOGS -DWANT_RESTRICT_STATS -DWANT_ACCESSLIST_WHITE -DWANT_COMPRESSION_GZIP -DWANT_SYSLOGS -DWANT_RESTRICT_STATS -DWANT_FULLSCRAPE ot_rijndael.c -cc -c -o opentracker.debug.o -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/opentracker-0.0~git20210823.110868e=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/libowfat -Wall -pipe -Wextra -D_DEBUG -g -ggdb -DWANT_ACCESSLIST_WHITE -DWANT_COMPRESSION_GZIP -DWANT_SYSLOGS -DWANT_RESTRICT_STATS -DWANT_ACCESSLIST_WHITE -DWANT_COMPRESSION_GZIP -DWANT_SYSLOGS -DWANT_RESTRICT_STATS -DWANT_FULLSCRAPE opentracker.c -cc -c -o trackerlogic.debug.o -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/opentracker-0.0~git20210823.110868e=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/libowfat -Wall -pipe -Wextra -D_DEBUG -g -ggdb -DWANT_ACCESSLIST_WHITE -DWANT_COMPRESSION_GZIP -DWANT_SYSLOGS -DWANT_RESTRICT_STATS -DWANT_ACCESSLIST_WHITE -DWANT_COMPRESSION_GZIP -DWANT_SYSLOGS -DWANT_RESTRICT_STATS -DWANT_FULLSCRAPE trackerlogic.c -cc -c -o scan_urlencoded_query.debug.o -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/opentracker-0.0~git20210823.110868e=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/libowfat -Wall -pipe -Wextra -D_DEBUG -g -ggdb -DWANT_ACCESSLIST_WHITE -DWANT_COMPRESSION_GZIP -DWANT_SYSLOGS -DWANT_RESTRICT_STATS -DWANT_ACCESSLIST_WHITE -DWANT_COMPRESSION_GZIP -DWANT_SYSLOGS -DWANT_RESTRICT_STATS -DWANT_FULLSCRAPE scan_urlencoded_query.c -cc -c -o ot_mutex.debug.o -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/opentracker-0.0~git20210823.110868e=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/libowfat -Wall -pipe -Wextra -D_DEBUG -g -ggdb -DWANT_ACCESSLIST_WHITE -DWANT_COMPRESSION_GZIP -DWANT_SYSLOGS -DWANT_RESTRICT_STATS -DWANT_ACCESSLIST_WHITE -DWANT_COMPRESSION_GZIP -DWANT_SYSLOGS -DWANT_RESTRICT_STATS -DWANT_FULLSCRAPE ot_mutex.c trackerlogic.c: In function 'add_torrent_from_saved_state': trackerlogic.c:53:12: warning: ISO C forbids 'return' with expression, in function returning void [-Wpedantic] 53 | return mutex_bucket_unlock_by_hash( hash, 0 ); @@ -477,21 +482,6 @@ trackerlogic.c:47:6: note: declared here 47 | void add_torrent_from_saved_state( ot_hash hash, ot_time base, size_t down_count ) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ -cc -c -o ot_stats.debug.o -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/opentracker-0.0~git20210823.110868e=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/libowfat -Wall -pipe -Wextra -D_DEBUG -g -ggdb -DWANT_ACCESSLIST_WHITE -DWANT_COMPRESSION_GZIP -DWANT_SYSLOGS -DWANT_RESTRICT_STATS -DWANT_ACCESSLIST_WHITE -DWANT_COMPRESSION_GZIP -DWANT_SYSLOGS -DWANT_RESTRICT_STATS -DWANT_FULLSCRAPE ot_stats.c -cc -c -o ot_vector.debug.o -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/opentracker-0.0~git20210823.110868e=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/libowfat -Wall -pipe -Wextra -D_DEBUG -g -ggdb -DWANT_ACCESSLIST_WHITE -DWANT_COMPRESSION_GZIP -DWANT_SYSLOGS -DWANT_RESTRICT_STATS -DWANT_ACCESSLIST_WHITE -DWANT_COMPRESSION_GZIP -DWANT_SYSLOGS -DWANT_RESTRICT_STATS -DWANT_FULLSCRAPE ot_vector.c -ot_vector.c: In function 'vector_redistribute_buckets': -ot_vector.c:203:14: warning: ISO C forbids 'return' with expression, in function returning void [-Wpedantic] - 203 | return vector_clean_list( bucket_list_new, num_buckets_new ); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -ot_vector.c:161:6: note: declared here - 161 | void vector_redistribute_buckets( ot_peerlist * peer_list ) { - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ -ot_vector.c:216:27: warning: ISO C forbids 'return' with expression, in function returning void [-Wpedantic] - 216 | if( !tmp ) return vector_clean_list( bucket_list_new, num_buckets_new ); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -ot_vector.c:161:6: note: declared here - 161 | void vector_redistribute_buckets( ot_peerlist * peer_list ) { - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ot_stats.c: In function 'stats_issue_event': ot_stats.c:694:13: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 694 | (void)write( 2, _debug, off ); @@ -499,8 +489,13 @@ ot_stats.c:705:13: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 705 | (void)write( 2, _debug, off ); | ^~~~~~~~~~~~~~~~~~~~~~~ -cc -c -o ot_clean.debug.o -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/opentracker-0.0~git20210823.110868e=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/libowfat -Wall -pipe -Wextra -D_DEBUG -g -ggdb -DWANT_ACCESSLIST_WHITE -DWANT_COMPRESSION_GZIP -DWANT_SYSLOGS -DWANT_RESTRICT_STATS -DWANT_ACCESSLIST_WHITE -DWANT_COMPRESSION_GZIP -DWANT_SYSLOGS -DWANT_RESTRICT_STATS -DWANT_FULLSCRAPE ot_clean.c -cc -c -o ot_udp.debug.o -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/opentracker-0.0~git20210823.110868e=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/libowfat -Wall -pipe -Wextra -D_DEBUG -g -ggdb -DWANT_ACCESSLIST_WHITE -DWANT_COMPRESSION_GZIP -DWANT_SYSLOGS -DWANT_RESTRICT_STATS -DWANT_ACCESSLIST_WHITE -DWANT_COMPRESSION_GZIP -DWANT_SYSLOGS -DWANT_RESTRICT_STATS -DWANT_FULLSCRAPE ot_udp.c +ot_stats.c: In function 'stats_issue_event': +ot_stats.c:694:13: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] + 694 | (void)write( 2, _debug, off ); + | ^~~~~~~~~~~~~~~~~~~~~~~ +ot_stats.c:705:13: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] + 705 | (void)write( 2, _debug, off ); + | ^~~~~~~~~~~~~~~~~~~~~~~ ot_vector.c: In function 'vector_find_or_insert': ot_vector.c:74:31: warning: pointer 'base' may be used after 'realloc' [-Wuse-after-free] 74 | match = new_data + (match - (uint8_t*)vector->data); @@ -508,7 +503,47 @@ ot_vector.c:71:25: note: call to 'realloc' here 71 | uint8_t *new_data = realloc( vector->data, new_space * member_size ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -cc -c -o ot_iovec.debug.o -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/opentracker-0.0~git20210823.110868e=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/libowfat -Wall -pipe -Wextra -D_DEBUG -g -ggdb -DWANT_ACCESSLIST_WHITE -DWANT_COMPRESSION_GZIP -DWANT_SYSLOGS -DWANT_RESTRICT_STATS -DWANT_ACCESSLIST_WHITE -DWANT_COMPRESSION_GZIP -DWANT_SYSLOGS -DWANT_RESTRICT_STATS -DWANT_FULLSCRAPE ot_iovec.c +ot_vector.c: In function 'vector_find_or_insert': +ot_vector.c:74:31: warning: pointer 'base' may be used after 'realloc' [-Wuse-after-free] + 74 | match = new_data + (match - (uint8_t*)vector->data); + | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ +ot_vector.c:71:25: note: call to 'realloc' here + 71 | uint8_t *new_data = realloc( vector->data, new_space * member_size ); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +ot_fullscrape.c: In function 'fullscrape_write_one': +ot_fullscrape.c:116:28: warning: format '%zd' expects argument of type 'signed size_t', but argument 3 has type 'ot_time' {aka 'long int'} [-Wformat=] + 116 | r += sprintf( r, ":%zd:%zd\n", peer_list->base, peer_list->down_count ); + | ~~^ ~~~~~~~~~~~~~~~ + | | | + | int ot_time {aka long int} + | %ld +ot_fullscrape.c: In function 'fullscrape_make': +ot_fullscrape.c:154:18: warning: ISO C forbids 'return' with expression, in function returning void [-Wpedantic] + 154 | return mutex_bucket_unlock( bucket, 0 ); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +ot_fullscrape.c:122:13: note: declared here + 122 | static void fullscrape_make( int *iovec_entries, struct iovec **iovector, ot_tasktype mode ) { + | ^~~~~~~~~~~~~~~ +ot_fullscrape.c: In function 'fullscrape_make_gzip': +ot_fullscrape.c:228:18: warning: ISO C forbids 'return' with expression, in function returning void [-Wpedantic] + 228 | return mutex_bucket_unlock( bucket, 0 ); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +ot_fullscrape.c:178:13: note: declared here + 178 | static void fullscrape_make_gzip( int *iovec_entries, struct iovec **iovector, ot_tasktype mode ) { + | ^~~~~~~~~~~~~~~~~~~~ +ot_fullscrape.c:265:14: warning: ISO C forbids 'return' with expression, in function returning void [-Wpedantic] + 265 | return mutex_bucket_unlock( bucket, 0 ); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +ot_fullscrape.c:178:13: note: declared here + 178 | static void fullscrape_make_gzip( int *iovec_entries, struct iovec **iovector, ot_tasktype mode ) { + | ^~~~~~~~~~~~~~~~~~~~ +ot_vector.c: In function 'vector_find_or_insert_peer': +ot_vector.c:100:31: warning: pointer 'base' may be used after 'realloc' [-Wuse-after-free] + 100 | match = new_data + (match - (ot_peer*)vector->data); + | ^ +ot_vector.c:97:25: note: call to 'realloc' here + 97 | ot_peer *new_data = realloc( vector->data, new_space * sizeof(ot_peer) ); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ot_vector.c: In function 'vector_find_or_insert_peer': ot_vector.c:100:31: warning: pointer 'base' may be used after 'realloc' [-Wuse-after-free] 100 | match = new_data + (match - (ot_peer*)vector->data); @@ -524,11 +559,16 @@ ot_udp.c:224:51: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 224 | pthread_create( &thread_id, NULL, udp_worker, (void *)sock ); | ^ +cc -c -o ot_iovec.debug.o -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/opentracker-0.0~git20210823.110868e=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/libowfat -Wall -pipe -Wextra -D_DEBUG -g -ggdb -DWANT_ACCESSLIST_WHITE -DWANT_COMPRESSION_GZIP -DWANT_SYSLOGS -DWANT_RESTRICT_STATS -DWANT_ACCESSLIST_WHITE -DWANT_COMPRESSION_GZIP -DWANT_SYSLOGS -DWANT_RESTRICT_STATS -DWANT_FULLSCRAPE ot_iovec.c cc -c -o ot_fullscrape.debug.o -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/opentracker-0.0~git20210823.110868e=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/libowfat -Wall -pipe -Wextra -D_DEBUG -g -ggdb -DWANT_ACCESSLIST_WHITE -DWANT_COMPRESSION_GZIP -DWANT_SYSLOGS -DWANT_RESTRICT_STATS -DWANT_ACCESSLIST_WHITE -DWANT_COMPRESSION_GZIP -DWANT_SYSLOGS -DWANT_RESTRICT_STATS -DWANT_FULLSCRAPE ot_fullscrape.c cc -c -o ot_accesslist.debug.o -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/opentracker-0.0~git20210823.110868e=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/libowfat -Wall -pipe -Wextra -D_DEBUG -g -ggdb -DWANT_ACCESSLIST_WHITE -DWANT_COMPRESSION_GZIP -DWANT_SYSLOGS -DWANT_RESTRICT_STATS -DWANT_ACCESSLIST_WHITE -DWANT_COMPRESSION_GZIP -DWANT_SYSLOGS -DWANT_RESTRICT_STATS -DWANT_FULLSCRAPE ot_accesslist.c cc -c -o ot_http.debug.o -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/opentracker-0.0~git20210823.110868e=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/libowfat -Wall -pipe -Wextra -D_DEBUG -g -ggdb -DWANT_ACCESSLIST_WHITE -DWANT_COMPRESSION_GZIP -DWANT_SYSLOGS -DWANT_RESTRICT_STATS -DWANT_ACCESSLIST_WHITE -DWANT_COMPRESSION_GZIP -DWANT_SYSLOGS -DWANT_RESTRICT_STATS -DWANT_FULLSCRAPE ot_http.c cc -c -o ot_livesync.debug.o -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/opentracker-0.0~git20210823.110868e=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/libowfat -Wall -pipe -Wextra -D_DEBUG -g -ggdb -DWANT_ACCESSLIST_WHITE -DWANT_COMPRESSION_GZIP -DWANT_SYSLOGS -DWANT_RESTRICT_STATS -DWANT_ACCESSLIST_WHITE -DWANT_COMPRESSION_GZIP -DWANT_SYSLOGS -DWANT_RESTRICT_STATS -DWANT_FULLSCRAPE ot_livesync.c cc -c -o ot_rijndael.debug.o -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/opentracker-0.0~git20210823.110868e=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/libowfat -Wall -pipe -Wextra -D_DEBUG -g -ggdb -DWANT_ACCESSLIST_WHITE -DWANT_COMPRESSION_GZIP -DWANT_SYSLOGS -DWANT_RESTRICT_STATS -DWANT_ACCESSLIST_WHITE -DWANT_COMPRESSION_GZIP -DWANT_SYSLOGS -DWANT_RESTRICT_STATS -DWANT_FULLSCRAPE ot_rijndael.c +ot_accesslist.c: In function 'accesslist_blessip': +ot_accesslist.c:324:11: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] + 324 | (void)write( 2, _debug, off ); + | ^~~~~~~~~~~~~~~~~~~~~~~ ot_fullscrape.c: In function 'fullscrape_write_one': ot_fullscrape.c:116:28: warning: format '%zd' expects argument of type 'signed size_t', but argument 3 has type 'ot_time' {aka 'long int'} [-Wformat=] 116 | r += sprintf( r, ":%zd:%zd\n", peer_list->base, peer_list->down_count ); @@ -556,16 +596,12 @@ ot_fullscrape.c:178:13: note: declared here 178 | static void fullscrape_make_gzip( int *iovec_entries, struct iovec **iovector, ot_tasktype mode ) { | ^~~~~~~~~~~~~~~~~~~~ -ot_accesslist.c: In function 'accesslist_blessip': -ot_accesslist.c:324:11: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] - 324 | (void)write( 2, _debug, off ); - | ^~~~~~~~~~~~~~~~~~~~~~~ cc -o opentracker.debug opentracker.debug.o trackerlogic.debug.o scan_urlencoded_query.debug.o ot_mutex.debug.o ot_stats.debug.o ot_vector.debug.o ot_clean.debug.o ot_udp.debug.o ot_iovec.debug.o ot_fullscrape.debug.o ot_accesslist.debug.o ot_http.debug.o ot_livesync.debug.o ot_rijndael.debug.o -Wl,-z,relro -Wl,-z,now -L/usr/libowfat -lowfat -pthread -lpthread -lz cc -o opentracker opentracker.o trackerlogic.o scan_urlencoded_query.o ot_mutex.o ot_stats.o ot_vector.o ot_clean.o ot_udp.o ot_iovec.o ot_fullscrape.o ot_accesslist.o ot_http.o ot_livesync.o ot_rijndael.o -Wl,-z,relro -Wl,-z,now -L/usr/libowfat -lowfat -pthread -lpthread -lz true opentracker make[2]: Leaving directory '/build/reproducible-path/opentracker-0.0~git20210823.110868e/opentracker-ipv4' STRIP=true FEATURES="-DWANT_ACCESSLIST_WHITE -DWANT_COMPRESSION_GZIP -DWANT_SYSLOGS -DWANT_RESTRICT_STATS -DWANT_ACCESSLIST_WHITE -DWANT_COMPRESSION_GZIP -DWANT_SYSLOGS -DWANT_RESTRICT_STATS -DWANT_V6" dh_auto_build --sourcedirectory=opentracker-ipv6 -- LIBOWFAT_HEADERS=/usr/include/libowfat - cd opentracker-ipv6 && make -j11 "INSTALL=install --strip-program=true" LIBOWFAT_HEADERS=/usr/include/libowfat + cd opentracker-ipv6 && make -j21 "INSTALL=install --strip-program=true" LIBOWFAT_HEADERS=/usr/include/libowfat make[2]: Entering directory '/build/reproducible-path/opentracker-0.0~git20210823.110868e/opentracker-ipv6' Makefile:87: warning: ignoring prerequisites on suffix rule definition Makefile:84: warning: ignoring prerequisites on suffix rule definition @@ -584,6 +620,29 @@ cc -c -o ot_iovec.o -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/opentracker-0.0~git20210823.110868e=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/libowfat -Wall -pipe -Wextra -O3 -DWANT_ACCESSLIST_WHITE -DWANT_COMPRESSION_GZIP -DWANT_SYSLOGS -DWANT_RESTRICT_STATS -DWANT_ACCESSLIST_WHITE -DWANT_COMPRESSION_GZIP -DWANT_SYSLOGS -DWANT_RESTRICT_STATS -DWANT_V6 -DWANT_FULLSCRAPE ot_iovec.c cc -c -o ot_fullscrape.o -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/opentracker-0.0~git20210823.110868e=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/libowfat -Wall -pipe -Wextra -O3 -DWANT_ACCESSLIST_WHITE -DWANT_COMPRESSION_GZIP -DWANT_SYSLOGS -DWANT_RESTRICT_STATS -DWANT_ACCESSLIST_WHITE -DWANT_COMPRESSION_GZIP -DWANT_SYSLOGS -DWANT_RESTRICT_STATS -DWANT_V6 -DWANT_FULLSCRAPE ot_fullscrape.c cc -c -o ot_accesslist.o -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/opentracker-0.0~git20210823.110868e=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/libowfat -Wall -pipe -Wextra -O3 -DWANT_ACCESSLIST_WHITE -DWANT_COMPRESSION_GZIP -DWANT_SYSLOGS -DWANT_RESTRICT_STATS -DWANT_ACCESSLIST_WHITE -DWANT_COMPRESSION_GZIP -DWANT_SYSLOGS -DWANT_RESTRICT_STATS -DWANT_V6 -DWANT_FULLSCRAPE ot_accesslist.c +cc -c -o ot_http.o -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/opentracker-0.0~git20210823.110868e=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/libowfat -Wall -pipe -Wextra -O3 -DWANT_ACCESSLIST_WHITE -DWANT_COMPRESSION_GZIP -DWANT_SYSLOGS -DWANT_RESTRICT_STATS -DWANT_ACCESSLIST_WHITE -DWANT_COMPRESSION_GZIP -DWANT_SYSLOGS -DWANT_RESTRICT_STATS -DWANT_V6 -DWANT_FULLSCRAPE ot_http.c +cc -c -o ot_livesync.o -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/opentracker-0.0~git20210823.110868e=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/libowfat -Wall -pipe -Wextra -O3 -DWANT_ACCESSLIST_WHITE -DWANT_COMPRESSION_GZIP -DWANT_SYSLOGS -DWANT_RESTRICT_STATS -DWANT_ACCESSLIST_WHITE -DWANT_COMPRESSION_GZIP -DWANT_SYSLOGS -DWANT_RESTRICT_STATS -DWANT_V6 -DWANT_FULLSCRAPE ot_livesync.c +cc -c -o ot_rijndael.o -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/opentracker-0.0~git20210823.110868e=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/libowfat -Wall -pipe -Wextra -O3 -DWANT_ACCESSLIST_WHITE -DWANT_COMPRESSION_GZIP -DWANT_SYSLOGS -DWANT_RESTRICT_STATS -DWANT_ACCESSLIST_WHITE -DWANT_COMPRESSION_GZIP -DWANT_SYSLOGS -DWANT_RESTRICT_STATS -DWANT_V6 -DWANT_FULLSCRAPE ot_rijndael.c +cc -c -o opentracker.debug.o -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/opentracker-0.0~git20210823.110868e=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/libowfat -Wall -pipe -Wextra -D_DEBUG -g -ggdb -DWANT_ACCESSLIST_WHITE -DWANT_COMPRESSION_GZIP -DWANT_SYSLOGS -DWANT_RESTRICT_STATS -DWANT_ACCESSLIST_WHITE -DWANT_COMPRESSION_GZIP -DWANT_SYSLOGS -DWANT_RESTRICT_STATS -DWANT_V6 -DWANT_FULLSCRAPE opentracker.c +cc -c -o trackerlogic.debug.o -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/opentracker-0.0~git20210823.110868e=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/libowfat -Wall -pipe -Wextra -D_DEBUG -g -ggdb -DWANT_ACCESSLIST_WHITE -DWANT_COMPRESSION_GZIP -DWANT_SYSLOGS -DWANT_RESTRICT_STATS -DWANT_ACCESSLIST_WHITE -DWANT_COMPRESSION_GZIP -DWANT_SYSLOGS -DWANT_RESTRICT_STATS -DWANT_V6 -DWANT_FULLSCRAPE trackerlogic.c +cc -c -o scan_urlencoded_query.debug.o -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/opentracker-0.0~git20210823.110868e=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/libowfat -Wall -pipe -Wextra -D_DEBUG -g -ggdb -DWANT_ACCESSLIST_WHITE -DWANT_COMPRESSION_GZIP -DWANT_SYSLOGS -DWANT_RESTRICT_STATS -DWANT_ACCESSLIST_WHITE -DWANT_COMPRESSION_GZIP -DWANT_SYSLOGS -DWANT_RESTRICT_STATS -DWANT_V6 -DWANT_FULLSCRAPE scan_urlencoded_query.c +cc -c -o ot_mutex.debug.o -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/opentracker-0.0~git20210823.110868e=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/libowfat -Wall -pipe -Wextra -D_DEBUG -g -ggdb -DWANT_ACCESSLIST_WHITE -DWANT_COMPRESSION_GZIP -DWANT_SYSLOGS -DWANT_RESTRICT_STATS -DWANT_ACCESSLIST_WHITE -DWANT_COMPRESSION_GZIP -DWANT_SYSLOGS -DWANT_RESTRICT_STATS -DWANT_V6 -DWANT_FULLSCRAPE ot_mutex.c +cc -c -o ot_stats.debug.o -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/opentracker-0.0~git20210823.110868e=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/libowfat -Wall -pipe -Wextra -D_DEBUG -g -ggdb -DWANT_ACCESSLIST_WHITE -DWANT_COMPRESSION_GZIP -DWANT_SYSLOGS -DWANT_RESTRICT_STATS -DWANT_ACCESSLIST_WHITE -DWANT_COMPRESSION_GZIP -DWANT_SYSLOGS -DWANT_RESTRICT_STATS -DWANT_V6 -DWANT_FULLSCRAPE ot_stats.c +cc -c -o ot_vector.debug.o -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/opentracker-0.0~git20210823.110868e=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/libowfat -Wall -pipe -Wextra -D_DEBUG -g -ggdb -DWANT_ACCESSLIST_WHITE -DWANT_COMPRESSION_GZIP -DWANT_SYSLOGS -DWANT_RESTRICT_STATS -DWANT_ACCESSLIST_WHITE -DWANT_COMPRESSION_GZIP -DWANT_SYSLOGS -DWANT_RESTRICT_STATS -DWANT_V6 -DWANT_FULLSCRAPE ot_vector.c +cc -c -o ot_clean.debug.o -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/opentracker-0.0~git20210823.110868e=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/libowfat -Wall -pipe -Wextra -D_DEBUG -g -ggdb -DWANT_ACCESSLIST_WHITE -DWANT_COMPRESSION_GZIP -DWANT_SYSLOGS -DWANT_RESTRICT_STATS -DWANT_ACCESSLIST_WHITE -DWANT_COMPRESSION_GZIP -DWANT_SYSLOGS -DWANT_RESTRICT_STATS -DWANT_V6 -DWANT_FULLSCRAPE ot_clean.c +ot_vector.c: In function 'vector_redistribute_buckets': +ot_vector.c:203:14: warning: ISO C forbids 'return' with expression, in function returning void [-Wpedantic] + 203 | return vector_clean_list( bucket_list_new, num_buckets_new ); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +ot_vector.c:161:6: note: declared here + 161 | void vector_redistribute_buckets( ot_peerlist * peer_list ) { + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ +ot_vector.c:216:27: warning: ISO C forbids 'return' with expression, in function returning void [-Wpedantic] + 216 | if( !tmp ) return vector_clean_list( bucket_list_new, num_buckets_new ); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +ot_vector.c:161:6: note: declared here + 161 | void vector_redistribute_buckets( ot_peerlist * peer_list ) { + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ot_vector.c: In function 'vector_redistribute_buckets': ot_vector.c:203:14: warning: ISO C forbids 'return' with expression, in function returning void [-Wpedantic] 203 | return vector_clean_list( bucket_list_new, num_buckets_new ); @@ -597,6 +656,7 @@ ot_vector.c:161:6: note: declared here 161 | void vector_redistribute_buckets( ot_peerlist * peer_list ) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ +cc -c -o ot_udp.debug.o -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/opentracker-0.0~git20210823.110868e=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/libowfat -Wall -pipe -Wextra -D_DEBUG -g -ggdb -DWANT_ACCESSLIST_WHITE -DWANT_COMPRESSION_GZIP -DWANT_SYSLOGS -DWANT_RESTRICT_STATS -DWANT_ACCESSLIST_WHITE -DWANT_COMPRESSION_GZIP -DWANT_SYSLOGS -DWANT_RESTRICT_STATS -DWANT_V6 -DWANT_FULLSCRAPE ot_udp.c ot_udp.c: In function 'udp_worker': ot_udp.c:195:16: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 195 | int64 sock = (int64)args; @@ -605,28 +665,6 @@ ot_udp.c:224:51: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 224 | pthread_create( &thread_id, NULL, udp_worker, (void *)sock ); | ^ -ot_vector.c: In function 'vector_find_or_insert': -ot_vector.c:74:31: warning: pointer 'base' may be used after 'realloc' [-Wuse-after-free] - 74 | match = new_data + (match - (uint8_t*)vector->data); - | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ -ot_vector.c:71:25: note: call to 'realloc' here - 71 | uint8_t *new_data = realloc( vector->data, new_space * member_size ); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -ot_vector.c: In function 'vector_find_or_insert_peer': -ot_vector.c:100:31: warning: pointer 'base' may be used after 'realloc' [-Wuse-after-free] - 100 | match = new_data + (match - (ot_peer*)vector->data); - | ^ -ot_vector.c:97:25: note: call to 'realloc' here - 97 | ot_peer *new_data = realloc( vector->data, new_space * sizeof(ot_peer) ); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -ot_stats.c: In function 'stats_issue_event': -cc -c -o ot_http.o -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/opentracker-0.0~git20210823.110868e=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/libowfat -Wall -pipe -Wextra -O3 -DWANT_ACCESSLIST_WHITE -DWANT_COMPRESSION_GZIP -DWANT_SYSLOGS -DWANT_RESTRICT_STATS -DWANT_ACCESSLIST_WHITE -DWANT_COMPRESSION_GZIP -DWANT_SYSLOGS -DWANT_RESTRICT_STATS -DWANT_V6 -DWANT_FULLSCRAPE ot_http.c -ot_stats.c:694:13: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] - 694 | (void)write( 2, _debug, off ); - | ^~~~~~~~~~~~~~~~~~~~~~~ -ot_stats.c:705:13: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] - 705 | (void)write( 2, _debug, off ); - | ^~~~~~~~~~~~~~~~~~~~~~~ trackerlogic.c: In function 'add_torrent_from_saved_state': trackerlogic.c:53:12: warning: ISO C forbids 'return' with expression, in function returning void [-Wpedantic] 53 | return mutex_bucket_unlock_by_hash( hash, 0 ); @@ -652,7 +690,13 @@ trackerlogic.c:47:6: note: declared here 47 | void add_torrent_from_saved_state( ot_hash hash, ot_time base, size_t down_count ) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ -cc -c -o ot_livesync.o -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/opentracker-0.0~git20210823.110868e=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/libowfat -Wall -pipe -Wextra -O3 -DWANT_ACCESSLIST_WHITE -DWANT_COMPRESSION_GZIP -DWANT_SYSLOGS -DWANT_RESTRICT_STATS -DWANT_ACCESSLIST_WHITE -DWANT_COMPRESSION_GZIP -DWANT_SYSLOGS -DWANT_RESTRICT_STATS -DWANT_V6 -DWANT_FULLSCRAPE ot_livesync.c +ot_stats.c: In function 'stats_issue_event': +ot_stats.c:694:13: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] + 694 | (void)write( 2, _debug, off ); + | ^~~~~~~~~~~~~~~~~~~~~~~ +ot_stats.c:705:13: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] + 705 | (void)write( 2, _debug, off ); + | ^~~~~~~~~~~~~~~~~~~~~~~ ot_fullscrape.c: In function 'fullscrape_write_one': ot_fullscrape.c:116:28: warning: format '%zd' expects argument of type 'signed size_t', but argument 3 has type 'ot_time' {aka 'long int'} [-Wformat=] 116 | r += sprintf( r, ":%zd:%zd\n", peer_list->base, peer_list->down_count ); @@ -680,13 +724,6 @@ ot_fullscrape.c:178:13: note: declared here 178 | static void fullscrape_make_gzip( int *iovec_entries, struct iovec **iovector, ot_tasktype mode ) { | ^~~~~~~~~~~~~~~~~~~~ -cc -c -o ot_rijndael.o -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/opentracker-0.0~git20210823.110868e=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/libowfat -Wall -pipe -Wextra -O3 -DWANT_ACCESSLIST_WHITE -DWANT_COMPRESSION_GZIP -DWANT_SYSLOGS -DWANT_RESTRICT_STATS -DWANT_ACCESSLIST_WHITE -DWANT_COMPRESSION_GZIP -DWANT_SYSLOGS -DWANT_RESTRICT_STATS -DWANT_V6 -DWANT_FULLSCRAPE ot_rijndael.c -cc -c -o opentracker.debug.o -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/opentracker-0.0~git20210823.110868e=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/libowfat -Wall -pipe -Wextra -D_DEBUG -g -ggdb -DWANT_ACCESSLIST_WHITE -DWANT_COMPRESSION_GZIP -DWANT_SYSLOGS -DWANT_RESTRICT_STATS -DWANT_ACCESSLIST_WHITE -DWANT_COMPRESSION_GZIP -DWANT_SYSLOGS -DWANT_RESTRICT_STATS -DWANT_V6 -DWANT_FULLSCRAPE opentracker.c -cc -c -o trackerlogic.debug.o -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/opentracker-0.0~git20210823.110868e=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/libowfat -Wall -pipe -Wextra -D_DEBUG -g -ggdb -DWANT_ACCESSLIST_WHITE -DWANT_COMPRESSION_GZIP -DWANT_SYSLOGS -DWANT_RESTRICT_STATS -DWANT_ACCESSLIST_WHITE -DWANT_COMPRESSION_GZIP -DWANT_SYSLOGS -DWANT_RESTRICT_STATS -DWANT_V6 -DWANT_FULLSCRAPE trackerlogic.c -cc -c -o scan_urlencoded_query.debug.o -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/opentracker-0.0~git20210823.110868e=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/libowfat -Wall -pipe -Wextra -D_DEBUG -g -ggdb -DWANT_ACCESSLIST_WHITE -DWANT_COMPRESSION_GZIP -DWANT_SYSLOGS -DWANT_RESTRICT_STATS -DWANT_ACCESSLIST_WHITE -DWANT_COMPRESSION_GZIP -DWANT_SYSLOGS -DWANT_RESTRICT_STATS -DWANT_V6 -DWANT_FULLSCRAPE scan_urlencoded_query.c -cc -c -o ot_mutex.debug.o -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/opentracker-0.0~git20210823.110868e=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/libowfat -Wall -pipe -Wextra -D_DEBUG -g -ggdb -DWANT_ACCESSLIST_WHITE -DWANT_COMPRESSION_GZIP -DWANT_SYSLOGS -DWANT_RESTRICT_STATS -DWANT_ACCESSLIST_WHITE -DWANT_COMPRESSION_GZIP -DWANT_SYSLOGS -DWANT_RESTRICT_STATS -DWANT_V6 -DWANT_FULLSCRAPE ot_mutex.c -cc -c -o ot_stats.debug.o -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/opentracker-0.0~git20210823.110868e=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/libowfat -Wall -pipe -Wextra -D_DEBUG -g -ggdb -DWANT_ACCESSLIST_WHITE -DWANT_COMPRESSION_GZIP -DWANT_SYSLOGS -DWANT_RESTRICT_STATS -DWANT_ACCESSLIST_WHITE -DWANT_COMPRESSION_GZIP -DWANT_SYSLOGS -DWANT_RESTRICT_STATS -DWANT_V6 -DWANT_FULLSCRAPE ot_stats.c -cc -c -o ot_vector.debug.o -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/opentracker-0.0~git20210823.110868e=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/libowfat -Wall -pipe -Wextra -D_DEBUG -g -ggdb -DWANT_ACCESSLIST_WHITE -DWANT_COMPRESSION_GZIP -DWANT_SYSLOGS -DWANT_RESTRICT_STATS -DWANT_ACCESSLIST_WHITE -DWANT_COMPRESSION_GZIP -DWANT_SYSLOGS -DWANT_RESTRICT_STATS -DWANT_V6 -DWANT_FULLSCRAPE ot_vector.c trackerlogic.c: In function 'add_torrent_from_saved_state': trackerlogic.c:53:12: warning: ISO C forbids 'return' with expression, in function returning void [-Wpedantic] 53 | return mutex_bucket_unlock_by_hash( hash, 0 ); @@ -712,19 +749,13 @@ trackerlogic.c:47:6: note: declared here 47 | void add_torrent_from_saved_state( ot_hash hash, ot_time base, size_t down_count ) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ -ot_vector.c: In function 'vector_redistribute_buckets': -ot_vector.c:203:14: warning: ISO C forbids 'return' with expression, in function returning void [-Wpedantic] - 203 | return vector_clean_list( bucket_list_new, num_buckets_new ); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -ot_vector.c:161:6: note: declared here - 161 | void vector_redistribute_buckets( ot_peerlist * peer_list ) { - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ -ot_vector.c:216:27: warning: ISO C forbids 'return' with expression, in function returning void [-Wpedantic] - 216 | if( !tmp ) return vector_clean_list( bucket_list_new, num_buckets_new ); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -ot_vector.c:161:6: note: declared here - 161 | void vector_redistribute_buckets( ot_peerlist * peer_list ) { - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ +ot_vector.c: In function 'vector_find_or_insert': +ot_vector.c:74:31: warning: pointer 'base' may be used after 'realloc' [-Wuse-after-free] + 74 | match = new_data + (match - (uint8_t*)vector->data); + | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ +ot_vector.c:71:25: note: call to 'realloc' here + 71 | uint8_t *new_data = realloc( vector->data, new_space * member_size ); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ot_stats.c: In function 'stats_issue_event': ot_stats.c:694:13: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 694 | (void)write( 2, _debug, off ); @@ -739,17 +770,7 @@ ot_vector.c:71:25: note: call to 'realloc' here 71 | uint8_t *new_data = realloc( vector->data, new_space * member_size ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -cc -c -o ot_clean.debug.o -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/opentracker-0.0~git20210823.110868e=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/libowfat -Wall -pipe -Wextra -D_DEBUG -g -ggdb -DWANT_ACCESSLIST_WHITE -DWANT_COMPRESSION_GZIP -DWANT_SYSLOGS -DWANT_RESTRICT_STATS -DWANT_ACCESSLIST_WHITE -DWANT_COMPRESSION_GZIP -DWANT_SYSLOGS -DWANT_RESTRICT_STATS -DWANT_V6 -DWANT_FULLSCRAPE ot_clean.c -cc -c -o ot_udp.debug.o -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/opentracker-0.0~git20210823.110868e=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/libowfat -Wall -pipe -Wextra -D_DEBUG -g -ggdb -DWANT_ACCESSLIST_WHITE -DWANT_COMPRESSION_GZIP -DWANT_SYSLOGS -DWANT_RESTRICT_STATS -DWANT_ACCESSLIST_WHITE -DWANT_COMPRESSION_GZIP -DWANT_SYSLOGS -DWANT_RESTRICT_STATS -DWANT_V6 -DWANT_FULLSCRAPE ot_udp.c cc -c -o ot_iovec.debug.o -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/opentracker-0.0~git20210823.110868e=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/libowfat -Wall -pipe -Wextra -D_DEBUG -g -ggdb -DWANT_ACCESSLIST_WHITE -DWANT_COMPRESSION_GZIP -DWANT_SYSLOGS -DWANT_RESTRICT_STATS -DWANT_ACCESSLIST_WHITE -DWANT_COMPRESSION_GZIP -DWANT_SYSLOGS -DWANT_RESTRICT_STATS -DWANT_V6 -DWANT_FULLSCRAPE ot_iovec.c -ot_vector.c: In function 'vector_find_or_insert_peer': -ot_vector.c:100:31: warning: pointer 'base' may be used after 'realloc' [-Wuse-after-free] - 100 | match = new_data + (match - (ot_peer*)vector->data); - | ^ -ot_vector.c:97:25: note: call to 'realloc' here - 97 | ot_peer *new_data = realloc( vector->data, new_space * sizeof(ot_peer) ); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -cc -c -o ot_fullscrape.debug.o -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/opentracker-0.0~git20210823.110868e=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/libowfat -Wall -pipe -Wextra -D_DEBUG -g -ggdb -DWANT_ACCESSLIST_WHITE -DWANT_COMPRESSION_GZIP -DWANT_SYSLOGS -DWANT_RESTRICT_STATS -DWANT_ACCESSLIST_WHITE -DWANT_COMPRESSION_GZIP -DWANT_SYSLOGS -DWANT_RESTRICT_STATS -DWANT_V6 -DWANT_FULLSCRAPE ot_fullscrape.c ot_udp.c: In function 'udp_worker': ot_udp.c:195:16: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 195 | int64 sock = (int64)args; @@ -758,15 +779,30 @@ ot_udp.c:224:51: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 224 | pthread_create( &thread_id, NULL, udp_worker, (void *)sock ); | ^ +ot_vector.c: In function 'vector_find_or_insert_peer': +ot_vector.c:100:31: warning: pointer 'base' may be used after 'realloc' [-Wuse-after-free] + 100 | match = new_data + (match - (ot_peer*)vector->data); + | ^ +ot_vector.c:97:25: note: call to 'realloc' here + 97 | ot_peer *new_data = realloc( vector->data, new_space * sizeof(ot_peer) ); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +cc -c -o ot_fullscrape.debug.o -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/opentracker-0.0~git20210823.110868e=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/libowfat -Wall -pipe -Wextra -D_DEBUG -g -ggdb -DWANT_ACCESSLIST_WHITE -DWANT_COMPRESSION_GZIP -DWANT_SYSLOGS -DWANT_RESTRICT_STATS -DWANT_ACCESSLIST_WHITE -DWANT_COMPRESSION_GZIP -DWANT_SYSLOGS -DWANT_RESTRICT_STATS -DWANT_V6 -DWANT_FULLSCRAPE ot_fullscrape.c +ot_vector.c: In function 'vector_find_or_insert_peer': +ot_vector.c:100:31: warning: pointer 'base' may be used after 'realloc' [-Wuse-after-free] + 100 | match = new_data + (match - (ot_peer*)vector->data); + | ^ +ot_vector.c:97:25: note: call to 'realloc' here + 97 | ot_peer *new_data = realloc( vector->data, new_space * sizeof(ot_peer) ); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc -c -o ot_accesslist.debug.o -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/opentracker-0.0~git20210823.110868e=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/libowfat -Wall -pipe -Wextra -D_DEBUG -g -ggdb -DWANT_ACCESSLIST_WHITE -DWANT_COMPRESSION_GZIP -DWANT_SYSLOGS -DWANT_RESTRICT_STATS -DWANT_ACCESSLIST_WHITE -DWANT_COMPRESSION_GZIP -DWANT_SYSLOGS -DWANT_RESTRICT_STATS -DWANT_V6 -DWANT_FULLSCRAPE ot_accesslist.c cc -c -o ot_http.debug.o -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/opentracker-0.0~git20210823.110868e=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/libowfat -Wall -pipe -Wextra -D_DEBUG -g -ggdb -DWANT_ACCESSLIST_WHITE -DWANT_COMPRESSION_GZIP -DWANT_SYSLOGS -DWANT_RESTRICT_STATS -DWANT_ACCESSLIST_WHITE -DWANT_COMPRESSION_GZIP -DWANT_SYSLOGS -DWANT_RESTRICT_STATS -DWANT_V6 -DWANT_FULLSCRAPE ot_http.c cc -c -o ot_livesync.debug.o -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/opentracker-0.0~git20210823.110868e=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/libowfat -Wall -pipe -Wextra -D_DEBUG -g -ggdb -DWANT_ACCESSLIST_WHITE -DWANT_COMPRESSION_GZIP -DWANT_SYSLOGS -DWANT_RESTRICT_STATS -DWANT_ACCESSLIST_WHITE -DWANT_COMPRESSION_GZIP -DWANT_SYSLOGS -DWANT_RESTRICT_STATS -DWANT_V6 -DWANT_FULLSCRAPE ot_livesync.c cc -c -o ot_rijndael.debug.o -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/opentracker-0.0~git20210823.110868e=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/libowfat -Wall -pipe -Wextra -D_DEBUG -g -ggdb -DWANT_ACCESSLIST_WHITE -DWANT_COMPRESSION_GZIP -DWANT_SYSLOGS -DWANT_RESTRICT_STATS -DWANT_ACCESSLIST_WHITE -DWANT_COMPRESSION_GZIP -DWANT_SYSLOGS -DWANT_RESTRICT_STATS -DWANT_V6 -DWANT_FULLSCRAPE ot_rijndael.c -ot_fullscrape.c: In function 'fullscrape_write_one': ot_accesslist.c: In function 'accesslist_blessip': ot_accesslist.c:324:11: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 324 | (void)write( 2, _debug, off ); | ^~~~~~~~~~~~~~~~~~~~~~~ +ot_fullscrape.c: In function 'fullscrape_write_one': ot_fullscrape.c:116:28: warning: format '%zd' expects argument of type 'signed size_t', but argument 3 has type 'ot_time' {aka 'long int'} [-Wformat=] 116 | r += sprintf( r, ":%zd:%zd\n", peer_list->base, peer_list->down_count ); | ~~^ ~~~~~~~~~~~~~~~ @@ -846,11 +882,11 @@ dh_gencontrol dh_md5sums dh_builddeb +dpkg-deb: building package 'opentracker-common' in '../opentracker-common_0.0~git20210823.110868e-9_all.deb'. dpkg-deb: building package 'opentracker' in '../opentracker_0.0~git20210823.110868e-9_i386.deb'. -dpkg-deb: building package 'opentracker-ipv6' in '../opentracker-ipv6_0.0~git20210823.110868e-9_i386.deb'. dpkg-deb: building package 'opentracker-dbgsym' in '../opentracker-dbgsym_0.0~git20210823.110868e-9_i386.deb'. +dpkg-deb: building package 'opentracker-ipv6' in '../opentracker-ipv6_0.0~git20210823.110868e-9_i386.deb'. dpkg-deb: building package 'opentracker-ipv6-dbgsym' in '../opentracker-ipv6-dbgsym_0.0~git20210823.110868e-9_i386.deb'. -dpkg-deb: building package 'opentracker-common' in '../opentracker-common_0.0~git20210823.110868e-9_all.deb'. dpkg-genbuildinfo --build=binary -O../opentracker_0.0~git20210823.110868e-9_i386.buildinfo dpkg-genchanges --build=binary -O../opentracker_0.0~git20210823.110868e-9_i386.changes dpkg-genchanges: info: binary-only upload (no source code included) @@ -858,12 +894,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/39246/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/39246/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/21077 and its subdirectories -I: Current time: Mon Apr 8 14:53:13 -12 2024 -I: pbuilder-time-stamp: 1712631193 +I: removing directory /srv/workspace/pbuilder/39246 and its subdirectories +I: Current time: Mon May 12 23:17:35 +14 2025 +I: pbuilder-time-stamp: 1747041455