Diff of the two buildlogs: -- --- b1/build.log 2023-05-11 14:32:09.371516749 +0000 +++ b2/build.log 2023-05-11 14:33:06.829001021 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Thu May 11 02:31:15 -12 2023 -I: pbuilder-time-stamp: 1683815475 +I: Current time: Thu Jun 13 10:55:13 +14 2024 +I: pbuilder-time-stamp: 1718225713 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/bookworm-reproducible-base.tgz] I: copying local configuration @@ -16,7 +16,7 @@ I: copying [./nat_1.0.orig.tar.gz] I: copying [./nat_1.0-6.1.debian.tar.xz] I: Extracting source -gpgv: Signature made Fri May 6 04:57:43 2022 -12 +gpgv: Signature made Sat May 7 06:57:43 2022 +14 gpgv: using RSA key A36878F464108681600CB64844173FA13D058888 gpgv: issuer "paulliu@debian.org" gpgv: Can't check signature: No public key @@ -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/32033/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/20234/tmp/hooks/D01_modify_environment starting +debug: Running on codethink15-arm64. +I: Changing host+domainname to test build reproducibility +I: Adding a custom variable just for the fun of it... +I: Changing /bin/sh to bash +'/bin/sh' -> '/bin/bash' +lrwxrwxrwx 1 root root 9 Jun 13 10:55 /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/20234/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/20234/tmp/hooks/D02_print_environment starting I: set - BUILDDIR='/build' - BUILDUSERGECOS='first user,first room,first work-phone,first home-phone,first other' - BUILDUSERNAME='pbuilder1' - BUILD_ARCH='arm64' - DEBIAN_FRONTEND='noninteractive' + 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]="15" [3]="1" [4]="release" [5]="aarch64-unknown-linux-gnu") + BASH_VERSION='5.2.15(1)-release' + BUILDDIR=/build + BUILDUSERGECOS='second user,second room,second work-phone,second home-phone,second other' + BUILDUSERNAME=pbuilder2 + BUILD_ARCH=arm64 + DEBIAN_FRONTEND=noninteractive DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=8' - DISTRIBUTION='bookworm' - HOME='/var/lib/jenkins' - HOST_ARCH='arm64' + DIRSTACK=() + DISTRIBUTION=bookworm + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/var/lib/jenkins + HOSTNAME=i-capture-the-hostname + HOSTTYPE=aarch64 + HOST_ARCH=arm64 IFS=' ' - 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='32033' - PS1='# ' - PS2='> ' + LANG=C + LANGUAGE=nl_BE:nl + LC_ALL=C + MACHTYPE=aarch64-unknown-linux-gnu + MAIL=/var/mail/root + OPTERR=1 + OPTIND=1 + OSTYPE=linux-gnu + PATH=/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path + PBCURRENTCOMMANDLINEOPERATION=build + PBUILDER_OPERATION=build + PBUILDER_PKGDATADIR=/usr/share/pbuilder + PBUILDER_PKGLIBDIR=/usr/lib/pbuilder + PBUILDER_SYSCONFDIR=/etc + PIPESTATUS=([0]="0") + POSIXLY_CORRECT=y + PPID=20234 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.QMmxT2Jx/pbuilderrc_FVC0 --distribution bookworm --hookdir /etc/pbuilder/first-build-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/bookworm-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.QMmxT2Jx/b1 --logfile b1/build.log nat_1.0-6.1.dsc' - SUDO_GID='117' - SUDO_UID='110' - SUDO_USER='jenkins' - TERM='unknown' - TZ='/usr/share/zoneinfo/Etc/GMT+12' - USER='root' - USERNAME='root' - _='/usr/bin/systemd-run' - http_proxy='http://192.168.101.16:3128' + PWD=/ + SHELL=/bin/bash + SHELLOPTS=braceexpand:errexit:hashall:interactive-comments:posix + SHLVL=3 + SUDO_COMMAND='/usr/bin/timeout -k 24.1h 24h /usr/bin/ionice -c 3 /usr/bin/nice -n 11 /usr/bin/unshare --uts -- /usr/sbin/pbuilder --build --configfile /srv/reproducible-results/rbuild-debian/r-b-build.QMmxT2Jx/pbuilderrc_kGOy --distribution bookworm --hookdir /etc/pbuilder/rebuild-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/bookworm-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.QMmxT2Jx/b2 --logfile b2/build.log --extrapackages usrmerge nat_1.0-6.1.dsc' + SUDO_GID=117 + SUDO_UID=110 + SUDO_USER=jenkins + TERM=unknown + TZ=/usr/share/zoneinfo/Etc/GMT-14 + UID=0 + USER=root + USERNAME=root + _='I: set' + http_proxy=http://192.168.101.16:3128 I: uname -a - Linux codethink16-arm64 4.15.0-210-generic #221-Ubuntu SMP Tue Apr 18 08:32:48 UTC 2023 aarch64 GNU/Linux + Linux i-capture-the-hostname 4.15.0-210-generic #221-Ubuntu SMP Tue Apr 18 08:32:48 UTC 2023 aarch64 GNU/Linux I: ls -l /bin - lrwxrwxrwx 1 root root 7 May 10 22:25 /bin -> usr/bin -I: user script /srv/workspace/pbuilder/32033/tmp/hooks/D02_print_environment finished + lrwxrwxrwx 1 root root 7 Jun 12 06:47 /bin -> usr/bin +I: user script /srv/workspace/pbuilder/20234/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 bookworm/main arm64 intltool-debian all 0.35.0+20060710.6 [22.9 kB] Get: 29 http://deb.debian.org/debian bookworm/main arm64 po-debconf all 1.0.21+nmu1 [248 kB] Get: 30 http://deb.debian.org/debian bookworm/main arm64 debhelper all 13.11.4 [942 kB] -Fetched 18.3 MB in 0s (46.8 MB/s) +Fetched 18.3 MB in 0s (39.3 MB/s) debconf: delaying package configuration, since apt-utils is not installed Selecting previously unselected package sensible-utils. (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 19616 files and directories currently installed.) @@ -279,10 +311,15 @@ Reading package lists... Building dependency tree... Reading state information... +usrmerge is already the newest version (35). fakeroot is already the newest version (1.31-1.2). 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. I: Building the package -I: Running cd /build/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/20234/tmp/hooks/A99_set_merged_usr starting +Re-configuring usrmerge... +I: user script /srv/workspace/pbuilder/20234/tmp/hooks/A99_set_merged_usr finished +hostname: Temporary failure in name resolution +I: Running cd /build/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 @@ -308,8 +345,8 @@ make[1]: Entering directory '/build/nat-1.0' Makefile:383: warning: ignoring prerequisites on suffix rule definition Compiling nat.c -Compiling client.c gcc -DSTEPPING -DSCANNER -DVERBOSE -DWORKGROUP=\"WORKGROUP\" -DGUEST_ACCOUNT=\"nobody\" -DLINUX -DNO_ASMSIGNALH -ggdb -Wall -c nat.c +Compiling client.c 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 @@ -319,10 +356,6 @@ 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 -Compiling parse_ip.c -gcc -DSTEPPING -DSCANNER -DVERBOSE -DWORKGROUP=\"WORKGROUP\" -DGUEST_ACCOUNT=\"nobody\" -DLINUX -DNO_ASMSIGNALH -ggdb -Wall -c parse_ip.c -Compiling sighandler.c -gcc -DSTEPPING -DSCANNER -DVERBOSE -DWORKGROUP=\"WORKGROUP\" -DGUEST_ACCOUNT=\"nobody\" -DLINUX -DNO_ASMSIGNALH -ggdb -Wall -c sighandler.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", @@ -333,18 +366,15 @@ | ~~~ | | | char ** -sighandler.c: In function 'sighandler': -sighandler.c:68:25: warning: implicit declaration of function 'close_sockets' [-Wimplicit-function-declaration] - 68 | close_sockets(); - | ^~~~~~~~~~~~~ +Compiling parse_ip.c +gcc -DSTEPPING -DSCANNER -DVERBOSE -DWORKGROUP=\"WORKGROUP\" -DGUEST_ACCOUNT=\"nobody\" -DLINUX -DNO_ASMSIGNALH -ggdb -Wall -c parse_ip.c +Compiling sighandler.c +gcc -DSTEPPING -DSCANNER -DVERBOSE -DWORKGROUP=\"WORKGROUP\" -DGUEST_ACCOUNT=\"nobody\" -DLINUX -DNO_ASMSIGNALH -ggdb -Wall -c sighandler.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 -sighandler.c:62:13: warning: unused variable 'murderer' [-Wunused-variable] - 62 | int murderer = 0; - | ^~~~~~~~ parse_ip.c:93:19: warning: implicit declaration of function 'inet_addr' [-Wimplicit-function-declaration] 93 | ip1 = inet_addr(r1); | ^~~~~~~~~ @@ -367,6 +397,9 @@ 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); + | ^~~~~~~~~ In file included from includes.h:960, from util.c:29: util.c: In function 'name_mangle': @@ -376,16 +409,31 @@ util.c:921:14: note: in expansion of macro 'toupper' 921 | char c = toupper(in[i]); | ^~~~~~~ -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; + | ^~~~~~~~~ +client.c: In function 'do_short_dir': +client.c:1067:1: warning: label 'sd_skip' defined but not used [-Wunused-label] + 1067 | sd_skip: + | ^~~~~~~ util.c: In function 'StrCaseCmp': +sighandler.c: In function 'sighandler': +sighandler.c:68:25: warning: implicit declaration of function 'close_sockets' [-Wimplicit-function-declaration] + 68 | close_sockets(); + | ^~~~~~~~~~~~~ charset.h:62:35: warning: array subscript has type 'char' [-Wchar-subscripts] 62 | #define tolower(c) lower_char_map[(char)(c)] | ^~~~~~~~~ util.c:1174:10: note: in expansion of macro 'tolower' 1174 | for (; tolower(*s) == tolower(*t); ++s, ++t) | ^~~~~~~ +sighandler.c:62:13: warning: unused variable 'murderer' [-Wunused-variable] + 62 | int murderer = 0; + | ^~~~~~~~ charset.h:62:35: warning: array subscript has type 'char' [-Wchar-subscripts] 62 | #define tolower(c) lower_char_map[(char)(c)] | ^~~~~~~~~ @@ -411,6 +459,10 @@ util.c:1186:9: note: in expansion of macro 'tolower' 1186 | if (tolower(*s) != tolower(*t)) return(tolower(*s) - tolower(*t)); | ^~~~~~~ +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.h:62:35: warning: array subscript has type 'char' [-Wchar-subscripts] 62 | #define tolower(c) lower_char_map[(char)(c)] | ^~~~~~~~~ @@ -441,13 +493,25 @@ util.c:1189:31: note: in expansion of macro 'tolower' 1189 | if (n) return(tolower(*s) - tolower(*t)); | ^~~~~~~ -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; - | ^~~~~~~~~ +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); + | ^ 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)] @@ -480,10 +544,19 @@ util.c:1295:14: note: in expansion of macro 'toupper' 1295 | *s = toupper(*s); | ^~~~~~~ -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; + | ^~~~~~~~~~ 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)] @@ -504,53 +577,50 @@ 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; - | ^~~~~~~~~ -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; - | ^~~~~~~~~~ util.c: In function 'read_max_udp': util.c:2309:7: warning: variable 'selrtn' set but not used [-Wunused-but-set-variable] 2309 | int selrtn; | ^~~~~~ -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: In function 'interpret_serr': +client.c:2162:16: warning: unused variable 'reserr' [-Wunused-variable] + 2162 | register int reserr = 0; + | ^~~~~~ +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,"_ "); + | ^~ +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 +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 util.c: In function 'do_match': +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 "); + | ^~ 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)))) | ^~~~~~~ +nmb.c:821:25: warning: bitwise comparison always evaluates to false [-Wtautological-compare] + 821 | if ((p[0] & 0x60) == 3) strcat(flags,"_ "); + | ^~ charset.h:61:35: warning: array subscript has type 'char' [-Wchar-subscripts] 61 | #define toupper(c) upper_char_map[(char)(c)] | ^~~~~~~~~ @@ -569,46 +639,6 @@ util.c:2984:29: note: in expansion of macro 'toupper' 2984 | if(toupper(*str) != toupper(*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 -util.c: In function 'open_socket_in': -util.c:3722:11: warning: unused variable 'host_name' [-Wunused-variable] - 3722 | pstring host_name; - | ^~~~~~~~~ -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 "); - | ^~ -util.c:3720:19: warning: unused variable 'hp' [-Wunused-variable] - 3720 | struct hostent *hp; - | ^~ -nmb.c:821:25: warning: bitwise comparison always evaluates to false [-Wtautological-compare] - 821 | if ((p[0] & 0x60) == 3) strcat(flags,"_ "); - | ^~ -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??!?!? */ @@ -617,13 +647,20 @@ client.c:2749:11: warning: unused variable 'dev' [-Wunused-variable] 2749 | fstring dev; | ^~~ +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 '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; - | ^~~~~~~~~~~~~~~ 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); | ^~ ~~~~~ +client.c:3015:12: warning: variable 'long_share_name' set but not used [-Wunused-but-set-variable] + 3015 | BOOL long_share_name=False; + | ^~~~~~~~~~~~~~~ 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); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -727,12 +764,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/20234/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/20234/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/32033 and its subdirectories -I: Current time: Thu May 11 02:32:08 -12 2023 -I: pbuilder-time-stamp: 1683815528 +I: removing directory /srv/workspace/pbuilder/20234 and its subdirectories +I: Current time: Thu Jun 13 10:56:05 +14 2024 +I: pbuilder-time-stamp: 1718225765