Diff of the two buildlogs: -- --- b1/build.log 2024-04-08 21:49:57.185936076 +0000 +++ b2/build.log 2024-04-08 21:52:27.147551858 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Mon Apr 8 09:48:19 -12 2024 -I: pbuilder-time-stamp: 1712612899 +I: Current time: Tue Apr 9 11:50:08 +14 2024 +I: pbuilder-time-stamp: 1712613008 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/trixie-reproducible-base.tgz] I: copying local configuration @@ -31,52 +31,84 @@ dpkg-source: info: applying 0004_add_sig_handler.patch I: using fakeroot in build. I: Installing the build-deps -I: user script /srv/workspace/pbuilder/23839/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/27962/tmp/hooks/D01_modify_environment starting +debug: Running on ff64a. +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 8 21:50 /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/27962/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/27962/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=6 ' + 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='876ac5691dd4455c8e62d816d544c7ef' - 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='23839' - PS1='# ' - PS2='> ' + INVOCATION_ID=125fe18581f84b0f8c237117fa0800e8 + 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=27962 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.JE4kKIlF/pbuilderrc_zVil --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.JE4kKIlF/b1 --logfile b1/build.log nat_1.0-6.1.dsc' - SUDO_GID='110' - SUDO_UID='103' - 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.JE4kKIlF/pbuilderrc_HAuI --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.JE4kKIlF/b2 --logfile b2/build.log nat_1.0-6.1.dsc' + SUDO_GID=114 + SUDO_UID=109 + 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 virt32z 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 7 11:25 /bin -> usr/bin -I: user script /srv/workspace/pbuilder/23839/tmp/hooks/D02_print_environment finished + lrwxrwxrwx 1 root root 7 Apr 6 11:27 /bin -> usr/bin +I: user script /srv/workspace/pbuilder/27962/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -142,7 +174,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 0s (40.4 MB/s) +Fetched 18.3 MB in 1s (26.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 ... 19636 files and directories currently installed.) @@ -282,7 +314,11 @@ fakeroot is already the newest version (1.33-1). 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. I: Building the package -I: Running cd /build/reproducible-path/nat-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 > ../nat_1.0-6.1_source.changes +I: user script /srv/workspace/pbuilder/27962/tmp/hooks/A99_set_merged_usr starting +Not re-configuring usrmerge for trixie +I: user script /srv/workspace/pbuilder/27962/tmp/hooks/A99_set_merged_usr finished +hostname: Name or service not known +I: Running cd /build/reproducible-path/nat-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 > ../nat_1.0-6.1_source.changes dpkg-buildpackage: info: source package nat dpkg-buildpackage: info: source version 1:1.0-6.1 dpkg-buildpackage: info: source distribution unstable @@ -292,7 +328,7 @@ fakeroot debian/rules clean dh clean dh_auto_clean - make -j3 clean + make -j6 clean make[1]: Entering directory '/build/reproducible-path/nat-1.0' Makefile:383: warning: ignoring prerequisites on suffix rule definition rm -f core *.o *~ nat client @@ -304,7 +340,7 @@ dh_autoreconf dh_auto_configure dh_auto_build - make -j3 "INSTALL=install --strip-program=true" + make -j6 "INSTALL=install --strip-program=true" make[1]: Entering directory '/build/reproducible-path/nat-1.0' Makefile:383: warning: ignoring prerequisites on suffix rule definition Compiling nat.c @@ -313,6 +349,12 @@ gcc -DSTEPPING -DSCANNER -DVERBOSE -DWORKGROUP=\"WORKGROUP\" -DGUEST_ACCOUNT=\"nobody\" -DLINUX -DNO_ASMSIGNALH -ggdb -Wall -c client.c Compiling util.c gcc -DSTEPPING -DSCANNER -DVERBOSE -DWORKGROUP=\"WORKGROUP\" -DGUEST_ACCOUNT=\"nobody\" -DLINUX -DNO_ASMSIGNALH -ggdb -Wall -c util.c +Compiling system.c +gcc -DSTEPPING -DSCANNER -DVERBOSE -DWORKGROUP=\"WORKGROUP\" -DGUEST_ACCOUNT=\"nobody\" -DLINUX -DNO_ASMSIGNALH -ggdb -Wall -c system.c +Compiling nmb.c +gcc -DSTEPPING -DSCANNER -DVERBOSE -DWORKGROUP=\"WORKGROUP\" -DGUEST_ACCOUNT=\"nobody\" -DLINUX -DNO_ASMSIGNALH -ggdb -Wall -c nmb.c +Compiling charset.c +gcc -DSTEPPING -DSCANNER -DVERBOSE -DWORKGROUP=\"WORKGROUP\" -DGUEST_ACCOUNT=\"nobody\" -DLINUX -DNO_ASMSIGNALH -ggdb -Wall -c charset.c nat.c: In function 'clear_block': nat.c:225:72: warning: format '%x' expects argument of type 'unsigned int', but argument 4 has type 'char **' [-Wformat=] 225 | fprintf (stderr, "OOPS! clear_block tried to clear bogus entry %d @ %x\n", @@ -323,6 +365,101 @@ | ~~~ | | | char ** +client.c: In function 'cmp_stash': +client.c:364:7: warning: the comparison will always evaluate as 'true' for the address of 'name' will never be NULL [-Waddress] + 364 | if (! cur_stash->name) /* various hairy errors */ + | ^ +In file included from includes.h:953, + from client.c:33: +smb.h:240:11: note: 'name' declared here + 240 | pstring name; + | ^~~~ +client.c:366:21: warning: the comparison will always evaluate as 'true' for the address of 'name' will never be NULL [-Waddress] + 366 | if ((! finfo) || (! finfo->name)) + | ^ +smb.h:240:11: note: 'name' declared here + 240 | pstring name; + | ^~~~ +client.c:383:5: warning: implicit declaration of function 'natprintf'; did you mean 'dprintf'? [-Wimplicit-function-declaration] + 383 | natprintf("[*]--- WARNING: Was able to exercise .. bug in: %s\n", cur_dir); + | ^~~~~~~~~ + | dprintf +charset.c: In function 'add_dos_char': +charset.c:45:27: warning: array subscript has type 'char' [-Wchar-subscripts] + 45 | if (lower) dos_char_map[(char)lower] = 1; + | ^~~~~~~~~~~ +charset.c:46:27: warning: array subscript has type 'char' [-Wchar-subscripts] + 46 | if (upper) dos_char_map[(char)upper] = 1; + | ^~~~~~~~~~~ +charset.c:48:20: warning: array subscript has type 'char' [-Wchar-subscripts] + 48 | lower_char_map[(char)upper] = (char)lower; + | ^~~~~~~~~~~ +charset.c:49:20: warning: array subscript has type 'char' [-Wchar-subscripts] + 49 | upper_char_map[(char)lower] = (char)upper; + | ^~~~~~~~~~~ +charset.c: In function 'charset_initialise': +charset.c:65:18: warning: array subscript has type 'char' [-Wchar-subscripts] + 65 | dos_char_map[(char)i] = 0; + | ^~~~~~~ +charset.c:76:35: warning: array subscript has type 'char' [-Wchar-subscripts] + 76 | if (isupper(c)) lower_char_map[c] = tolower(c); + | ^ +charset.c:77:35: warning: array subscript has type 'char' [-Wchar-subscripts] + 77 | if (islower(c)) upper_char_map[c] = toupper(c); + | ^ +client.c:388:5: warning: implicit declaration of function 'fill_vuln' [-Wimplicit-function-declaration] + 388 | fill_vuln ("Was able to exercise .. bug in directory:", cur_dir); + | ^~~~~~~~~ +client.c: In function 'cmd_cd': +client.c:676:15: warning: unused variable 'dname' [-Wunused-variable] + 676 | pstring dname; + | ^~~~~ +client.c:673:11: warning: unused variable 'saved_dir' [-Wunused-variable] + 673 | pstring saved_dir; + | ^~~~~~~~~ +Compiling parse_ip.c +gcc -DSTEPPING -DSCANNER -DVERBOSE -DWORKGROUP=\"WORKGROUP\" -DGUEST_ACCOUNT=\"nobody\" -DLINUX -DNO_ASMSIGNALH -ggdb -Wall -c parse_ip.c +client.c: In function 'do_short_dir': +client.c:1067:1: warning: label 'sd_skip' defined but not used [-Wunused-label] + 1067 | sd_skip: + | ^~~~~~~ +client.c: In function 'do_long_dir': +client.c:1301:7: warning: this 'if' clause does not guard... [-Wmisleading-indentation] + 1301 | if (resp_data) free(resp_data); resp_data = NULL; + | ^~ +client.c:1301:39: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' + 1301 | if (resp_data) free(resp_data); resp_data = NULL; + | ^~~~~~~~~ +client.c:1302:7: warning: this 'if' clause does not guard... [-Wmisleading-indentation] + 1302 | if (resp_param) free(resp_param); resp_param = NULL; + | ^~ +client.c:1302:41: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' + 1302 | if (resp_param) free(resp_param); resp_param = NULL; + | ^~~~~~~~~~ +client.c: In function 'interpret_serr': +client.c:2162:16: warning: unused variable 'reserr' [-Wunused-variable] + 2162 | register int reserr = 0; + | ^~~~~~ +client.c: In function 'send_status': +client.c:2203:7: warning: implicit declaration of function 'H_name_status'; did you mean 'send_status'? [-Wimplicit-function-declaration] + 2203 | x = H_name_status(udpfd, lookup, name_type, dest_ip); + | ^~~~~~~~~~~~~ + | send_status +client.c: In function 'send_setup': +client.c:2439:49: warning: "/*" within comment [-Wcomment] + 2439 | if (!doencrypt) passlen--; /* WHY??!?!? */ + | +client.c: In function 'send_login': +client.c:2749:11: warning: unused variable 'dev' [-Wunused-variable] + 2749 | fstring dev; + | ^~~ +client.c: In function 'browse_host': +client.c:3015:12: warning: variable 'long_share_name' set but not used [-Wunused-but-set-variable] + 3015 | BOOL long_share_name=False; + | ^~~~~~~~~~~~~~~ +Compiling sighandler.c +gcc -DSTEPPING -DSCANNER -DVERBOSE -DWORKGROUP=\"WORKGROUP\" -DGUEST_ACCOUNT=\"nobody\" -DLINUX -DNO_ASMSIGNALH -ggdb -Wall -c sighandler.c +client.c: In function 'step': In file included from includes.h:960, from util.c:29: util.c: In function 'name_mangle': @@ -332,6 +469,10 @@ util.c:921:14: note: in expansion of macro 'toupper' 921 | char c = toupper(in[i]); | ^~~~~~~ +client.c:3432:16: warning: implicit declaration of function 'Get_Hostbyaddr'; did you mean 'gethostbyaddr'? [-Wimplicit-function-declaration] + 3432 | p = (char *) Get_Hostbyaddr (dest_ip); + | ^~~~~~~~~~~~~~ + | gethostbyaddr util.c: In function 'StrCaseCmp': charset.h:62:35: warning: array subscript has type 'char' [-Wchar-subscripts] 62 | #define tolower(c) lower_char_map[(char)(c)] @@ -388,27 +529,12 @@ util.c:1189:17: note: in expansion of macro 'tolower' 1189 | if (n) return(tolower(*s) - tolower(*t)); | ^~~~~~~ -client.c: In function 'cmp_stash': -client.c:364:7: warning: the comparison will always evaluate as 'true' for the address of 'name' will never be NULL [-Waddress] - 364 | if (! cur_stash->name) /* various hairy errors */ - | ^ -In file included from includes.h:953, - from client.c:33: -smb.h:240:11: note: 'name' declared here - 240 | pstring name; - | ^~~~ -client.c:366:21: warning: the comparison will always evaluate as 'true' for the address of 'name' will never be NULL [-Waddress] - 366 | if ((! finfo) || (! finfo->name)) - | ^ charset.h:62:35: warning: array subscript has type 'char' [-Wchar-subscripts] 62 | #define tolower(c) lower_char_map[(char)(c)] | ^~~~~~~~~ util.c:1189:31: note: in expansion of macro 'tolower' 1189 | if (n) return(tolower(*s) - tolower(*t)); | ^~~~~~~ -smb.h:240:11: note: 'name' declared here - 240 | pstring name; - | ^~~~ util.c: In function 'strlower': charset.h:62:35: warning: array subscript has type 'char' [-Wchar-subscripts] 62 | #define tolower(c) lower_char_map[(char)(c)] @@ -441,22 +567,26 @@ util.c:1295:14: note: in expansion of macro 'toupper' 1295 | *s = toupper(*s); | ^~~~~~~ -client.c:383:5: warning: implicit declaration of function 'natprintf'; did you mean 'dprintf'? [-Wimplicit-function-declaration] - 383 | natprintf("[*]--- WARNING: Was able to exercise .. bug in: %s\n", cur_dir); - | ^~~~~~~~~ - | dprintf -client.c:388:5: warning: implicit declaration of function 'fill_vuln' [-Wimplicit-function-declaration] - 388 | fill_vuln ("Was able to exercise .. bug in directory:", cur_dir); - | ^~~~~~~~~ -client.c: In function 'cmd_cd': -client.c:676:15: warning: unused variable 'dname' [-Wunused-variable] - 676 | pstring dname; - | ^~~~~ -client.c:673:11: warning: unused variable 'saved_dir' [-Wunused-variable] - 673 | pstring saved_dir; - | ^~~~~~~~~ -Compiling system.c -gcc -DSTEPPING -DSCANNER -DVERBOSE -DWORKGROUP=\"WORKGROUP\" -DGUEST_ACCOUNT=\"nobody\" -DLINUX -DNO_ASMSIGNALH -ggdb -Wall -c system.c +client.c:3495:1: warning: label 'phase_1' defined but not used [-Wunused-label] + 3495 | phase_1: /* pass the wacky rfc1002 stuff */ + | ^~~~~~~ +client.c:3360:16: warning: unused variable 'i' [-Wunused-variable] + 3360 | register int i; + | ^ +nmb.c: In function 'interpret_node_status': +nmb.c:651:25: warning: bitwise comparison always evaluates to false [-Wtautological-compare] + 651 | if ((p[0] & 0x60) == 1) strcat(flags,"P "); + | ^~ +client.c: In function 'nas_step': +nmb.c:652:25: warning: bitwise comparison always evaluates to false [-Wtautological-compare] + 652 | if ((p[0] & 0x60) == 2) strcat(flags,"M "); + | ^~ +nmb.c:653:25: warning: bitwise comparison always evaluates to false [-Wtautological-compare] + 653 | if ((p[0] & 0x60) == 3) strcat(flags,"_ "); + | ^~ +client.c:3948:16: warning: unused variable 'i' [-Wunused-variable] + 3948 | register int i; + | ^ util.c: In function 'strhasupper': charset.h:62:35: warning: array subscript has type 'char' [-Wchar-subscripts] 62 | #define tolower(c) lower_char_map[(char)(c)] @@ -468,10 +598,6 @@ 1967 | if (isupper(*s)) return(True); | ^~~~~~~ util.c: In function 'strhaslower': -client.c: In function 'do_short_dir': -client.c:1067:1: warning: label 'sd_skip' defined but not used [-Wunused-label] - 1067 | sd_skip: - | ^~~~~~~ charset.h:61:35: warning: array subscript has type 'char' [-Wchar-subscripts] 61 | #define toupper(c) upper_char_map[(char)(c)] | ^~~~~~~~~ @@ -481,91 +607,24 @@ util.c:1991:11: note: in expansion of macro 'islower' 1991 | if (islower(*s)) return(True); | ^~~~~~~ -client.c: In function 'do_long_dir': -client.c:1301:7: warning: this 'if' clause does not guard... [-Wmisleading-indentation] - 1301 | if (resp_data) free(resp_data); resp_data = NULL; - | ^~ -client.c:1301:39: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' - 1301 | if (resp_data) free(resp_data); resp_data = NULL; - | ^~~~~~~~~ +nmb.c: In function 'H_interpret_node_status': +nmb.c:804:6: warning: implicit declaration of function 'natprintf'; did you mean 'dprintf'? [-Wimplicit-function-declaration] + 804 | natprintf("[*]--- Remote systems name tables:\n\n"); + | ^~~~~~~~~ + | dprintf +nmb.c:819:25: warning: bitwise comparison always evaluates to false [-Wtautological-compare] + 819 | if ((p[0] & 0x60) == 1) strcat(flags,"P "); + | ^~ +nmb.c:820:25: warning: bitwise comparison always evaluates to false [-Wtautological-compare] + 820 | if ((p[0] & 0x60) == 2) strcat(flags,"M "); + | ^~ +nmb.c:821:25: warning: bitwise comparison always evaluates to false [-Wtautological-compare] + 821 | if ((p[0] & 0x60) == 3) strcat(flags,"_ "); + | ^~ util.c: In function 'read_max_udp': -client.c:1302:7: warning: this 'if' clause does not guard... [-Wmisleading-indentation] - 1302 | if (resp_param) free(resp_param); resp_param = NULL; - | ^~ util.c:2309:7: warning: variable 'selrtn' set but not used [-Wunused-but-set-variable] 2309 | int selrtn; | ^~~~~~ -client.c:1302:41: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' - 1302 | if (resp_param) free(resp_param); resp_param = NULL; - | ^~~~~~~~~~ -util.c: In function 'do_match': -charset.h:61:35: warning: array subscript has type 'char' [-Wchar-subscripts] - 61 | #define toupper(c) upper_char_map[(char)(c)] - | ^~~~~~~~~ -util.c:2968:51: note: in expansion of macro 'toupper' - 2968 | while(*str && (case_sig ? (*p != *str) : (toupper(*p)!=toupper(*str)))) - | ^~~~~~~ -charset.h:61:35: warning: array subscript has type 'char' [-Wchar-subscripts] - 61 | #define toupper(c) upper_char_map[(char)(c)] - | ^~~~~~~~~ -util.c:2968:64: note: in expansion of macro 'toupper' - 2968 | while(*str && (case_sig ? (*p != *str) : (toupper(*p)!=toupper(*str)))) - | ^~~~~~~ -charset.h:61:35: warning: array subscript has type 'char' [-Wchar-subscripts] - 61 | #define toupper(c) upper_char_map[(char)(c)] - | ^~~~~~~~~ -util.c:2984:12: note: in expansion of macro 'toupper' - 2984 | if(toupper(*str) != toupper(*p)) - | ^~~~~~~ -charset.h:61:35: warning: array subscript has type 'char' [-Wchar-subscripts] - 61 | #define toupper(c) upper_char_map[(char)(c)] - | ^~~~~~~~~ -util.c:2984:29: note: in expansion of macro 'toupper' - 2984 | if(toupper(*str) != toupper(*p)) - | ^~~~~~~ -client.c: In function 'interpret_serr': -client.c:2162:16: warning: unused variable 'reserr' [-Wunused-variable] - 2162 | register int reserr = 0; - | ^~~~~~ -client.c: In function 'send_status': -client.c:2203:7: warning: implicit declaration of function 'H_name_status'; did you mean 'send_status'? [-Wimplicit-function-declaration] - 2203 | x = H_name_status(udpfd, lookup, name_type, dest_ip); - | ^~~~~~~~~~~~~ - | send_status -client.c: In function 'send_setup': -client.c:2439:49: warning: "/*" within comment [-Wcomment] - 2439 | if (!doencrypt) passlen--; /* WHY??!?!? */ - | -util.c: In function 'open_socket_in': -util.c:3722:11: warning: unused variable 'host_name' [-Wunused-variable] - 3722 | pstring host_name; - | ^~~~~~~~~ -util.c:3720:19: warning: unused variable 'hp' [-Wunused-variable] - 3720 | struct hostent *hp; - | ^~ -client.c: In function 'send_login': -client.c:2749:11: warning: unused variable 'dev' [-Wunused-variable] - 2749 | fstring dev; - | ^~~ -client.c: In function 'browse_host': -client.c:3015:12: warning: variable 'long_share_name' set but not used [-Wunused-but-set-variable] - 3015 | BOOL long_share_name=False; - | ^~~~~~~~~~~~~~~ -client.c: In function 'step': -client.c:3432:16: warning: implicit declaration of function 'Get_Hostbyaddr'; did you mean 'gethostbyaddr'? [-Wimplicit-function-declaration] - 3432 | p = (char *) Get_Hostbyaddr (dest_ip); - | ^~~~~~~~~~~~~~ - | gethostbyaddr -client.c:3495:1: warning: label 'phase_1' defined but not used [-Wunused-label] - 3495 | phase_1: /* pass the wacky rfc1002 stuff */ - | ^~~~~~~ -client.c:3360:16: warning: unused variable 'i' [-Wunused-variable] - 3360 | register int i; - | ^ -client.c: In function 'nas_step': -client.c:3948:16: warning: unused variable 'i' [-Wunused-variable] - 3948 | register int i; - | ^ client.c: At top level: client.c:2822:13: warning: 'send_logout' defined but not used [-Wunused-function] 2822 | static void send_logout(void ) @@ -582,7 +641,6 @@ client.c:1766:13: warning: 'cmd_get' defined but not used [-Wunused-function] 1766 | static void cmd_get(void) | ^~~~~~~ -Compiling nmb.c client.c:1335:13: warning: 'cmd_dir' defined but not used [-Wunused-function] 1335 | static void cmd_dir(char *inbuf,char *outbuf) | ^~~~~~~ @@ -595,87 +653,65 @@ client.c:587:12: warning: 'printread' defined but not used [-Wunused-function] 587 | static int printread(FILE *f,char *b,int n) | ^~~~~~~~~ -gcc -DSTEPPING -DSCANNER -DVERBOSE -DWORKGROUP=\"WORKGROUP\" -DGUEST_ACCOUNT=\"nobody\" -DLINUX -DNO_ASMSIGNALH -ggdb -Wall -c nmb.c -client.c: In function 'step': -client.c:3717:24: warning: '%s' directive writing up to 1023 bytes into a region of size 1022 [-Wformat-overflow=] - 3717 | sprintf(service,"\\\\%s\\IPC$", desthost); - | ^~ ~~~~~~~~ -client.c:3717:3: note: 'sprintf' output between 8 and 1031 bytes into a destination of size 1024 - 3717 | sprintf(service,"\\\\%s\\IPC$", desthost); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -client.c:3806:26: warning: '%s' directive writing up to 1023 bytes into a region of size 1022 [-Wformat-overflow=] - 3806 | sprintf (service, "\\\\%s\\%s", desthost, p); - | ^~ ~~~~~~~~ -client.c:3806:3: note: 'sprintf' output 4 or more bytes (assuming 1027) into a destination of size 1024 - 3806 | sprintf (service, "\\\\%s\\%s", desthost, p); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -nmb.c: In function 'interpret_node_status': -nmb.c:651:25: warning: bitwise comparison always evaluates to false [-Wtautological-compare] - 651 | if ((p[0] & 0x60) == 1) strcat(flags,"P "); - | ^~ -nmb.c:652:25: warning: bitwise comparison always evaluates to false [-Wtautological-compare] - 652 | if ((p[0] & 0x60) == 2) strcat(flags,"M "); - | ^~ -nmb.c:653:25: warning: bitwise comparison always evaluates to false [-Wtautological-compare] - 653 | if ((p[0] & 0x60) == 3) strcat(flags,"_ "); - | ^~ -nmb.c: In function 'H_interpret_node_status': -nmb.c:804:6: warning: implicit declaration of function 'natprintf'; did you mean 'dprintf'? [-Wimplicit-function-declaration] - 804 | natprintf("[*]--- Remote systems name tables:\n\n"); - | ^~~~~~~~~ - | dprintf -nmb.c:819:25: warning: bitwise comparison always evaluates to false [-Wtautological-compare] - 819 | if ((p[0] & 0x60) == 1) strcat(flags,"P "); - | ^~ -nmb.c:820:25: warning: bitwise comparison always evaluates to false [-Wtautological-compare] - 820 | if ((p[0] & 0x60) == 2) strcat(flags,"M "); - | ^~ -nmb.c:821:25: warning: bitwise comparison always evaluates to false [-Wtautological-compare] - 821 | if ((p[0] & 0x60) == 3) strcat(flags,"_ "); - | ^~ +util.c: In function 'do_match': +charset.h:61:35: warning: array subscript has type 'char' [-Wchar-subscripts] + 61 | #define toupper(c) upper_char_map[(char)(c)] + | ^~~~~~~~~ +util.c:2968:51: note: in expansion of macro 'toupper' + 2968 | while(*str && (case_sig ? (*p != *str) : (toupper(*p)!=toupper(*str)))) + | ^~~~~~~ +charset.h:61:35: warning: array subscript has type 'char' [-Wchar-subscripts] + 61 | #define toupper(c) upper_char_map[(char)(c)] + | ^~~~~~~~~ +util.c:2968:64: note: in expansion of macro 'toupper' + 2968 | while(*str && (case_sig ? (*p != *str) : (toupper(*p)!=toupper(*str)))) + | ^~~~~~~ +charset.h:61:35: warning: array subscript has type 'char' [-Wchar-subscripts] + 61 | #define toupper(c) upper_char_map[(char)(c)] + | ^~~~~~~~~ +util.c:2984:12: note: in expansion of macro 'toupper' + 2984 | if(toupper(*str) != toupper(*p)) + | ^~~~~~~ +charset.h:61:35: warning: array subscript has type 'char' [-Wchar-subscripts] + 61 | #define toupper(c) upper_char_map[(char)(c)] + | ^~~~~~~~~ +util.c:2984:29: note: in expansion of macro 'toupper' + 2984 | if(toupper(*str) != toupper(*p)) + | ^~~~~~~ nmb.c:849:38: warning: '%s' directive writing up to 127 bytes into a region of size between 99 and 116 [-Wformat-overflow=] 849 | sprintf (tbuf, "%s (type 0x%x) %s", qname, type, flags); | ^~ ~~~~~ nmb.c:849:7: note: 'sprintf' output between 13 and 157 bytes into a destination of size 128 849 | sprintf (tbuf, "%s (type 0x%x) %s", qname, type, flags); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -Compiling charset.c -gcc -DSTEPPING -DSCANNER -DVERBOSE -DWORKGROUP=\"WORKGROUP\" -DGUEST_ACCOUNT=\"nobody\" -DLINUX -DNO_ASMSIGNALH -ggdb -Wall -c charset.c -Compiling parse_ip.c -gcc -DSTEPPING -DSCANNER -DVERBOSE -DWORKGROUP=\"WORKGROUP\" -DGUEST_ACCOUNT=\"nobody\" -DLINUX -DNO_ASMSIGNALH -ggdb -Wall -c parse_ip.c -charset.c: In function 'add_dos_char': -charset.c:45:27: warning: array subscript has type 'char' [-Wchar-subscripts] - 45 | if (lower) dos_char_map[(char)lower] = 1; - | ^~~~~~~~~~~ -charset.c:46:27: warning: array subscript has type 'char' [-Wchar-subscripts] - 46 | if (upper) dos_char_map[(char)upper] = 1; - | ^~~~~~~~~~~ -charset.c:48:20: warning: array subscript has type 'char' [-Wchar-subscripts] - 48 | lower_char_map[(char)upper] = (char)lower; - | ^~~~~~~~~~~ -charset.c:49:20: warning: array subscript has type 'char' [-Wchar-subscripts] - 49 | upper_char_map[(char)lower] = (char)upper; - | ^~~~~~~~~~~ -charset.c: In function 'charset_initialise': -charset.c:65:18: warning: array subscript has type 'char' [-Wchar-subscripts] - 65 | dos_char_map[(char)i] = 0; - | ^~~~~~~ -charset.c:76:35: warning: array subscript has type 'char' [-Wchar-subscripts] - 76 | if (isupper(c)) lower_char_map[c] = tolower(c); - | ^ -charset.c:77:35: warning: array subscript has type 'char' [-Wchar-subscripts] - 77 | if (islower(c)) upper_char_map[c] = toupper(c); - | ^ parse_ip.c: In function 'parse_ip': parse_ip.c:75:12: warning: implicit declaration of function 'natprintf'; did you mean 'dprintf'? [-Wimplicit-function-declaration] 75 | natprintf("[*]--- Unknown host: %s\n", one); | ^~~~~~~~~ | dprintf +client.c: In function 'step': +util.c: In function 'open_socket_in': parse_ip.c:93:19: warning: implicit declaration of function 'inet_addr' [-Wimplicit-function-declaration] 93 | ip1 = inet_addr(r1); | ^~~~~~~~~ -Compiling sighandler.c -gcc -DSTEPPING -DSCANNER -DVERBOSE -DWORKGROUP=\"WORKGROUP\" -DGUEST_ACCOUNT=\"nobody\" -DLINUX -DNO_ASMSIGNALH -ggdb -Wall -c sighandler.c +util.c:3722:11: warning: unused variable 'host_name' [-Wunused-variable] + 3722 | pstring host_name; + | ^~~~~~~~~ +client.c:3717:24: warning: '%s' directive writing up to 1023 bytes into a region of size 1022 [-Wformat-overflow=] + 3717 | sprintf(service,"\\\\%s\\IPC$", desthost); + | ^~ ~~~~~~~~ +util.c:3720:19: warning: unused variable 'hp' [-Wunused-variable] + 3720 | struct hostent *hp; + | ^~ +client.c:3717:3: note: 'sprintf' output between 8 and 1031 bytes into a destination of size 1024 + 3717 | sprintf(service,"\\\\%s\\IPC$", desthost); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +client.c:3806:26: warning: '%s' directive writing up to 1023 bytes into a region of size 1022 [-Wformat-overflow=] + 3806 | sprintf (service, "\\\\%s\\%s", desthost, p); + | ^~ ~~~~~~~~ +client.c:3806:3: note: 'sprintf' output 4 or more bytes (assuming 1027) into a destination of size 1024 + 3806 | sprintf (service, "\\\\%s\\%s", desthost, p); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sighandler.c: In function 'sighandler': sighandler.c:68:25: warning: implicit declaration of function 'close_sockets' [-Wimplicit-function-declaration] 68 | close_sockets(); @@ -724,12 +760,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/27962/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/27962/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/23839 and its subdirectories -I: Current time: Mon Apr 8 09:49:53 -12 2024 -I: pbuilder-time-stamp: 1712612993 +I: removing directory /srv/workspace/pbuilder/27962 and its subdirectories +I: Current time: Tue Apr 9 11:52:19 +14 2024 +I: pbuilder-time-stamp: 1712613139