Diff of the two buildlogs: -- --- b1/build.log 2025-01-11 14:14:44.594477403 +0000 +++ b2/build.log 2025-01-11 14:15:46.867644462 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Sat Jan 11 02:13:42 -12 2025 -I: pbuilder-time-stamp: 1736604822 +I: Current time: Sun Jan 12 04:14:54 +14 2025 +I: pbuilder-time-stamp: 1736604894 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/unstable-reproducible-base.tgz] I: copying local configuration @@ -28,52 +28,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/5425/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/30977/tmp/hooks/D01_modify_environment starting +debug: Running on virt64z. +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 Jan 11 14:15 /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/30977/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/30977/tmp/hooks/D02_print_environment starting I: set - BUILDDIR='/build/reproducible-path' - BUILDUSERGECOS='first user,first room,first work-phone,first home-phone,first other' - BUILDUSERNAME='pbuilder1' - BUILD_ARCH='armhf' - DEBIAN_FRONTEND='noninteractive' - DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=3 ' - DISTRIBUTION='unstable' - HOME='/root' - HOST_ARCH='armhf' + BASH=/bin/sh + BASHOPTS=checkwinsize:cmdhist:complete_fullquote:extquote:force_fignore:globasciiranges:globskipdots:hostcomplete:interactive_comments:patsub_replacement:progcomp:promptvars:sourcepath + BASH_ALIASES=() + BASH_ARGC=() + BASH_ARGV=() + BASH_CMDS=() + BASH_LINENO=([0]="12" [1]="0") + BASH_LOADABLES_PATH=/usr/local/lib/bash:/usr/lib/bash:/opt/local/lib/bash:/usr/pkg/lib/bash:/opt/pkg/lib/bash:. + BASH_SOURCE=([0]="/tmp/hooks/D02_print_environment" [1]="/tmp/hooks/D02_print_environment") + BASH_VERSINFO=([0]="5" [1]="2" [2]="37" [3]="1" [4]="release" [5]="arm-unknown-linux-gnueabihf") + BASH_VERSION='5.2.37(1)-release' + BUILDDIR=/build/reproducible-path + BUILDUSERGECOS='second user,second room,second work-phone,second home-phone,second other' + BUILDUSERNAME=pbuilder2 + BUILD_ARCH=armhf + DEBIAN_FRONTEND=noninteractive + DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=4 ' + DIRSTACK=() + DISTRIBUTION=unstable + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=arm + HOST_ARCH=armhf IFS=' ' - INVOCATION_ID='414fa7f9186e450885623fc8f46f88e4' - 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='5425' - PS1='# ' - PS2='> ' + INVOCATION_ID=8030c183600948bea94ce8c810d057af + 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=30977 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.L5Z6Uw1L/pbuilderrc_cJui --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.L5Z6Uw1L/b1 --logfile b1/build.log nat_1.0-7.dsc' - SUDO_GID='113' - SUDO_UID='107' - SUDO_USER='jenkins' - TERM='unknown' - TZ='/usr/share/zoneinfo/Etc/GMT+12' - USER='root' - _='/usr/bin/systemd-run' - http_proxy='http://10.0.0.15:3142/' + PWD=/ + SHELL=/bin/bash + SHELLOPTS=braceexpand:errexit:hashall:interactive-comments:posix + SHLVL=3 + SUDO_COMMAND='/usr/bin/timeout -k 24.1h 24h /usr/bin/ionice -c 3 /usr/bin/nice -n 11 /usr/bin/unshare --uts -- /usr/sbin/pbuilder --build --configfile /srv/reproducible-results/rbuild-debian/r-b-build.L5Z6Uw1L/pbuilderrc_ozqC --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.L5Z6Uw1L/b2 --logfile b2/build.log nat_1.0-7.dsc' + SUDO_GID=110 + SUDO_UID=103 + 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 virt32a 6.1.0-28-armmp-lpae #1 SMP Debian 6.1.119-1 (2024-11-22) armv7l GNU/Linux + Linux i-capture-the-hostname 6.1.0-28-arm64 #1 SMP Debian 6.1.119-1 (2024-11-22) aarch64 GNU/Linux I: ls -l /bin lrwxrwxrwx 1 root root 7 Nov 22 14:40 /bin -> usr/bin -I: user script /srv/workspace/pbuilder/5425/tmp/hooks/D02_print_environment finished +I: user script /srv/workspace/pbuilder/30977/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -139,7 +171,7 @@ Get: 28 http://deb.debian.org/debian unstable/main armhf intltool-debian all 0.35.0+20060710.6 [22.9 kB] Get: 29 http://deb.debian.org/debian unstable/main armhf po-debconf all 1.0.21+nmu1 [248 kB] Get: 30 http://deb.debian.org/debian unstable/main armhf debhelper all 13.23 [919 kB] -Fetched 19.6 MB in 0s (48.7 MB/s) +Fetched 19.6 MB in 2s (11.5 MB/s) Preconfiguring packages ... 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 ... 19562 files and directories currently installed.) @@ -279,7 +311,11 @@ fakeroot is already the newest version (1.36.2-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-7_source.changes +I: user script /srv/workspace/pbuilder/30977/tmp/hooks/A99_set_merged_usr starting +Not re-configuring usrmerge for unstable +I: user script /srv/workspace/pbuilder/30977/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-7_source.changes dpkg-buildpackage: info: source package nat dpkg-buildpackage: info: source version 1:1.0-7 dpkg-buildpackage: info: source distribution unstable @@ -289,7 +325,7 @@ debian/rules clean dh clean dh_auto_clean - make -j3 clean + make -j4 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 @@ -301,15 +337,17 @@ dh_autoreconf dh_auto_configure dh_auto_build - make -j3 "INSTALL=install --strip-program=true" + make -j4 "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 nat.c Compiling util.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 system.c +gcc -DSTEPPING -DSCANNER -DVERBOSE -DWORKGROUP=\"WORKGROUP\" -DGUEST_ACCOUNT=\"nobody\" -DLINUX -DNO_ASMSIGNALH -ggdb -Wall -c system.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", @@ -320,6 +358,15 @@ | ~~~ | | | char ** +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 '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 */ @@ -335,39 +382,26 @@ smb.h:240:11: note: 'name' declared here 240 | pstring name; | ^~~~ -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]); - | ^~~~~~~ +util.c: In function 'StrCaseCmp': client.c: In function 'cmd_cd': client.c:681:15: warning: unused variable 'dname' [-Wunused-variable] 681 | pstring dname; | ^~~~~ -client.c:678:11: warning: unused variable 'saved_dir' [-Wunused-variable] - 678 | pstring saved_dir; - | ^~~~~~~~~ -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)] | ^~~~~~~~~ util.c:1174:10: note: in expansion of macro 'tolower' 1174 | for (; tolower(*s) == tolower(*t); ++s, ++t) | ^~~~~~~ -client.c: In function 'do_short_dir': +client.c:678:11: warning: unused variable 'saved_dir' [-Wunused-variable] + 678 | pstring saved_dir; + | ^~~~~~~~~ charset.h:62:35: warning: array subscript has type 'char' [-Wchar-subscripts] 62 | #define tolower(c) lower_char_map[(char)(c)] | ^~~~~~~~~ util.c:1174:25: note: in expansion of macro 'tolower' 1174 | for (; tolower(*s) == tolower(*t); ++s, ++t) | ^~~~~~~ -client.c:1072:1: warning: label 'sd_skip' defined but not used [-Wunused-label] - 1072 | sd_skip: - | ^~~~~~~ charset.h:62:35: warning: array subscript has type 'char' [-Wchar-subscripts] 62 | #define tolower(c) lower_char_map[(char)(c)] | ^~~~~~~~~ @@ -381,14 +415,12 @@ 1177 | return tolower(*s) - tolower(*t); | ^~~~~~~ util.c: In function 'StrnCaseCmp': -Compiling system.c 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)); | ^~~~~~~ -gcc -DSTEPPING -DSCANNER -DVERBOSE -DWORKGROUP=\"WORKGROUP\" -DGUEST_ACCOUNT=\"nobody\" -DLINUX -DNO_ASMSIGNALH -ggdb -Wall -c system.c charset.h:62:35: warning: array subscript has type 'char' [-Wchar-subscripts] 62 | #define tolower(c) lower_char_map[(char)(c)] | ^~~~~~~~~ @@ -407,26 +439,23 @@ 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': 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)); | ^~~~~~~ -client.c: In function 'do_long_dir': +client.c:1072:1: warning: label 'sd_skip' defined but not used [-Wunused-label] + 1072 | sd_skip: + | ^~~~~~~ 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)); | ^~~~~~~ -client.c:1306:7: warning: this 'if' clause does not guard... [-Wmisleading-indentation] - 1306 | if (resp_data) free(resp_data); resp_data = NULL; - | ^~ util.c: In function 'strlower': -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)] | ^~~~~~~~~ @@ -436,18 +465,12 @@ util.c:1269:11: note: in expansion of macro 'isupper' 1269 | if (isupper(*s)) | ^~~~~~~ -client.c:1307:7: warning: this 'if' clause does not guard... [-Wmisleading-indentation] - 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:1270:16: note: in expansion of macro 'tolower' 1270 | *s = tolower(*s); | ^~~~~~~ -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 'strupper': charset.h:61:35: warning: array subscript has type 'char' [-Wchar-subscripts] 61 | #define toupper(c) upper_char_map[(char)(c)] @@ -464,6 +487,19 @@ util.c:1295:14: note: in expansion of macro 'toupper' 1295 | *s = toupper(*s); | ^~~~~~~ +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 'strhasupper': charset.h:62:35: warning: array subscript has type 'char' [-Wchar-subscripts] 62 | #define tolower(c) lower_char_map[(char)(c)] @@ -484,14 +520,18 @@ util.c:1991:11: note: in expansion of macro 'islower' 1991 | if (islower(*s)) return(True); | ^~~~~~~ -client.c: In function 'interpret_serr': +Compiling nmb.c +Compiling charset.c +gcc -DSTEPPING -DSCANNER -DVERBOSE -DWORKGROUP=\"WORKGROUP\" -DGUEST_ACCOUNT=\"nobody\" -DLINUX -DNO_ASMSIGNALH -ggdb -Wall -c nmb.c +gcc -DSTEPPING -DSCANNER -DVERBOSE -DWORKGROUP=\"WORKGROUP\" -DGUEST_ACCOUNT=\"nobody\" -DLINUX -DNO_ASMSIGNALH -ggdb -Wall -c charset.c util.c: In function 'read_max_udp': -client.c:2167:16: warning: unused variable 'reserr' [-Wunused-variable] - 2167 | register int reserr = 0; - | ^~~~~~ 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:2167:16: warning: unused variable 'reserr' [-Wunused-variable] + 2167 | register int reserr = 0; + | ^~~~~~ client.c: In function 'send_setup': client.c:2444:49: warning: "/*" within comment [-Wcomment] 2444 | if (!doencrypt) passlen--; /* WHY??!?!? */ @@ -502,10 +542,6 @@ 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 'send_login': -client.c:2754:11: warning: unused variable 'dev' [-Wunused-variable] - 2754 | fstring dev; - | ^~~ charset.h:61:35: warning: array subscript has type 'char' [-Wchar-subscripts] 61 | #define toupper(c) upper_char_map[(char)(c)] | ^~~~~~~~~ @@ -518,12 +554,16 @@ util.c:2984:12: note: in expansion of macro 'toupper' 2984 | if(toupper(*str) != toupper(*p)) | ^~~~~~~ +client.c: In function 'send_login': 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:2754:11: warning: unused variable 'dev' [-Wunused-variable] + 2754 | fstring dev; + | ^~~ 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; @@ -546,12 +586,53 @@ client.c:3953:16: warning: unused variable 'i' [-Wunused-variable] 3953 | register int i; | ^ -Compiling nmb.c -gcc -DSTEPPING -DSCANNER -DVERBOSE -DWORKGROUP=\"WORKGROUP\" -DGUEST_ACCOUNT=\"nobody\" -DLINUX -DNO_ASMSIGNALH -ggdb -Wall -c nmb.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); + | ^ +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 "); + | ^~ +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: At top level: +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 "); + | ^~ client.c:2827:13: warning: 'send_logout' defined but not used [-Wunused-function] 2827 | static void send_logout(void ) | ^~~~~~~~~~~ +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:2002:13: warning: 'cmd_rmdir' defined but not used [-Wunused-function] 2002 | static void cmd_rmdir(char *inbuf,char *outbuf ) | ^~~~~~~~~ @@ -576,6 +657,14 @@ client.c:592:12: warning: 'printread' defined but not used [-Wunused-function] 592 | static int printread(FILE *f,char *b,int n) | ^~~~~~~~~ +Compiling parse_ip.c +gcc -DSTEPPING -DSCANNER -DVERBOSE -DWORKGROUP=\"WORKGROUP\" -DGUEST_ACCOUNT=\"nobody\" -DLINUX -DNO_ASMSIGNALH -ggdb -Wall -c parse_ip.c +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 'step': client.c:3722:24: warning: '%s' directive writing up to 1023 bytes into a region of size 1022 [-Wformat-overflow=] 3722 | sprintf(service,"\\\\%s\\IPC$", desthost); @@ -589,59 +678,6 @@ client.c:3811:3: note: 'sprintf' output 4 or more bytes (assuming 1027) into a destination of size 1024 3811 | sprintf (service, "\\\\%s\\%s", desthost, p); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -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 "); - | ^~ -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,"_ "); - | ^~ -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,"_ "); - | ^~ -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); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -Compiling charset.c -gcc -DSTEPPING -DSCANNER -DVERBOSE -DWORKGROUP=\"WORKGROUP\" -DGUEST_ACCOUNT=\"nobody\" -DLINUX -DNO_ASMSIGNALH -ggdb -Wall -c charset.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); - | ^ -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 sighandler.c: In function 'sighandler': @@ -677,8 +713,8 @@ dh_gencontrol dh_md5sums dh_builddeb -dpkg-deb: building package 'smb-nat-dbgsym' in '../smb-nat-dbgsym_1.0-7_armhf.deb'. dpkg-deb: building package 'smb-nat' in '../smb-nat_1.0-7_armhf.deb'. +dpkg-deb: building package 'smb-nat-dbgsym' in '../smb-nat-dbgsym_1.0-7_armhf.deb'. dpkg-genbuildinfo --build=binary -O../nat_1.0-7_armhf.buildinfo dpkg-genchanges --build=binary -O../nat_1.0-7_armhf.changes dpkg-genchanges: info: binary-only upload (no source code included) @@ -686,12 +722,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/30977/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/30977/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/5425 and its subdirectories -I: Current time: Sat Jan 11 02:14:40 -12 2025 -I: pbuilder-time-stamp: 1736604880 +I: removing directory /srv/workspace/pbuilder/30977 and its subdirectories +I: Current time: Sun Jan 12 04:15:43 +14 2025 +I: pbuilder-time-stamp: 1736604943