Input buildinfo: https://buildinfos.debian.net/buildinfo-pool/s/scalpel/scalpel_1.60-9_amd64.buildinfo Use metasnap for getting required timestamps New buildinfo file: /tmp/scalpel-1.60-9kvq7n3tv/scalpel_1.60-9_amd64.buildinfo Get source package info: scalpel=1.60-9 Source URL: http://snapshot.notset.fr/mr/package/scalpel/1.60-9/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-1 autopoint=0.19.8.1-10 autotools-dev=20180224.1 base-files=11 base-passwd=3.5.47 bash=5.0-6 binutils=2.34-6 binutils-common=2.34-6 binutils-x86-64-linux-gnu=2.34-6 bsdmainutils=11.1.2+b1 bsdutils=1:2.34-0.1 build-essential=12.8 bzip2=1.0.8-2 coreutils=8.30-3+b1 cpp=4:9.2.1-3.1 cpp-9=9.3.0-10 dash=0.5.10.2-7 debconf=1.5.74 debhelper=13 debianutils=4.9.1 dh-autoreconf=19 dh-strip-nondeterminism=1.8.0-1 diffutils=1:3.7-3 dpkg=1.19.7 dpkg-dev=1.19.7 dwz=0.13-5 fdisk=2.34-0.1 file=1:5.38-4 findutils=4.7.0-1 g++=4:9.2.1-3.1 g++-9=9.3.0-10 gcc=4:9.2.1-3.1 gcc-10-base=10-20200418-1 gcc-9=9.3.0-10 gcc-9-base=9.3.0-10 gettext=0.19.8.1-10 gettext-base=0.19.8.1-10 grep=3.4-1 groff-base=1.22.4-4 gzip=1.10-2 hostname=3.23 init-system-helpers=1.57 intltool-debian=0.35.0+20060710.5 libacl1=2.2.53-6 libarchive-zip-perl=1.68-1 libasan5=9.3.0-10 libatomic1=10-20200418-1 libattr1=1:2.4.48-5 libaudit-common=1:2.8.5-3 libaudit1=1:2.8.5-3+b1 libbinutils=2.34-6 libblkid1=2.34-0.1 libbsd0=0.10.0-1 libbz2-1.0=1.0.8-2 libc-bin=2.30-4 libc-dev-bin=2.30-4 libc6=2.30-4 libc6-dev=2.30-4 libcap-ng0=0.7.9-2.1+b2 libcc1-0=10-20200418-1 libcroco3=0.6.13-1 libcrypt-dev=1:4.4.16-1 libcrypt1=1:4.4.16-1 libctf-nobfd0=2.34-6 libctf0=2.34-6 libdb5.3=5.3.28+dfsg1-0.6 libdebconfclient0=0.251 libdebhelper-perl=13 libdpkg-perl=1.19.7 libelf1=0.176-1.1 libfdisk1=2.34-0.1 libffi7=3.3-4 libfile-stripnondeterminism-perl=1.8.0-1 libgcc-9-dev=9.3.0-10 libgcc-s1=10-20200418-1 libgcrypt20=1.8.5-5 libgdbm-compat4=1.18.1-5 libgdbm6=1.18.1-5 libglib2.0-0=2.64.2-1 libgmp10=2:6.2.0+dfsg-4 libgomp1=10-20200418-1 libgpg-error0=1.37-1 libicu63=63.2-3 libisl22=0.22.1-1 libitm1=10-20200418-1 liblsan0=10-20200418-1 liblz4-1=1.9.2-2 liblzma5=5.2.4-1+b1 libmagic-mgc=1:5.38-4 libmagic1=1:5.38-4 libmount1=2.34-0.1 libmpc3=1.1.0-1 libmpfr6=4.0.2-1 libncursesw6=6.2-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-12+b1 libperl5.30=5.30.0-10 libpipeline1=1.5.2-2 libquadmath0=10-20200418-1 libseccomp2=2.4.3-1+b1 libselinux1=3.0-1+b3 libsigsegv2=2.12-2 libsmartcols1=2.34-0.1 libstdc++-9-dev=9.3.0-10 libstdc++6=10-20200418-1 libsub-override-perl=0.09-2 libsystemd0=245.5-1 libtinfo6=6.2-1 libtool=2.4.6-14 libtsan0=10-20200418-1 libubsan1=10-20200418-1 libuchardet0=0.0.6-3 libudev1=245.5-1 libunistring2=0.9.10-2 libuuid1=2.34-0.1 libxml2=2.9.10+dfsg-5 linux-libc-dev=5.5.17-1 login=1:4.8.1-1 lsb-base=11.1.0 m4=1.4.18-4 make=4.2.1-1.2 man-db=2.9.1-1 mawk=1.3.4.20200120-2 ncurses-base=6.2-1 ncurses-bin=6.2-1 patch=2.7.6-6 perl=5.30.0-10 perl-base=5.30.0-10 perl-modules-5.30=5.30.0-10 po-debconf=1.0.21 sed=4.7-1 sensible-utils=0.0.12+nmu1 sysvinit-utils=2.96-3 tar=1.30+dfsg-7 util-linux=2.34-0.1 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/20200422T145249Z/ 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 scalpel=1.60-9 && mkdir -p /build/scalpel-5zy9F4 && dpkg-source --no-check -x /*.dsc /build/scalpel-5zy9F4/scalpel-1.60 && chown -R builduser:builduser /build/scalpel-5zy9F4" --customize-hook=chroot "$1" env --unset=TMPDIR runuser builduser -c "cd /build/scalpel-5zy9F4/scalpel-1.60 && env DEB_BUILD_OPTIONS="parallel=4" LANG="C.UTF-8" LC_ALL="C.UTF-8" SOURCE_DATE_EPOCH="1587434483" dpkg-buildpackage -uc -a amd64 --build=any" --customize-hook=sync-out /build/scalpel-5zy9F4 /tmp/scalpel-1.60-9kvq7n3tv bullseye /dev/null deb http://snapshot.notset.fr/archive/debian/20200422T145249Z 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.hbwJ1_oGih 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.hbwJ1_oGih Reading package lists... Building dependency tree... util-linux is already the newest version (2.34-0.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 132 kB of archives. After this operation, 393 kB of additional disk space will be used. Get:1 http://snapshot.notset.fr/archive/debian/20200422T145249Z unstable/main amd64 libfakeroot amd64 1.24-1 [45.7 kB] Get:2 http://snapshot.notset.fr/archive/debian/20200422T145249Z unstable/main amd64 fakeroot amd64 1.24-1 [85.9 kB] debconf: delaying package configuration, since apt-utils is not installed Fetched 132 kB in 0s (662 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 ... 4504 files and directories currently installed.) Preparing to unpack .../libfakeroot_1.24-1_amd64.deb ... Unpacking libfakeroot:amd64 (1.24-1) ... Selecting previously unselected package fakeroot. Preparing to unpack .../fakeroot_1.24-1_amd64.deb ... Unpacking fakeroot (1.24-1) ... Setting up libfakeroot:amd64 (1.24-1) ... Setting up fakeroot (1.24-1) ... update-alternatives: using /usr/bin/fakeroot-sysv to provide /usr/bin/fakeroot (fakeroot) in auto mode Processing triggers for libc-bin (2.30-4) ... 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/20200422T145249Z/ unstable main' >> /etc/apt/sources.list && apt-get update"' exec /tmp/mmdebstrap.hbwJ1_oGih Get:1 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm InRelease [81.6 kB] Hit:2 http://snapshot.notset.fr/archive/debian/20200422T145249Z 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 (1112 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.hbwJ1_oGih I: running --customize-hook in shell: sh -c 'chroot "$1" env sh -c "apt-get source --only-source -d scalpel=1.60-9 && mkdir -p /build/scalpel-5zy9F4 && dpkg-source --no-check -x /*.dsc /build/scalpel-5zy9F4/scalpel-1.60 && chown -R builduser:builduser /build/scalpel-5zy9F4"' exec /tmp/mmdebstrap.hbwJ1_oGih Reading package lists... NOTICE: 'scalpel' packaging is maintained in the 'Git' version control system at: https://salsa.debian.org/pkg-security-team/scalpel.git Please use: git clone https://salsa.debian.org/pkg-security-team/scalpel.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 scalpel 1.60-9 (dsc) [1893 B] Get:2 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main scalpel 1.60-9 (tar) [107 kB] Get:3 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main scalpel 1.60-9 (diff) [19.4 kB] Fetched 128 kB in 0s (775 kB/s) Download complete and in download only mode W: Download is performed unsandboxed as root as file 'scalpel_1.60-9.dsc' couldn't be accessed by user '_apt'. - pkgAcquire::Run (13: Permission denied) dpkg-source: info: extracting scalpel in /build/scalpel-5zy9F4/scalpel-1.60 dpkg-source: info: unpacking scalpel_1.60.orig.tar.gz dpkg-source: info: unpacking scalpel_1.60-9.debian.tar.xz dpkg-source: info: using patch list from debian/patches/series dpkg-source: info: applying 10_add-GCC-hardening.patch dpkg-source: info: applying 20_fix-config.patch dpkg-source: info: applying 30_improve-error-message.patch dpkg-source: info: applying 40_fix-spelling.patch dpkg-source: info: applying 50_fix-jpg-remove-spaces.patch I: running --customize-hook in shell: sh -c 'chroot "$1" env --unset=TMPDIR runuser builduser -c "cd /build/scalpel-5zy9F4/scalpel-1.60 && env DEB_BUILD_OPTIONS="parallel=4" LANG="C.UTF-8" LC_ALL="C.UTF-8" SOURCE_DATE_EPOCH="1587434483" dpkg-buildpackage -uc -a amd64 --build=any"' exec /tmp/mmdebstrap.hbwJ1_oGih dpkg-buildpackage: info: source package scalpel dpkg-buildpackage: info: source version 1.60-9 dpkg-buildpackage: info: source distribution unstable dpkg-buildpackage: info: source changed by Joao Eriberto Mota Filho dpkg-source --before-build . dpkg-buildpackage: info: host architecture amd64 debian/rules clean dh clean dh_auto_clean make -j4 clean make[1]: Entering directory '/build/scalpel-5zy9F4/scalpel-1.60' rm -f *~ rm -rf scalpel-output rm -f helpers.o scalpel.o files.o dig.o prioque.o base_name.o scalpel scalpel.exe core *.core make[1]: Leaving directory '/build/scalpel-5zy9F4/scalpel-1.60' dh_clean debian/rules binary-arch dh binary-arch dh_update_autotools_config -a dh_autoreconf -a dh_auto_configure -a dh_auto_build -a make -j4 "INSTALL=install --strip-program=true" make[1]: Entering directory '/build/scalpel-5zy9F4/scalpel-1.60' gcc -g -O2 -fdebug-prefix-map=/build/scalpel-5zy9F4/scalpel-1.60=. -fstack-protector-strong -Wformat -Werror=format-security -fcommon -Wl,-z,relro -Wl,-z,now -Wdate-time -D_FORTIFY_SOURCE=2 -D__LINUX -c helpers.c gcc -g -O2 -fdebug-prefix-map=/build/scalpel-5zy9F4/scalpel-1.60=. -fstack-protector-strong -Wformat -Werror=format-security -fcommon -Wl,-z,relro -Wl,-z,now -Wdate-time -D_FORTIFY_SOURCE=2 -D__LINUX -c scalpel.c gcc -g -O2 -fdebug-prefix-map=/build/scalpel-5zy9F4/scalpel-1.60=. -fstack-protector-strong -Wformat -Werror=format-security -fcommon -Wl,-z,relro -Wl,-z,now -Wdate-time -D_FORTIFY_SOURCE=2 -D__LINUX -c files.c gcc -g -O2 -fdebug-prefix-map=/build/scalpel-5zy9F4/scalpel-1.60=. -fstack-protector-strong -Wformat -Werror=format-security -fcommon -Wl,-z,relro -Wl,-z,now -Wdate-time -D_FORTIFY_SOURCE=2 -D__LINUX -c dig.c dig.c: In function ‘setupAuditFile’: dig.c:197:3: warning: ignoring return value of ‘realpath’, declared with attribute warn_unused_result [-Wunused-result] 197 | realpath(state->imagefile,imageFile); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ scalpel.c: In function ‘convertFileNames’: scalpel.c:500:3: warning: ignoring return value of ‘realpath’, declared with attribute warn_unused_result [-Wunused-result] 500 | realpath(state->outputdirectory,fn); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -g -O2 -fdebug-prefix-map=/build/scalpel-5zy9F4/scalpel-1.60=. -fstack-protector-strong -Wformat -Werror=format-security -fcommon -Wl,-z,relro -Wl,-z,now -Wdate-time -D_FORTIFY_SOURCE=2 -D__LINUX -c prioque.c gcc -g -O2 -fdebug-prefix-map=/build/scalpel-5zy9F4/scalpel-1.60=. -fstack-protector-strong -Wformat -Werror=format-security -fcommon -Wl,-z,relro -Wl,-z,now -Wdate-time -D_FORTIFY_SOURCE=2 -D__LINUX -c base_name.c dig.c: In function ‘carveImageFile’: dig.c:838:38: warning: ‘%08llu’ directive output may be truncated writing between 8 and 20 bytes into a region of size between 0 and 4095 [-Wformat-truncation=] 838 | snprintf(fn,MAX_STRING_LENGTH,"%s/%08llu.%s", | ^~~~~~ In file included from /usr/include/stdio.h:867, from scalpel.h:40, from dig.c:26: /usr/include/x86_64-linux-gnu/bits/stdio2.h:67:10: note: ‘__builtin___snprintf_chk’ output 11 or more bytes (assuming 4106) into a destination of size 4096 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 68 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dig.c:825:38: warning: ‘%08llu’ directive output may be truncated writing between 8 and 20 bytes into a region of size between 0 and 4095 [-Wformat-truncation=] 825 | snprintf(fn,MAX_STRING_LENGTH,"%s/%08llu", | ^~~~~~ In file included from /usr/include/stdio.h:867, from scalpel.h:40, from dig.c:26: /usr/include/x86_64-linux-gnu/bits/stdio2.h:67:10: note: ‘__builtin___snprintf_chk’ output between 10 and 4117 bytes into a destination of size 4096 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 68 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -g -O2 -fdebug-prefix-map=/build/scalpel-5zy9F4/scalpel-1.60=. -fstack-protector-strong -Wformat -Werror=format-security -fcommon -Wl,-z,relro -Wl,-z,now -Wdate-time -D_FORTIFY_SOURCE=2 -D__LINUX -o scalpel helpers.o scalpel.o files.o dig.o prioque.o base_name.o -lm make[1]: Leaving directory '/build/scalpel-5zy9F4/scalpel-1.60' dh_auto_test -a create-stamp debian/debhelper-build-stamp dh_testroot -a dh_prep -a dh_auto_install -a dh_install -a 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 dh_strip -a dh_makeshlibs -a dh_shlibdeps -a dh_installdeb -a dh_gencontrol -a dh_md5sums -a dh_builddeb -a dpkg-deb: building package 'scalpel' in '../scalpel_1.60-9_amd64.deb'. dpkg-deb: building package 'scalpel-dbgsym' in '../scalpel-dbgsym_1.60-9_amd64.deb'. dpkg-genbuildinfo --build=any dpkg-genchanges --build=any >../scalpel_1.60-9_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/scalpel-5zy9F4 /tmp/scalpel-1.60-9kvq7n3tv I: cleaning package lists and apt cache... I: creating tarball... I: done I: removing tempdir /tmp/mmdebstrap.hbwJ1_oGih... I: success in 301.4031 seconds md5: scalpel-dbgsym_1.60-9_amd64.deb: OK md5: scalpel_1.60-9_amd64.deb: OK sha1: scalpel-dbgsym_1.60-9_amd64.deb: OK sha1: scalpel_1.60-9_amd64.deb: OK sha256: scalpel-dbgsym_1.60-9_amd64.deb: OK sha256: scalpel_1.60-9_amd64.deb: OK Checksums: OK