Input buildinfo: https://buildinfos.debian.net/buildinfo-pool/f/fuzz/fuzz_0.6-19_amd64.buildinfo Use metasnap for getting required timestamps New buildinfo file: /tmp/fuzz-0.6-19nthbajh5/fuzz_0.6-19_amd64.buildinfo Get source package info: fuzz=0.6-19 Source URL: http://snapshot.notset.fr/mr/package/fuzz/0.6-19/srcfiles?fileinfo=1 env -i PATH=/usr/sbin:/usr/bin:/sbin:/bin TMPDIR=/tmp mmdebstrap --arch=amd64 --include=autoconf=2.69-11.1 automake=1:1.16.2-4 autopoint=0.19.8.1-10 autotools-dev=20180224.1 base-files=11 base-passwd=3.5.47 bash=5.0-7 binutils=2.35.1-1 binutils-common=2.35.1-1 binutils-x86-64-linux-gnu=2.35.1-1 bsdextrautils=2.36-3+b1 bsdutils=1:2.36-3+b1 build-essential=12.8 bzip2=1.0.8-4 coreutils=8.32-4+b1 cpp=4:10.2.0-1 cpp-10=10.2.0-9 dash=0.5.10.2-7 debconf=1.5.74 debhelper=13.2.1 debianutils=4.11.1 dh-autoreconf=19 dh-strip-nondeterminism=1.9.0-1 diffutils=1:3.7-3 dpkg=1.20.5 dpkg-dev=1.20.5 dwz=0.13-5 file=1:5.38-5 findutils=4.7.0-1 g++=4:10.2.0-1 g++-10=10.2.0-9 gcc=4:10.2.0-1 gcc-10=10.2.0-9 gcc-10-base=10.2.0-9 gettext=0.19.8.1-10 gettext-base=0.19.8.1-10 grep=3.4-1 groff-base=1.22.4-5 gzip=1.10-2 hostname=3.23 init-system-helpers=1.58 intltool-debian=0.35.0+20060710.5 libacl1=2.2.53-8 libarchive-zip-perl=1.68-1 libasan6=10.2.0-9 libatomic1=10.2.0-9 libattr1=1:2.4.48-5 libaudit-common=1:2.8.5-3 libaudit1=1:2.8.5-3+b1 libbinutils=2.35.1-1 libblkid1=2.36-3+b1 libbz2-1.0=1.0.8-4 libc-bin=2.31-3 libc-dev-bin=2.31-3 libc6=2.31-3 libc6-dev=2.31-3 libcap-ng0=0.7.9-2.2 libcc1-0=10.2.0-9 libcroco3=0.6.13-1 libcrypt-dev=1:4.4.17-1 libcrypt1=1:4.4.17-1 libctf-nobfd0=2.35.1-1 libctf0=2.35.1-1 libdb5.3=5.3.28+dfsg1-0.6 libdebconfclient0=0.254 libdebhelper-perl=13.2.1 libdpkg-perl=1.20.5 libelf1=0.181-1 libffi7=3.3-4 libfile-stripnondeterminism-perl=1.9.0-1 libgcc-10-dev=10.2.0-9 libgcc-s1=10.2.0-9 libgcrypt20=1.8.6-2 libgdbm-compat4=1.18.1-5.1 libgdbm6=1.18.1-5.1 libglib2.0-0=2.66.0-2 libgmp10=2:6.2.0+dfsg-6 libgomp1=10.2.0-9 libgpg-error0=1.38-2 libicu67=67.1-4 libisl22=0.22.1-1 libitm1=10.2.0-9 liblsan0=10.2.0-9 liblz4-1=1.9.2-2 liblzma5=5.2.4-1+b1 libmagic-mgc=1:5.38-5 libmagic1=1:5.38-5 libmount1=2.36-3+b1 libmpc3=1.2.0-1 libmpfr6=4.1.0-3 libncurses-dev=6.2+20200918-1 libncurses6=6.2+20200918-1 libncursesw6=6.2+20200918-1 libpam-modules=1.3.1-5 libpam-modules-bin=1.3.1-5 libpam-runtime=1.3.1-5 libpam0g=1.3.1-5 libpcre2-8-0=10.34-7 libpcre3=2:8.39-13 libperl5.30=5.30.3-4 libpipeline1=1.5.3-1 libquadmath0=10.2.0-9 libreadline-dev=8.0-4 libreadline8=8.0-4 libseccomp2=2.4.4-1 libselinux1=3.1-2 libsigsegv2=2.12-2 libsmartcols1=2.36-3+b1 libstdc++-10-dev=10.2.0-9 libstdc++6=10.2.0-9 libsub-override-perl=0.09-2 libsystemd0=246.6-1 libtinfo6=6.2+20200918-1 libtool=2.4.6-14 libtsan0=10.2.0-9 libubsan1=10.2.0-9 libuchardet0=0.0.7-1 libudev1=246.6-1 libunistring2=0.9.10-4 libuuid1=2.36-3+b1 libxml2=2.9.10+dfsg-6 libzstd1=1.4.5+dfsg-4 linux-libc-dev=5.8.10-1 login=1:4.8.1-1 lsb-base=11.1.0 m4=1.4.18-4 make=4.3-4 man-db=2.9.3-2 mawk=1.3.4.20200120-2 ncurses-base=6.2+20200918-1 ncurses-bin=6.2+20200918-1 patch=2.7.6-6 perl=5.30.3-4 perl-base=5.30.3-4 perl-modules-5.30=5.30.3-4 po-debconf=1.0.21 readline-common=8.0-4 sed=4.7-1 sensible-utils=0.0.12+nmu1 sysvinit-utils=2.96-5 tar=1.30+dfsg-7 util-linux=2.36-3+b1 xz-utils=5.2.4-1+b1 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/20200927T204254Z/ 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 fuzz=0.6-19 && mkdir -p /build/fuzz-YkjZ1F && dpkg-source --no-check -x /*.dsc /build/fuzz-YkjZ1F/fuzz-0.6 && chown -R builduser:builduser /build/fuzz-YkjZ1F" --customize-hook=chroot "$1" env --unset=TMPDIR runuser builduser -c "cd /build/fuzz-YkjZ1F/fuzz-0.6 && env DEB_BUILD_OPTIONS="parallel=4" LC_ALL="C.UTF-8" SOURCE_DATE_EPOCH="1601296355" dpkg-buildpackage -uc -a amd64 --build=any" --customize-hook=sync-out /build/fuzz-YkjZ1F /tmp/fuzz-0.6-19nthbajh5 bullseye /dev/null deb http://snapshot.notset.fr/archive/debian/20200927T204254Z 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.whdOAj44K_ 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.whdOAj44K_ Reading package lists... Building dependency tree... util-linux is already the newest version (2.36-3+b1). 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, 393 kB of additional disk space will be used. Get:1 http://snapshot.notset.fr/archive/debian/20200927T204254Z unstable/main amd64 libfakeroot amd64 1.25.1-1 [46.8 kB] Get:2 http://snapshot.notset.fr/archive/debian/20200927T204254Z unstable/main amd64 fakeroot amd64 1.25.1-1 [86.8 kB] debconf: delaying package configuration, since apt-utils is not installed Fetched 134 kB in 0s (584 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 ... 4582 files and directories currently installed.) Preparing to unpack .../libfakeroot_1.25.1-1_amd64.deb ... Unpacking libfakeroot:amd64 (1.25.1-1) ... Selecting previously unselected package fakeroot. Preparing to unpack .../fakeroot_1.25.1-1_amd64.deb ... Unpacking fakeroot (1.25.1-1) ... Setting up libfakeroot:amd64 (1.25.1-1) ... Setting up fakeroot (1.25.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-3) ... 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/20200927T204254Z/ unstable main' >> /etc/apt/sources.list && apt-get update"' exec /tmp/mmdebstrap.whdOAj44K_ Get:1 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm InRelease [81.6 kB] Hit:2 http://snapshot.notset.fr/archive/debian/20200927T204254Z 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 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 20s (1117 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.whdOAj44K_ I: running --customize-hook in shell: sh -c 'chroot "$1" env sh -c "apt-get source --only-source -d fuzz=0.6-19 && mkdir -p /build/fuzz-YkjZ1F && dpkg-source --no-check -x /*.dsc /build/fuzz-YkjZ1F/fuzz-0.6 && chown -R builduser:builduser /build/fuzz-YkjZ1F"' exec /tmp/mmdebstrap.whdOAj44K_ Reading package lists... NOTICE: 'fuzz' packaging is maintained in the 'Git' version control system at: https://salsa.debian.org/d4n1-guest/fuzz.git Please use: git clone https://salsa.debian.org/d4n1-guest/fuzz.git to retrieve the latest (possibly unreleased) updates to the package. Need to get 63.2 kB of source archives. Get:1 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main fuzz 0.6-19 (dsc) [1821 B] Get:2 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main fuzz 0.6-19 (tar) [54.4 kB] Get:3 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main fuzz 0.6-19 (diff) [6928 B] Fetched 63.2 kB in 0s (925 kB/s) Download complete and in download only mode W: Download is performed unsandboxed as root as file 'fuzz_0.6-19.dsc' couldn't be accessed by user '_apt'. - pkgAcquire::Run (13: Permission denied) dpkg-source: info: extracting fuzz in /build/fuzz-YkjZ1F/fuzz-0.6 dpkg-source: info: unpacking fuzz_0.6.orig.tar.gz dpkg-source: info: unpacking fuzz_0.6-19.debian.tar.xz dpkg-source: info: using patch list from debian/patches/series dpkg-source: info: applying 10-fuzz.1-manpage-fixes.patch dpkg-source: info: applying 10-fuzz.1-manpage-fixes=11-newlines.patch dpkg-source: info: applying 20-fuzz.c--option-chroot.patch I: running --customize-hook in shell: sh -c 'chroot "$1" env --unset=TMPDIR runuser builduser -c "cd /build/fuzz-YkjZ1F/fuzz-0.6 && env DEB_BUILD_OPTIONS="parallel=4" LC_ALL="C.UTF-8" SOURCE_DATE_EPOCH="1601296355" dpkg-buildpackage -uc -a amd64 --build=any"' exec /tmp/mmdebstrap.whdOAj44K_ dpkg-buildpackage: info: source package fuzz dpkg-buildpackage: info: source version 0.6-19 dpkg-buildpackage: info: source distribution unstable dpkg-buildpackage: info: source changed by Daniel Pimentel dpkg-source --before-build . dpkg-buildpackage: info: host architecture amd64 debian/rules clean dh clean dh_clean debian/rules binary-arch dh binary-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:6: installing './compile' Makefile.am: installing './depcomp' 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... cc 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 cc accepts -g... yes checking for cc option to accept ISO C89... none needed checking whether cc understands -c and -o together... yes checking whether make supports the include directive... yes (GNU style) checking dependency style of cc... none checking for gawk... (cached) mawk checking whether ln -s works... yes checking for readline in -lreadline... yes checking how to run the C preprocessor... cc -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/wait.h that is POSIX.1 compatible... 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 fcntl.h usability... yes checking fcntl.h presence... yes checking for fcntl.h... yes checking for unistd.h... (cached) yes checking for an ANSI C-conforming const... yes checking for size_t... yes checking whether struct tm is in sys/time.h or time.h... time.h checking return type of signal handlers... void checking for getcwd... yes checking for strdup... yes checking for strerror... yes checking for snprintf... yes checking for getopt_long... yes using libc's getopt_long checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: executing depfiles commands dh_auto_build -a make -j4 make[1]: Entering directory '/build/fuzz-YkjZ1F/fuzz-0.6' cc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"fuzz\" -DVERSION=\"0.6\" -DHAVE_LIBREADLINE=1 -DSTDC_HEADERS=1 -DHAVE_SYS_WAIT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_FCNTL_H=1 -DHAVE_UNISTD_H=1 -DRETSIGTYPE=void -DHAVE_GETCWD=1 -DHAVE_STRDUP=1 -DHAVE_STRERROR=1 -DHAVE_SNPRINTF=1 -I. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/fuzz-YkjZ1F/fuzz-0.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -c -o fuzz.o fuzz.c cc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"fuzz\" -DVERSION=\"0.6\" -DHAVE_LIBREADLINE=1 -DSTDC_HEADERS=1 -DHAVE_SYS_WAIT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_FCNTL_H=1 -DHAVE_UNISTD_H=1 -DRETSIGTYPE=void -DHAVE_GETCWD=1 -DHAVE_STRDUP=1 -DHAVE_STRERROR=1 -DHAVE_SNPRINTF=1 -I. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/fuzz-YkjZ1F/fuzz-0.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -c -o getopt.o getopt.c cc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"fuzz\" -DVERSION=\"0.6\" -DHAVE_LIBREADLINE=1 -DSTDC_HEADERS=1 -DHAVE_SYS_WAIT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_FCNTL_H=1 -DHAVE_UNISTD_H=1 -DRETSIGTYPE=void -DHAVE_GETCWD=1 -DHAVE_STRDUP=1 -DHAVE_STRERROR=1 -DHAVE_SNPRINTF=1 -I. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/fuzz-YkjZ1F/fuzz-0.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -c -o getopt1.o getopt1.c fuzz.c: In function ‘main’: fuzz.c:147:41: warning: missing braces around initializer [-Wmissing-braces] 147 | static const struct option longopts[]={ | ^ fuzz.c:182:26: warning: format ‘%u’ expects argument of type ‘unsigned int *’, but argument 3 has type ‘long unsigned int *’ [-Wformat=] 182 | if(sscanf(optarg,"%ul",&runs)!=1){ | ~^ ~~~~~ | | | | | long unsigned int * | unsigned int * | %lu fuzz.c:188:26: warning: format ‘%u’ expects argument of type ‘unsigned int *’, but argument 3 has type ‘long unsigned int *’ [-Wformat=] 188 | if(sscanf(optarg,"%ul",&len)!=1){ | ~^ ~~~~ | | | | | long unsigned int * | unsigned int * | %lu fuzz.c:197:26: warning: format ‘%u’ expects argument of type ‘unsigned int *’, but argument 3 has type ‘long unsigned int *’ [-Wformat=] 197 | if(sscanf(optarg,"%ul",&linemod)!=1){ | ~^ ~~~~~~~~ | | | | | long unsigned int * | unsigned int * | %lu fuzz.c:203:26: warning: format ‘%u’ expects argument of type ‘unsigned int *’, but argument 3 has type ‘long unsigned int *’ [-Wformat=] 203 | if(sscanf(optarg,"%ul",&maxline)!=1){ | ~^ ~~~~~~~~ | | | | | long unsigned int * | unsigned int * | %lu fuzz.c:209:26: warning: format ‘%u’ expects argument of type ‘unsigned int *’, but argument 3 has type ‘long unsigned int *’ [-Wformat=] 209 | if(sscanf(optarg,"%ul",&timeout)!=1){ | ~^ ~~~~~~~~ | | | | | long unsigned int * | unsigned int * | %lu fuzz.c:234:26: warning: format ‘%u’ expects argument of type ‘unsigned int *’, but argument 3 has type ‘long unsigned int *’ [-Wformat=] 234 | if(sscanf(optarg,"%ul",&max_args)!=1){ | ~^ ~~~~~~~~~ | | | | | long unsigned int * | unsigned int * | %lu fuzz.c:240:26: warning: format ‘%u’ expects argument of type ‘unsigned int *’, but argument 3 has type ‘long unsigned int *’ [-Wformat=] 240 | if(sscanf(optarg,"%ul",&max_arglen)!=1){ | ~^ ~~~~~~~~~~~ | | | | | long unsigned int * | unsigned int * | %lu fuzz.c:412:19: warning: format ‘%u’ expects argument of type ‘unsigned int’, but argument 2 has type ‘long unsigned int’ [-Wformat=] 412 | printf("Run: %u %c",runs,print_bytes?'\n':'\r'); | ~^ ~~~~ | | | | unsigned int long unsigned int | %lu fuzz.c:389:21: warning: unused variable ‘status’ [-Wunused-variable] 389 | int progpipe[2],status; | ^~~~~~ fuzz.c:168:8: warning: unused variable ‘bin_found’ [-Wunused-variable] 168 | char bin_found=0; | ^~~~~~~~~ fuzz.c: In function ‘print_arglist’: fuzz.c:524:25: warning: format ‘%x’ expects argument of type ‘unsigned int’, but argument 3 has type ‘char **’ [-Wformat=] 524 | fprintf(errs,"argv=0x%x\n",argv); | ~^ ~~~~ | | | | | char ** | unsigned int fuzz.c:526:33: warning: format ‘%x’ expects argument of type ‘unsigned int’, but argument 4 has type ‘char *’ [-Wformat=] 526 | fprintf(errs,"\targv[%u]=0x%x\n",i,argv[i]); | ~^ ~~~~~~~ | | | | | char * | unsigned int | %s fuzz.c:532:17: warning: '0' flag ignored with precision and ‘%x’ gnu_printf format [-Wformat=] 532 | fprintf(errs,"%0.2x ",argv[i][j]); | ^~~~~~~~ fuzz.c: In function ‘do_child’: fuzz.c:646:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 646 | if(execute_filename=realloc(execute_filename, | ^~~~~~~~~~~~~~~~ fuzz.c:577:16: warning: unused variable ‘buflen’ [-Wunused-variable] 577 | unsigned int buflen; | ^~~~~~ fuzz.c:576:8: warning: unused variable ‘buf’ [-Wunused-variable] 576 | char buf[80]; | ^~~ fuzz.c: In function ‘setup_user’: fuzz.c:912:12: warning: unused variable ‘cur’ [-Wunused-variable] 912 | char *cur; | ^~~ fuzz.c:925:19: warning: unused variable ‘cur’ [-Wunused-variable] 925 | char *cur; | ^~~ fuzz.c:941:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 941 | if(distribution[0]='K' && strncmp(distribution+1,tmpbuf,MAXPATH)) | ^~~~~~~~~~~~ fuzz.c:943:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 943 | if(distribution[0]='D' && strncmp(distribution+1,tmpbuf,MAXPATH)) | ^~~~~~~~~~~~ fuzz.c: In function ‘readline’: fuzz.c:49:3: warning: ignoring return value of ‘fgets’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 49 | fgets(retval,10239,stdin); | ^~~~~~~~~~~~~~~~~~~~~~~~~ fuzz.c: In function ‘do_child’: fuzz.c:619:5: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 619 | write(cpy_stderr,"Can't dup2 stderr to /dev/null.\n", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 620 | strlen("Can't dup2 stderr to /dev/null.\n")); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fuzz.c:638:7: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 638 | write(cpy_stderr,"fdopen fails\n",strlen("fdopen fails\n")); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fuzz.c:816:3: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 816 | write(cpy_stderr,"Exec failed.\n",strlen("Exec failed.\n")); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fuzz.c:817:3: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 817 | write(cpy_stderr,sys_errlist[errno],strlen(sys_errlist[errno])); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fuzz.c: In function ‘send_report’: fuzz.c:1054:5: warning: ignoring return value of ‘fgets’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 1054 | fgets(strbuf,MAXPATH-1,version); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fuzz.c:1057:7: warning: ignoring return value of ‘fgets’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 1057 | fgets(strbuf,MAXPATH-1,version); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fuzz.c:1094:7: warning: ignoring return value of ‘fgets’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 1094 | fgets(strbuf,MAXPATH-1,version); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fuzz.c:1154:2: warning: ignoring return value of ‘fgets’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 1154 | fgets(strbuf,MAXPATH-1,version); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fuzz.c:1172:2: warning: ignoring return value of ‘fgets’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 1172 | fgets(strbuf,MAXPATH-1,version); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fuzz.c:1190:2: warning: ignoring return value of ‘fgets’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 1190 | fgets(strbuf,MAXPATH-1,version); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fuzz.c: In function ‘send_report.part.0’: fuzz.c:1084:36: warning: ‘%s’ directive output may be truncated writing up to 10239 bytes into a region of size 10235 [-Wformat-truncation=] 1084 | snprintf(strbuf,MAXPATH-1,"ldd %s",progname); | ^~ ~~~~~~~~ In file included from /usr/include/stdio.h:867, from fuzz.c:19: /usr/include/x86_64-linux-gnu/bits/stdio2.h:67:10: note: ‘__builtin___snprintf_chk’ output between 5 and 10244 bytes into a destination of size 10239 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 68 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fuzz.c:1159:42: warning: ‘%s’ directive output may be truncated writing up to 10239 bytes into a region of size 10231 [-Wformat-truncation=] 1159 | snprintf(strbuf,MAXPATH-1,"dpkg -S %s",progname); | ^~ ~~~~~~~~ In file included from /usr/include/stdio.h:867, from fuzz.c:19: /usr/include/x86_64-linux-gnu/bits/stdio2.h:67:10: note: ‘__builtin___snprintf_chk’ output between 9 and 10248 bytes into a destination of size 10239 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 68 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fuzz.c:1140:42: warning: ‘%s’ directive output may be truncated writing up to 10239 bytes into a region of size 10231 [-Wformat-truncation=] 1140 | snprintf(strbuf,MAXPATH-1,"rpm -qf %s",progname); | ^~ ~~~~~~~~ In file included from /usr/include/stdio.h:867, from fuzz.c:19: /usr/include/x86_64-linux-gnu/bits/stdio2.h:67:10: note: ‘__builtin___snprintf_chk’ output between 9 and 10248 bytes into a destination of size 10239 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 68 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fuzz.c: In function ‘do_child’: fuzz.c:808:5: warning: ‘argfilefd’ may be used uninitialized in this function [-Wmaybe-uninitialized] 808 | close(argfilefd); | ^~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:867, from fuzz.c:19: In function ‘fprintf’, inlined from ‘main’ at fuzz.c:287:7: /usr/include/x86_64-linux-gnu/bits/stdio2.h:100:10: warning: ‘%s’ directive argument is null [-Wformat-overflow=] 100 | return __fprintf_chk (__stream, __USE_FORTIFY_LEVEL - 1, __fmt, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 101 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ In file included from /usr/include/string.h:495, from fuzz.c:23: In function ‘strncpy’, inlined from ‘main’ at fuzz.c:349:7: /usr/include/x86_64-linux-gnu/bits/string_fortified.h:106:10: warning: ‘__builtin_strncpy’ specified bound 10240 equals destination size [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function ‘strncat’, inlined from ‘main’ at fuzz.c:351:7: /usr/include/x86_64-linux-gnu/bits/string_fortified.h:136:10: warning: ‘__builtin___strncat_chk’ specified bound 10240 equals destination size [-Wstringop-truncation] 136 | return __builtin___strncat_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fuzz.c: In function ‘main’: fuzz.c:480:4: warning: ‘outfile’ may be used uninitialized in this function [-Wmaybe-uninitialized] 480 | fputc(byte,outfile); | ^~~~~~~~~~~~~~~~~~~ fuzz.c:424:7: warning: ‘randfd’ may be used uninitialized in this function [-Wmaybe-uninitialized] 424 | do_child(progpipe,argv+optind,execute_filename,max_arglen, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 425 | printable_only,nullfd,randfd); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/string.h:495, from fuzz.c:23: In function ‘strncat’, inlined from ‘main’ at fuzz.c:351:7: /usr/include/x86_64-linux-gnu/bits/string_fortified.h:136:10: warning: ‘__builtin___strncat_chk’ specified bound 10240 equals destination size [-Wstringop-overflow=] 136 | return __builtin___strncat_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc -g -O2 -fdebug-prefix-map=/build/fuzz-YkjZ1F/fuzz-0.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wl,-z,relro -Wl,-z,now -o fuzz fuzz.o getopt.o getopt1.o -lreadline /usr/bin/ld: fuzz.o: in function `do_child': ./fuzz.c:817: warning: `sys_errlist' is deprecated; use `strerror' or `strerror_r' instead make[1]: Leaving directory '/build/fuzz-YkjZ1F/fuzz-0.6' dh_auto_test -a create-stamp debian/debhelper-build-stamp dh_testroot -a dh_prep -a dh_auto_install -a make -j4 install DESTDIR=/build/fuzz-YkjZ1F/fuzz-0.6/debian/fuzz AM_UPDATE_INFO_DIR=no make[1]: Entering directory '/build/fuzz-YkjZ1F/fuzz-0.6' make[2]: Entering directory '/build/fuzz-YkjZ1F/fuzz-0.6' /bin/mkdir -p '/build/fuzz-YkjZ1F/fuzz-0.6/debian/fuzz/usr/bin' /bin/mkdir -p '/build/fuzz-YkjZ1F/fuzz-0.6/debian/fuzz/usr/share/man/man1' /usr/bin/install -c fuzz '/build/fuzz-YkjZ1F/fuzz-0.6/debian/fuzz/usr/bin' /usr/bin/install -c -m 644 fuzz.1 '/build/fuzz-YkjZ1F/fuzz-0.6/debian/fuzz/usr/share/man/man1' make[2]: Leaving directory '/build/fuzz-YkjZ1F/fuzz-0.6' make[1]: Leaving directory '/build/fuzz-YkjZ1F/fuzz-0.6' dh_installdocs -a dh_installchangelogs -a dh_installman -a dh_perl -a dh_link -a dh_strip_nondeterminism -a 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 'fuzz' in '../fuzz_0.6-19_amd64.deb'. dpkg-deb: building package 'fuzz-dbgsym' in '../fuzz-dbgsym_0.6-19_amd64.deb'. dpkg-genbuildinfo --build=any dpkg-genchanges --build=any >../fuzz_0.6-19_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/fuzz-YkjZ1F /tmp/fuzz-0.6-19nthbajh5 I: cleaning package lists and apt cache... I: creating tarball... I: done I: removing tempdir /tmp/mmdebstrap.whdOAj44K_... I: success in 289.7755 seconds md5: fuzz-dbgsym_0.6-19_amd64.deb: OK md5: fuzz_0.6-19_amd64.deb: OK sha1: fuzz-dbgsym_0.6-19_amd64.deb: OK sha1: fuzz_0.6-19_amd64.deb: OK sha256: fuzz-dbgsym_0.6-19_amd64.deb: OK sha256: fuzz_0.6-19_amd64.deb: OK Checksums: OK