Input buildinfo: https://buildinfos.debian.net/buildinfo-pool/n/nat/nat_1.0-6+b1_amd64.buildinfo Use metasnap for getting required timestamps New buildinfo file: /tmp/nat-1.0-6+b181gsn_v7/nat_1:1.0-6_amd64.buildinfo Get source package info: nat=1:1.0-6 Source URL: http://snapshot.notset.fr/mr/package/nat/1:1.0-6/srcfiles?fileinfo=1 env -i PATH=/usr/sbin:/usr/bin:/sbin:/bin TMPDIR=/tmp mmdebstrap --arch=amd64 --include=autoconf=2.69-10 automake=1:1.15-6 autopoint=0.19.8.1-2 autotools-dev=20161112.1 base-files=9.8 base-passwd=3.5.43 bash=4.4-4+b1 binutils=2.28-2 bsdmainutils=9.0.12 bsdutils=1:2.29.1-1 build-essential=12.3 bzip2=1.0.6-8.1 coreutils=8.26-3 cpp=4:6.3.0-1 cpp-6=6.3.0-8 dash=0.5.8-2.4 debconf=1.5.60 debhelper=10.2.5 debianutils=4.8.1 dh-autoreconf=13 dh-strip-nondeterminism=0.031-1 diffutils=1:3.5-3 dpkg=1.18.23 dpkg-dev=1.18.23 e2fslibs=1.43.4-2 e2fsprogs=1.43.4-2 file=1:5.29-3 findutils=4.6.0+git+20161106-2 g++=4:6.3.0-1 g++-6=6.3.0-8 gcc=4:6.3.0-1 gcc-6=6.3.0-8 gcc-6-base=6.3.0-8 gettext=0.19.8.1-2 gettext-base=0.19.8.1-2 grep=2.27-2 groff-base=1.22.3-9 gzip=1.6-5+b1 hostname=3.18+b1 init-system-helpers=1.47 intltool-debian=0.35.0+20060710.4 libacl1=2.2.52-3+b1 libarchive-zip-perl=1.59-1 libasan3=6.3.0-8 libatomic1=6.3.0-8 libattr1=1:2.4.47-2+b2 libaudit-common=1:2.6.7-1 libaudit1=1:2.6.7-1 libblkid1=2.29.1-1 libbsd0=0.8.3-1 libbz2-1.0=1.0.6-8.1 libc-bin=2.24-9 libc-dev-bin=2.24-9 libc6=2.24-9 libc6-dev=2.24-9 libcap-ng0=0.7.7-3+b1 libcc1-0=6.3.0-8 libcilkrts5=6.3.0-8 libcomerr2=1.43.4-2 libcroco3=0.6.11-2 libdb5.3=5.3.28-12+b1 libdebconfclient0=0.226 libdpkg-perl=1.18.23 libfdisk1=2.29.1-1 libffi6=3.2.1-6 libfile-stripnondeterminism-perl=0.031-1 libgcc-6-dev=6.3.0-8 libgcc1=1:6.3.0-8 libgcrypt20=1.7.6-1 libgdbm3=1.8.3-14 libglib2.0-0=2.50.3-1 libgmp10=2:6.1.2+dfsg-1 libgomp1=6.3.0-8 libgpg-error0=1.26-2 libicu57=57.1-5 libisl15=0.18-1 libitm1=6.3.0-8 liblsan0=6.3.0-8 liblz4-1=0.0~r131-2+b1 liblzma5=5.2.2-1.2+b1 libmagic-mgc=1:5.29-3 libmagic1=1:5.29-3 libmount1=2.29.1-1 libmpc3=1.0.3-1 libmpfr4=3.1.5-1 libmpx2=6.3.0-8 libncurses5=6.0+20161126-1 libncursesw5=6.0+20161126-1 libpam-modules=1.1.8-3.5 libpam-modules-bin=1.1.8-3.5 libpam-runtime=1.1.8-3.5 libpam0g=1.1.8-3.5 libpcre3=2:8.39-2.1 libperl5.24=5.24.1-1 libpipeline1=1.4.1-2 libquadmath0=6.3.0-8 libselinux1=2.6-3 libsemanage-common=2.6-2 libsemanage1=2.6-2 libsepol1=2.6-2 libsigsegv2=2.10-5 libsmartcols1=2.29.1-1 libss2=1.43.4-2 libstdc++-6-dev=6.3.0-8 libstdc++6=6.3.0-8 libsystemd0=232-19 libtimedate-perl=2.3000-2 libtinfo5=6.0+20161126-1 libtool=2.4.6-2 libtsan0=6.3.0-8 libubsan0=6.3.0-8 libudev1=232-19 libunistring0=0.9.6+really0.9.3-0.1 libustr-1.0-1=1.0.4-6 libuuid1=2.29.1-1 libxml2=2.9.4+dfsg1-2.2 linux-libc-dev=4.9.13-1 login=1:4.4-4 m4=1.4.18-1 make=4.1-9.1 man-db=2.7.6.1-2 mawk=1.3.3-17+b3 mount=2.29.1-1 multiarch-support=2.24-9 ncurses-base=6.0+20161126-1 ncurses-bin=6.0+20161126-1 passwd=1:4.4-4 patch=2.7.5-1+b2 perl=5.24.1-1 perl-base=5.24.1-1 perl-modules-5.24=5.24.1-1 po-debconf=1.0.20 sed=4.4-1 sensible-utils=0.0.9 sysvinit-utils=2.88dsf-59.9 tar=1.29b-1.1 util-linux=2.29.1-1 xz-utils=5.2.2-1.2+b1 zlib1g=1:1.2.8.dfsg-5 --variant=apt --aptopt=Acquire::Check-Valid-Until "false" --aptopt=Acquire::http::Dl-Limit "1000"; --aptopt=Acquire::https::Dl-Limit "1000"; --aptopt=Acquire::Retries "5"; --aptopt=APT::Get::allow-downgrades "true"; --keyring=/usr/share/keyrings/ --essential-hook=chroot "$1" sh -c "apt-get --yes install fakeroot util-linux" --essential-hook=copy-in /usr/share/keyrings/debian-archive-bullseye-automatic.gpg /usr/share/keyrings/debian-archive-bullseye-security-automatic.gpg /usr/share/keyrings/debian-archive-bullseye-stable.gpg /usr/share/keyrings/debian-archive-buster-automatic.gpg /usr/share/keyrings/debian-archive-buster-security-automatic.gpg /usr/share/keyrings/debian-archive-buster-stable.gpg /usr/share/keyrings/debian-archive-keyring.gpg /usr/share/keyrings/debian-archive-removed-keys.gpg /usr/share/keyrings/debian-archive-stretch-automatic.gpg /usr/share/keyrings/debian-archive-stretch-security-automatic.gpg /usr/share/keyrings/debian-archive-stretch-stable.gpg /usr/share/keyrings/debian-ports-archive-keyring-removed.gpg /usr/share/keyrings/debian-ports-archive-keyring.gpg /usr/share/keyrings/debian-keyring.gpg /etc/apt/trusted.gpg.d/ --essential-hook=chroot "$1" sh -c "rm /etc/apt/sources.list && echo 'deb http://snapshot.notset.fr/archive/debian/20210814T212851Z/ bookworm main deb-src http://snapshot.notset.fr/archive/debian/20210814T212851Z/ bookworm main deb http://snapshot.notset.fr/archive/debian/20170315T211224Z/ unstable main' >> /etc/apt/sources.list && apt-get update" --customize-hook=chroot "$1" useradd --no-create-home -d /nonexistent -p "" builduser -s /bin/bash --customize-hook=chroot "$1" env sh -c "apt-get source --only-source -d nat=1:1.0-6 && mkdir -p /build/nat-iTNnjj && dpkg-source --no-check -x /*.dsc /build/nat-iTNnjj/nat-1.0 && cd /build/nat-iTNnjj/nat-1.0 && { printf '%s' 'nat (1:1.0-6+b1) sid; urgency=low, binary-only=yes * Binary-only non-maintainer upload for amd64; no source changes. * rebuild with PIE -- amd64 / i386 Build Daemon (x86-ubc-01) Mon, 12 Jan 2015 00:16:23 +0100 '; cat debian/changelog; } > debian/changelog.debrebuild && mv debian/changelog.debrebuild debian/changelog && chown -R builduser:builduser /build/nat-iTNnjj" --customize-hook=chroot "$1" env --unset=TMPDIR runuser builduser -c "cd /build/nat-iTNnjj/nat-1.0 && env DEB_BUILD_OPTIONS="parallel=4" SOURCE_DATE_EPOCH="1421018183" DEB_BUILD_OPTIONS=nocheck dpkg-buildpackage -uc -a amd64 --build=any" --customize-hook=sync-out /build/nat-iTNnjj /tmp/nat-1.0-6+b181gsn_v7 stretch /dev/null deb http://snapshot.notset.fr/archive/debian/20170315T211224Z unstable main I: automatically chosen mode: root I: chroot architecture amd64 is equal to the host's architecture I: automatically chosen format: null I: using /tmp/mmdebstrap.g2Q8UtQu26 as tempdir I: running apt-get update... I: downloading packages with apt... I: extracting archives... I: installing essential packages... I: running --essential-hook in shell: sh -c 'chroot "$1" sh -c "apt-get --yes install fakeroot util-linux"' exec /tmp/mmdebstrap.g2Q8UtQu26 Reading package lists... Building dependency tree... util-linux is already the newest version (2.29.1-1). The following NEW packages will be installed: fakeroot libfakeroot 0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded. Need to get 131 kB of archives. After this operation, 374 kB of additional disk space will be used. Get:1 http://snapshot.notset.fr/archive/debian/20170315T211224Z unstable/main amd64 libfakeroot amd64 1.21-3.1 [45.7 kB] Get:2 http://snapshot.notset.fr/archive/debian/20170315T211224Z unstable/main amd64 fakeroot amd64 1.21-3.1 [85.6 kB] debconf: delaying package configuration, since apt-utils is not installed Fetched 131 kB in 0s (1089 kB/s) Selecting previously unselected package libfakeroot:amd64. (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 ... 4401 files and directories currently installed.) Preparing to unpack .../libfakeroot_1.21-3.1_amd64.deb ... Unpacking libfakeroot:amd64 (1.21-3.1) ... Selecting previously unselected package fakeroot. Preparing to unpack .../fakeroot_1.21-3.1_amd64.deb ... Unpacking fakeroot (1.21-3.1) ... Processing triggers for libc-bin (2.24-9) ... Setting up libfakeroot:amd64 (1.21-3.1) ... Setting up fakeroot (1.21-3.1) ... update-alternatives: using /usr/bin/fakeroot-sysv to provide /usr/bin/fakeroot (fakeroot) in auto mode Processing triggers for libc-bin (2.24-9) ... I: running special hook: copy-in /usr/share/keyrings/debian-archive-bullseye-automatic.gpg /usr/share/keyrings/debian-archive-bullseye-security-automatic.gpg /usr/share/keyrings/debian-archive-bullseye-stable.gpg /usr/share/keyrings/debian-archive-buster-automatic.gpg /usr/share/keyrings/debian-archive-buster-security-automatic.gpg /usr/share/keyrings/debian-archive-buster-stable.gpg /usr/share/keyrings/debian-archive-keyring.gpg /usr/share/keyrings/debian-archive-removed-keys.gpg /usr/share/keyrings/debian-archive-stretch-automatic.gpg /usr/share/keyrings/debian-archive-stretch-security-automatic.gpg /usr/share/keyrings/debian-archive-stretch-stable.gpg /usr/share/keyrings/debian-ports-archive-keyring-removed.gpg /usr/share/keyrings/debian-ports-archive-keyring.gpg /usr/share/keyrings/debian-keyring.gpg /etc/apt/trusted.gpg.d/ I: running --essential-hook in shell: sh -c 'chroot "$1" sh -c "rm /etc/apt/sources.list && echo 'deb http://snapshot.notset.fr/archive/debian/20210814T212851Z/ bookworm main deb-src http://snapshot.notset.fr/archive/debian/20210814T212851Z/ bookworm main deb http://snapshot.notset.fr/archive/debian/20170315T211224Z/ unstable main' >> /etc/apt/sources.list && apt-get update"' exec /tmp/mmdebstrap.g2Q8UtQu26 Get:1 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm InRelease [81.6 kB] Hit:2 http://snapshot.notset.fr/archive/debian/20170315T211224Z unstable InRelease Ign:3 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main Sources Ign:4 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main amd64 Packages Ign:3 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main Sources Ign:4 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main amd64 Packages Get:3 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main Sources [11.4 MB] Get:4 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main amd64 Packages [11.1 MB] Fetched 22.6 MB in 19s (1154 kB/s) Reading package lists... W: Problem unlinking the file auxfiles - Clean (21: Is a directory) I: installing remaining packages inside the chroot... I: running --customize-hook in shell: sh -c 'chroot "$1" useradd --no-create-home -d /nonexistent -p "" builduser -s /bin/bash' exec /tmp/mmdebstrap.g2Q8UtQu26 I: running --customize-hook in shell: sh -c 'chroot "$1" env sh -c "apt-get source --only-source -d nat=1:1.0-6 && mkdir -p /build/nat-iTNnjj && dpkg-source --no-check -x /*.dsc /build/nat-iTNnjj/nat-1.0 && cd /build/nat-iTNnjj/nat-1.0 && { printf '%s' 'nat (1:1.0-6+b1) sid; urgency=low, binary-only=yes * Binary-only non-maintainer upload for amd64; no source changes. * rebuild with PIE -- amd64 / i386 Build Daemon (x86-ubc-01) Mon, 12 Jan 2015 00:16:23 +0100 '; cat debian/changelog; } > debian/changelog.debrebuild && mv debian/changelog.debrebuild debian/changelog && chown -R builduser:builduser /build/nat-iTNnjj"' exec /tmp/mmdebstrap.g2Q8UtQu26 Reading package lists... Need to get 122 kB of source archives. Get:1 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main nat 1:1.0-6 (dsc) [1643 B] Get:2 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main nat 1:1.0-6 (tar) [111 kB] Get:3 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main nat 1:1.0-6 (diff) [9398 B] Fetched 122 kB in 0s (694 kB/s) Download complete and in download only mode W: Download is performed unsandboxed as root as file 'nat_1.0-6.dsc' couldn't be accessed by user '_apt'. - pkgAcquire::Run (13: Permission denied) dpkg-source: info: extracting nat in /build/nat-iTNnjj/nat-1.0 dpkg-source: info: unpacking nat_1.0.orig.tar.gz dpkg-source: info: applying nat_1.0-6.diff.gz dpkg-source: info: upstream files that have been modified: /build/nat-iTNnjj/nat-1.0/Makefile /build/nat-iTNnjj/nat-1.0/client.c /build/nat-iTNnjj/nat-1.0/includes.h /build/nat-iTNnjj/nat-1.0/nat.1 /build/nat-iTNnjj/nat-1.0/nat.c /build/nat-iTNnjj/nat-1.0/nmb.c /build/nat-iTNnjj/nat-1.0/parse_ip.h /build/nat-iTNnjj/nat-1.0/patch /build/nat-iTNnjj/nat-1.0/samples/localhost-samba.log /build/nat-iTNnjj/nat-1.0/samples/w2000as.log /build/nat-iTNnjj/nat-1.0/sighandler.c /build/nat-iTNnjj/nat-1.0/sighandler.h /build/nat-iTNnjj/nat-1.0/util.c /build/nat-iTNnjj/nat-1.0/util.h I: running --customize-hook in shell: sh -c 'chroot "$1" env --unset=TMPDIR runuser builduser -c "cd /build/nat-iTNnjj/nat-1.0 && env DEB_BUILD_OPTIONS="parallel=4" SOURCE_DATE_EPOCH="1421018183" DEB_BUILD_OPTIONS=nocheck dpkg-buildpackage -uc -a amd64 --build=any"' exec /tmp/mmdebstrap.g2Q8UtQu26 dpkg-buildpackage: info: source package nat dpkg-buildpackage: info: source version 1:1.0-6+b1 dpkg-buildpackage: info: source distribution sid dpkg-buildpackage: info: source changed by amd64 / i386 Build Daemon (x86-ubc-01) dpkg-source --before-build nat-1.0 dpkg-buildpackage: info: host architecture amd64 fakeroot debian/rules clean dh_testdir dh_testroot rm -f build-stamp configure-stamp /usr/bin/make clean make[1]: Entering directory '/build/nat-iTNnjj/nat-1.0' rm -f core *.o *~ nat client make[1]: Leaving directory '/build/nat-iTNnjj/nat-1.0' dh_clean dh_clean: Compatibility levels before 9 are deprecated (level 5 in use) debian/rules build-arch dh_testdir touch configure-stamp dh_testdir /usr/bin/make make[1]: Entering directory '/build/nat-iTNnjj/nat-1.0' Compiling nat.c gcc -DSTEPPING -DSCANNER -DVERBOSE -DWORKGROUP=\"WORKGROUP\" -DGUEST_ACCOUNT=\"nobody\" -DLINUX -DNO_ASMSIGNALH -ggdb -Wall -c nat.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=] fprintf (stderr, "OOPS! clear_block tried to clear bogus entry %d @ %x\n", ^ Compiling client.c gcc -DSTEPPING -DSCANNER -DVERBOSE -DWORKGROUP=\"WORKGROUP\" -DGUEST_ACCOUNT=\"nobody\" -DLINUX -DNO_ASMSIGNALH -ggdb -Wall -c client.c client.c: In function ‘cmp_stash’: client.c:383:5: warning: implicit declaration of function ‘natprintf’ [-Wimplicit-function-declaration] natprintf("[*]--- WARNING: Was able to exercise .. bug in: %s\n", cur_dir); ^~~~~~~~~ client.c:388:5: warning: implicit declaration of function ‘fill_vuln’ [-Wimplicit-function-declaration] 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] pstring dname; ^~~~~ client.c:673:11: warning: unused variable ‘saved_dir’ [-Wunused-variable] pstring saved_dir; ^~~~~~~~~ client.c: In function ‘do_short_dir’: client.c:1067:1: warning: label ‘sd_skip’ defined but not used [-Wunused-label] sd_skip: ^~~~~~~ client.c: In function ‘do_long_dir’: client.c:1301:7: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 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 is guarded by the ‘if’ if (resp_data) free(resp_data); resp_data = NULL; ^~~~~~~~~ client.c:1302:7: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 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 is guarded by the ‘if’ if (resp_param) free(resp_param); resp_param = NULL; ^~~~~~~~~~ client.c: In function ‘interpret_serr’: client.c:2162:16: warning: unused variable ‘reserr’ [-Wunused-variable] register int reserr = 0; ^~~~~~ client.c: In function ‘send_status’: client.c:2203:7: warning: implicit declaration of function ‘H_name_status’ [-Wimplicit-function-declaration] x = H_name_status(udpfd, lookup, name_type, dest_ip); ^~~~~~~~~~~~~ client.c: In function ‘send_setup’: client.c:2439:30: warning: "/*" within comment [-Wcomment] if (!doencrypt) passlen--; /* WHY??!?!? */ client.c: In function ‘send_login’: client.c:2749:11: warning: unused variable ‘dev’ [-Wunused-variable] 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] BOOL long_share_name=False; ^~~~~~~~~~~~~~~ client.c: In function ‘step’: client.c:3432:16: warning: implicit declaration of function ‘Get_Hostbyaddr’ [-Wimplicit-function-declaration] p = (char *) Get_Hostbyaddr (dest_ip); ^~~~~~~~~~~~~~ client.c:3432:7: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] p = (char *) Get_Hostbyaddr (dest_ip); ^ client.c:3495:1: warning: label ‘phase_1’ defined but not used [-Wunused-label] phase_1: /* pass the wacky rfc1002 stuff */ ^~~~~~~ client.c:3360:16: warning: unused variable ‘i’ [-Wunused-variable] register int i; ^ client.c: In function ‘nas_step’: client.c:3948:16: warning: unused variable ‘i’ [-Wunused-variable] register int i; ^ At top level: client.c:2822:13: warning: ‘send_logout’ defined but not used [-Wunused-function] static void send_logout(void ) ^~~~~~~~~~~ client.c:1997:13: warning: ‘cmd_rmdir’ defined but not used [-Wunused-function] static void cmd_rmdir(char *inbuf,char *outbuf ) ^~~~~~~~~ client.c:1972:13: warning: ‘cmd_del’ defined but not used [-Wunused-function] static void cmd_del(char *inbuf,char *outbuf ) ^~~~~~~ client.c:1837:13: warning: ‘cmd_mkdir’ defined but not used [-Wunused-function] static void cmd_mkdir(char *inbuf,char *outbuf) ^~~~~~~~~ client.c:1766:13: warning: ‘cmd_get’ defined but not used [-Wunused-function] static void cmd_get(void) ^~~~~~~ client.c:1335:13: warning: ‘cmd_dir’ defined but not used [-Wunused-function] static void cmd_dir(char *inbuf,char *outbuf) ^~~~~~~ client.c:669:13: warning: ‘cmd_cd’ defined but not used [-Wunused-function] static void cmd_cd(char *inbuf,char *outbuf) ^~~~~~ client.c:660:13: warning: ‘cmd_pwd’ defined but not used [-Wunused-function] static void cmd_pwd(void) ^~~~~~~ client.c:587:12: warning: ‘printread’ defined but not used [-Wunused-function] static int printread(FILE *f,char *b,int n) ^~~~~~~~~ Compiling util.c gcc -DSTEPPING -DSCANNER -DVERBOSE -DWORKGROUP=\"WORKGROUP\" -DGUEST_ACCOUNT=\"nobody\" -DLINUX -DNO_ASMSIGNALH -ggdb -Wall -c util.c In file included from includes.h:960:0, from util.c:29: util.c: In function ‘name_mangle’: charset.h:61:34: warning: array subscript has type ‘char’ [-Wchar-subscripts] #define toupper(c) upper_char_map[(char)(c)] ^ util.c:921:14: note: in expansion of macro ‘toupper’ char c = toupper(in[i]); ^~~~~~~ util.c: In function ‘StrCaseCmp’: charset.h:62:34: warning: array subscript has type ‘char’ [-Wchar-subscripts] #define tolower(c) lower_char_map[(char)(c)] ^ util.c:1174:10: note: in expansion of macro ‘tolower’ for (; tolower(*s) == tolower(*t); ++s, ++t) ^~~~~~~ charset.h:62:34: warning: array subscript has type ‘char’ [-Wchar-subscripts] #define tolower(c) lower_char_map[(char)(c)] ^ util.c:1174:25: note: in expansion of macro ‘tolower’ for (; tolower(*s) == tolower(*t); ++s, ++t) ^~~~~~~ charset.h:62:34: warning: array subscript has type ‘char’ [-Wchar-subscripts] #define tolower(c) lower_char_map[(char)(c)] ^ util.c:1177:10: note: in expansion of macro ‘tolower’ return tolower(*s) - tolower(*t); ^~~~~~~ charset.h:62:34: warning: array subscript has type ‘char’ [-Wchar-subscripts] #define tolower(c) lower_char_map[(char)(c)] ^ util.c:1177:24: note: in expansion of macro ‘tolower’ return tolower(*s) - tolower(*t); ^~~~~~~ util.c: In function ‘StrnCaseCmp’: charset.h:62:34: warning: array subscript has type ‘char’ [-Wchar-subscripts] #define tolower(c) lower_char_map[(char)(c)] ^ util.c:1186:9: note: in expansion of macro ‘tolower’ if (tolower(*s) != tolower(*t)) return(tolower(*s) - tolower(*t)); ^~~~~~~ charset.h:62:34: warning: array subscript has type ‘char’ [-Wchar-subscripts] #define tolower(c) lower_char_map[(char)(c)] ^ util.c:1186:24: note: in expansion of macro ‘tolower’ if (tolower(*s) != tolower(*t)) return(tolower(*s) - tolower(*t)); ^~~~~~~ charset.h:62:34: warning: array subscript has type ‘char’ [-Wchar-subscripts] #define tolower(c) lower_char_map[(char)(c)] ^ util.c:1186:44: note: in expansion of macro ‘tolower’ if (tolower(*s) != tolower(*t)) return(tolower(*s) - tolower(*t)); ^~~~~~~ charset.h:62:34: warning: array subscript has type ‘char’ [-Wchar-subscripts] #define tolower(c) lower_char_map[(char)(c)] ^ util.c:1186:58: note: in expansion of macro ‘tolower’ if (tolower(*s) != tolower(*t)) return(tolower(*s) - tolower(*t)); ^~~~~~~ charset.h:62:34: warning: array subscript has type ‘char’ [-Wchar-subscripts] #define tolower(c) lower_char_map[(char)(c)] ^ util.c:1189:17: note: in expansion of macro ‘tolower’ if (n) return(tolower(*s) - tolower(*t)); ^~~~~~~ charset.h:62:34: warning: array subscript has type ‘char’ [-Wchar-subscripts] #define tolower(c) lower_char_map[(char)(c)] ^ util.c:1189:31: note: in expansion of macro ‘tolower’ if (n) return(tolower(*s) - tolower(*t)); ^~~~~~~ util.c: In function ‘strlower’: charset.h:62:34: warning: array subscript has type ‘char’ [-Wchar-subscripts] #define tolower(c) lower_char_map[(char)(c)] ^ charset.h:63:36: note: in expansion of macro ‘tolower’ #define isupper(c) (((char)(c)) != tolower(c)) ^~~~~~~ util.c:1269:11: note: in expansion of macro ‘isupper’ if (isupper(*s)) ^~~~~~~ charset.h:62:34: warning: array subscript has type ‘char’ [-Wchar-subscripts] #define tolower(c) lower_char_map[(char)(c)] ^ util.c:1270:9: note: in expansion of macro ‘tolower’ *s = tolower(*s); ^~~~~~~ util.c: In function ‘strupper’: charset.h:61:34: warning: array subscript has type ‘char’ [-Wchar-subscripts] #define toupper(c) upper_char_map[(char)(c)] ^ charset.h:64:36: note: in expansion of macro ‘toupper’ #define islower(c) (((char)(c)) != toupper(c)) ^~~~~~~ util.c:1294:11: note: in expansion of macro ‘islower’ if (islower(*s)) ^~~~~~~ charset.h:61:34: warning: array subscript has type ‘char’ [-Wchar-subscripts] #define toupper(c) upper_char_map[(char)(c)] ^ util.c:1295:7: note: in expansion of macro ‘toupper’ *s = toupper(*s); ^~~~~~~ util.c: In function ‘strhasupper’: charset.h:62:34: warning: array subscript has type ‘char’ [-Wchar-subscripts] #define tolower(c) lower_char_map[(char)(c)] ^ charset.h:63:36: note: in expansion of macro ‘tolower’ #define isupper(c) (((char)(c)) != tolower(c)) ^~~~~~~ util.c:1967:11: note: in expansion of macro ‘isupper’ if (isupper(*s)) return(True); ^~~~~~~ util.c: In function ‘strhaslower’: charset.h:61:34: warning: array subscript has type ‘char’ [-Wchar-subscripts] #define toupper(c) upper_char_map[(char)(c)] ^ charset.h:64:36: note: in expansion of macro ‘toupper’ #define islower(c) (((char)(c)) != toupper(c)) ^~~~~~~ util.c:1991:11: note: in expansion of macro ‘islower’ 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] int selrtn; ^~~~~~ In file included from includes.h:960:0, from util.c:29: util.c: In function ‘do_match’: charset.h:61:34: warning: array subscript has type ‘char’ [-Wchar-subscripts] #define toupper(c) upper_char_map[(char)(c)] ^ util.c:2968:44: note: in expansion of macro ‘toupper’ while(*str && (case_sig ? (*p != *str) : (toupper(*p)!=toupper(*str)))) ^~~~~~~ charset.h:61:34: warning: array subscript has type ‘char’ [-Wchar-subscripts] #define toupper(c) upper_char_map[(char)(c)] ^ util.c:2968:57: note: in expansion of macro ‘toupper’ while(*str && (case_sig ? (*p != *str) : (toupper(*p)!=toupper(*str)))) ^~~~~~~ charset.h:61:34: warning: array subscript has type ‘char’ [-Wchar-subscripts] #define toupper(c) upper_char_map[(char)(c)] ^ util.c:2984:5: note: in expansion of macro ‘toupper’ if(toupper(*str) != toupper(*p)) ^~~~~~~ charset.h:61:34: warning: array subscript has type ‘char’ [-Wchar-subscripts] #define toupper(c) upper_char_map[(char)(c)] ^ util.c:2984:22: note: in expansion of macro ‘toupper’ if(toupper(*str) != toupper(*p)) ^~~~~~~ util.c: In function ‘open_socket_in’: util.c:3722:11: warning: unused variable ‘host_name’ [-Wunused-variable] pstring host_name; ^~~~~~~~~ util.c:3720:19: warning: unused variable ‘hp’ [-Wunused-variable] struct hostent *hp; ^~ 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 nmb.c: In function ‘H_interpret_node_status’: nmb.c:804:6: warning: implicit declaration of function ‘natprintf’ [-Wimplicit-function-declaration] natprintf("[*]--- Remote systems name tables:\n\n"); ^~~~~~~~~ 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:26: warning: array subscript has type ‘char’ [-Wchar-subscripts] if (lower) dos_char_map[(char)lower] = 1; ^ charset.c:46:26: warning: array subscript has type ‘char’ [-Wchar-subscripts] if (upper) dos_char_map[(char)upper] = 1; ^ charset.c:48:19: warning: array subscript has type ‘char’ [-Wchar-subscripts] lower_char_map[(char)upper] = (char)lower; ^ charset.c:49:19: warning: array subscript has type ‘char’ [-Wchar-subscripts] upper_char_map[(char)lower] = (char)upper; ^ charset.c: In function ‘charset_initialise’: charset.c:65:17: warning: array subscript has type ‘char’ [-Wchar-subscripts] dos_char_map[(char)i] = 0; ^ charset.c:76:35: warning: array subscript has type ‘char’ [-Wchar-subscripts] if (isupper(c)) lower_char_map[c] = tolower(c); ^ charset.c:77:35: warning: array subscript has type ‘char’ [-Wchar-subscripts] 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 parse_ip.c: In function ‘parse_ip’: parse_ip.c:75:12: warning: implicit declaration of function ‘natprintf’ [-Wimplicit-function-declaration] natprintf("[*]--- Unknown host: %s\n", one); ^~~~~~~~~ parse_ip.c:93:19: warning: implicit declaration of function ‘inet_addr’ [-Wimplicit-function-declaration] ip1 = inet_addr(r1); ^~~~~~~~~ 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:4: warning: implicit declaration of function ‘close_sockets’ [-Wimplicit-function-declaration] close_sockets(); ^~~~~~~~~~~~~ sighandler.c:62:6: warning: unused variable ‘murderer’ [-Wunused-variable] 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/nat-iTNnjj/nat-1.0' touch build-stamp fakeroot debian/rules binary-arch dh_testdir dh_testroot dh_clean -k dh_clean: Compatibility levels before 9 are deprecated (level 5 in use) dh_clean: dh_clean -k is deprecated; use dh_prep instead dh_installdirs dh_installdirs: Compatibility levels before 9 are deprecated (level 5 in use) install -m 755 nat /build/nat-iTNnjj/nat-1.0/debian/smb-nat/usr/bin/smb-nat install -m 644 userlist.txt /build/nat-iTNnjj/nat-1.0/debian/smb-nat/usr/share/smb-nat install -m 644 passlist.txt /build/nat-iTNnjj/nat-1.0/debian/smb-nat/usr/share/smb-nat dh_testdir dh_testroot dh_installdocs dh_installdocs: Compatibility levels before 9 are deprecated (level 5 in use) dh_installexamples dh_installmenu dh_installman debian/smb-nat.1 dh_installman: Compatibility levels before 9 are deprecated (level 5 in use) dh_installinfo dh_installchangelogs dh_installchangelogs: Compatibility levels before 9 are deprecated (level 5 in use) dh_link dh_strip dh_strip: Compatibility levels before 9 are deprecated (level 5 in use) dh_compress dh_fixperms dh_installdeb dh_installdeb: Compatibility levels before 9 are deprecated (level 5 in use) dh_shlibdeps dh_gencontrol dh_md5sums dh_builddeb dpkg-deb: building package 'smb-nat-dbgsym' in '../smb-nat-dbgsym_1.0-6+b1_amd64.deb'. dpkg-deb: building package 'smb-nat' in '../smb-nat_1.0-6+b1_amd64.deb'. dpkg-genbuildinfo --build=any dpkg-genchanges --build=any >../nat_1.0-6+b1_amd64.changes dpkg-genchanges: info: binary-only arch-specific upload (source code and arch-indep packages not included) dpkg-source --after-build nat-1.0 dpkg-buildpackage: info: binary-only upload (no source included) I: running special hook: sync-out /build/nat-iTNnjj /tmp/nat-1.0-6+b181gsn_v7 I: cleaning package lists and apt cache... I: removing tempdir /tmp/mmdebstrap.g2Q8UtQu26... I: success in 224.1264 seconds Traceback (most recent call last): File "/opt/debrebuild/debrebuild.py", line 1124, in sys.exit(main()) File "/opt/debrebuild/debrebuild.py", line 1115, in main rebuilder.run(builder=args.builder, output=realpath(args.output)) File "/opt/debrebuild/debrebuild.py", line 962, in run new_buildinfo = BuildInfo(realpath(new_buildinfo_file)) File "/opt/debrebuild/debrebuild.py", line 126, in __init__ raise BuildInfoException(f"Cannot find buildinfo file: {buildinfo_file}") __main__.BuildInfoException: Cannot find buildinfo file: /tmp/nat-1.0-6+b181gsn_v7/nat_1:1.0-6_amd64.buildinfo