Diff of the two buildlogs: -- --- b1/build.log 2024-04-12 06:07:14.186196113 +0000 +++ b2/build.log 2024-04-12 06:09:03.205554317 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Thu Apr 11 18:05:54 -12 2024 -I: pbuilder-time-stamp: 1712901954 +I: Current time: Fri Apr 12 20:07:23 +14 2024 +I: pbuilder-time-stamp: 1712902043 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/trixie-reproducible-base.tgz] I: copying local configuration @@ -34,52 +34,84 @@ dpkg-source: info: applying missing-prototypes.patch I: Not using root during the build. I: Installing the build-deps -I: user script /srv/workspace/pbuilder/6552/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/2357/tmp/hooks/D01_modify_environment starting +debug: Running on virt64z. +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 Apr 12 06:07 /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/2357/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/2357/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='armhf' - DEBIAN_FRONTEND='noninteractive' - DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=3 ' - DISTRIBUTION='trixie' - HOME='/root' - HOST_ARCH='armhf' + 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]="arm-unknown-linux-gnueabihf") + 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=armhf + DEBIAN_FRONTEND=noninteractive + DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=4 ' + DIRSTACK=() + DISTRIBUTION=trixie + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=arm + HOST_ARCH=armhf IFS=' ' - INVOCATION_ID='b84f374845904dc791fd3b7d7fdbf506' - LANG='C' - LANGUAGE='en_US:en' - LC_ALL='C' - 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='6552' - PS1='# ' - PS2='> ' + INVOCATION_ID=eeb75dafab864c718a51ad7b4d1510a5 + LANG=C + LANGUAGE=it_CH:it + LC_ALL=C + MACHTYPE=arm-unknown-linux-gnueabihf + MAIL=/var/mail/root + OPTERR=1 + OPTIND=1 + OSTYPE=linux-gnueabihf + 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=2357 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.yOTovmqG/pbuilderrc_gfjx --distribution trixie --hookdir /etc/pbuilder/first-build-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/trixie-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.yOTovmqG/b1 --logfile b1/build.log hunt_1.5-9.dsc' - SUDO_GID='113' - SUDO_UID='107' - SUDO_USER='jenkins' - TERM='unknown' - TZ='/usr/share/zoneinfo/Etc/GMT+12' - USER='root' - _='/usr/bin/systemd-run' - http_proxy='http://10.0.0.15:3142/' + 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.yOTovmqG/pbuilderrc_hj3c --distribution trixie --hookdir /etc/pbuilder/rebuild-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/trixie-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.yOTovmqG/b2 --logfile b2/build.log hunt_1.5-9.dsc' + SUDO_GID=110 + SUDO_UID=103 + SUDO_USER=jenkins + TERM=unknown + TZ=/usr/share/zoneinfo/Etc/GMT-14 + UID=0 + USER=root + _='I: set' + http_proxy=http://10.0.0.15:3142/ I: uname -a - Linux ff4a 6.1.0-18-armmp-lpae #1 SMP Debian 6.1.76-1 (2024-02-01) armv7l GNU/Linux + Linux i-capture-the-hostname 6.1.0-18-arm64 #1 SMP Debian 6.1.76-1 (2024-02-01) aarch64 GNU/Linux I: ls -l /bin - lrwxrwxrwx 1 root root 7 Apr 11 11:25 /bin -> usr/bin -I: user script /srv/workspace/pbuilder/6552/tmp/hooks/D02_print_environment finished + lrwxrwxrwx 1 root root 7 Apr 11 11:24 /bin -> usr/bin +I: user script /srv/workspace/pbuilder/2357/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -145,7 +177,7 @@ Get: 28 http://deb.debian.org/debian trixie/main armhf intltool-debian all 0.35.0+20060710.6 [22.9 kB] Get: 29 http://deb.debian.org/debian trixie/main armhf po-debconf all 1.0.21+nmu1 [248 kB] Get: 30 http://deb.debian.org/debian trixie/main armhf debhelper all 13.15.3 [901 kB] -Fetched 18.3 MB in 1s (18.9 MB/s) +Fetched 18.3 MB in 1s (33.2 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 ... 19635 files and directories currently installed.) @@ -280,7 +312,11 @@ Building tag database... -> Finished parsing the build-deps I: Building the package -I: Running cd /build/reproducible-path/hunt-1.5/ && 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 > ../hunt_1.5-9_source.changes +I: user script /srv/workspace/pbuilder/2357/tmp/hooks/A99_set_merged_usr starting +Not re-configuring usrmerge for trixie +I: user script /srv/workspace/pbuilder/2357/tmp/hooks/A99_set_merged_usr finished +hostname: Name or service not known +I: Running cd /build/reproducible-path/hunt-1.5/ && 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 > ../hunt_1.5-9_source.changes dpkg-buildpackage: info: source package hunt dpkg-buildpackage: info: source version 1.5-9 dpkg-buildpackage: info: source distribution unstable @@ -290,7 +326,7 @@ debian/rules clean dh clean dh_auto_clean - make -j3 distclean + make -j4 distclean make[1]: Entering directory '/build/reproducible-path/hunt-1.5' rm -f *.o core c/*.o c/core c/list_test c/hash_test c/array_test rm -f hunt hunt_static @@ -309,11 +345,12 @@ debian/rules override_dh_auto_build make[1]: Entering directory '/build/reproducible-path/hunt-1.5' dh_auto_build - make -j3 "INSTALL=install --strip-program=true" + make -j4 "INSTALL=install --strip-program=true" make[2]: Entering directory '/build/reproducible-path/hunt-1.5' cc -g -O2 -ffile-prefix-map=/build/reproducible-path/hunt-1.5=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -O2 -g -D_REENTRANT -std=gnu89 -ffile-prefix-map=/build/reproducible-path/hunt-1.5=. -Wdate-time -D_FORTIFY_SOURCE=2 -c -o hunt.o hunt.c cc -g -O2 -ffile-prefix-map=/build/reproducible-path/hunt-1.5=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -O2 -g -D_REENTRANT -std=gnu89 -ffile-prefix-map=/build/reproducible-path/hunt-1.5=. -Wdate-time -D_FORTIFY_SOURCE=2 -c -o main.o main.c cc -g -O2 -ffile-prefix-map=/build/reproducible-path/hunt-1.5=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -O2 -g -D_REENTRANT -std=gnu89 -ffile-prefix-map=/build/reproducible-path/hunt-1.5=. -Wdate-time -D_FORTIFY_SOURCE=2 -c -o c/list.o c/list.c +cc -g -O2 -ffile-prefix-map=/build/reproducible-path/hunt-1.5=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -O2 -g -D_REENTRANT -std=gnu89 -ffile-prefix-map=/build/reproducible-path/hunt-1.5=. -Wdate-time -D_FORTIFY_SOURCE=2 -c -o c/hash.o c/hash.c In file included from hunt.c:9: hunt.h:410:5: warning: conflicting types for built-in function 'log2'; expected 'double(double)' [-Wbuiltin-declaration-mismatch] 410 | int log2(unsigned int i); @@ -342,6 +379,15 @@ hunt.c:710:13: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] 710 | mac = p->p_ethh->h_source; | ^ +hunt.c: In function 'print_mac_table': +hunt.c:1016:40: warning: pointer targets in passing argument 2 of 'sprintf_eth_mac' differ in signedness [-Wpointer-sign] + 1016 | sprintf_eth_mac(buf, mi->mac); + | ~~^~~~~ + | | + | char * +hunt.h:422:45: note: expected 'unsigned char *' but argument is of type 'char *' + 422 | int sprintf_eth_mac(char *b, unsigned char *mac); + | ~~~~~~~~~~~~~~~^~~ main.c: In function 'a_hijack': main.c:350:48: warning: pointer targets in passing argument 2 of 'user_arp_hijack' differ in signedness [-Wpointer-sign] 350 | retval = user_arp_hijack(&uci, src_fake_mac, dst_fake_mac, input_mode); @@ -379,20 +425,10 @@ main.c:509:70: warning: backslash and newline separated by space 509 | fprintf(stderr, "Network interface %s does not have "\ | -hunt.c: In function 'print_mac_table': -hunt.c:1016:40: warning: pointer targets in passing argument 2 of 'sprintf_eth_mac' differ in signedness [-Wpointer-sign] - 1016 | sprintf_eth_mac(buf, mi->mac); - | ~~^~~~~ - | | - | char * -hunt.h:422:45: note: expected 'unsigned char *' but argument is of type 'char *' - 422 | int sprintf_eth_mac(char *b, unsigned char *mac); - | ~~~~~~~~~~~~~~~^~~ main.c: In function 'simple_hijack': main.c:250:25: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 250 | fgets(cmdbuf, sizeof(cmdbuf), stdin); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -cc -g -O2 -ffile-prefix-map=/build/reproducible-path/hunt-1.5=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -O2 -g -D_REENTRANT -std=gnu89 -ffile-prefix-map=/build/reproducible-path/hunt-1.5=. -Wdate-time -D_FORTIFY_SOURCE=2 -c -o c/hash.o c/hash.c cc -g -O2 -ffile-prefix-map=/build/reproducible-path/hunt-1.5=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -O2 -g -D_REENTRANT -std=gnu89 -ffile-prefix-map=/build/reproducible-path/hunt-1.5=. -Wdate-time -D_FORTIFY_SOURCE=2 -c -o c/array.o c/array.c In file included from c/array.c:10: c/array.c: In function 'array_init': @@ -409,7 +445,6 @@ 47 | #include "c/hash.h" +++ |+#include 48 | -cc -g -O2 -ffile-prefix-map=/build/reproducible-path/hunt-1.5=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -O2 -g -D_REENTRANT -std=gnu89 -ffile-prefix-map=/build/reproducible-path/hunt-1.5=. -Wdate-time -D_FORTIFY_SOURCE=2 -c -o rst.o rst.c In file included from net.c:9: hunt.h:410:5: warning: conflicting types for built-in function 'log2'; expected 'double(double)' [-Wbuiltin-declaration-mismatch] 410 | int log2(unsigned int i); @@ -422,6 +457,19 @@ net.c:189:24: warning: variable 'seq' set but not used [-Wunused-but-set-variable] 189 | unsigned short seq, id; | ^~~ +net.c: In function 'send_tcp_packet': +net.c:85:9: warning: '__builtin_strncpy' specified bound 14 equals destination size [-Wstringop-truncation] + 85 | strncpy(spkt.sa_data, eth_device, sizeof(spkt.sa_data)); + | ^ +cc -g -O2 -ffile-prefix-map=/build/reproducible-path/hunt-1.5=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -O2 -g -D_REENTRANT -std=gnu89 -ffile-prefix-map=/build/reproducible-path/hunt-1.5=. -Wdate-time -D_FORTIFY_SOURCE=2 -c -o rst.o rst.c +net.c: In function 'send_icmp_packet': +net.c:151:9: warning: '__builtin_strncpy' specified bound 14 equals destination size [-Wstringop-truncation] + 151 | strncpy(spkt.sa_data, eth_device, sizeof(spkt.sa_data)); + | ^ +net.c: In function 'send_arp_packet': +net.c:246:9: warning: '__builtin_strncpy' specified bound 14 equals destination size [-Wstringop-truncation] + 246 | strncpy(spkt.sa_data, eth_device, sizeof(spkt.sa_data)); + | ^ In file included from rst.c:9: hunt.h:410:5: warning: conflicting types for built-in function 'log2'; expected 'double(double)' [-Wbuiltin-declaration-mismatch] 410 | int log2(unsigned int i); @@ -430,6 +478,11 @@ 47 | #include "c/hash.h" +++ |+#include 48 | +net.c: In function 'send_packet': +net.c:274:9: warning: '__builtin_strncpy' specified bound 14 equals destination size [-Wstringop-truncation] + 274 | strncpy(spkt.sa_data, eth_device, sizeof(spkt.sa_data)); + | ^ +cc -g -O2 -ffile-prefix-map=/build/reproducible-path/hunt-1.5=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -O2 -g -D_REENTRANT -std=gnu89 -ffile-prefix-map=/build/reproducible-path/hunt-1.5=. -Wdate-time -D_FORTIFY_SOURCE=2 -c -o menu.o menu.c rst.c: In function 'rst': rst.c:60:28: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] 60 | ts.src_mac = ci->dst.dst_mac; @@ -443,23 +496,7 @@ rst.c:70:28: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] 70 | ts.dst_mac = ci->src.src_mac; | ^ -net.c: In function 'send_tcp_packet': -net.c:85:9: warning: '__builtin_strncpy' specified bound 14 equals destination size [-Wstringop-truncation] - 85 | strncpy(spkt.sa_data, eth_device, sizeof(spkt.sa_data)); - | ^ -net.c: In function 'send_icmp_packet': -net.c:151:9: warning: '__builtin_strncpy' specified bound 14 equals destination size [-Wstringop-truncation] - 151 | strncpy(spkt.sa_data, eth_device, sizeof(spkt.sa_data)); - | ^ -cc -g -O2 -ffile-prefix-map=/build/reproducible-path/hunt-1.5=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -O2 -g -D_REENTRANT -std=gnu89 -ffile-prefix-map=/build/reproducible-path/hunt-1.5=. -Wdate-time -D_FORTIFY_SOURCE=2 -c -o menu.o menu.c -net.c: In function 'send_arp_packet': -net.c:246:9: warning: '__builtin_strncpy' specified bound 14 equals destination size [-Wstringop-truncation] - 246 | strncpy(spkt.sa_data, eth_device, sizeof(spkt.sa_data)); - | ^ -net.c: In function 'send_packet': -net.c:274:9: warning: '__builtin_strncpy' specified bound 14 equals destination size [-Wstringop-truncation] - 274 | strncpy(spkt.sa_data, eth_device, sizeof(spkt.sa_data)); - | ^ +cc -g -O2 -ffile-prefix-map=/build/reproducible-path/hunt-1.5=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -O2 -g -D_REENTRANT -std=gnu89 -ffile-prefix-map=/build/reproducible-path/hunt-1.5=. -Wdate-time -D_FORTIFY_SOURCE=2 -c -o hijack.o hijack.c In file included from menu.c:9: hunt.h:410:5: warning: conflicting types for built-in function 'log2'; expected 'double(double)' [-Wbuiltin-declaration-mismatch] 410 | int log2(unsigned int i); @@ -468,7 +505,7 @@ 47 | #include "c/hash.h" +++ |+#include 48 | -cc -g -O2 -ffile-prefix-map=/build/reproducible-path/hunt-1.5=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -O2 -g -D_REENTRANT -std=gnu89 -ffile-prefix-map=/build/reproducible-path/hunt-1.5=. -Wdate-time -D_FORTIFY_SOURCE=2 -c -o hijack.o hijack.c +cc -g -O2 -ffile-prefix-map=/build/reproducible-path/hunt-1.5=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -O2 -g -D_REENTRANT -std=gnu89 -ffile-prefix-map=/build/reproducible-path/hunt-1.5=. -Wdate-time -D_FORTIFY_SOURCE=2 -c -o rstd.o rstd.c menu.c: In function 'menu_choose_mac': menu.c:254:36: warning: pointer targets in passing argument 2 of 'parse_mac' differ in signedness [-Wpointer-sign] 254 | if (parse_mac(buf, mac_ret) == 0) @@ -479,6 +516,14 @@ 173 | int parse_mac(char *buf, char *mac_ret) | ~~~~~~^~~~~~~ menu.c: In function 'menu_choose_ports': +In file included from hijack.c:9: +hunt.h:410:5: warning: conflicting types for built-in function 'log2'; expected 'double(double)' [-Wbuiltin-declaration-mismatch] + 410 | int log2(unsigned int i); + | ^~~~ +hunt.h:48:1: note: 'log2' is declared in header '' + 47 | #include "c/hash.h" + +++ |+#include + 48 | menu.c:281:38: warning: pointer targets in passing argument 2 of 'parse_ports' differ in signedness [-Wpointer-sign] 281 | if (parse_ports(buf, ret_ports) == 0) | ^~~~~~~~~ @@ -508,14 +553,7 @@ menu.c:487:9: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 487 | fgets(buf, sizeof(buf), stdin); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -In file included from hijack.c:9: -hunt.h:410:5: warning: conflicting types for built-in function 'log2'; expected 'double(double)' [-Wbuiltin-declaration-mismatch] - 410 | int log2(unsigned int i); - | ^~~~ -hunt.h:48:1: note: 'log2' is declared in header '' - 47 | #include "c/hash.h" - +++ |+#include - 48 | +cc -g -O2 -ffile-prefix-map=/build/reproducible-path/hunt-1.5=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -O2 -g -D_REENTRANT -std=gnu89 -ffile-prefix-map=/build/reproducible-path/hunt-1.5=. -Wdate-time -D_FORTIFY_SOURCE=2 -c -o sniff.o sniff.c hijack.c: In function 'fast_ack_to_dst': hijack.c:89:36: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] 89 | ts.src_mac = ci->src.src_mac; @@ -530,7 +568,6 @@ hijack.c:224:20: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] 224 | ts.dst_mac = ci->dst.src_mac; | ^ -cc -g -O2 -ffile-prefix-map=/build/reproducible-path/hunt-1.5=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -O2 -g -D_REENTRANT -std=gnu89 -ffile-prefix-map=/build/reproducible-path/hunt-1.5=. -Wdate-time -D_FORTIFY_SOURCE=2 -c -o rstd.o rstd.c In file included from rstd.c:9: hunt.h:410:5: warning: conflicting types for built-in function 'log2'; expected 'double(double)' [-Wbuiltin-declaration-mismatch] 410 | int log2(unsigned int i); @@ -539,6 +576,14 @@ 47 | #include "c/hash.h" +++ |+#include 48 | +In file included from sniff.c:9: +hunt.h:410:5: warning: conflicting types for built-in function 'log2'; expected 'double(double)' [-Wbuiltin-declaration-mismatch] + 410 | int log2(unsigned int i); + | ^~~~ +hunt.h:48:1: note: 'log2' is declared in header '' + 47 | #include "c/hash.h" + +++ |+#include + 48 | rstd.c: In function 'rst_add_item': rstd.c:265:44: warning: pointer targets in passing argument 4 of 'menu_choose_host_mask_ports_dfl' differ in signedness [-Wpointer-sign] 265 | &src_mask, src_ports, 0, 0, NULL) < 0) @@ -621,32 +666,6 @@ hunt.h:428:31: note: expected 'unsigned int *' but argument is of type 'int *' 428 | void port_htons(unsigned int *db_ports); | ~~~~~~~~~~~~~~^~~~~~~~ -cc -g -O2 -ffile-prefix-map=/build/reproducible-path/hunt-1.5=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -O2 -g -D_REENTRANT -std=gnu89 -ffile-prefix-map=/build/reproducible-path/hunt-1.5=. -Wdate-time -D_FORTIFY_SOURCE=2 -c -o sniff.o sniff.c -In file included from sniff.c:9: -hunt.h:410:5: warning: conflicting types for built-in function 'log2'; expected 'double(double)' [-Wbuiltin-declaration-mismatch] - 410 | int log2(unsigned int i); - | ^~~~ -hunt.h:48:1: note: 'log2' is declared in header '' - 47 | #include "c/hash.h" - +++ |+#include - 48 | -rstd.c: In function 'db_item_print': -rstd.c:228:30: warning: '%s' directive writing up to 511 bytes into a region of size 508 [-Wformat-overflow=] - 228 | sprintf(buf, "%s/%d [%s]", host_lookup(dbi->src_addr, hl_mode), - | ^~ - 229 | count_mask(dbi->src_mask), buf_src_ports); - | ~~~~~~~~~~~~~ -In file included from /usr/include/stdio.h:906, - from rstd.c:10: -In function 'sprintf', - inlined from 'db_item_print' at rstd.c:228:2: -/usr/include/arm-linux-gnueabihf/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output 6 or more bytes (assuming 517) into a destination of size 512 - 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 31 | __glibc_objsize (__s), __fmt, - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 32 | __va_arg_pack ()); - | ~~~~~~~~~~~~~~~~~ sniff.c: In function 'sniff_item_print': sniff.c:128:28: warning: pointer targets in passing argument 1 of 'sprintf_db_ports' differ in signedness [-Wpointer-sign] 128 | sprintf_db_ports(si->src_ports, buf_src_ports, sizeof(buf_src_ports), 1); @@ -795,6 +814,23 @@ hunt.h:428:31: note: expected 'unsigned int *' but argument is of type 'int *' 428 | void port_htons(unsigned int *db_ports); | ~~~~~~~~~~~~~~^~~~~~~~ +rstd.c: In function 'db_item_print': +rstd.c:228:30: warning: '%s' directive writing up to 511 bytes into a region of size 508 [-Wformat-overflow=] + 228 | sprintf(buf, "%s/%d [%s]", host_lookup(dbi->src_addr, hl_mode), + | ^~ + 229 | count_mask(dbi->src_mask), buf_src_ports); + | ~~~~~~~~~~~~~ +In file included from /usr/include/stdio.h:906, + from rstd.c:10: +In function 'sprintf', + inlined from 'db_item_print' at rstd.c:228:2: +/usr/include/arm-linux-gnueabihf/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output 6 or more bytes (assuming 517) into a destination of size 512 + 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 31 | __glibc_objsize (__s), __fmt, + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 32 | __va_arg_pack ()); + | ~~~~~~~~~~~~~~~~~ cc -g -O2 -ffile-prefix-map=/build/reproducible-path/hunt-1.5=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -O2 -g -D_REENTRANT -std=gnu89 -ffile-prefix-map=/build/reproducible-path/hunt-1.5=. -Wdate-time -D_FORTIFY_SOURCE=2 -c -o macdisc.o macdisc.c sniff.c: In function 'sniff_item_print': sniff.c:135:35: warning: '%s' directive writing up to 511 bytes into a region of size 508 [-Wformat-overflow=] @@ -821,7 +857,6 @@ 47 | #include "c/hash.h" +++ |+#include 48 | -cc -g -O2 -ffile-prefix-map=/build/reproducible-path/hunt-1.5=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -O2 -g -D_REENTRANT -std=gnu89 -ffile-prefix-map=/build/reproducible-path/hunt-1.5=. -Wdate-time -D_FORTIFY_SOURCE=2 -c -o tap.o tap.c macdisc.c: In function 'mac_discover': macdisc.c:40:20: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] 40 | as.src_mac = my_eth_mac; @@ -835,24 +870,17 @@ macdisc.c:45:23: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] 45 | as.target_mac = mac_zero; | ^ +cc -g -O2 -ffile-prefix-map=/build/reproducible-path/hunt-1.5=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -O2 -g -D_REENTRANT -std=gnu89 -ffile-prefix-map=/build/reproducible-path/hunt-1.5=. -Wdate-time -D_FORTIFY_SOURCE=2 -c -o tap.o tap.c +cc -g -O2 -ffile-prefix-map=/build/reproducible-path/hunt-1.5=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -O2 -g -D_REENTRANT -std=gnu89 -ffile-prefix-map=/build/reproducible-path/hunt-1.5=. -Wdate-time -D_FORTIFY_SOURCE=2 -c -o arphijack.o arphijack.c In file included from tap.c:31: hunt.h:410:5: warning: conflicting types for built-in function 'log2'; expected 'double(double)' [-Wbuiltin-declaration-mismatch] 410 | int log2(unsigned int i); | ^~~~ +sniff.c: In function 'sniffer_log_print': hunt.h:48:1: note: 'log2' is declared in header '' 47 | #include "c/hash.h" +++ |+#include 48 | -tap.c: In function 'get_ifc_info': -tap.c:135:31: warning: pointer targets in passing argument 1 of 'print_eth_mac' differ in signedness [-Wpointer-sign] - 135 | print_eth_mac(mac); - | ^~~ - | | - | char * -hunt.h:421:34: note: expected 'unsigned char *' but argument is of type 'char *' - 421 | int print_eth_mac(unsigned char *mac); - | ~~~~~~~~~~~~~~~^~~ -sniff.c: In function 'sniffer_log_print': sniff.c:236:56: warning: '%d' directive writing between 1 and 10 bytes into a region of size between 0 and 511 [-Wformat-overflow=] 236 | sprintf(file_name, "%s_%d", file_name_buf, ++i); | ^~ @@ -868,8 +896,15 @@ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ -cc -g -O2 -ffile-prefix-map=/build/reproducible-path/hunt-1.5=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -O2 -g -D_REENTRANT -std=gnu89 -ffile-prefix-map=/build/reproducible-path/hunt-1.5=. -Wdate-time -D_FORTIFY_SOURCE=2 -c -o arphijack.o arphijack.c -cc -g -O2 -ffile-prefix-map=/build/reproducible-path/hunt-1.5=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -O2 -g -D_REENTRANT -std=gnu89 -ffile-prefix-map=/build/reproducible-path/hunt-1.5=. -Wdate-time -D_FORTIFY_SOURCE=2 -c -o tty.o tty.c +tap.c: In function 'get_ifc_info': +tap.c:135:31: warning: pointer targets in passing argument 1 of 'print_eth_mac' differ in signedness [-Wpointer-sign] + 135 | print_eth_mac(mac); + | ^~~ + | | + | char * +hunt.h:421:34: note: expected 'unsigned char *' but argument is of type 'char *' + 421 | int print_eth_mac(unsigned char *mac); + | ~~~~~~~~~~~~~~~^~~ In file included from arphijack.c:9: hunt.h:410:5: warning: conflicting types for built-in function 'log2'; expected 'double(double)' [-Wbuiltin-declaration-mismatch] 410 | int log2(unsigned int i); @@ -878,14 +913,7 @@ 47 | #include "c/hash.h" +++ |+#include 48 | -In file included from tty.c:9: -hunt.h:410:5: warning: conflicting types for built-in function 'log2'; expected 'double(double)' [-Wbuiltin-declaration-mismatch] - 410 | int log2(unsigned int i); - | ^~~~ -hunt.h:48:1: note: 'log2' is declared in header '' - 47 | #include "c/hash.h" - +++ |+#include - 48 | +cc -g -O2 -ffile-prefix-map=/build/reproducible-path/hunt-1.5=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -O2 -g -D_REENTRANT -std=gnu89 -ffile-prefix-map=/build/reproducible-path/hunt-1.5=. -Wdate-time -D_FORTIFY_SOURCE=2 -c -o tty.o tty.c arphijack.c: In function 'watch_tty': arphijack.c:81:28: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] 81 | ts.dst_mac = wtd->ci->dst.src_mac; @@ -939,6 +967,14 @@ 226 | ts.dst_mac = ci->src.src_mac; | ^ cc -g -O2 -ffile-prefix-map=/build/reproducible-path/hunt-1.5=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -O2 -g -D_REENTRANT -std=gnu89 -ffile-prefix-map=/build/reproducible-path/hunt-1.5=. -Wdate-time -D_FORTIFY_SOURCE=2 -c -o synchijack.o synchijack.c +In file included from tty.c:9: +hunt.h:410:5: warning: conflicting types for built-in function 'log2'; expected 'double(double)' [-Wbuiltin-declaration-mismatch] + 410 | int log2(unsigned int i); + | ^~~~ +hunt.h:48:1: note: 'log2' is declared in header '' + 47 | #include "c/hash.h" + +++ |+#include + 48 | In file included from synchijack.c:9: hunt.h:410:5: warning: conflicting types for built-in function 'log2'; expected 'double(double)' [-Wbuiltin-declaration-mismatch] 410 | int log2(unsigned int i); @@ -947,7 +983,6 @@ 47 | #include "c/hash.h" +++ |+#include 48 | -cc -g -O2 -ffile-prefix-map=/build/reproducible-path/hunt-1.5=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -O2 -g -D_REENTRANT -std=gnu89 -ffile-prefix-map=/build/reproducible-path/hunt-1.5=. -Wdate-time -D_FORTIFY_SOURCE=2 -c -o arpspoof.o arpspoof.c synchijack.c: In function 'hijack_sync_init_msg': synchijack.c:153:28: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] 153 | ts.src_mac = ci->src.dst_mac; @@ -997,7 +1032,9 @@ synchijack.c:464:25: warning: variable 'absts' set but not used [-Wunused-but-set-variable] 464 | struct timespec absts; | ^~~~~ +cc -g -O2 -ffile-prefix-map=/build/reproducible-path/hunt-1.5=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -O2 -g -D_REENTRANT -std=gnu89 -ffile-prefix-map=/build/reproducible-path/hunt-1.5=. -Wdate-time -D_FORTIFY_SOURCE=2 -c -o arpspoof.o arpspoof.c cc -g -O2 -ffile-prefix-map=/build/reproducible-path/hunt-1.5=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -O2 -g -D_REENTRANT -std=gnu89 -ffile-prefix-map=/build/reproducible-path/hunt-1.5=. -Wdate-time -D_FORTIFY_SOURCE=2 -c -o hostup.o hostup.c +cc -g -O2 -ffile-prefix-map=/build/reproducible-path/hunt-1.5=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -O2 -g -D_REENTRANT -std=gnu89 -ffile-prefix-map=/build/reproducible-path/hunt-1.5=. -Wdate-time -D_FORTIFY_SOURCE=2 -c -o addpolicy.o addpolicy.c In file included from arpspoof.c:9: hunt.h:410:5: warning: conflicting types for built-in function 'log2'; expected 'double(double)' [-Wbuiltin-declaration-mismatch] 410 | int log2(unsigned int i); @@ -1006,21 +1043,21 @@ 47 | #include "c/hash.h" +++ |+#include 48 | -In file included from hostup.c:9: +arpspoof.c: In function 'send_src_spoof_to_dst': +In file included from addpolicy.c:9: hunt.h:410:5: warning: conflicting types for built-in function 'log2'; expected 'double(double)' [-Wbuiltin-declaration-mismatch] 410 | int log2(unsigned int i); | ^~~~ -hunt.h:48:1: note: 'log2' is declared in header '' - 47 | #include "c/hash.h" - +++ |+#include - 48 | -arpspoof.c: In function 'send_src_spoof_to_dst': arpspoof.c:85:24: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] 85 | as_dst.src_mac = arp_spoof_with_my_mac ? my_eth_mac : asi->src_fake_mac; | ^ arpspoof.c:86:24: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] 86 | as_dst.dst_mac = asi->dst_mac; | ^ +hunt.h:48:1: note: 'log2' is declared in header '' + 47 | #include "c/hash.h" + +++ |+#include + 48 | arpspoof.c:88:27: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] 88 | as_dst.sender_mac = asi->src_fake_mac; | ^ @@ -1040,6 +1077,14 @@ arpspoof.c:122:27: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] 122 | as_dst.target_mac = mac_zero; | ^ +In file included from hostup.c:9: +hunt.h:410:5: warning: conflicting types for built-in function 'log2'; expected 'double(double)' [-Wbuiltin-declaration-mismatch] + 410 | int log2(unsigned int i); + | ^~~~ +hunt.h:48:1: note: 'log2' is declared in header '' + 47 | #include "c/hash.h" + +++ |+#include + 48 | arpspoof.c: In function 'stop_arp_spoof': arpspoof.c:543:40: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] 543 | as_dst.src_mac = arp_spoof_with_my_mac ? my_eth_mac : @@ -1142,12 +1187,94 @@ hunt.h:700:40: note: expected 'char *' but argument is of type 'unsigned char *' 700 | char *src_mac, char *dst_mac); | ~~~~~~^~~~~~~ +addpolicy.c: In function 'addpolicy_add_item': +addpolicy.c:113:44: warning: pointer targets in passing argument 4 of 'menu_choose_host_mask_ports_dfl' differ in signedness [-Wpointer-sign] + 113 | &src_mask, src_ports, 0, 0, NULL) < 0) + | ^~~~~~~~~ + | | + | int * +hunt.h:371:55: note: expected 'unsigned int *' but argument is of type 'int *' + 371 | unsigned int *ret_mask, unsigned int *ret_ports, + | ~~~~~~~~~~~~~~^~~~~~~~~ +addpolicy.c:116:44: warning: pointer targets in passing argument 4 of 'menu_choose_host_mask_ports_dfl' differ in signedness [-Wpointer-sign] + 116 | &dst_mask, dst_ports, 0, 0, NULL) < 0) + | ^~~~~~~~~ + | | + | int * +hunt.h:371:55: note: expected 'unsigned int *' but argument is of type 'int *' + 371 | unsigned int *ret_mask, unsigned int *ret_ports, + | ~~~~~~~~~~~~~~^~~~~~~~~ +addpolicy.c:125:20: warning: pointer targets in passing argument 1 of 'port_htons' differ in signedness [-Wpointer-sign] + 125 | port_htons(src_ports); + | ^~~~~~~~~ + | | + | int * +hunt.h:428:31: note: expected 'unsigned int *' but argument is of type 'int *' + 428 | void port_htons(unsigned int *db_ports); + | ~~~~~~~~~~~~~~^~~~~~~~ +addpolicy.c:129:20: warning: pointer targets in passing argument 1 of 'port_htons' differ in signedness [-Wpointer-sign] + 129 | port_htons(dst_ports); + | ^~~~~~~~~ + | | + | int * hostup.c: In function 'perform_ping': +hunt.h:428:31: note: expected 'unsigned int *' but argument is of type 'int *' + 428 | void port_htons(unsigned int *db_ports); + | ~~~~~~~~~~~~~~^~~~~~~~ +addpolicy.c: In function 'addpolicy_mod_item': +addpolicy.c:150:49: warning: pointer targets in passing argument 4 of 'menu_choose_host_mask_ports_dfl' differ in signedness [-Wpointer-sign] + 150 | &src_ip, &src_mask, src_ports, + | ^~~~~~~~~ + | | + | int * +hunt.h:371:55: note: expected 'unsigned int *' but argument is of type 'int *' + 371 | unsigned int *ret_mask, unsigned int *ret_ports, + | ~~~~~~~~~~~~~~^~~~~~~~~ +addpolicy.c:151:62: warning: pointer targets in passing argument 7 of 'menu_choose_host_mask_ports_dfl' differ in signedness [-Wpointer-sign] + 151 | api->src_addr, api->src_mask, api->src_ports) < 0) + | ~~~^~~~~~~~~~~ + | | + | unsigned int * hostup.c:87:63: warning: pointer targets in passing argument 3 of 'send_icmp_request' differ in signedness [-Wpointer-sign] 87 | ip, my_eth_mac, | ^~~~~~~~~~ | | | unsigned char * +hunt.h:372:66: note: expected 'int *' but argument is of type 'unsigned int *' + 372 | unsigned int dfl_ip, unsigned int dfl_mask, int *dfl_ports); + | ~~~~~^~~~~~~~~ +addpolicy.c:154:49: warning: pointer targets in passing argument 4 of 'menu_choose_host_mask_ports_dfl' differ in signedness [-Wpointer-sign] + 154 | &dst_ip, &dst_mask, dst_ports, + | ^~~~~~~~~ + | | + | int * +hunt.h:371:55: note: expected 'unsigned int *' but argument is of type 'int *' + 371 | unsigned int *ret_mask, unsigned int *ret_ports, + | ~~~~~~~~~~~~~~^~~~~~~~~ +addpolicy.c:155:62: warning: pointer targets in passing argument 7 of 'menu_choose_host_mask_ports_dfl' differ in signedness [-Wpointer-sign] + 155 | api->dst_addr, api->dst_mask, api->dst_ports) < 0) + | ~~~^~~~~~~~~~~ + | | + | unsigned int * +hunt.h:372:66: note: expected 'int *' but argument is of type 'unsigned int *' + 372 | unsigned int dfl_ip, unsigned int dfl_mask, int *dfl_ports); + | ~~~~~^~~~~~~~~ +addpolicy.c:157:20: warning: pointer targets in passing argument 1 of 'port_htons' differ in signedness [-Wpointer-sign] + 157 | port_htons(src_ports); + | ^~~~~~~~~ + | | + | int * +hunt.h:428:31: note: expected 'unsigned int *' but argument is of type 'int *' + 428 | void port_htons(unsigned int *db_ports); + | ~~~~~~~~~~~~~~^~~~~~~~ +addpolicy.c:158:20: warning: pointer targets in passing argument 1 of 'port_htons' differ in signedness [-Wpointer-sign] + 158 | port_htons(dst_ports); + | ^~~~~~~~~ + | | + | int * +hunt.h:428:31: note: expected 'unsigned int *' but argument is of type 'int *' + 428 | void port_htons(unsigned int *db_ports); + | ~~~~~~~~~~~~~~^~~~~~~~ hunt.h:698:30: note: expected 'char *' but argument is of type 'unsigned char *' 698 | char *src_mac, char *dst_mac, unsigned short seq); | ~~~~~~^~~~~~~ @@ -1259,98 +1386,6 @@ hunt.h:365:64: note: expected 'char *' but argument is of type 'unsigned char *' 365 | int menu_choose_mac(char *label, unsigned char *mac_ret, char *dfl); | ~~~~~~^~~ -cc -g -O2 -ffile-prefix-map=/build/reproducible-path/hunt-1.5=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -O2 -g -D_REENTRANT -std=gnu89 -ffile-prefix-map=/build/reproducible-path/hunt-1.5=. -Wdate-time -D_FORTIFY_SOURCE=2 -c -o addpolicy.o addpolicy.c -In file included from addpolicy.c:9: -hunt.h:410:5: warning: conflicting types for built-in function 'log2'; expected 'double(double)' [-Wbuiltin-declaration-mismatch] - 410 | int log2(unsigned int i); - | ^~~~ -hunt.h:48:1: note: 'log2' is declared in header '' - 47 | #include "c/hash.h" - +++ |+#include - 48 | -addpolicy.c: In function 'addpolicy_add_item': -addpolicy.c:113:44: warning: pointer targets in passing argument 4 of 'menu_choose_host_mask_ports_dfl' differ in signedness [-Wpointer-sign] - 113 | &src_mask, src_ports, 0, 0, NULL) < 0) - | ^~~~~~~~~ - | | - | int * -hunt.h:371:55: note: expected 'unsigned int *' but argument is of type 'int *' - 371 | unsigned int *ret_mask, unsigned int *ret_ports, - | ~~~~~~~~~~~~~~^~~~~~~~~ -addpolicy.c:116:44: warning: pointer targets in passing argument 4 of 'menu_choose_host_mask_ports_dfl' differ in signedness [-Wpointer-sign] - 116 | &dst_mask, dst_ports, 0, 0, NULL) < 0) - | ^~~~~~~~~ - | | - | int * -hunt.h:371:55: note: expected 'unsigned int *' but argument is of type 'int *' - 371 | unsigned int *ret_mask, unsigned int *ret_ports, - | ~~~~~~~~~~~~~~^~~~~~~~~ -addpolicy.c:125:20: warning: pointer targets in passing argument 1 of 'port_htons' differ in signedness [-Wpointer-sign] - 125 | port_htons(src_ports); - | ^~~~~~~~~ - | | - | int * -hunt.h:428:31: note: expected 'unsigned int *' but argument is of type 'int *' - 428 | void port_htons(unsigned int *db_ports); - | ~~~~~~~~~~~~~~^~~~~~~~ -addpolicy.c:129:20: warning: pointer targets in passing argument 1 of 'port_htons' differ in signedness [-Wpointer-sign] - 129 | port_htons(dst_ports); - | ^~~~~~~~~ - | | - | int * -hunt.h:428:31: note: expected 'unsigned int *' but argument is of type 'int *' - 428 | void port_htons(unsigned int *db_ports); - | ~~~~~~~~~~~~~~^~~~~~~~ -addpolicy.c: In function 'addpolicy_mod_item': -addpolicy.c:150:49: warning: pointer targets in passing argument 4 of 'menu_choose_host_mask_ports_dfl' differ in signedness [-Wpointer-sign] - 150 | &src_ip, &src_mask, src_ports, - | ^~~~~~~~~ - | | - | int * -hunt.h:371:55: note: expected 'unsigned int *' but argument is of type 'int *' - 371 | unsigned int *ret_mask, unsigned int *ret_ports, - | ~~~~~~~~~~~~~~^~~~~~~~~ -addpolicy.c:151:62: warning: pointer targets in passing argument 7 of 'menu_choose_host_mask_ports_dfl' differ in signedness [-Wpointer-sign] - 151 | api->src_addr, api->src_mask, api->src_ports) < 0) - | ~~~^~~~~~~~~~~ - | | - | unsigned int * -hunt.h:372:66: note: expected 'int *' but argument is of type 'unsigned int *' - 372 | unsigned int dfl_ip, unsigned int dfl_mask, int *dfl_ports); - | ~~~~~^~~~~~~~~ -addpolicy.c:154:49: warning: pointer targets in passing argument 4 of 'menu_choose_host_mask_ports_dfl' differ in signedness [-Wpointer-sign] - 154 | &dst_ip, &dst_mask, dst_ports, - | ^~~~~~~~~ - | | - | int * -hunt.h:371:55: note: expected 'unsigned int *' but argument is of type 'int *' - 371 | unsigned int *ret_mask, unsigned int *ret_ports, - | ~~~~~~~~~~~~~~^~~~~~~~~ -addpolicy.c:155:62: warning: pointer targets in passing argument 7 of 'menu_choose_host_mask_ports_dfl' differ in signedness [-Wpointer-sign] - 155 | api->dst_addr, api->dst_mask, api->dst_ports) < 0) - | ~~~^~~~~~~~~~~ - | | - | unsigned int * -hunt.h:372:66: note: expected 'int *' but argument is of type 'unsigned int *' - 372 | unsigned int dfl_ip, unsigned int dfl_mask, int *dfl_ports); - | ~~~~~^~~~~~~~~ -addpolicy.c:157:20: warning: pointer targets in passing argument 1 of 'port_htons' differ in signedness [-Wpointer-sign] - 157 | port_htons(src_ports); - | ^~~~~~~~~ - | | - | int * -hunt.h:428:31: note: expected 'unsigned int *' but argument is of type 'int *' - 428 | void port_htons(unsigned int *db_ports); - | ~~~~~~~~~~~~~~^~~~~~~~ -addpolicy.c:158:20: warning: pointer targets in passing argument 1 of 'port_htons' differ in signedness [-Wpointer-sign] - 158 | port_htons(dst_ports); - | ^~~~~~~~~ - | | - | int * -hunt.h:428:31: note: expected 'unsigned int *' but argument is of type 'int *' - 428 | void port_htons(unsigned int *db_ports); - | ~~~~~~~~~~~~~~^~~~~~~~ -cc -g -O2 -ffile-prefix-map=/build/reproducible-path/hunt-1.5=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -O2 -g -D_REENTRANT -std=gnu89 -ffile-prefix-map=/build/reproducible-path/hunt-1.5=. -Wdate-time -D_FORTIFY_SOURCE=2 -c -o options.o options.c addpolicy.c: In function 'addpolicy_item_print': addpolicy.c:79:35: warning: '%s' directive writing up to 511 bytes into a region of size 508 [-Wformat-overflow=] 79 | sprintf(host_buf, "%s/%d [%s]", host_lookup(api->src_addr, hl_mode), @@ -1368,6 +1403,8 @@ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ +cc -g -O2 -ffile-prefix-map=/build/reproducible-path/hunt-1.5=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -O2 -g -D_REENTRANT -std=gnu89 -ffile-prefix-map=/build/reproducible-path/hunt-1.5=. -Wdate-time -D_FORTIFY_SOURCE=2 -c -o options.o options.c +cc -g -O2 -ffile-prefix-map=/build/reproducible-path/hunt-1.5=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -O2 -g -D_REENTRANT -std=gnu89 -ffile-prefix-map=/build/reproducible-path/hunt-1.5=. -Wdate-time -D_FORTIFY_SOURCE=2 -c -o resolv.o resolv.c In file included from options.c:9: hunt.h:410:5: warning: conflicting types for built-in function 'log2'; expected 'double(double)' [-Wbuiltin-declaration-mismatch] 410 | int log2(unsigned int i); @@ -1376,7 +1413,6 @@ 47 | #include "c/hash.h" +++ |+#include 48 | -cc -g -O2 -ffile-prefix-map=/build/reproducible-path/hunt-1.5=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -O2 -g -D_REENTRANT -std=gnu89 -ffile-prefix-map=/build/reproducible-path/hunt-1.5=. -Wdate-time -D_FORTIFY_SOURCE=2 -c -o resolv.o resolv.c In file included from resolv.c:1: hunt.h:410:5: warning: conflicting types for built-in function 'log2'; expected 'double(double)' [-Wbuiltin-declaration-mismatch] 410 | int log2(unsigned int i); @@ -1385,7 +1421,6 @@ 47 | #include "c/hash.h" +++ |+#include 48 | -cc -g -O2 -ffile-prefix-map=/build/reproducible-path/hunt-1.5=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -O2 -g -D_REENTRANT -std=gnu89 -ffile-prefix-map=/build/reproducible-path/hunt-1.5=. -Wdate-time -D_FORTIFY_SOURCE=2 -c -o timer.o timer.c resolv.c: In function 'resolv_request': resolv.c:105:9: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 105 | write(fd_req, &req, sizeof(struct req)); @@ -1408,6 +1443,8 @@ resolv.c:226:25: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 226 | write(fd, res, sizeof(struct res) + res->name_len); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +cc -g -O2 -ffile-prefix-map=/build/reproducible-path/hunt-1.5=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -O2 -g -D_REENTRANT -std=gnu89 -ffile-prefix-map=/build/reproducible-path/hunt-1.5=. -Wdate-time -D_FORTIFY_SOURCE=2 -c -o timer.o timer.c +cc -g -O2 -ffile-prefix-map=/build/reproducible-path/hunt-1.5=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -O2 -g -D_REENTRANT -std=gnu89 -ffile-prefix-map=/build/reproducible-path/hunt-1.5=. -Wdate-time -D_FORTIFY_SOURCE=2 -c -o pktrelay.o pktrelay.c In file included from timer.c:12: hunt.h:410:5: warning: conflicting types for built-in function 'log2'; expected 'double(double)' [-Wbuiltin-declaration-mismatch] 410 | int log2(unsigned int i); @@ -1416,7 +1453,6 @@ 47 | #include "c/hash.h" +++ |+#include 48 | -cc -g -O2 -ffile-prefix-map=/build/reproducible-path/hunt-1.5=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -O2 -g -D_REENTRANT -std=gnu89 -ffile-prefix-map=/build/reproducible-path/hunt-1.5=. -Wdate-time -D_FORTIFY_SOURCE=2 -c -o pktrelay.o pktrelay.c In file included from pktrelay.c:9: hunt.h:410:5: warning: conflicting types for built-in function 'log2'; expected 'double(double)' [-Wbuiltin-declaration-mismatch] 410 | int log2(unsigned int i); @@ -1527,7 +1563,7 @@ cc -Wl,-z,relro -Wl,-z,now -o hunt hunt.o main.o c/list.o c/hash.o c/array.o util.o net.o rst.o menu.o hijack.o rstd.o sniff.o macdisc.o tap.o arphijack.o tty.o synchijack.o arpspoof.o hostup.o addpolicy.o options.o resolv.o timer.o pktrelay.o -lpthread make[2]: Leaving directory '/build/reproducible-path/hunt-1.5' dh_auto_build --sourcedirectory=tpserv - cd tpserv && make -j3 "INSTALL=install --strip-program=true" + cd tpserv && make -j4 "INSTALL=install --strip-program=true" make[2]: Entering directory '/build/reproducible-path/hunt-1.5/tpserv' cc -g -O2 -ffile-prefix-map=/build/reproducible-path/hunt-1.5=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -O2 -g -ffile-prefix-map=/build/reproducible-path/hunt-1.5/tpserv=. -Wdate-time -D_FORTIFY_SOURCE=2 -c -o tpserv.o tpserv.c tpserv.c:58:13: warning: conflicting types for built-in function 'log'; expected 'double(double)' [-Wbuiltin-declaration-mismatch] @@ -1610,8 +1646,8 @@ dh_gencontrol dh_md5sums dh_builddeb -dpkg-deb: building package 'hunt' in '../hunt_1.5-9_armhf.deb'. dpkg-deb: building package 'hunt-dbgsym' in '../hunt-dbgsym_1.5-9_armhf.deb'. +dpkg-deb: building package 'hunt' in '../hunt_1.5-9_armhf.deb'. dpkg-genbuildinfo --build=binary -O../hunt_1.5-9_armhf.buildinfo dpkg-genchanges --build=binary -O../hunt_1.5-9_armhf.changes dpkg-genchanges: info: binary-only upload (no source code included) @@ -1619,12 +1655,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/2357/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/2357/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/6552 and its subdirectories -I: Current time: Thu Apr 11 18:07:09 -12 2024 -I: pbuilder-time-stamp: 1712902029 +I: removing directory /srv/workspace/pbuilder/2357 and its subdirectories +I: Current time: Fri Apr 12 20:08:59 +14 2024 +I: pbuilder-time-stamp: 1712902139