Diff of the two buildlogs: -- --- b1/build.log 2024-09-23 16:39:14.174204921 +0000 +++ b2/build.log 2024-09-23 16:41:20.204855307 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Sun Oct 26 11:01:48 -12 2025 -I: pbuilder-time-stamp: 1761519708 +I: Current time: Tue Sep 24 06:39:17 +14 2024 +I: pbuilder-time-stamp: 1727109557 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/unstable-reproducible-base.tgz] I: copying local configuration @@ -32,52 +32,84 @@ dpkg-source: info: applying 0005_fix_ftbfs_gcc14.patch I: using fakeroot in build. I: Installing the build-deps -I: user script /srv/workspace/pbuilder/1002541/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/2555500/tmp/hooks/D01_modify_environment starting +debug: Running on ionos1-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 Sep 23 16:39 /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/2555500/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/2555500/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='unstable' - 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]="32" [3]="1" [4]="release" [5]="x86_64-pc-linux-gnu") + BASH_VERSION='5.2.32(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=unstable + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=x86_64 + HOST_ARCH=amd64 IFS=' ' - INVOCATION_ID='3fa99da9af974327bd1e5fbac02c3774' - 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='1002541' - PS1='# ' - PS2='> ' + INVOCATION_ID=632b2d968caa400dadb277a754a23792 + 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=2555500 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.JyobS0qK/pbuilderrc_CIIu --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.JyobS0qK/b1 --logfile b1/build.log nat_1.0-6.2.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.JyobS0qK/pbuilderrc_mXW2 --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.JyobS0qK/b2 --logfile b2/build.log nat_1.0-6.2.dsc' + SUDO_GID=110 + SUDO_UID=105 + 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.10.6+bpo-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.10.6-1~bpo12+1 (2024-08-26) x86_64 GNU/Linux + Linux i-capture-the-hostname 6.1.0-25-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.106-3 (2024-08-26) x86_64 GNU/Linux I: ls -l /bin - lrwxrwxrwx 1 root root 7 Aug 4 2024 /bin -> usr/bin -I: user script /srv/workspace/pbuilder/1002541/tmp/hooks/D02_print_environment finished + lrwxrwxrwx 1 root root 7 Aug 4 21:30 /bin -> usr/bin +I: user script /srv/workspace/pbuilder/2555500/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: 27 http://deb.debian.org/debian unstable/main amd64 intltool-debian all 0.35.0+20060710.6 [22.9 kB] Get: 28 http://deb.debian.org/debian unstable/main amd64 po-debconf all 1.0.21+nmu1 [248 kB] Get: 29 http://deb.debian.org/debian unstable/main amd64 debhelper all 13.20 [915 kB] -Fetched 19.8 MB in 0s (115 MB/s) +Fetched 19.8 MB in 2s (11.7 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 ... 19787 files and directories currently installed.) @@ -278,7 +310,11 @@ fakeroot is already the newest version (1.36-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.2_source.changes +I: user script /srv/workspace/pbuilder/2555500/tmp/hooks/A99_set_merged_usr starting +Not re-configuring usrmerge for unstable +I: user script /srv/workspace/pbuilder/2555500/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.2_source.changes dpkg-buildpackage: info: source package nat dpkg-buildpackage: info: source version 1:1.0-6.2 dpkg-buildpackage: info: source distribution unstable @@ -288,7 +324,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 @@ -300,7 +336,7 @@ 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 @@ -310,8 +346,8 @@ 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 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 @@ -319,10 +355,6 @@ 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:63:13: warning: unused variable 'murderer' [-Wunused-variable] - 63 | 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", @@ -333,33 +365,18 @@ | ~~~ | | | char ** -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); - | ^ +sighandler.c: In function 'sighandler': +sighandler.c:63:13: warning: unused variable 'murderer' [-Wunused-variable] + 63 | int murderer = 0; + | ^~~~~~~~ client.c: In function 'cmp_stash': client.c:369:7: warning: the comparison will always evaluate as 'true' for the address of 'name' will never be NULL [-Waddress] 369 | if (! cur_stash->name) /* various hairy errors */ | ^ +nmb.c: In function 'interpret_node_status': +nmb.c:652:25: warning: bitwise comparison always evaluates to false [-Wtautological-compare] + 652 | if ((p[0] & 0x60) == 1) strcat(flags,"P "); + | ^~ In file included from includes.h:953, from client.c:33: smb.h:240:11: note: 'name' declared here @@ -371,26 +388,78 @@ smb.h:240:11: note: 'name' declared here 240 | pstring name; | ^~~~ +nmb.c:653:25: warning: bitwise comparison always evaluates to false [-Wtautological-compare] + 653 | if ((p[0] & 0x60) == 2) strcat(flags,"M "); + | ^~ +nmb.c:654:25: warning: bitwise comparison always evaluates to false [-Wtautological-compare] + 654 | if ((p[0] & 0x60) == 3) strcat(flags,"_ "); + | ^~ client.c: In function 'cmd_cd': client.c:681:15: warning: unused variable 'dname' [-Wunused-variable] 681 | pstring dname; | ^~~~~ -In file included from includes.h:960, - from util.c:29: -util.c: In function 'name_mangle': client.c:678:11: warning: unused variable 'saved_dir' [-Wunused-variable] 678 | pstring saved_dir; | ^~~~~~~~~ +nmb.c: In function 'H_interpret_node_status': +nmb.c:820:25: warning: bitwise comparison always evaluates to false [-Wtautological-compare] + 820 | if ((p[0] & 0x60) == 1) strcat(flags,"P "); + | ^~ +nmb.c:821:25: warning: bitwise comparison always evaluates to false [-Wtautological-compare] + 821 | if ((p[0] & 0x60) == 2) strcat(flags,"M "); + | ^~ +nmb.c:822:25: warning: bitwise comparison always evaluates to false [-Wtautological-compare] + 822 | if ((p[0] & 0x60) == 3) strcat(flags,"_ "); + | ^~ +client.c: In function 'do_short_dir': +client.c:1072:1: warning: label 'sd_skip' defined but not used [-Wunused-label] + 1072 | sd_skip: + | ^~~~~~~ +In file included from includes.h:960, + from util.c:29: +util.c: In function 'name_mangle': charset.h:61:35: warning: array subscript has type 'char' [-Wchar-subscripts] 61 | #define toupper(c) upper_char_map[(char)(c)] | ^~~~~~~~~ util.c:921:14: note: in expansion of macro 'toupper' 921 | char c = toupper(in[i]); | ^~~~~~~ -client.c: In function 'do_short_dir': -client.c:1072:1: warning: label 'sd_skip' defined but not used [-Wunused-label] - 1072 | sd_skip: - | ^~~~~~~ +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 'do_long_dir': +client.c:1306:7: warning: this 'if' clause does not guard... [-Wmisleading-indentation] + 1306 | if (resp_data) free(resp_data); resp_data = NULL; + | ^~ +client.c:1306:39: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' + 1306 | if (resp_data) free(resp_data); resp_data = NULL; + | ^~~~~~~~~ +client.c:1307:7: warning: this 'if' clause does not guard... [-Wmisleading-indentation] + 1307 | if (resp_param) free(resp_param); resp_param = NULL; + | ^~ +client.c:1307:41: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' + 1307 | if (resp_param) free(resp_param); resp_param = NULL; + | ^~~~~~~~~~ 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)] @@ -404,16 +473,12 @@ util.c:1174:25: note: in expansion of macro 'tolower' 1174 | for (; tolower(*s) == tolower(*t); ++s, ++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:10: note: in expansion of macro 'tolower' 1177 | return tolower(*s) - tolower(*t); | ^~~~~~~ -nmb.c:652:25: warning: bitwise comparison always evaluates to false [-Wtautological-compare] - 652 | 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)] | ^~~~~~~~~ @@ -421,68 +486,43 @@ 1177 | return tolower(*s) - tolower(*t); | ^~~~~~~ util.c: In function 'StrnCaseCmp': -nmb.c:653:25: warning: bitwise comparison always evaluates to false [-Wtautological-compare] - 653 | if ((p[0] & 0x60) == 2) strcat(flags,"M "); - | ^~ -client.c: In function 'do_long_dir': 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:654:25: warning: bitwise comparison always evaluates to false [-Wtautological-compare] - 654 | 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)] | ^~~~~~~~~ util.c:1186:24: note: in expansion of macro 'tolower' 1186 | if (tolower(*s) != tolower(*t)) return(tolower(*s) - tolower(*t)); | ^~~~~~~ -client.c:1306:7: warning: this 'if' clause does not guard... [-Wmisleading-indentation] - 1306 | if (resp_data) free(resp_data); resp_data = NULL; - | ^~ -client.c:1306:39: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' - 1306 | if (resp_data) free(resp_data); resp_data = NULL; - | ^~~~~~~~~ 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)); | ^~~~~~~ -client.c:1307:7: warning: this 'if' clause does not guard... [-Wmisleading-indentation] - 1307 | if (resp_param) free(resp_param); resp_param = NULL; - | ^~ +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)] | ^~~~~~~~~ util.c:1186:58: note: in expansion of macro 'tolower' 1186 | if (tolower(*s) != tolower(*t)) return(tolower(*s) - tolower(*t)); | ^~~~~~~ -client.c:1307:41: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' - 1307 | if (resp_param) free(resp_param); resp_param = NULL; - | ^~~~~~~~~~ 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: 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:1189:31: note: in expansion of macro 'tolower' 1189 | if (n) return(tolower(*s) - tolower(*t)); | ^~~~~~~ -nmb.c:820:25: warning: bitwise comparison always evaluates to false [-Wtautological-compare] - 820 | if ((p[0] & 0x60) == 1) strcat(flags,"P "); - | ^~ -nmb.c:821:25: warning: bitwise comparison always evaluates to false [-Wtautological-compare] - 821 | if ((p[0] & 0x60) == 2) strcat(flags,"M "); - | ^~ 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)] @@ -493,9 +533,9 @@ util.c:1269:11: note: in expansion of macro 'isupper' 1269 | if (isupper(*s)) | ^~~~~~~ -nmb.c:822:25: warning: bitwise comparison always evaluates to false [-Wtautological-compare] - 822 | if ((p[0] & 0x60) == 3) strcat(flags,"_ "); - | ^~ +client.c:2167:16: warning: unused variable 'reserr' [-Wunused-variable] + 2167 | register int reserr = 0; + | ^~~~~~ charset.h:62:35: warning: array subscript has type 'char' [-Wchar-subscripts] 62 | #define tolower(c) lower_char_map[(char)(c)] | ^~~~~~~~~ @@ -518,6 +558,19 @@ util.c:1295:14: note: in expansion of macro 'toupper' 1295 | *s = toupper(*s); | ^~~~~~~ +client.c: In function 'send_setup': +client.c:2444:49: warning: "/*" within comment [-Wcomment] + 2444 | if (!doencrypt) passlen--; /* WHY??!?!? */ +nmb.c:850:38: warning: '%s' directive writing up to 127 bytes into a region of size between 99 and 116 [-Wformat-overflow=] + 850 | sprintf (tbuf, "%s (type 0x%x) %s", qname, type, flags); + | ^~ ~~~~~ +nmb.c:850:7: note: 'sprintf' output between 13 and 157 bytes into a destination of size 128 + 850 | sprintf (tbuf, "%s (type 0x%x) %s", qname, type, flags); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +client.c: In function 'send_login': +client.c:2754:11: warning: unused variable 'dev' [-Wunused-variable] + 2754 | fstring dev; + | ^~~ 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)] @@ -538,74 +591,57 @@ util.c:1991:11: note: in expansion of macro 'islower' 1991 | if (islower(*s)) return(True); | ^~~~~~~ -client.c: In function 'interpret_serr': -client.c:2167:16: warning: unused variable 'reserr' [-Wunused-variable] - 2167 | register int reserr = 0; - | ^~~~~~ -client.c: In function 'send_setup': +client.c: In function 'browse_host': +client.c:3020:12: warning: variable 'long_share_name' set but not used [-Wunused-but-set-variable] + 3020 | BOOL long_share_name=False; + | ^~~~~~~~~~~~~~~ util.c: In function 'read_max_udp': -client.c:2444:49: warning: "/*" within comment [-Wcomment] - 2444 | if (!doencrypt) passlen--; /* WHY??!?!? */ util.c:2309:7: warning: variable 'selrtn' set but not used [-Wunused-but-set-variable] 2309 | int selrtn; | ^~~~~~ -nmb.c:850:38: warning: '%s' directive writing up to 127 bytes into a region of size between 99 and 116 [-Wformat-overflow=] - 850 | sprintf (tbuf, "%s (type 0x%x) %s", qname, type, flags); - | ^~ ~~~~~ -nmb.c:850:7: note: 'sprintf' output between 13 and 157 bytes into a destination of size 128 - 850 | sprintf (tbuf, "%s (type 0x%x) %s", qname, type, flags); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -client.c: In function 'send_login': -client.c:2754:11: warning: unused variable 'dev' [-Wunused-variable] - 2754 | fstring dev; - | ^~~ +client.c: In function 'step': +client.c:3500:1: warning: label 'phase_1' defined but not used [-Wunused-label] + 3500 | phase_1: /* pass the wacky rfc1002 stuff */ + | ^~~~~~~ util.c: In function 'do_match': +client.c:3365:16: warning: unused variable 'i' [-Wunused-variable] + 3365 | register int i; + | ^ 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: In function 'nas_step': 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)))) | ^~~~~~~ -client.c: In function 'browse_host': 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)) | ^~~~~~~ -client.c:3020:12: warning: variable 'long_share_name' set but not used [-Wunused-but-set-variable] - 3020 | BOOL long_share_name=False; - | ^~~~~~~~~~~~~~~ +client.c:3953:16: warning: unused variable 'i' [-Wunused-variable] + 3953 | register int i; + | ^ 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 'step': util.c: In function 'open_socket_in': -client.c:3500:1: warning: label 'phase_1' defined but not used [-Wunused-label] - 3500 | phase_1: /* pass the wacky rfc1002 stuff */ - | ^~~~~~~ util.c:3722:11: warning: unused variable 'host_name' [-Wunused-variable] 3722 | pstring host_name; | ^~~~~~~~~ -client.c:3365:16: warning: unused variable 'i' [-Wunused-variable] - 3365 | register int i; - | ^ -client.c: In function 'nas_step': util.c:3720:19: warning: unused variable 'hp' [-Wunused-variable] 3720 | struct hostent *hp; | ^~ -client.c:3953:16: warning: unused variable 'i' [-Wunused-variable] - 3953 | register int i; - | ^ client.c: At top level: client.c:2827:13: warning: 'send_logout' defined but not used [-Wunused-function] 2827 | static void send_logout(void ) @@ -679,8 +715,8 @@ dh_gencontrol dh_md5sums dh_builddeb -dpkg-deb: building package 'smb-nat' in '../smb-nat_1.0-6.2_amd64.deb'. dpkg-deb: building package 'smb-nat-dbgsym' in '../smb-nat-dbgsym_1.0-6.2_amd64.deb'. +dpkg-deb: building package 'smb-nat' in '../smb-nat_1.0-6.2_amd64.deb'. dpkg-genbuildinfo --build=binary -O../nat_1.0-6.2_amd64.buildinfo dpkg-genchanges --build=binary -O../nat_1.0-6.2_amd64.changes dpkg-genchanges: info: binary-only upload (no source code included) @@ -688,12 +724,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/2555500/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/2555500/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/1002541 and its subdirectories -I: Current time: Sun Oct 26 11:02:13 -12 2025 -I: pbuilder-time-stamp: 1761519733 +I: removing directory /srv/workspace/pbuilder/2555500 and its subdirectories +I: Current time: Tue Sep 24 06:41:19 +14 2024 +I: pbuilder-time-stamp: 1727109679