I: pbuilder: network access will be disabled during build I: Current time: Tue Oct 8 01:00:28 +14 2024 I: pbuilder-time-stamp: 1728298828 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/unstable-reproducible-base.tgz] I: copying local configuration W: --override-config is not set; not updating apt.conf Read the manpage for details. I: mounting /proc filesystem I: mounting /sys filesystem I: creating /{dev,run}/shm I: mounting /dev/pts filesystem I: redirecting /dev/ptmx to /dev/pts/ptmx I: policy-rc.d already exists I: using eatmydata during job I: Copying source file I: copying [nat_1.0-6.2.dsc] I: copying [./nat_1.0.orig.tar.gz] I: copying [./nat_1.0-6.2.debian.tar.xz] I: Extracting source gpgv: Signature made Wed Aug 21 01:52:16 2024 gpgv: using RSA key A36878F464108681600CB64844173FA13D058888 gpgv: issuer "paulliu@debian.org" gpgv: Can't check signature: No public key dpkg-source: warning: cannot verify inline signature for ./nat_1.0-6.2.dsc: no acceptable signature found dpkg-source: info: extracting nat in nat-1.0 dpkg-source: info: unpacking nat_1.0.orig.tar.gz dpkg-source: info: unpacking nat_1.0-6.2.debian.tar.xz dpkg-source: info: using patch list from debian/patches/series dpkg-source: info: applying 0001_add_samples.patch dpkg-source: info: applying 0002_patch_manpage.patch dpkg-source: info: applying 0003_add_patch.patch dpkg-source: info: applying 0004_add_sig_handler.patch 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/31767/tmp/hooks/D01_modify_environment starting debug: Running on infom07-i386. 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 Oct 7 11:00 /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/31767/tmp/hooks/D01_modify_environment finished I: user script /srv/workspace/pbuilder/31767/tmp/hooks/D02_print_environment starting I: set 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]="i686-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=i386 DEBIAN_FRONTEND=noninteractive DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=5 ' DIRSTACK=() DISTRIBUTION=unstable EUID=0 FUNCNAME=([0]="Echo" [1]="main") GROUPS=() HOME=/root HOSTNAME=i-capture-the-hostname HOSTTYPE=i686 HOST_ARCH=i386 IFS=' ' INVOCATION_ID=409250c54c2c4b8cbfc0309a9fd7f1e1 LANG=C LANGUAGE=de_CH:de LC_ALL=C LD_LIBRARY_PATH=/usr/lib/libeatmydata LD_PRELOAD=libeatmydata.so MACHTYPE=i686-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=31767 PS4='+ ' 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.xQf0k6Db/pbuilderrc_z5nj --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.xQf0k6Db/b2 --logfile b2/build.log nat_1.0-6.2.dsc' SUDO_GID=111 SUDO_UID=104 SUDO_USER=jenkins TERM=unknown TZ=/usr/share/zoneinfo/Etc/GMT-14 UID=0 USER=root _='I: set' I: uname -a Linux i-capture-the-hostname 6.1.0-26-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.112-1 (2024-09-30) x86_64 GNU/Linux I: ls -l /bin lrwxrwxrwx 1 root root 7 Aug 4 21:30 /bin -> usr/bin I: user script /srv/workspace/pbuilder/31767/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy Version: 0.invalid.0 Architecture: i386 Maintainer: Debian Pbuilder Team Description: Dummy package to satisfy dependencies with aptitude - created by pbuilder This package was created automatically by pbuilder to satisfy the build-dependencies of the package being currently built. Depends: debhelper-compat (= 13) dpkg-deb: building package 'pbuilder-satisfydepends-dummy' in '/tmp/satisfydepends-aptitude/pbuilder-satisfydepends-dummy.deb'. Selecting previously unselected package pbuilder-satisfydepends-dummy. (Reading database ... 19785 files and directories currently installed.) Preparing to unpack .../pbuilder-satisfydepends-dummy.deb ... Unpacking pbuilder-satisfydepends-dummy (0.invalid.0) ... dpkg: pbuilder-satisfydepends-dummy: dependency problems, but configuring anyway as you requested: pbuilder-satisfydepends-dummy depends on debhelper-compat (= 13); however: Package debhelper-compat is not installed. Setting up pbuilder-satisfydepends-dummy (0.invalid.0) ... Reading package lists... Building dependency tree... Reading state information... Initializing package states... Writing extended state information... Building tag database... pbuilder-satisfydepends-dummy is already installed at the requested version (0.invalid.0) pbuilder-satisfydepends-dummy is already installed at the requested version (0.invalid.0) The following NEW packages will be installed: autoconf{a} automake{a} autopoint{a} autotools-dev{a} bsdextrautils{a} debhelper{a} dh-autoreconf{a} dh-strip-nondeterminism{a} dwz{a} file{a} gettext{a} gettext-base{a} groff-base{a} intltool-debian{a} libarchive-zip-perl{a} libdebhelper-perl{a} libelf1t64{a} libfile-stripnondeterminism-perl{a} libicu72{a} libmagic-mgc{a} libmagic1t64{a} libpipeline1{a} libtool{a} libuchardet0{a} libxml2{a} m4{a} man-db{a} po-debconf{a} sensible-utils{a} The following packages are RECOMMENDED but will NOT be installed: curl libarchive-cpio-perl libltdl-dev libmail-sendmail-perl lynx wget 0 packages upgraded, 29 newly installed, 0 to remove and 0 not upgraded. Need to get 20.1 MB of archives. After unpacking 75.7 MB will be used. Writing extended state information... Get: 1 http://deb.debian.org/debian unstable/main i386 sensible-utils all 0.0.24 [24.8 kB] Get: 2 http://deb.debian.org/debian unstable/main i386 libmagic-mgc i386 1:5.45-3 [314 kB] Get: 3 http://deb.debian.org/debian unstable/main i386 libmagic1t64 i386 1:5.45-3 [114 kB] Get: 4 http://deb.debian.org/debian unstable/main i386 file i386 1:5.45-3 [42.9 kB] Get: 5 http://deb.debian.org/debian unstable/main i386 gettext-base i386 0.22.5-2 [201 kB] Get: 6 http://deb.debian.org/debian unstable/main i386 libuchardet0 i386 0.0.8-1+b1 [69.1 kB] Get: 7 http://deb.debian.org/debian unstable/main i386 groff-base i386 1.23.0-5 [1196 kB] Get: 8 http://deb.debian.org/debian unstable/main i386 bsdextrautils i386 2.40.2-9 [102 kB] Get: 9 http://deb.debian.org/debian unstable/main i386 libpipeline1 i386 1.5.8-1 [41.2 kB] Get: 10 http://deb.debian.org/debian unstable/main i386 man-db i386 2.13.0-1 [1428 kB] Get: 11 http://deb.debian.org/debian unstable/main i386 m4 i386 1.4.19-4 [293 kB] Get: 12 http://deb.debian.org/debian unstable/main i386 autoconf all 2.72-3 [493 kB] Get: 13 http://deb.debian.org/debian unstable/main i386 autotools-dev all 20220109.1 [51.6 kB] Get: 14 http://deb.debian.org/debian unstable/main i386 automake all 1:1.16.5-1.3 [823 kB] Get: 15 http://deb.debian.org/debian unstable/main i386 autopoint all 0.22.5-2 [723 kB] Get: 16 http://deb.debian.org/debian unstable/main i386 libdebhelper-perl all 13.20 [89.7 kB] Get: 17 http://deb.debian.org/debian unstable/main i386 libtool all 2.4.7-7 [517 kB] Get: 18 http://deb.debian.org/debian unstable/main i386 dh-autoreconf all 20 [17.1 kB] Get: 19 http://deb.debian.org/debian unstable/main i386 libarchive-zip-perl all 1.68-1 [104 kB] Get: 20 http://deb.debian.org/debian unstable/main i386 libfile-stripnondeterminism-perl all 1.14.0-1 [19.5 kB] Get: 21 http://deb.debian.org/debian unstable/main i386 dh-strip-nondeterminism all 1.14.0-1 [8448 B] Get: 22 http://deb.debian.org/debian unstable/main i386 libelf1t64 i386 0.191-2 [194 kB] Get: 23 http://deb.debian.org/debian unstable/main i386 dwz i386 0.15-1+b1 [116 kB] Get: 24 http://deb.debian.org/debian unstable/main i386 libicu72 i386 72.1-5 [9550 kB] Get: 25 http://deb.debian.org/debian unstable/main i386 libxml2 i386 2.12.7+dfsg+really2.9.14-0.1 [733 kB] Get: 26 http://deb.debian.org/debian unstable/main i386 gettext i386 0.22.5-2 [1631 kB] Get: 27 http://deb.debian.org/debian unstable/main i386 intltool-debian all 0.35.0+20060710.6 [22.9 kB] Get: 28 http://deb.debian.org/debian unstable/main i386 po-debconf all 1.0.21+nmu1 [248 kB] Get: 29 http://deb.debian.org/debian unstable/main i386 debhelper all 13.20 [915 kB] Fetched 20.1 MB in 0s (99.9 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 ... 19785 files and directories currently installed.) Preparing to unpack .../00-sensible-utils_0.0.24_all.deb ... Unpacking sensible-utils (0.0.24) ... Selecting previously unselected package libmagic-mgc. Preparing to unpack .../01-libmagic-mgc_1%3a5.45-3_i386.deb ... Unpacking libmagic-mgc (1:5.45-3) ... Selecting previously unselected package libmagic1t64:i386. Preparing to unpack .../02-libmagic1t64_1%3a5.45-3_i386.deb ... Unpacking libmagic1t64:i386 (1:5.45-3) ... Selecting previously unselected package file. Preparing to unpack .../03-file_1%3a5.45-3_i386.deb ... Unpacking file (1:5.45-3) ... Selecting previously unselected package gettext-base. Preparing to unpack .../04-gettext-base_0.22.5-2_i386.deb ... Unpacking gettext-base (0.22.5-2) ... Selecting previously unselected package libuchardet0:i386. Preparing to unpack .../05-libuchardet0_0.0.8-1+b1_i386.deb ... Unpacking libuchardet0:i386 (0.0.8-1+b1) ... Selecting previously unselected package groff-base. Preparing to unpack .../06-groff-base_1.23.0-5_i386.deb ... Unpacking groff-base (1.23.0-5) ... Selecting previously unselected package bsdextrautils. Preparing to unpack .../07-bsdextrautils_2.40.2-9_i386.deb ... Unpacking bsdextrautils (2.40.2-9) ... Selecting previously unselected package libpipeline1:i386. Preparing to unpack .../08-libpipeline1_1.5.8-1_i386.deb ... Unpacking libpipeline1:i386 (1.5.8-1) ... Selecting previously unselected package man-db. Preparing to unpack .../09-man-db_2.13.0-1_i386.deb ... Unpacking man-db (2.13.0-1) ... Selecting previously unselected package m4. Preparing to unpack .../10-m4_1.4.19-4_i386.deb ... Unpacking m4 (1.4.19-4) ... Selecting previously unselected package autoconf. Preparing to unpack .../11-autoconf_2.72-3_all.deb ... Unpacking autoconf (2.72-3) ... Selecting previously unselected package autotools-dev. Preparing to unpack .../12-autotools-dev_20220109.1_all.deb ... Unpacking autotools-dev (20220109.1) ... Selecting previously unselected package automake. Preparing to unpack .../13-automake_1%3a1.16.5-1.3_all.deb ... Unpacking automake (1:1.16.5-1.3) ... Selecting previously unselected package autopoint. Preparing to unpack .../14-autopoint_0.22.5-2_all.deb ... Unpacking autopoint (0.22.5-2) ... Selecting previously unselected package libdebhelper-perl. Preparing to unpack .../15-libdebhelper-perl_13.20_all.deb ... Unpacking libdebhelper-perl (13.20) ... Selecting previously unselected package libtool. Preparing to unpack .../16-libtool_2.4.7-7_all.deb ... Unpacking libtool (2.4.7-7) ... Selecting previously unselected package dh-autoreconf. Preparing to unpack .../17-dh-autoreconf_20_all.deb ... Unpacking dh-autoreconf (20) ... Selecting previously unselected package libarchive-zip-perl. Preparing to unpack .../18-libarchive-zip-perl_1.68-1_all.deb ... Unpacking libarchive-zip-perl (1.68-1) ... Selecting previously unselected package libfile-stripnondeterminism-perl. Preparing to unpack .../19-libfile-stripnondeterminism-perl_1.14.0-1_all.deb ... Unpacking libfile-stripnondeterminism-perl (1.14.0-1) ... Selecting previously unselected package dh-strip-nondeterminism. Preparing to unpack .../20-dh-strip-nondeterminism_1.14.0-1_all.deb ... Unpacking dh-strip-nondeterminism (1.14.0-1) ... Selecting previously unselected package libelf1t64:i386. Preparing to unpack .../21-libelf1t64_0.191-2_i386.deb ... Unpacking libelf1t64:i386 (0.191-2) ... Selecting previously unselected package dwz. Preparing to unpack .../22-dwz_0.15-1+b1_i386.deb ... Unpacking dwz (0.15-1+b1) ... Selecting previously unselected package libicu72:i386. Preparing to unpack .../23-libicu72_72.1-5_i386.deb ... Unpacking libicu72:i386 (72.1-5) ... Selecting previously unselected package libxml2:i386. Preparing to unpack .../24-libxml2_2.12.7+dfsg+really2.9.14-0.1_i386.deb ... Unpacking libxml2:i386 (2.12.7+dfsg+really2.9.14-0.1) ... Selecting previously unselected package gettext. Preparing to unpack .../25-gettext_0.22.5-2_i386.deb ... Unpacking gettext (0.22.5-2) ... Selecting previously unselected package intltool-debian. Preparing to unpack .../26-intltool-debian_0.35.0+20060710.6_all.deb ... Unpacking intltool-debian (0.35.0+20060710.6) ... Selecting previously unselected package po-debconf. Preparing to unpack .../27-po-debconf_1.0.21+nmu1_all.deb ... Unpacking po-debconf (1.0.21+nmu1) ... Selecting previously unselected package debhelper. Preparing to unpack .../28-debhelper_13.20_all.deb ... Unpacking debhelper (13.20) ... Setting up libpipeline1:i386 (1.5.8-1) ... Setting up libicu72:i386 (72.1-5) ... Setting up bsdextrautils (2.40.2-9) ... Setting up libmagic-mgc (1:5.45-3) ... Setting up libarchive-zip-perl (1.68-1) ... Setting up libdebhelper-perl (13.20) ... Setting up libmagic1t64:i386 (1:5.45-3) ... Setting up gettext-base (0.22.5-2) ... Setting up m4 (1.4.19-4) ... Setting up file (1:5.45-3) ... Setting up libelf1t64:i386 (0.191-2) ... Setting up autotools-dev (20220109.1) ... Setting up autopoint (0.22.5-2) ... Setting up autoconf (2.72-3) ... Setting up dwz (0.15-1+b1) ... Setting up sensible-utils (0.0.24) ... Setting up libuchardet0:i386 (0.0.8-1+b1) ... Setting up libxml2:i386 (2.12.7+dfsg+really2.9.14-0.1) ... Setting up automake (1:1.16.5-1.3) ... update-alternatives: using /usr/bin/automake-1.16 to provide /usr/bin/automake (automake) in auto mode Setting up libfile-stripnondeterminism-perl (1.14.0-1) ... Setting up gettext (0.22.5-2) ... Setting up libtool (2.4.7-7) ... Setting up intltool-debian (0.35.0+20060710.6) ... Setting up dh-autoreconf (20) ... Setting up dh-strip-nondeterminism (1.14.0-1) ... Setting up groff-base (1.23.0-5) ... Setting up po-debconf (1.0.21+nmu1) ... Setting up man-db (2.13.0-1) ... Not building database; man-db/auto-update is not 'true'. Setting up debhelper (13.20) ... Processing triggers for libc-bin (2.40-3) ... Reading package lists... Building dependency tree... Reading state information... Reading extended state information... Initializing package states... Writing extended state information... Building tag database... -> Finished parsing the build-deps Reading package lists... Building dependency tree... Reading state information... 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: user script /srv/workspace/pbuilder/31767/tmp/hooks/A99_set_merged_usr starting Not re-configuring usrmerge for unstable I: user script /srv/workspace/pbuilder/31767/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 dpkg-buildpackage: info: source changed by Ying-Chun Liu (PaulLiu) dpkg-source --before-build . dpkg-buildpackage: info: host architecture i386 fakeroot debian/rules clean dh clean dh_auto_clean make -j5 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 make[1]: Leaving directory '/build/reproducible-path/nat-1.0' dh_clean debian/rules build dh build dh_update_autotools_config dh_autoreconf dh_auto_configure dh_auto_build make -j5 "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 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 Compiling nmb.c gcc -DSTEPPING -DSCANNER -DVERBOSE -DWORKGROUP=\"WORKGROUP\" -DGUEST_ACCOUNT=\"nobody\" -DLINUX -DNO_ASMSIGNALH -ggdb -Wall -c nmb.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", | ~^ | | | unsigned int 226 | idx, blk); | ~~~ | | | char ** 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 */ | ^ In file included from includes.h:953, from client.c:33: smb.h:240:11: note: 'name' declared here 240 | pstring name; | ^~~~ client.c:371:21: warning: the comparison will always evaluate as 'true' for the address of 'name' will never be NULL [-Waddress] 371 | if ((! finfo) || (! finfo->name)) | ^ smb.h:240:11: note: 'name' declared here 240 | pstring name; | ^~~~ 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; | ^~~~~~~~~ client.c: In function 'do_short_dir': client.c:1072:1: warning: label 'sd_skip' defined but not used [-Wunused-label] 1072 | sd_skip: | ^~~~~~~ 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; | ^~ In file included from includes.h:960, from util.c:29: util.c: In function 'name_mangle': 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: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: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)] | ^~~~~~~~~ util.c:1174:10: note: in expansion of macro 'tolower' 1174 | for (; tolower(*s) == tolower(*t); ++s, ++t) | ^~~~~~~ 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) | ^~~~~~~ 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); | ^~~~~~~ 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); | ^~~~~~~ util.c: In function 'StrnCaseCmp': 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)); | ^~~~~~~ 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)); | ^~~~~~~ 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)); | ^~~~~~~ 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)); | ^~~~~~~ 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)); | ^~~~~~~ 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)); | ^~~~~~~ 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)] | ^~~~~~~~~ charset.h:63:36: note: in expansion of macro 'tolower' 63 | #define isupper(c) (((char)(c)) != tolower(c)) | ^~~~~~~ util.c:1269:11: note: in expansion of macro 'isupper' 1269 | if (isupper(*s)) | ^~~~~~~ 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); | ^~~~~~~ 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)] | ^~~~~~~~~ charset.h:64:36: note: in expansion of macro 'toupper' 64 | #define islower(c) (((char)(c)) != toupper(c)) | ^~~~~~~ util.c:1294:11: note: in expansion of macro 'islower' 1294 | if (islower(*s)) | ^~~~~~~ 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); | ^~~~~~~ client.c: In function 'interpret_serr': client.c:2167:16: warning: unused variable 'reserr' [-Wunused-variable] 2167 | register int reserr = 0; | ^~~~~~ 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 "); | ^~ client.c: In function 'send_setup': 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:2444:49: warning: "/*" within comment [-Wcomment] 2444 | if (!doencrypt) passlen--; /* WHY??!?!? */ 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 "); | ^~ util.c: In function 'strhasupper': nmb.c:821:25: warning: bitwise comparison always evaluates to false [-Wtautological-compare] 821 | 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)] | ^~~~~~~~~ charset.h:63:36: note: in expansion of macro 'tolower' 63 | #define isupper(c) (((char)(c)) != tolower(c)) | ^~~~~~~ util.c:1967:11: note: in expansion of macro 'isupper' 1967 | if (isupper(*s)) return(True); | ^~~~~~~ nmb.c:822:25: warning: bitwise comparison always evaluates to false [-Wtautological-compare] 822 | if ((p[0] & 0x60) == 3) strcat(flags,"_ "); | ^~ util.c: In function 'strhaslower': charset.h:61:35: warning: array subscript has type 'char' [-Wchar-subscripts] 61 | #define toupper(c) upper_char_map[(char)(c)] | ^~~~~~~~~ charset.h:64:36: note: in expansion of macro 'toupper' 64 | #define islower(c) (((char)(c)) != toupper(c)) | ^~~~~~~ util.c:1991:11: note: in expansion of macro 'islower' 1991 | if (islower(*s)) return(True); | ^~~~~~~ client.c: In function 'send_login': client.c:2754:11: warning: unused variable 'dev' [-Wunused-variable] 2754 | fstring dev; | ^~~ 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: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 'do_match': charset.h:61:35: warning: array subscript has type 'char' [-Wchar-subscripts] 61 | #define toupper(c) upper_char_map[(char)(c)] | ^~~~~~~~~ util.c:2968:51: note: in expansion of macro 'toupper' 2968 | while(*str && (case_sig ? (*p != *str) : (toupper(*p)!=toupper(*str)))) | ^~~~~~~ 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); | ^~ ~~~~~ 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)))) | ^~~~~~~ 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); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ charset.h:61:35: warning: array subscript has type 'char' [-Wchar-subscripts] 61 | #define toupper(c) upper_char_map[(char)(c)] | ^~~~~~~~~ util.c:2984:12: note: in expansion of macro 'toupper' 2984 | if(toupper(*str) != toupper(*p)) | ^~~~~~~ charset.h:61:35: warning: array subscript has type 'char' [-Wchar-subscripts] 61 | #define toupper(c) upper_char_map[(char)(c)] | ^~~~~~~~~ util.c:2984:29: note: in expansion of macro 'toupper' 2984 | if(toupper(*str) != toupper(*p)) | ^~~~~~~ client.c: In function 'step': client.c:3500:1: warning: label 'phase_1' defined but not used [-Wunused-label] 3500 | phase_1: /* pass the wacky rfc1002 stuff */ | ^~~~~~~ client.c:3365:16: warning: unused variable 'i' [-Wunused-variable] 3365 | register int i; | ^ client.c: In function 'nas_step': client.c:3953:16: warning: unused variable 'i' [-Wunused-variable] 3953 | 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:2827:13: warning: 'send_logout' defined but not used [-Wunused-function] 2827 | static void send_logout(void ) | ^~~~~~~~~~~ client.c:2002:13: warning: 'cmd_rmdir' defined but not used [-Wunused-function] 2002 | static void cmd_rmdir(char *inbuf,char *outbuf ) | ^~~~~~~~~ Compiling charset.c client.c:1977:13: warning: 'cmd_del' defined but not used [-Wunused-function] 1977 | static void cmd_del(char *inbuf,char *outbuf ) | ^~~~~~~ gcc -DSTEPPING -DSCANNER -DVERBOSE -DWORKGROUP=\"WORKGROUP\" -DGUEST_ACCOUNT=\"nobody\" -DLINUX -DNO_ASMSIGNALH -ggdb -Wall -c charset.c client.c:1842:13: warning: 'cmd_mkdir' defined but not used [-Wunused-function] 1842 | static void cmd_mkdir(char *inbuf,char *outbuf) | ^~~~~~~~~ client.c:1771:13: warning: 'cmd_get' defined but not used [-Wunused-function] 1771 | static void cmd_get(void) | ^~~~~~~ client.c:1340:13: warning: 'cmd_dir' defined but not used [-Wunused-function] 1340 | static void cmd_dir(char *inbuf,char *outbuf) | ^~~~~~~ client.c:674:13: warning: 'cmd_cd' defined but not used [-Wunused-function] 674 | static void cmd_cd(char *inbuf,char *outbuf) | ^~~~~~ client.c:665:13: warning: 'cmd_pwd' defined but not used [-Wunused-function] 665 | static void cmd_pwd(void) | ^~~~~~~ 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 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); | ^~ ~~~~~~~~ client.c:3722:3: note: 'sprintf' output between 8 and 1031 bytes into a destination of size 1024 3722 | sprintf(service,"\\\\%s\\IPC$", desthost); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ client.c:3811:26: warning: '%s' directive writing up to 1023 bytes into a region of size 1022 [-Wformat-overflow=] 3811 | sprintf (service, "\\\\%s\\%s", desthost, p); | ^~ ~~~~~~~~ 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); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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 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; | ^~~~~~~~ gcc -DSTEPPING -DSCANNER -DVERBOSE -DWORKGROUP=\"WORKGROUP\" -DGUEST_ACCOUNT=\"nobody\" -DLINUX -DNO_ASMSIGNALH -ggdb -Wall -o nat nat.o client.o util.o system.o nmb.o charset.o parse_ip.o sighandler.o make[1]: Leaving directory '/build/reproducible-path/nat-1.0' dh_auto_test create-stamp debian/debhelper-build-stamp fakeroot debian/rules binary dh binary dh_testroot dh_prep dh_installdirs debian/rules override_dh_auto_install make[1]: Entering directory '/build/reproducible-path/nat-1.0' dh_auto_install install -m 755 nat /build/reproducible-path/nat-1.0/debian/smb-nat/usr/bin/smb-nat make[1]: Leaving directory '/build/reproducible-path/nat-1.0' dh_install dh_installdocs dh_installchangelogs dh_installman dh_perl dh_link dh_strip_nondeterminism dh_compress dh_fixperms dh_missing dh_dwz -a dh_strip -a dh_makeshlibs -a dh_shlibdeps -a dh_installdeb dh_gencontrol dh_md5sums dh_builddeb dpkg-deb: building package 'smb-nat-dbgsym' in '../smb-nat-dbgsym_1.0-6.2_i386.deb'. dpkg-deb: building package 'smb-nat' in '../smb-nat_1.0-6.2_i386.deb'. dpkg-genbuildinfo --build=binary -O../nat_1.0-6.2_i386.buildinfo dpkg-genchanges --build=binary -O../nat_1.0-6.2_i386.changes dpkg-genchanges: info: binary-only upload (no source code included) dpkg-source --after-build . 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/31767/tmp/hooks/B01_cleanup starting I: user script /srv/workspace/pbuilder/31767/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/31767 and its subdirectories I: Current time: Tue Oct 8 01:00:54 +14 2024 I: pbuilder-time-stamp: 1728298854