Diff of the two buildlogs: -- --- b1/build.log 2024-05-10 06:45:52.574617947 +0000 +++ b2/build.log 2024-05-10 06:46:44.744394812 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Thu Jun 12 01:07:30 -12 2025 -I: pbuilder-time-stamp: 1749733650 +I: Current time: Fri May 10 20:45:55 +14 2024 +I: pbuilder-time-stamp: 1715323555 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/1016019/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/4023100/tmp/hooks/D01_modify_environment starting +debug: Running on ionos11-amd64. +I: Changing host+domainname to test build reproducibility +I: Adding a custom variable just for the fun of it... +I: Changing /bin/sh to bash +'/bin/sh' -> '/bin/bash' +lrwxrwxrwx 1 root root 9 May 10 06:46 /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/4023100/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/4023100/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='amd64' - DEBIAN_FRONTEND='noninteractive' - DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=42 ' - DISTRIBUTION='trixie' - HOME='/root' - HOST_ARCH='amd64' + 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]="x86_64-pc-linux-gnu") + BASH_VERSION='5.2.21(1)-release' + BUILDDIR=/build/reproducible-path + BUILDUSERGECOS='second user,second room,second work-phone,second home-phone,second other' + BUILDUSERNAME=pbuilder2 + BUILD_ARCH=amd64 + DEBIAN_FRONTEND=noninteractive + DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=20 ' + DIRSTACK=() + DISTRIBUTION=trixie + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=x86_64 + HOST_ARCH=amd64 IFS=' ' - INVOCATION_ID='5bbc11df5b9c4a89959b6189c4490a61' - 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='1016019' - PS1='# ' - PS2='> ' + INVOCATION_ID=7480e9fe825b49a7b0f0b0a6b3fc8043 + LANG=C + LANGUAGE=et_EE:et + LC_ALL=C + MACHTYPE=x86_64-pc-linux-gnu + MAIL=/var/mail/root + OPTERR=1 + OPTIND=1 + OSTYPE=linux-gnu + PATH=/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path + PBCURRENTCOMMANDLINEOPERATION=build + PBUILDER_OPERATION=build + PBUILDER_PKGDATADIR=/usr/share/pbuilder + PBUILDER_PKGLIBDIR=/usr/lib/pbuilder + PBUILDER_SYSCONFDIR=/etc + PIPESTATUS=([0]="0") + POSIXLY_CORRECT=y + PPID=4023100 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.5TYzhzeG/pbuilderrc_uKP0 --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.5TYzhzeG/b1 --logfile b1/build.log nat_1.0-6.1.dsc' - SUDO_GID='111' - SUDO_UID='106' - SUDO_USER='jenkins' - TERM='unknown' - TZ='/usr/share/zoneinfo/Etc/GMT+12' - USER='root' - _='/usr/bin/systemd-run' - http_proxy='http://213.165.73.152: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.5TYzhzeG/pbuilderrc_8tJU --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.5TYzhzeG/b2 --logfile b2/build.log nat_1.0-6.1.dsc' + SUDO_GID=111 + SUDO_UID=106 + SUDO_USER=jenkins + TERM=unknown + TZ=/usr/share/zoneinfo/Etc/GMT-14 + UID=0 + USER=root + _='I: set' + http_proxy=http://46.16.76.132:3128 I: uname -a - Linux ionos15-amd64 6.6.13+bpo-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.6.13-1~bpo12+1 (2024-02-15) x86_64 GNU/Linux + Linux i-capture-the-hostname 6.1.0-21-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.90-1 (2024-05-03) x86_64 GNU/Linux I: ls -l /bin - lrwxrwxrwx 1 root root 7 Jun 11 17:46 /bin -> usr/bin -I: user script /srv/workspace/pbuilder/1016019/tmp/hooks/D02_print_environment finished + lrwxrwxrwx 1 root root 7 May 7 11:25 /bin -> usr/bin +I: user script /srv/workspace/pbuilder/4023100/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 amd64 intltool-debian all 0.35.0+20060710.6 [22.9 kB] Get: 29 http://deb.debian.org/debian trixie/main amd64 po-debconf all 1.0.21+nmu1 [248 kB] Get: 30 http://deb.debian.org/debian trixie/main amd64 debhelper all 13.15.3 [901 kB] -Fetched 19.0 MB in 7s (2853 kB/s) +Fetched 19.0 MB in 0s (66.6 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 ... 19699 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/4023100/tmp/hooks/A99_set_merged_usr starting +Not re-configuring usrmerge for trixie +I: user script /srv/workspace/pbuilder/4023100/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 -j42 clean + make -j20 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,18 +340,18 @@ dh_autoreconf dh_auto_configure dh_auto_build - make -j42 "INSTALL=install --strip-program=true" + make -j20 "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 -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 +gcc -DSTEPPING -DSCANNER -DVERBOSE -DWORKGROUP=\"WORKGROUP\" -DGUEST_ACCOUNT=\"nobody\" -DLINUX -DNO_ASMSIGNALH -ggdb -Wall -c nat.c Compiling system.c -gcc -DSTEPPING -DSCANNER -DVERBOSE -DWORKGROUP=\"WORKGROUP\" -DGUEST_ACCOUNT=\"nobody\" -DLINUX -DNO_ASMSIGNALH -ggdb -Wall -c system.c +gcc -DSTEPPING -DSCANNER -DVERBOSE -DWORKGROUP=\"WORKGROUP\" -DGUEST_ACCOUNT=\"nobody\" -DLINUX -DNO_ASMSIGNALH -ggdb -Wall -c client.c +gcc -DSTEPPING -DSCANNER -DVERBOSE -DWORKGROUP=\"WORKGROUP\" -DGUEST_ACCOUNT=\"nobody\" -DLINUX -DNO_ASMSIGNALH -ggdb -Wall -c util.c Compiling nmb.c +gcc -DSTEPPING -DSCANNER -DVERBOSE -DWORKGROUP=\"WORKGROUP\" -DGUEST_ACCOUNT=\"nobody\" -DLINUX -DNO_ASMSIGNALH -ggdb -Wall -c system.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 @@ -323,21 +359,21 @@ 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 -sighandler.c: In function 'sighandler': -sighandler.c:68:25: warning: implicit declaration of function 'close_sockets' [-Wimplicit-function-declaration] - 68 | close_sockets(); - | ^~~~~~~~~~~~~ -sighandler.c:62:13: warning: unused variable 'murderer' [-Wunused-variable] - 62 | int murderer = 0; - | ^~~~~~~~ parse_ip.c: In function 'parse_ip': parse_ip.c:75:12: warning: implicit declaration of function 'natprintf'; did you mean 'asprintf'? [-Wimplicit-function-declaration] 75 | natprintf("[*]--- Unknown host: %s\n", one); | ^~~~~~~~~ | asprintf +sighandler.c: In function 'sighandler': parse_ip.c:93:19: warning: implicit declaration of function 'inet_addr' [-Wimplicit-function-declaration] 93 | ip1 = inet_addr(r1); | ^~~~~~~~~ +sighandler.c:68:25: warning: implicit declaration of function 'close_sockets' [-Wimplicit-function-declaration] + 68 | close_sockets(); + | ^~~~~~~~~~~~~ +sighandler.c:62:13: warning: unused variable 'murderer' [-Wunused-variable] + 62 | int murderer = 0; + | ^~~~~~~~ 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", @@ -348,6 +384,28 @@ | ~~~ | | | 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 'asprintf'? [-Wimplicit-function-declaration] + 383 | natprintf("[*]--- WARNING: Was able to exercise .. bug in: %s\n", cur_dir); + | ^~~~~~~~~ + | asprintf +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); + | ^~~~~~~~~ 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; @@ -368,28 +426,33 @@ charset.c:76:35: warning: array subscript has type 'char' [-Wchar-subscripts] 76 | if (isupper(c)) lower_char_map[c] = tolower(c); | ^ +client.c: In function 'cmd_cd': +client.c:676:15: warning: unused variable 'dname' [-Wunused-variable] + 676 | pstring dname; + | ^~~~~ 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 '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 'asprintf'? [-Wimplicit-function-declaration] - 383 | natprintf("[*]--- WARNING: Was able to exercise .. bug in: %s\n", cur_dir); - | ^~~~~~~~~ - | asprintf +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: + | ^~~~~~~ +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; + | ^~~~~~~~~~ In file included from includes.h:960, from util.c:29: util.c: In function 'name_mangle': @@ -399,16 +462,16 @@ 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; - | ^~~~~~~~~ +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,"_ "); + | ^~ 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)] @@ -428,57 +491,57 @@ util.c:1177:10: note: in expansion of macro 'tolower' 1177 | return tolower(*s) - tolower(*t); | ^~~~~~~ -nmb.c: In function 'interpret_node_status': charset.h:62:35: warning: array subscript has type 'char' [-Wchar-subscripts] 62 | #define tolower(c) lower_char_map[(char)(c)] | ^~~~~~~~~ util.c:1177:24: note: in expansion of macro 'tolower' 1177 | return tolower(*s) - tolower(*t); | ^~~~~~~ -nmb.c:651:25: warning: bitwise comparison always evaluates to false [-Wtautological-compare] - 651 | if ((p[0] & 0x60) == 1) strcat(flags,"P "); - | ^~ util.c: In function 'StrnCaseCmp': -nmb.c:652:25: warning: bitwise comparison always evaluates to false [-Wtautological-compare] - 652 | if ((p[0] & 0x60) == 2) strcat(flags,"M "); - | ^~ charset.h:62:35: warning: array subscript has type 'char' [-Wchar-subscripts] 62 | #define tolower(c) lower_char_map[(char)(c)] | ^~~~~~~~~ util.c:1186:9: note: in expansion of macro 'tolower' 1186 | if (tolower(*s) != tolower(*t)) return(tolower(*s) - tolower(*t)); | ^~~~~~~ +nmb.c: In function 'H_interpret_node_status': charset.h:62:35: warning: array subscript has type 'char' [-Wchar-subscripts] 62 | #define tolower(c) lower_char_map[(char)(c)] | ^~~~~~~~~ util.c:1186:24: note: in expansion of macro 'tolower' 1186 | if (tolower(*s) != tolower(*t)) return(tolower(*s) - tolower(*t)); | ^~~~~~~ -nmb.c:653:25: warning: bitwise comparison always evaluates to false [-Wtautological-compare] - 653 | if ((p[0] & 0x60) == 3) strcat(flags,"_ "); - | ^~ +nmb.c:804:6: warning: implicit declaration of function 'natprintf'; did you mean 'asprintf'? [-Wimplicit-function-declaration] + 804 | natprintf("[*]--- Remote systems name tables:\n\n"); + | ^~~~~~~~~ + | asprintf charset.h:62:35: warning: array subscript has type 'char' [-Wchar-subscripts] 62 | #define tolower(c) lower_char_map[(char)(c)] | ^~~~~~~~~ util.c:1186:44: note: in expansion of macro 'tolower' 1186 | if (tolower(*s) != tolower(*t)) return(tolower(*s) - tolower(*t)); | ^~~~~~~ +nmb.c:819:25: warning: bitwise comparison always evaluates to false [-Wtautological-compare] + 819 | if ((p[0] & 0x60) == 1) strcat(flags,"P "); + | ^~ charset.h:62:35: warning: array subscript has type 'char' [-Wchar-subscripts] 62 | #define tolower(c) lower_char_map[(char)(c)] | ^~~~~~~~~ util.c:1186:58: note: in expansion of macro 'tolower' 1186 | if (tolower(*s) != tolower(*t)) return(tolower(*s) - tolower(*t)); | ^~~~~~~ -client.c: In function 'do_short_dir': -client.c:1067:1: warning: label 'sd_skip' defined but not used [-Wunused-label] - 1067 | sd_skip: - | ^~~~~~~ +nmb.c:820:25: warning: bitwise comparison always evaluates to false [-Wtautological-compare] + 820 | if ((p[0] & 0x60) == 2) strcat(flags,"M "); + | ^~ charset.h:62:35: warning: array subscript has type 'char' [-Wchar-subscripts] 62 | #define tolower(c) lower_char_map[(char)(c)] | ^~~~~~~~~ util.c:1189:17: note: in expansion of macro 'tolower' 1189 | if (n) return(tolower(*s) - tolower(*t)); | ^~~~~~~ +nmb.c:821:25: warning: bitwise comparison always evaluates to false [-Wtautological-compare] + 821 | if ((p[0] & 0x60) == 3) strcat(flags,"_ "); + | ^~ charset.h:62:35: warning: array subscript has type 'char' [-Wchar-subscripts] 62 | #define tolower(c) lower_char_map[(char)(c)] | ^~~~~~~~~ @@ -495,6 +558,7 @@ util.c:1269:11: note: in expansion of macro 'isupper' 1269 | if (isupper(*s)) | ^~~~~~~ +client.c: In function 'interpret_serr': charset.h:62:35: warning: array subscript has type 'char' [-Wchar-subscripts] 62 | #define tolower(c) lower_char_map[(char)(c)] | ^~~~~~~~~ @@ -502,6 +566,9 @@ 1270 | *s = tolower(*s); | ^~~~~~~ util.c: In function 'strupper': +client.c:2162:16: warning: unused variable 'reserr' [-Wunused-variable] + 2162 | register int reserr = 0; + | ^~~~~~ charset.h:61:35: warning: array subscript has type 'char' [-Wchar-subscripts] 61 | #define toupper(c) upper_char_map[(char)(c)] | ^~~~~~~~~ @@ -511,39 +578,21 @@ util.c:1294:11: note: in expansion of macro 'islower' 1294 | if (islower(*s)) | ^~~~~~~ -nmb.c: In function 'H_interpret_node_status': charset.h:61:35: warning: array subscript has type 'char' [-Wchar-subscripts] 61 | #define toupper(c) upper_char_map[(char)(c)] | ^~~~~~~~~ util.c:1295:14: note: in expansion of macro 'toupper' 1295 | *s = toupper(*s); | ^~~~~~~ -nmb.c:804:6: warning: implicit declaration of function 'natprintf'; did you mean 'asprintf'? [-Wimplicit-function-declaration] - 804 | natprintf("[*]--- Remote systems name tables:\n\n"); - | ^~~~~~~~~ - | asprintf -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; - | ^~ -nmb.c:819:25: warning: bitwise comparison always evaluates to false [-Wtautological-compare] - 819 | if ((p[0] & 0x60) == 1) strcat(flags,"P "); - | ^~ -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:820:25: warning: bitwise comparison always evaluates to false [-Wtautological-compare] - 820 | if ((p[0] & 0x60) == 2) strcat(flags,"M "); - | ^~ -client.c:1302:7: warning: this 'if' clause does not guard... [-Wmisleading-indentation] - 1302 | if (resp_param) free(resp_param); resp_param = NULL; - | ^~ -nmb.c:821:25: warning: bitwise comparison always evaluates to false [-Wtautological-compare] - 821 | if ((p[0] & 0x60) == 3) strcat(flags,"_ "); - | ^~ -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 '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 'strhasupper': charset.h:62:35: warning: array subscript has type 'char' [-Wchar-subscripts] 62 | #define tolower(c) lower_char_map[(char)(c)] @@ -564,36 +613,39 @@ util.c:1991:11: note: in expansion of macro 'islower' 1991 | if (islower(*s)) return(True); | ^~~~~~~ -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; - | ^~~~~~ -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_login': +client.c:2749:11: warning: unused variable 'dev' [-Wunused-variable] + 2749 | fstring dev; + | ^~~ 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); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +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; + | ^~~~~~ +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': util.c: In function 'do_match': -client.c: In function 'send_setup': +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 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)))) | ^~~~~~~ -client.c:2439:49: warning: "/*" within comment [-Wcomment] - 2439 | if (!doencrypt) passlen--; /* WHY??!?!? */ - | +client.c:3432:7: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] + 3432 | p = (char *) Get_Hostbyaddr (dest_ip); + | ^ charset.h:61:35: warning: array subscript has type 'char' [-Wchar-subscripts] 61 | #define toupper(c) upper_char_map[(char)(c)] | ^~~~~~~~~ @@ -612,29 +664,6 @@ util.c:2984:29: note: in expansion of macro 'toupper' 2984 | if(toupper(*str) != toupper(*p)) | ^~~~~~~ -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; - | ^~~~~~~~~~~~~~~ -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 '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:3432:7: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] - 3432 | p = (char *) Get_Hostbyaddr (dest_ip); - | ^ client.c:3495:1: warning: label 'phase_1' defined but not used [-Wunused-label] 3495 | phase_1: /* pass the wacky rfc1002 stuff */ | ^~~~~~~ @@ -645,6 +674,13 @@ client.c:3948:16: warning: unused variable 'i' [-Wunused-variable] 3948 | register int i; | ^ +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: At top level: client.c:2822:13: warning: 'send_logout' defined but not used [-Wunused-function] 2822 | static void send_logout(void ) @@ -718,8 +754,8 @@ dh_gencontrol dh_md5sums dh_builddeb -dpkg-deb: building package 'smb-nat' in '../smb-nat_1.0-6.1_amd64.deb'. dpkg-deb: building package 'smb-nat-dbgsym' in '../smb-nat-dbgsym_1.0-6.1_amd64.deb'. +dpkg-deb: building package 'smb-nat' in '../smb-nat_1.0-6.1_amd64.deb'. dpkg-genbuildinfo --build=binary -O../nat_1.0-6.1_amd64.buildinfo dpkg-genchanges --build=binary -O../nat_1.0-6.1_amd64.changes dpkg-genchanges: info: binary-only upload (no source code included) @@ -727,12 +763,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/4023100/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/4023100/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/1016019 and its subdirectories -I: Current time: Thu Jun 12 01:08:51 -12 2025 -I: pbuilder-time-stamp: 1749733731 +I: removing directory /srv/workspace/pbuilder/4023100 and its subdirectories +I: Current time: Fri May 10 20:46:44 +14 2024 +I: pbuilder-time-stamp: 1715323604