Diff of the two buildlogs: -- --- b1/build.log 2024-07-09 08:18:03.171559771 +0000 +++ b2/build.log 2024-07-09 08:19:31.607801555 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Mon Jul 8 20:14:24 -12 2024 -I: pbuilder-time-stamp: 1720512864 +I: Current time: Tue Jul 9 22:18:12 +14 2024 +I: pbuilder-time-stamp: 1720513092 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/unstable-reproducible-base.tgz] I: copying local configuration @@ -27,52 +27,84 @@ dpkg-source: info: applying debian.patch I: Not using root during the build. I: Installing the build-deps -I: user script /srv/workspace/pbuilder/11255/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/23159/tmp/hooks/D01_modify_environment starting +debug: Running on virt64b. +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 Jul 9 08:18 /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/23159/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/23159/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='unstable' - 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=unstable + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=arm + HOST_ARCH=armhf IFS=' ' - INVOCATION_ID='e857426007ce4ff08ce5cddd766e5444' - 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='11255' - PS1='# ' - PS2='> ' + INVOCATION_ID=e8ec46a37ec14353a4165264f38216a3 + 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=23159 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.QjoWXLSE/pbuilderrc_CYRp --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.QjoWXLSE/b1 --logfile b1/build.log 4g8_1.0-6.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.QjoWXLSE/pbuilderrc_Wkmr --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.QjoWXLSE/b2 --logfile b2/build.log 4g8_1.0-6.dsc' + SUDO_GID=113 + SUDO_UID=107 + 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 cbxi4pro0 6.1.0-22-armmp #1 SMP Debian 6.1.94-1 (2024-06-21) armv7l GNU/Linux + Linux i-capture-the-hostname 6.1.0-22-arm64 #1 SMP Debian 6.1.94-1 (2024-06-21) aarch64 GNU/Linux I: ls -l /bin lrwxrwxrwx 1 root root 7 Jun 5 22:35 /bin -> usr/bin -I: user script /srv/workspace/pbuilder/11255/tmp/hooks/D02_print_environment finished +I: user script /srv/workspace/pbuilder/23159/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -153,7 +185,7 @@ Get: 39 http://deb.debian.org/debian unstable/main armhf libpcap0.8t64 armhf 1.10.4-5 [148 kB] Get: 40 http://deb.debian.org/debian unstable/main armhf libpcap0.8-dev armhf 1.10.4-5 [260 kB] Get: 41 http://deb.debian.org/debian unstable/main armhf libpcap-dev armhf 1.10.4-5 [28.9 kB] -Fetched 20.0 MB in 2s (11.5 MB/s) +Fetched 20.0 MB in 0s (43.4 MB/s) debconf: delaying package configuration, since apt-utils is not installed Selecting previously unselected package sgml-base. (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 ... 19404 files and directories currently installed.) @@ -333,7 +365,11 @@ Building tag database... -> Finished parsing the build-deps I: Building the package -I: Running cd /build/reproducible-path/4g8-1.0/ && 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 > ../4g8_1.0-6_source.changes +I: user script /srv/workspace/pbuilder/23159/tmp/hooks/A99_set_merged_usr starting +Not re-configuring usrmerge for unstable +I: user script /srv/workspace/pbuilder/23159/tmp/hooks/A99_set_merged_usr finished +hostname: Name or service not known +I: Running cd /build/reproducible-path/4g8-1.0/ && 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 > ../4g8_1.0-6_source.changes dpkg-buildpackage: info: source package 4g8 dpkg-buildpackage: info: source version 1.0-6 dpkg-buildpackage: info: source distribution unstable @@ -442,7 +478,7 @@ ----------------------------------------------- dh_auto_build - make -j3 + make -j4 make[1]: Entering directory '/build/reproducible-path/4g8-1.0' make all-recursive make[2]: Entering directory '/build/reproducible-path/4g8-1.0' @@ -451,22 +487,7 @@ gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I../includes -I/usr/include/pcap -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/4g8-1.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -c -o init.o init.c gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I../includes -I/usr/include/pcap -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/4g8-1.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -c -o error.o error.c gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I../includes -I/usr/include/pcap -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/4g8-1.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -c -o utils.o utils.c -error.c: In function 'fatal_error': -error.c:35:41: warning: pointer targets in passing argument 3 of 'vsnprintf' differ in signedness [-Wpointer-sign] - 35 | vsnprintf(error_buf, ERRBUF_MAXLEN, err, va); - | ^~~ - | | - | u_int8_t * {aka unsigned char *} -In file included from /usr/include/features.h:502, - from /usr/include/arm-linux-gnueabihf/bits/libc-header-start.h:33, - from /usr/include/stdio.h:27, - from /usr/include/libnet.h:62, - from globals.h:31, - from error.h:26, - from error.c:23: -/usr/include/arm-linux-gnueabihf/bits/stdio2.h:65:1: note: expected 'const char * restrict' but argument is of type 'u_int8_t *' {aka 'unsigned char *'} - 65 | __NTH (vsnprintf (char *__restrict __s, size_t __n, - | ^~~~~ +gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I../includes -I/usr/include/pcap -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/4g8-1.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -c -o stats.o stats.c init.c: In function 'capture_loop': init.c:32:21: warning: pointer targets in passing argument 1 of 'fatal_error' differ in signedness [-Wpointer-sign] 32 | fatal_error("Unable to inject packet"); @@ -688,6 +709,22 @@ | ^~~~~~ | | | u_int8_t * {aka unsigned char *} +error.c: In function 'fatal_error': +error.c:35:41: warning: pointer targets in passing argument 3 of 'vsnprintf' differ in signedness [-Wpointer-sign] + 35 | vsnprintf(error_buf, ERRBUF_MAXLEN, err, va); + | ^~~ + | | + | u_int8_t * {aka unsigned char *} +In file included from /usr/include/features.h:502, + from /usr/include/arm-linux-gnueabihf/bits/libc-header-start.h:33, + from /usr/include/stdio.h:27, + from /usr/include/libnet.h:62, + from globals.h:31, + from error.h:26, + from error.c:23: +/usr/include/arm-linux-gnueabihf/bits/stdio2.h:65:1: note: expected 'const char * restrict' but argument is of type 'u_int8_t *' {aka 'unsigned char *'} + 65 | __NTH (vsnprintf (char *__restrict __s, size_t __n, + | ^~~~~ /usr/include/arm-linux-gnueabihf/bits/stdio2.h:28:1: note: expected 'char * restrict' but argument is of type 'u_int8_t *' {aka 'unsigned char *'} 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ @@ -1163,6 +1200,18 @@ | ^~~~ | | | u_int8_t * {aka unsigned char *} +stats.c: In function 'capture_stats': +stats.c:46:27: warning: pointer targets in passing argument 3 of 'print_separator' differ in signedness [-Wpointer-sign] + 46 | print_separator(0, 1, "4g8 Capture Statistics"); + | ^~~~~~~~~~~~~~~~~~~~~~~~ + | | + | char * +In file included from globals.h:44, + from stats.h:26, + from stats.c:23: +utils.h:29:32: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' + 29 | void print_separator(int, int, u_int8_t *, ...); + | ^~~~~~~~~~ In file included from /usr/include/libnet.h:67: /usr/include/stdlib.h:177:48: note: expected 'const char * restrict' but argument is of type 'u_int8_t *' {aka 'unsigned char *'} 177 | extern long int strtol (const char *__restrict __nptr, @@ -1184,7 +1233,9 @@ /usr/include/arm-linux-gnueabihf/bits/stdio2.h:28:1: note: expected 'char * restrict' but argument is of type 'u_int8_t *' {aka 'unsigned char *'} 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ -gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I../includes -I/usr/include/pcap -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/4g8-1.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -c -o stats.o stats.c +gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I../includes -I/usr/include/pcap -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/4g8-1.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -c -o usage.o usage.c +gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I../includes -I/usr/include/pcap -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/4g8-1.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -c -o exit.o exit.c +gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I../includes -I/usr/include/pcap -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/4g8-1.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -c -o main.o main.c In file included from /usr/include/stdio.h:964: In function 'vsnprintf', inlined from 'print_separator' at utils.c:88:5: @@ -1193,104 +1244,7 @@ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 69 | __glibc_objsize (__s), __fmt, __ap); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I../includes -I/usr/include/pcap -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/4g8-1.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -c -o usage.o usage.c -stats.c: In function 'capture_stats': -stats.c:46:27: warning: pointer targets in passing argument 3 of 'print_separator' differ in signedness [-Wpointer-sign] - 46 | print_separator(0, 1, "4g8 Capture Statistics"); - | ^~~~~~~~~~~~~~~~~~~~~~~~ - | | - | char * -In file included from globals.h:44, - from stats.h:26, - from stats.c:23: -utils.h:29:32: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' - 29 | void print_separator(int, int, u_int8_t *, ...); - | ^~~~~~~~~~ -gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I../includes -I/usr/include/pcap -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/4g8-1.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -c -o exit.o exit.c -utils.c: In function 'format_ethernet_addr': -utils.c:428:9: warning: '__builtin_strncpy' specified bound 18 equals destination size [-Wstringop-truncation] - 428 | strncpy(o_ethstr, ethstr, 18); - | ^ -In function 'sprintf', - inlined from 'retrieve_rand_ethernet_addr' at utils.c:468:12: -/usr/include/arm-linux-gnueabihf/bits/stdio2.h:30:10: warning: '__builtin___sprintf_chk' argument 5 overlaps destination object 'eaddr' [-Wrestrict] - 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 31 | __glibc_objsize (__s), __fmt, - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 32 | __va_arg_pack ()); - | ~~~~~~~~~~~~~~~~~ -utils.c: In function 'retrieve_rand_ethernet_addr': -utils.c:455:39: note: destination object referenced by 'restrict'-qualified argument 1 was declared here - 455 | retrieve_rand_ethernet_addr(u_int8_t *eaddr) - | ~~~~~~~~~~^~~~~ -gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I../includes -I/usr/include/pcap -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/4g8-1.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -c -o main.o main.c gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I../includes -I/usr/include/pcap -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/4g8-1.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -c -o tcp_hdr.o tcp_hdr.c -gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I../includes -I/usr/include/pcap -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/4g8-1.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -c -o udp_hdr.o udp_hdr.c -main.c: In function 'main': -main.c:60:28: warning: pointer targets in assignment from 'char *' to 'u_int8_t *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] - 60 | if(!(gw_ip = strdup(optarg))) - | ^ -main.c:61:33: warning: pointer targets in passing argument 1 of 'fatal_error' differ in signedness [-Wpointer-sign] - 61 | fatal_error("Memory unavailable for: %s", optarg); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ - | | - | char * -In file included from usage.h:29, - from globals.h:45, - from main.h:44, - from main.c:23: -error.h:34:18: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' - 34 | void fatal_error(u_int8_t *,...); - | ^~~~~~~~~~ -main.c:66:29: warning: pointer targets in assignment from 'char *' to 'u_int8_t *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] - 66 | if(!(gw_mac = strdup(optarg))) - | ^ -main.c:67:33: warning: pointer targets in passing argument 1 of 'fatal_error' differ in signedness [-Wpointer-sign] - 67 | fatal_error("Memory unavailable for: %s", optarg); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ - | | - | char * -error.h:34:18: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' - 34 | void fatal_error(u_int8_t *,...); - | ^~~~~~~~~~ -main.c:77:29: warning: pointer targets in assignment from 'char *' to 'u_int8_t *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] - 77 | if(!(device = strdup(optarg))) - | ^ -main.c:78:33: warning: pointer targets in passing argument 1 of 'fatal_error' differ in signedness [-Wpointer-sign] - 78 | fatal_error("Memory unavailable for: %s", optarg); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ - | | - | char * -error.h:34:18: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' - 34 | void fatal_error(u_int8_t *,...); - | ^~~~~~~~~~ -main.c:83:30: warning: pointer targets in assignment from 'char *' to 'u_int8_t *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] - 83 | if(!(host_ip = strdup(optarg))) - | ^ -main.c:84:33: warning: pointer targets in passing argument 1 of 'fatal_error' differ in signedness [-Wpointer-sign] - 84 | fatal_error("Memory unavailable for: %s", optarg); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ - | | - | char * -error.h:34:18: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' - 34 | void fatal_error(u_int8_t *,...); - | ^~~~~~~~~~ -main.c:89:31: warning: pointer targets in assignment from 'char *' to 'u_int8_t *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] - 89 | if(!(host_mac = strdup(optarg))) - | ^ -main.c:90:33: warning: pointer targets in passing argument 1 of 'fatal_error' differ in signedness [-Wpointer-sign] - 90 | fatal_error("Memory unavailable for: %s", optarg); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ - | | - | char * -error.h:34:18: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' - 34 | void fatal_error(u_int8_t *,...); - | ^~~~~~~~~~ -main.c:100:17: warning: '__builtin_strncpy' specified bound 32 equals destination size [-Wstringop-truncation] - 100 | strncpy(w_file, optarg, OPT_MAXLEN); - | ^ -gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I../includes -I/usr/include/pcap -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/4g8-1.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -c -o icmpv4_hdr.o icmpv4_hdr.c tcp_hdr.c: In function 'tcp_hdr': tcp_hdr.c:47:16: warning: pointer targets in passing argument 1 of 'strcat' differ in signedness [-Wpointer-sign] 47 | strcat(flags, "U"); @@ -1374,19 +1328,88 @@ error.h:34:18: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' 34 | void fatal_error(u_int8_t *,...); | ^~~~~~~~~~ -udp_hdr.c: In function 'udp_hdr': -udp_hdr.c:55:21: warning: pointer targets in passing argument 1 of 'fatal_error' differ in signedness [-Wpointer-sign] - 55 | fatal_error("Unable to build UDP header: %s", libnet_geterror(pkt_d)); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - | | - | char * +main.c: In function 'main': +main.c:60:28: warning: pointer targets in assignment from 'char *' to 'u_int8_t *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] + 60 | if(!(gw_ip = strdup(optarg))) + | ^ +main.c:61:33: warning: pointer targets in passing argument 1 of 'fatal_error' differ in signedness [-Wpointer-sign] + 61 | fatal_error("Memory unavailable for: %s", optarg); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ + | | + | char * In file included from usage.h:29, from globals.h:45, - from udp_hdr.h:26, - from udp_hdr.c:23: + from main.h:44, + from main.c:23: +error.h:34:18: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' + 34 | void fatal_error(u_int8_t *,...); + | ^~~~~~~~~~ +main.c:66:29: warning: pointer targets in assignment from 'char *' to 'u_int8_t *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] + 66 | if(!(gw_mac = strdup(optarg))) + | ^ +main.c:67:33: warning: pointer targets in passing argument 1 of 'fatal_error' differ in signedness [-Wpointer-sign] + 67 | fatal_error("Memory unavailable for: %s", optarg); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ + | | + | char * +error.h:34:18: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' + 34 | void fatal_error(u_int8_t *,...); + | ^~~~~~~~~~ +main.c:77:29: warning: pointer targets in assignment from 'char *' to 'u_int8_t *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] + 77 | if(!(device = strdup(optarg))) + | ^ +main.c:78:33: warning: pointer targets in passing argument 1 of 'fatal_error' differ in signedness [-Wpointer-sign] + 78 | fatal_error("Memory unavailable for: %s", optarg); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ + | | + | char * error.h:34:18: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' 34 | void fatal_error(u_int8_t *,...); | ^~~~~~~~~~ +main.c:83:30: warning: pointer targets in assignment from 'char *' to 'u_int8_t *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] + 83 | if(!(host_ip = strdup(optarg))) + | ^ +main.c:84:33: warning: pointer targets in passing argument 1 of 'fatal_error' differ in signedness [-Wpointer-sign] + 84 | fatal_error("Memory unavailable for: %s", optarg); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ + | | + | char * +error.h:34:18: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' + 34 | void fatal_error(u_int8_t *,...); + | ^~~~~~~~~~ +main.c:89:31: warning: pointer targets in assignment from 'char *' to 'u_int8_t *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] + 89 | if(!(host_mac = strdup(optarg))) + | ^ +main.c:90:33: warning: pointer targets in passing argument 1 of 'fatal_error' differ in signedness [-Wpointer-sign] + 90 | fatal_error("Memory unavailable for: %s", optarg); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ + | | + | char * +error.h:34:18: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' + 34 | void fatal_error(u_int8_t *,...); + | ^~~~~~~~~~ +utils.c: In function 'format_ethernet_addr': +utils.c:428:9: warning: '__builtin_strncpy' specified bound 18 equals destination size [-Wstringop-truncation] + 428 | strncpy(o_ethstr, ethstr, 18); + | ^ +main.c:100:17: warning: '__builtin_strncpy' specified bound 32 equals destination size [-Wstringop-truncation] + 100 | strncpy(w_file, optarg, OPT_MAXLEN); + | ^ +gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I../includes -I/usr/include/pcap -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/4g8-1.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -c -o udp_hdr.o udp_hdr.c +In function 'sprintf', + inlined from 'retrieve_rand_ethernet_addr' at utils.c:468:12: +/usr/include/arm-linux-gnueabihf/bits/stdio2.h:30:10: warning: '__builtin___sprintf_chk' argument 5 overlaps destination object 'eaddr' [-Wrestrict] + 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 31 | __glibc_objsize (__s), __fmt, + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 32 | __va_arg_pack ()); + | ~~~~~~~~~~~~~~~~~ +utils.c: In function 'retrieve_rand_ethernet_addr': +utils.c:455:39: note: destination object referenced by 'restrict'-qualified argument 1 was declared here + 455 | retrieve_rand_ethernet_addr(u_int8_t *eaddr) + | ~~~~~~~~~~^~~~~ +gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I../includes -I/usr/include/pcap -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/4g8-1.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -c -o icmpv4_hdr.o icmpv4_hdr.c gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I../includes -I/usr/include/pcap -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/4g8-1.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -c -o ipv4_hdr.o ipv4_hdr.c gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I../includes -I/usr/include/pcap -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/4g8-1.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -c -o ethernet_hdr.o ethernet_hdr.c icmpv4_hdr.c: In function 'icmpv4_hdr': @@ -1452,16 +1475,16 @@ error.h:34:18: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' 34 | void fatal_error(u_int8_t *,...); | ^~~~~~~~~~ -ethernet_hdr.c: In function 'ethernet_hdr': -ethernet_hdr.c:69:21: warning: pointer targets in passing argument 1 of 'fatal_error' differ in signedness [-Wpointer-sign] - 69 | fatal_error("Unable to build ethernet header"); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +udp_hdr.c: In function 'udp_hdr': +udp_hdr.c:55:21: warning: pointer targets in passing argument 1 of 'fatal_error' differ in signedness [-Wpointer-sign] + 55 | fatal_error("Unable to build UDP header: %s", libnet_geterror(pkt_d)); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * In file included from usage.h:29, from globals.h:45, - from ethernet_hdr.h:26, - from ethernet_hdr.c:23: + from udp_hdr.h:26, + from udp_hdr.c:23: error.h:34:18: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' 34 | void fatal_error(u_int8_t *,...); | ^~~~~~~~~~ @@ -1485,6 +1508,19 @@ 34 | void fatal_error(u_int8_t *,...); | ^~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I../includes -I/usr/include/pcap -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/4g8-1.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -c -o dump_packet.o dump_packet.c +ethernet_hdr.c: In function 'ethernet_hdr': +ethernet_hdr.c:69:21: warning: pointer targets in passing argument 1 of 'fatal_error' differ in signedness [-Wpointer-sign] + 69 | fatal_error("Unable to build ethernet header"); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + | | + | char * +In file included from usage.h:29, + from globals.h:45, + from ethernet_hdr.h:26, + from ethernet_hdr.c:23: +error.h:34:18: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' + 34 | void fatal_error(u_int8_t *,...); + | ^~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I../includes -I/usr/include/pcap -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/4g8-1.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -c -o arp_cache.o arp_cache.c gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I../includes -I/usr/include/pcap -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/4g8-1.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -c -o process_packets.o process_packets.c arp_cache.c: In function 'arp_cache_mgr': @@ -1641,7 +1677,7 @@ make[2]: Leaving directory '/build/reproducible-path/4g8-1.0' make[1]: Leaving directory '/build/reproducible-path/4g8-1.0' dh_auto_test - make -j3 check "TESTSUITEFLAGS=-j3 --verbose" VERBOSE=1 + make -j4 check "TESTSUITEFLAGS=-j4 --verbose" VERBOSE=1 make[1]: Entering directory '/build/reproducible-path/4g8-1.0' Making check in src make[2]: Entering directory '/build/reproducible-path/4g8-1.0/src' @@ -1653,7 +1689,7 @@ create-stamp debian/debhelper-build-stamp dh_prep dh_auto_install --destdir=debian/4g8/ - make -j3 install DESTDIR=/build/reproducible-path/4g8-1.0/debian/4g8 AM_UPDATE_INFO_DIR=no + make -j4 install DESTDIR=/build/reproducible-path/4g8-1.0/debian/4g8 AM_UPDATE_INFO_DIR=no make[1]: Entering directory '/build/reproducible-path/4g8-1.0' Making install in src make[2]: Entering directory '/build/reproducible-path/4g8-1.0/src' @@ -1691,8 +1727,8 @@ dh_gencontrol dh_md5sums dh_builddeb -dpkg-deb: building package '4g8-dbgsym' in '../4g8-dbgsym_1.0-6_armhf.deb'. dpkg-deb: building package '4g8' in '../4g8_1.0-6_armhf.deb'. +dpkg-deb: building package '4g8-dbgsym' in '../4g8-dbgsym_1.0-6_armhf.deb'. dpkg-genbuildinfo --build=binary -O../4g8_1.0-6_armhf.buildinfo dpkg-genchanges --build=binary -O../4g8_1.0-6_armhf.changes dpkg-genchanges: info: binary-only upload (no source code included) @@ -1700,12 +1736,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/23159/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/23159/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/11255 and its subdirectories -I: Current time: Mon Jul 8 20:17:58 -12 2024 -I: pbuilder-time-stamp: 1720513078 +I: removing directory /srv/workspace/pbuilder/23159 and its subdirectories +I: Current time: Tue Jul 9 22:19:26 +14 2024 +I: pbuilder-time-stamp: 1720513166