Input buildinfo: https://buildinfos.debian.net/buildinfo-pool/f/fcrackzip/fcrackzip_1.0-11_amd64.buildinfo Use metasnap for getting required timestamps New buildinfo file: /tmp/fcrackzip-1.0-1162w2qvv_/fcrackzip_1.0-11_amd64.buildinfo Get source package info: fcrackzip=1.0-11 Source URL: http://snapshot.notset.fr/mr/package/fcrackzip/1.0-11/srcfiles?fileinfo=1 env -i PATH=/usr/sbin:/usr/bin:/sbin:/bin TMPDIR=/tmp mmdebstrap --arch=amd64 --include=autoconf=2.69-14 automake=1:1.16.3-2 autopoint=0.21-3 autotools-dev=20180224.1+nmu1 base-files=11 base-passwd=3.5.48 bash=5.1-2 binutils=2.35.1-7 binutils-common=2.35.1-7 binutils-x86-64-linux-gnu=2.35.1-7 bsdextrautils=2.36.1-6 bsdutils=1:2.36.1-6 build-essential=12.9 bzip2=1.0.8-4 coreutils=8.32-4+b1 cpp=4:10.2.1-1 cpp-10=10.2.1-6 dash=0.5.11+git20200708+dd9ef66-5 debconf=1.5.74 debhelper=13.3.2 debianutils=4.11.2 dh-autoreconf=19 dh-strip-nondeterminism=1.10.0-1 diffutils=1:3.7-5 dpkg=1.20.7.1 dpkg-dev=1.20.7.1 dwz=0.13+20210126-1 file=1:5.39-3 findutils=4.8.0-1 g++=4:10.2.1-1 g++-10=10.2.1-6 gcc=4:10.2.1-1 gcc-10=10.2.1-6 gcc-10-base=10.2.1-6 gettext=0.21-3 gettext-base=0.21-3 grep=3.6-1 groff-base=1.22.4-6 gzip=1.10-2 hostname=3.23 init-system-helpers=1.60 intltool-debian=0.35.0+20060710.5 libacl1=2.2.53-9 libarchive-zip-perl=1.68-1 libasan6=10.2.1-6 libatomic1=10.2.1-6 libattr1=1:2.4.48-6 libaudit-common=1:3.0-2 libaudit1=1:3.0-2 libbinutils=2.35.1-7 libblkid1=2.36.1-6 libbz2-1.0=1.0.8-4 libc-bin=2.31-9 libc-dev-bin=2.31-9 libc6=2.31-9 libc6-dev=2.31-9 libcap-ng0=0.7.9-2.2+b1 libcc1-0=10.2.1-6 libcom-err2=1.45.7-1 libcrypt-dev=1:4.4.17-1 libcrypt1=1:4.4.17-1 libctf-nobfd0=2.35.1-7 libctf0=2.35.1-7 libdb5.3=5.3.28+dfsg1-0.6 libdebconfclient0=0.256 libdebhelper-perl=13.3.2 libdpkg-perl=1.20.7.1 libelf1=0.182-3 libfile-stripnondeterminism-perl=1.10.0-1 libgcc-10-dev=10.2.1-6 libgcc-s1=10.2.1-6 libgcrypt20=1.8.7-2 libgdbm-compat4=1.19-2 libgdbm6=1.19-2 libgmp10=2:6.2.1+dfsg-1 libgomp1=10.2.1-6 libgpg-error0=1.38-2 libgssapi-krb5-2=1.18.3-4 libicu67=67.1-6 libisl23=0.23-1 libitm1=10.2.1-6 libk5crypto3=1.18.3-4 libkeyutils1=1.6.1-2 libkrb5-3=1.18.3-4 libkrb5support0=1.18.3-4 liblsan0=10.2.1-6 liblz4-1=1.9.3-1 liblzma5=5.2.5-1.0 libmagic-mgc=1:5.39-3 libmagic1=1:5.39-3 libmount1=2.36.1-6 libmpc3=1.2.0-1 libmpfr6=4.1.0-3 libnsl-dev=1.3.0-2 libnsl2=1.3.0-2 libpam-modules=1.4.0-2 libpam-modules-bin=1.4.0-2 libpam-runtime=1.4.0-2 libpam0g=1.4.0-2 libpcre2-8-0=10.36-2 libpcre3=2:8.39-13 libperl5.32=5.32.0-6 libpipeline1=1.5.3-1 libquadmath0=10.2.1-6 libseccomp2=2.5.1-1 libselinux1=3.1-2+b2 libsigsegv2=2.13-1 libsmartcols1=2.36.1-6 libssl1.1=1.1.1i-3 libstdc++-10-dev=10.2.1-6 libstdc++6=10.2.1-6 libsub-override-perl=0.09-2 libsystemd0=247.2-5 libtinfo6=6.2+20201114-2 libtirpc-common=1.3.1-1 libtirpc-dev=1.3.1-1 libtirpc3=1.3.1-1 libtool=2.4.6-15 libtsan0=10.2.1-6 libubsan1=10.2.1-6 libuchardet0=0.0.7-1 libudev1=247.2-5 libunistring2=0.9.10-4 libuuid1=2.36.1-6 libxml2=2.9.10+dfsg-6.3+b1 libzstd1=1.4.8+dfsg-1 linux-libc-dev=5.10.12-1 login=1:4.8.1-1 lsb-base=11.1.0 m4=1.4.18-5 make=4.3-4 man-db=2.9.3-2 mawk=1.3.4.20200120-2 ncurses-base=6.2+20201114-2 ncurses-bin=6.2+20201114-2 patch=2.7.6-7 perl=5.32.0-6 perl-base=5.32.0-6 perl-modules-5.32=5.32.0-6 po-debconf=1.0.21+nmu1 sed=4.7-1 sensible-utils=0.0.14 sysvinit-utils=2.96-5 tar=1.32+dfsg-1 util-linux=2.36.1-6 xz-utils=5.2.5-1.0 zlib1g=1:1.2.11.dfsg-2 --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/20210203T203559Z/ unstable main deb http://snapshot.notset.fr/archive/debian/20210131T204918Z/ 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 fcrackzip=1.0-11 && mkdir -p /build/fcrackzip-x6BLK4 && dpkg-source --no-check -x /*.dsc /build/fcrackzip-x6BLK4/fcrackzip-1.0 && chown -R builduser:builduser /build/fcrackzip-x6BLK4" --customize-hook=chroot "$1" env --unset=TMPDIR runuser builduser -c "cd /build/fcrackzip-x6BLK4/fcrackzip-1.0 && env DEB_BUILD_OPTIONS="parallel=4" LC_ALL="C.UTF-8" SOURCE_DATE_EPOCH="1612226395" dpkg-buildpackage -uc -a amd64 --build=any" --customize-hook=sync-out /build/fcrackzip-x6BLK4 /tmp/fcrackzip-1.0-1162w2qvv_ bullseye /dev/null deb http://snapshot.notset.fr/archive/debian/20210131T204918Z unstable main I: automatically chosen mode: root I: chroot architecture amd64 is equal to the host's architecture I: automatically chosen format: tar I: using /tmp/mmdebstrap.DqzZ4Sgsoj 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.DqzZ4Sgsoj Reading package lists... Building dependency tree... util-linux is already the newest version (2.36.1-6). The following NEW packages will be installed: fakeroot libfakeroot 0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded. Need to get 134 kB of archives. After this operation, 397 kB of additional disk space will be used. Get:1 http://snapshot.notset.fr/archive/debian/20210131T204918Z unstable/main amd64 libfakeroot amd64 1.25.3-1.1 [47.0 kB] Get:2 http://snapshot.notset.fr/archive/debian/20210131T204918Z unstable/main amd64 fakeroot amd64 1.25.3-1.1 [87.0 kB] debconf: delaying package configuration, since apt-utils is not installed Fetched 134 kB in 0s (643 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 ... 4661 files and directories currently installed.) Preparing to unpack .../libfakeroot_1.25.3-1.1_amd64.deb ... Unpacking libfakeroot:amd64 (1.25.3-1.1) ... Selecting previously unselected package fakeroot. Preparing to unpack .../fakeroot_1.25.3-1.1_amd64.deb ... Unpacking fakeroot (1.25.3-1.1) ... Setting up libfakeroot:amd64 (1.25.3-1.1) ... Setting up fakeroot (1.25.3-1.1) ... update-alternatives: using /usr/bin/fakeroot-sysv to provide /usr/bin/fakeroot (fakeroot) in auto mode Processing triggers for libc-bin (2.31-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/20210203T203559Z/ unstable main deb http://snapshot.notset.fr/archive/debian/20210131T204918Z/ unstable main' >> /etc/apt/sources.list && apt-get update"' exec /tmp/mmdebstrap.DqzZ4Sgsoj Get:1 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm InRelease [81.6 kB] Get:2 http://snapshot.notset.fr/archive/debian/20210203T203559Z unstable InRelease [153 kB] Hit:3 http://snapshot.notset.fr/archive/debian/20210131T204918Z unstable InRelease Ign:4 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main Sources Ign:5 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main amd64 Packages Ign:4 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main Sources Ign:5 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main amd64 Packages Ign:4 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main Sources Ign:5 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main amd64 Packages Get:4 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main Sources [11.4 MB] Get:5 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main amd64 Packages [11.1 MB] Ign:6 http://snapshot.notset.fr/archive/debian/20210203T203559Z unstable/main amd64 Packages Ign:6 http://snapshot.notset.fr/archive/debian/20210203T203559Z unstable/main amd64 Packages Ign:6 http://snapshot.notset.fr/archive/debian/20210203T203559Z unstable/main amd64 Packages Get:6 http://snapshot.notset.fr/archive/debian/20210203T203559Z unstable/main amd64 Packages [11.6 MB] Fetched 34.4 MB in 34s (1023 kB/s) Reading package lists... 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.DqzZ4Sgsoj I: running --customize-hook in shell: sh -c 'chroot "$1" env sh -c "apt-get source --only-source -d fcrackzip=1.0-11 && mkdir -p /build/fcrackzip-x6BLK4 && dpkg-source --no-check -x /*.dsc /build/fcrackzip-x6BLK4/fcrackzip-1.0 && chown -R builduser:builduser /build/fcrackzip-x6BLK4"' exec /tmp/mmdebstrap.DqzZ4Sgsoj Reading package lists... NOTICE: 'fcrackzip' packaging is maintained in the 'Git' version control system at: https://salsa.debian.org/pkg-security-team/fcrackzip.git Please use: git clone https://salsa.debian.org/pkg-security-team/fcrackzip.git to retrieve the latest (possibly unreleased) updates to the package. Need to get 128 kB of source archives. Get:1 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main fcrackzip 1.0-11 (dsc) [1996 B] Get:2 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main fcrackzip 1.0-11 (tar) [115 kB] Get:3 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main fcrackzip 1.0-11 (diff) [11.7 kB] Fetched 128 kB in 0s (470 kB/s) Download complete and in download only mode W: Download is performed unsandboxed as root as file 'fcrackzip_1.0-11.dsc' couldn't be accessed by user '_apt'. - pkgAcquire::Run (13: Permission denied) dpkg-source: info: extracting fcrackzip in /build/fcrackzip-x6BLK4/fcrackzip-1.0 dpkg-source: info: unpacking fcrackzip_1.0.orig.tar.gz dpkg-source: info: unpacking fcrackzip_1.0-11.debian.tar.xz dpkg-source: info: using patch list from debian/patches/series dpkg-source: info: applying 10-manpage-hyphen.patch dpkg-source: info: applying 20-bug-430387-cannot-deal-files-with-special-chars.patch dpkg-source: info: applying 20-readme.patch dpkg-source: info: applying 30-buffer-overflow-on--p.patch dpkg-source: info: applying 40-fix-big-endian-format.patch dpkg-source: info: applying 50-crash-on-bad-file.patch dpkg-source: info: applying 60-typo-wether.patch dpkg-source: info: applying 70-fix-typos.patch I: running --customize-hook in shell: sh -c 'chroot "$1" env --unset=TMPDIR runuser builduser -c "cd /build/fcrackzip-x6BLK4/fcrackzip-1.0 && env DEB_BUILD_OPTIONS="parallel=4" LC_ALL="C.UTF-8" SOURCE_DATE_EPOCH="1612226395" dpkg-buildpackage -uc -a amd64 --build=any"' exec /tmp/mmdebstrap.DqzZ4Sgsoj dpkg-buildpackage: info: source package fcrackzip dpkg-buildpackage: info: source version 1.0-11 dpkg-buildpackage: info: source distribution unstable dpkg-buildpackage: info: source changed by Giovani Augusto Ferreira dpkg-source --before-build . dpkg-buildpackage: info: host architecture amd64 fakeroot debian/rules clean dh clean dh_clean debian/rules build-arch dh build-arch dh_update_autotools_config -a dh_autoreconf -a aclocal: warning: autoconf input should be named 'configure.ac', not 'configure.in' automake: warning: autoconf input should be named 'configure.ac', not 'configure.in' configure.in:3: warning: AM_INIT_AUTOMAKE: two- and three-arguments forms are deprecated. For more info, see: configure.in:3: https://www.gnu.org/software/automake/manual/automake.html#Modernize-AM_005fINIT_005fAUTOMAKE-invocation configure.in:7: installing './compile' Makefile.am:27: warning: '%'-style pattern rules are a GNU make extension Makefile.am:30: warning: '%'-style pattern rules are a GNU make extension automake: warning: autoconf input should be named 'configure.ac', not 'configure.in' dh_auto_configure -a ./configure --build=x86_64-linux-gnu --prefix=/usr --includedir=\${prefix}/include --mandir=\${prefix}/share/man --infodir=\${prefix}/share/info --sysconfdir=/etc --localstatedir=/var --disable-option-checking --disable-silent-rules --libdir=\${prefix}/lib/x86_64-linux-gnu --runstatedir=/run --disable-maintainer-mode --disable-dependency-tracking checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /bin/mkdir -p checking for gawk... no checking for mawk... mawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking for gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking whether gcc understands -c and -o together... yes checking whether make supports the include directive... yes (GNU style) checking dependency style of gcc... none checking how to run the C preprocessor... gcc -E checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking size of short... 2 checking size of int... 4 checking size of long... 8 checking for an ANSI C-conforming const... yes checking for inline... inline checking for perl5... no checking for perl... perl checking for pgcc/egcs... checking for x86 asm... not x86 checking stdbool.h usability... yes checking stdbool.h presence... yes checking for stdbool.h... yes checking getopt.h usability... yes checking getopt.h presence... yes checking for getopt.h... yes checking for unistd.h... (cached) yes checking sys/time.h usability... yes checking sys/time.h presence... yes checking for sys/time.h... yes checking for gettimeofday... yes checking for getopt_long... yes checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating config.h config.status: executing depfiles commands dh_auto_build -a make -j4 make[1]: Entering directory '/build/fcrackzip-x6BLK4/fcrackzip-1.0' make all-am make[2]: Entering directory '/build/fcrackzip-x6BLK4/fcrackzip-1.0' gcc -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/fcrackzip-x6BLK4/fcrackzip-1.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -funroll-all-loops -O3 -c -o main.o main.c gcc -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/fcrackzip-x6BLK4/fcrackzip-1.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -funroll-all-loops -O3 -c -o crack.o crack.c gcc -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/fcrackzip-x6BLK4/fcrackzip-1.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -funroll-all-loops -O3 -c -o zipinfo.o zipinfo.c main.c: In function ‘dictionary_gen’: main.c:231:14: warning: pointer targets in passing argument 1 of ‘fgets’ differ in signedness [-Wpointer-sign] 231 | if (fgets (pw, MAX_PW+1, dict_file)) | ^~ | | | u8 * {aka unsigned char *} In file included from /usr/include/stdio.h:867, from main.c:5: /usr/include/x86_64-linux-gnu/bits/stdio2.h:255:25: note: expected ‘char * restrict’ but argument is of type ‘u8 *’ {aka ‘unsigned char *’} 255 | fgets (char *__restrict __s, int __n, FILE *__restrict __stream) | ~~~~~~~~~~~~~~~~~^~~ main.c:233:18: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness [-Wpointer-sign] 233 | pw[strlen (pw) - 1] = 0; | ^~ | | | u8 * {aka unsigned char *} In file included from main.c:26: /usr/include/string.h:385:35: note: expected ‘const char *’ but argument is of type ‘u8 *’ {aka ‘unsigned char *’} 385 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ main.c: In function ‘validate’: main.c:265:15: warning: pointer targets in passing argument 1 of ‘strcpy’ differ in signedness [-Wpointer-sign] 265 | strcpy (pw, "Martha"); | ^~ | | | u8 * {aka unsigned char *} In file included from /usr/include/features.h:461, from /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from main.c:5: /usr/include/x86_64-linux-gnu/bits/string_fortified.h:88:1: note: expected ‘char * restrict’ but argument is of type ‘u8 *’ {aka ‘unsigned char *’} 88 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ main.c: In function ‘benchmark’: main.c:360:15: warning: pointer targets in passing argument 1 of ‘strcpy’ differ in signedness [-Wpointer-sign] 360 | strcpy (pw, "abcdefghij"); | ^~ | | | u8 * {aka unsigned char *} In file included from /usr/include/features.h:461, from /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from main.c:5: /usr/include/x86_64-linux-gnu/bits/string_fortified.h:88:1: note: expected ‘char * restrict’ but argument is of type ‘u8 *’ {aka ‘unsigned char *’} 88 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ main.c: In function ‘main’: main.c:477:18: warning: pointer targets in passing argument 1 of ‘strncpy’ differ in signedness [-Wpointer-sign] 477 | strncpy (pw, optarg, sizeof(pw)-1); | ^~ | | | u8 * {aka unsigned char *} In file included from /usr/include/features.h:461, from /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from main.c:5: /usr/include/x86_64-linux-gnu/bits/string_fortified.h:103:1: note: expected ‘char * restrict’ but argument is of type ‘u8 *’ {aka ‘unsigned char *’} 103 | __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, | ^~~~~ main.c:611:33: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness [-Wpointer-sign] 611 | pw_end = pw + strlen (pw); | ^~ | | | u8 * {aka unsigned char *} In file included from crack.c:160: cpmask.c:129:8: warning: type defaults to ‘int’ in declaration of ‘cp_table_lu1’ [-Wimplicit-int] 129 | static cp_table_lu1[MAX_CP_WIDTH]; | ^~~~~~~~~~~~ cpmask.c:130:8: warning: type defaults to ‘int’ in declaration of ‘cp_table_lu2’ [-Wimplicit-int] 130 | static cp_table_lu2[MAX_CP_WIDTH]; | ^~~~~~~~~~~~ In file included from main.c:26: /usr/include/string.h:385:35: note: expected ‘const char *’ but argument is of type ‘u8 *’ {aka ‘unsigned char *’} 385 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ main.c:628:32: warning: pointer targets in passing argument 1 of ‘fopen’ differ in signedness [-Wpointer-sign] 628 | if (!(dict_file = fopen (pw, "r"))) | ^~ | | | u8 * {aka unsigned char *} In file included from main.c:5: /usr/include/stdio.h:246:44: note: expected ‘const char * restrict’ but argument is of type ‘u8 *’ {aka ‘unsigned char *’} 246 | extern FILE *fopen (const char *__restrict __filename, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ main.c:630:19: warning: pointer targets in passing argument 1 of ‘perror’ differ in signedness [-Wpointer-sign] 630 | perror (pw); | ^~ | | | u8 * {aka unsigned char *} zipinfo.c: In function ‘parse_zip’: In file included from main.c:5: /usr/include/stdio.h:775:33: note: expected ‘const char *’ but argument is of type ‘u8 *’ {aka ‘unsigned char *’} 775 | extern void perror (const char *__s); | ~~~~~~~~~~~~^~~ zipinfo.c:82:13: warning: ignoring return value of ‘fread’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 82 | fread (zip_path, name_len, 1, f); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ zipinfo.c:101:13: warning: ignoring return value of ‘fread’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 101 | fread (file, 24, 1, f); | ^~~~~~~~~~~~~~~~~~~~~~ In file included from crack.c:160: cpmask.c: In function ‘crack_cpmask’: cpmask.c:347:24: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness [-Wpointer-sign] 347 | pw_end = pw + strlen (pw); | ^~ | | | u8 * {aka unsigned char *} In file included from crack.c:7: /usr/include/string.h:385:35: note: expected ‘const char *’ but argument is of type ‘u8 *’ {aka ‘unsigned char *’} 385 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ In file included from crack.c:160: cpmask.c:387:27: warning: pointer targets in passing argument 1 of ‘cbfunc’ differ in signedness [-Wpointer-sign] 387 | if ((changed = cbfunc (pw, info))) | ^~ | | | u8 * {aka unsigned char *} cpmask.c:387:27: note: expected ‘const char *’ but argument is of type ‘u8 *’ {aka ‘unsigned char *’} In file included from crackdef.c:98, from crack.c:161: zipcrack.c: In function ‘METHOD1_crack_pw’: zipcrack.c:62:29: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness [-Wpointer-sign] 62 | changed = strlen (pw); | ^~ | | | u8 * {aka unsigned char *} In file included from crack.c:7: /usr/include/string.h:385:35: note: expected ‘const char *’ but argument is of type ‘u8 *’ {aka ‘unsigned char *’} 385 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ In file included from crackdef.c:98, from crack.c:161: zipcrack.c:269:30: warning: pointer targets in passing argument 1 of ‘cbfunc’ differ in signedness [-Wpointer-sign] 269 | if ((changed = cbfunc (pw, 0))) | ^~ | | | u8 * {aka unsigned char *} zipcrack.c:269:30: note: expected ‘const char *’ but argument is of type ‘u8 *’ {aka ‘unsigned char *’} In file included from crackdef.c:109, from crack.c:161: zipcrack.c: In function ‘METHOD2_crack_pw’: zipcrack.c:62:29: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness [-Wpointer-sign] 62 | changed = strlen (pw); | ^~ | | | u8 * {aka unsigned char *} In file included from crack.c:7: /usr/include/string.h:385:35: note: expected ‘const char *’ but argument is of type ‘u8 *’ {aka ‘unsigned char *’} 385 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ In file included from crackdef.c:109, from crack.c:161: zipcrack.c:269:30: warning: pointer targets in passing argument 1 of ‘cbfunc’ differ in signedness [-Wpointer-sign] 269 | if ((changed = cbfunc (pw, 0))) | ^~ | | | u8 * {aka unsigned char *} zipcrack.c:269:30: note: expected ‘const char *’ but argument is of type ‘u8 *’ {aka ‘unsigned char *’} crack.c: In function ‘load_zip’: crack.c:78:8: warning: ignoring return value of ‘fread’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 78 | fread (zip_path, name_len, 1, f); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ crack.c:94:5: warning: ignoring return value of ‘fread’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 94 | fread (file, FILE_SIZE, 1, f); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from crack.c:160: cpmask.c: In function ‘load_img’: cpmask.c:71:8: warning: ignoring return value of ‘fscanf’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 71 | fscanf (img, "#%*[^\012\015] "); /* comment */ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cpmask.c:76:5: warning: ignoring return value of ‘fscanf’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 76 | fscanf (img, "#%*[^\012\015] "); /* comment */ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cpmask.c:81:9: warning: ignoring return value of ‘fscanf’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 81 | fscanf (img, "#%*[^\012\015] "); /* comment */ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from crack.c:160: At top level: cpmask.c:294:1: warning: ‘cp_cleanup’ defined but not used [-Wunused-function] 294 | cp_cleanup (void) | ^~~~~~~~~~ gcc -g -O2 -ffile-prefix-map=/build/fcrackzip-x6BLK4/fcrackzip-1.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -funroll-all-loops -O3 -Wl,-z,relro -Wl,-z,now -o zipinfo zipinfo.o main.c: In function ‘check_unzip’: main.c:151:38: warning: ‘%s’ directive writing up to 1023 bytes into a region of size between 754 and 1009 [-Wformat-overflow=] 151 | sprintf (buff, "unzip -qqtP \"%s\" %s " DEVNULL, escpw, path); | ^~ ~~~~ In file included from /usr/include/stdio.h:867, from main.c:5: /usr/include/x86_64-linux-gnu/bits/stdio2.h:36:10: note: ‘__builtin___sprintf_chk’ output between 32 and 1310 bytes into a destination of size 1024 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -g -O2 -ffile-prefix-map=/build/fcrackzip-x6BLK4/fcrackzip-1.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -funroll-all-loops -O3 -Wl,-z,relro -Wl,-z,now -o fcrackzip main.o crack.o make[2]: Leaving directory '/build/fcrackzip-x6BLK4/fcrackzip-1.0' make[1]: Leaving directory '/build/fcrackzip-x6BLK4/fcrackzip-1.0' debian/rules override_dh_auto_test make[1]: Entering directory '/build/fcrackzip-x6BLK4/fcrackzip-1.0' # Skip tests, because: # fcrackzip --benchmark # /bin/bash: fcrackzip: command not found make[1]: Leaving directory '/build/fcrackzip-x6BLK4/fcrackzip-1.0' create-stamp debian/debhelper-build-stamp fakeroot debian/rules binary-arch dh binary-arch dh_testroot -a dh_prep -a debian/rules override_dh_auto_install make[1]: Entering directory '/build/fcrackzip-x6BLK4/fcrackzip-1.0' /usr/bin/make -C debian -f pod2man.mk PACKAGE=fcrackzipinfo makeman make[2]: Entering directory '/build/fcrackzip-x6BLK4/fcrackzip-1.0/debian' # make target - create manual page from a *.pod page podchecker fcrackzipinfo.1.pod fcrackzipinfo.1.pod pod syntax OK. LC_ALL= LANG=C pod2man --utf8 \ --center="User Commands" \ --date="$(date -u "+%Y-%m-%d" -d "$(dpkg-parsechangelog -S Date -lchangelog)")" \ --name="fcrackzipinfo" \ --section="1" \ fcrackzipinfo.1.pod \ | sed 's,[Pp]erl v[0-9.]\+,fcrackzipinfo,' \ > fcrackzipinfo.1 && \ rm -f pod*.tmp make[2]: Leaving directory '/build/fcrackzip-x6BLK4/fcrackzip-1.0/debian' dh_auto_install make -j4 install DESTDIR=/build/fcrackzip-x6BLK4/fcrackzip-1.0/debian/fcrackzip AM_UPDATE_INFO_DIR=no make[2]: Entering directory '/build/fcrackzip-x6BLK4/fcrackzip-1.0' make[3]: Entering directory '/build/fcrackzip-x6BLK4/fcrackzip-1.0' /bin/mkdir -p '/build/fcrackzip-x6BLK4/fcrackzip-1.0/debian/fcrackzip/usr/bin' /bin/mkdir -p '/build/fcrackzip-x6BLK4/fcrackzip-1.0/debian/fcrackzip/usr/share/man/man1' /usr/bin/install -c fcrackzip zipinfo '/build/fcrackzip-x6BLK4/fcrackzip-1.0/debian/fcrackzip/usr/bin' /usr/bin/install -c -m 644 fcrackzip.1 '/build/fcrackzip-x6BLK4/fcrackzip-1.0/debian/fcrackzip/usr/share/man/man1' make[3]: Leaving directory '/build/fcrackzip-x6BLK4/fcrackzip-1.0' make[2]: Leaving directory '/build/fcrackzip-x6BLK4/fcrackzip-1.0' # As a program called zipinfo is already present in the # "unzip" package, rename to fcrackzipinfo mv debian/fcrackzip/usr/bin/zipinfo debian/fcrackzip/usr/bin/fcrackzipinfo make[1]: Leaving directory '/build/fcrackzip-x6BLK4/fcrackzip-1.0' dh_installdocs -a debian/rules override_dh_installchangelogs make[1]: Entering directory '/build/fcrackzip-x6BLK4/fcrackzip-1.0' dh_installchangelogs NEWS make[1]: Leaving directory '/build/fcrackzip-x6BLK4/fcrackzip-1.0' dh_installexamples -a dh_installman -a dh_perl -a dh_link -a dh_strip_nondeterminism -a strip-nondeterminism: debian/fcrackzip/usr/share/doc/fcrackzip/examples/noradi.zip: ignoring encrypted zip file Normalized debian/fcrackzip/usr/share/doc/fcrackzip/examples/noradi.zip dh_compress -a dh_fixperms -a dh_missing -a dh_dwz -a -a dh_strip -a -a dh_makeshlibs -a -a dh_shlibdeps -a -a dh_installdeb -a dh_gencontrol -a dh_md5sums -a dh_builddeb -a dpkg-deb: building package 'fcrackzip-dbgsym' in '../fcrackzip-dbgsym_1.0-11_amd64.deb'. dpkg-deb: building package 'fcrackzip' in '../fcrackzip_1.0-11_amd64.deb'. dpkg-genbuildinfo --build=any dpkg-genchanges --build=any >../fcrackzip_1.0-11_amd64.changes dpkg-genchanges: info: binary-only arch-specific upload (source code and arch-indep packages not included) dpkg-source --after-build . dpkg-buildpackage: info: binary-only upload (no source included) I: running special hook: sync-out /build/fcrackzip-x6BLK4 /tmp/fcrackzip-1.0-1162w2qvv_ I: cleaning package lists and apt cache... I: creating tarball... I: done I: removing tempdir /tmp/mmdebstrap.DqzZ4Sgsoj... I: success in 387.8183 seconds md5: fcrackzip-dbgsym_1.0-11_amd64.deb: OK md5: fcrackzip_1.0-11_amd64.deb: OK sha1: fcrackzip-dbgsym_1.0-11_amd64.deb: OK sha1: fcrackzip_1.0-11_amd64.deb: OK sha256: fcrackzip-dbgsym_1.0-11_amd64.deb: OK sha256: fcrackzip_1.0-11_amd64.deb: OK Checksums: OK