Input buildinfo: https://buildinfos.debian.net/buildinfo-pool/l/leaktracer/leaktracer_2.4-6+b1_amd64.buildinfo Use metasnap for getting required timestamps New buildinfo file: /tmp/leaktracer-2.4-6+b18y0he1gp/leaktracer_2.4-6+b1_amd64.buildinfo Get source package info: leaktracer=2.4-6 Source URL: http://snapshot.notset.fr/mr/package/leaktracer/2.4-6/srcfiles?fileinfo=1 env -i PATH=/usr/sbin:/usr/bin:/sbin:/bin TMPDIR=/tmp mmdebstrap --arch=amd64 --include=autoconf=2.69-11 automake=1:1.16.1-4 autopoint=0.19.8.1-9 autotools-dev=20180224.1 base-files=11 base-passwd=3.5.46 bash=5.0-4 binutils=2.32.51.20190727-1 binutils-common=2.32.51.20190727-1 binutils-x86-64-linux-gnu=2.32.51.20190727-1 bsdmainutils=11.1.2+b1 bsdutils=1:2.34-0.1 build-essential=12.6 bzip2=1.0.6-9.2 coreutils=8.30-3 cpp=4:8.3.0-1 cpp-8=8.3.0-19 dash=0.5.10.2-6 debconf=1.5.72 debhelper=12.2.3 debianutils=4.8.6.3 dh-autoreconf=19 dh-buildinfo=0.11+nmu2 dh-strip-nondeterminism=1.3.0-1 diffutils=1:3.7-3 docbook=4.5-6 docbook-dsssl=1.79-9.1 docbook-utils=0.6.14-3.3 dpkg=1.19.7 dpkg-dev=1.19.7 dwz=0.12.20190723-1 fdisk=2.34-0.1 file=1:5.37-5 findutils=4.6.0+git+20190510-2 fontconfig-config=2.13.1-2 fonts-dejavu-core=2.37-1 fonts-lmodern=2.004.5-6 fonts-urw-base35=20170801.1-2 g++=4:8.3.0-1 g++-8=8.3.0-19 gcc=4:8.3.0-1 gcc-8=8.3.0-19 gcc-8-base=8.3.0-19 gcc-9-base=9.1.0-10 gdb=8.3-1 gettext=0.19.8.1-9 gettext-base=0.19.8.1-9 grep=3.3-1 groff-base=1.22.4-3 gzip=1.9-3 hostname=3.21 init-system-helpers=1.57 intltool-debian=0.35.0+20060710.5 libacl1=2.2.53-4 libarchive-zip-perl=1.64-1 libasan5=9.1.0-10 libatomic1=9.1.0-10 libattr1=1:2.4.48-4 libaudit-common=1:2.8.5-2 libaudit1=1:2.8.5-2 libavahi-client3=0.7-4+b1 libavahi-common-data=0.7-4+b1 libavahi-common3=0.7-4+b1 libbabeltrace1=1.5.7-1 libbinutils=2.32.51.20190727-1 libblkid1=2.34-0.1 libbrotli1=1.0.7-2 libbsd0=0.9.1-2 libbz2-1.0=1.0.6-9.2 libc-bin=2.28-10 libc-dev-bin=2.28-10 libc6=2.28-10 libc6-dev=2.28-10 libcairo2=1.16.0-4 libcap-ng0=0.7.9-2 libcc1-0=9.1.0-10 libcom-err2=1.45.3-3 libcroco3=0.6.12-3 libcups2=2.2.10-6 libcupsimage2=2.2.10-6 libdb5.3=5.3.28+dfsg1-0.6 libdbus-1-3=1.12.16-1 libdebconfclient0=0.249 libdpkg-perl=1.19.7 libdw1=0.176-1.1 libelf1=0.176-1.1 libexpat1=2.2.7-1 libfdisk1=2.34-0.1 libffi6=3.2.1-9 libfile-stripnondeterminism-perl=1.3.0-1 libfontconfig1=2.13.1-2 libfreetype6=2.9.1-4 libgcc-8-dev=8.3.0-19 libgcc1=1:9.1.0-10 libgcrypt20=1.8.4-5 libgdbm-compat4=1.18.1-4+b1 libgdbm6=1.18.1-4+b1 libglib2.0-0=2.60.6-1 libgmp10=2:6.1.2+dfsg-4 libgnutls30=3.6.8-2 libgomp1=9.1.0-10 libgpg-error0=1.36-7 libgraphite2-3=1.3.13-7 libgs9=9.27~dfsg-3 libgs9-common=9.27~dfsg-3 libgssapi-krb5-2=1.17-5 libharfbuzz-icu0=2.5.3-1 libharfbuzz0b=2.5.3-1 libhogweed4=3.4.1-1 libice6=2:1.0.9-2 libicu63=63.2-2 libidn11=1.33-2.2 libidn2-0=2.2.0-1 libijs-0.35=0.35-14 libipt2=2.0-2 libisl19=0.20-2 libitm1=9.1.0-10 libjbig0=2.1-3.1+b2 libjbig2dec0=0.16-1 libjpeg62-turbo=1:1.5.2-2+b1 libk5crypto3=1.17-5 libkeyutils1=1.6-6 libkpathsea6=2019.20190605.51237-2 libkrb5-3=1.17-5 libkrb5support0=1.17-5 liblcms2-2=2.9-3 liblsan0=9.1.0-10 liblz4-1=1.8.3-1 liblzma5=5.2.4-1 libmagic-mgc=1:5.37-5 libmagic1=1:5.37-5 libmount1=2.34-0.1 libmpc3=1.1.0-1 libmpdec2=2.4.2-2 libmpfr6=4.0.2-1 libmpx2=8.3.0-19 libncurses6=6.1+20190713-1 libncursesw6=6.1+20190713-1 libnettle6=3.4.1-1 libopenjp2-7=2.3.0-2 libosp5=1.5.2-13+b1 libostyle1c2=1.4devel1-21.3+b1 libp11-kit0=0.23.15-2 libpam-modules=1.3.1-5 libpam-modules-bin=1.3.1-5 libpam-runtime=1.3.1-5 libpam0g=1.3.1-5 libpaper-utils=1.1.28 libpaper1=1.1.28 libpcre2-8-0=10.32-5 libpcre3=2:8.39-12 libperl5.28=5.28.1-6 libpipeline1=1.5.1-2 libpixman-1-0=0.36.0-1 libpng16-16=1.6.37-1 libpopt0=1.16-12 libpotrace0=1.15-1 libptexenc1=2019.20190605.51237-2 libpython-stdlib=2.7.16-1 libpython2-stdlib=2.7.16-1 libpython2.7-minimal=2.7.16-3 libpython2.7-stdlib=2.7.16-3 libpython3-stdlib=3.7.3-1 libpython3.7=3.7.4-2 libpython3.7-minimal=3.7.4-2 libpython3.7-stdlib=3.7.4-2 libquadmath0=9.1.0-10 libreadline8=8.0-2 libseccomp2=2.4.1-2 libselinux1=2.9-2 libsgmls-perl=1.03ii-36 libsigsegv2=2.12-2 libsm6=2:1.2.3-1 libsmartcols1=2.34-0.1 libsqlite3-0=3.29.0-1 libssl1.1=1.1.1c-1 libstdc++-8-dev=8.3.0-19 libstdc++6=9.1.0-10 libsub-override-perl=0.09-2 libsynctex2=2019.20190605.51237-2 libsystemd0=241-7 libtasn1-6=4.14-2 libteckit0=2.5.8+ds2-5 libtexlua53=2019.20190605.51237-2 libtexluajit2=2019.20190605.51237-2 libtiff5=4.0.10-4 libtinfo6=6.1+20190713-1 libtool=2.4.6-10 libtsan0=9.1.0-10 libubsan1=9.1.0-10 libuchardet0=0.0.6-3 libudev1=241-7 libunistring2=0.9.10-2 libuuid1=2.34-0.1 libwebp6=0.6.1-2 libwoff1=1.0.2-1 libx11-6=2:1.6.7-1 libx11-data=2:1.6.7-1 libxau6=1:1.0.8-1+b2 libxaw7=2:1.0.13-1+b2 libxcb-render0=1.13.1-2 libxcb-shm0=1.13.1-2 libxcb1=1.13.1-2 libxdmcp6=1:1.1.2-3 libxext6=2:1.3.3-1+b2 libxi6=2:1.7.9-1 libxml2=2.9.4+dfsg1-7+b3 libxmu6=2:1.1.2-2+b3 libxpm4=1:3.5.12-1 libxrender1=1:0.9.10-1 libxt6=1:1.1.5-1+b3 libxxhash0=0.7.0-2 libzstd1=1.3.8+dfsg-3 libzzip-0-13=0.13.62-3.2 linux-libc-dev=4.19.37-6 login=1:4.7-2 lsb-base=10.2019051400 lynx=2.9.0dev.1-2 lynx-common=2.9.0dev.1-2 m4=1.4.18-2 make=4.2.1-1.2 man-db=2.8.5-2 mawk=1.3.3-17+b3 mime-support=3.62 ncurses-base=6.1+20190713-1 ncurses-bin=6.1+20190713-1 openjade=1.4devel1-21.3+b1 opensp=1.5.2-13+b1 patch=2.7.6-6 perl=5.28.1-6 perl-base=5.28.1-6 perl-modules-5.28=5.28.1-6 po-debconf=1.0.21 poppler-data=0.4.9-2 preview-latex-style=11.91-2 python=2.7.16-1 python-minimal=2.7.16-1 python2=2.7.16-1 python2-minimal=2.7.16-1 python2.7=2.7.16-3 python2.7-minimal=2.7.16-3 python3=3.7.3-1 python3-minimal=3.7.3-1 python3.7=3.7.4-2 python3.7-minimal=3.7.4-2 readline-common=8.0-2 sed=4.7-1 sensible-utils=0.0.12 sgml-base=1.29 sgml-data=2.0.11 sgmlspl=1.03ii-36 sysvinit-utils=2.95-2 t1utils=1.41-3 tar=1.30+dfsg-6 teckit=2.5.8+ds2-5 tex-common=6.11 texlive-base=2019.20190710-1 texlive-binaries=2019.20190605.51237-2 texlive-fonts-recommended=2019.20190710-1 texlive-formats-extra=2019.20190710-1 texlive-latex-base=2019.20190710-1 texlive-latex-extra=2019.20190710-1 texlive-latex-recommended=2019.20190710-1 texlive-pictures=2019.20190710-1 texlive-plain-generic=2019.20190710-1 texlive-xetex=2019.20190710-1 tipa=2:1.3-20 ucf=3.0038+nmu1 util-linux=2.34-0.1 x11-common=1:7.7+19 xdg-utils=1.1.3-1 xml-core=0.18+nmu1 xz-utils=5.2.4-1 zlib1g=1:1.2.11.dfsg-1 --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/20190729T092703Z/ 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 leaktracer=2.4-6 && mkdir -p /build/leaktracer-7NeoXV && dpkg-source --no-check -x /*.dsc /build/leaktracer-7NeoXV/leaktracer-2.4 && cd /build/leaktracer-7NeoXV/leaktracer-2.4 && { printf '%s' 'leaktracer (2.4-6+b1) sid; urgency=low, binary-only=yes * Binary-only non-maintainer upload for amd64; no source changes. * rebuild for missing buildinfo files -- amd64 / i386 Build Daemon (x86-csail-01) Mon, 29 Jul 2019 17:12:13 +0000 '; cat debian/changelog; } > debian/changelog.debrebuild && mv debian/changelog.debrebuild debian/changelog && chown -R builduser:builduser /build/leaktracer-7NeoXV" --customize-hook=chroot "$1" env --unset=TMPDIR runuser builduser -c "cd /build/leaktracer-7NeoXV/leaktracer-2.4 && env DEB_BUILD_OPTIONS="parallel=4" LC_ALL="C.UTF-8" SOURCE_DATE_EPOCH="1564420333" dpkg-buildpackage -uc -a amd64 --build=any" --customize-hook=sync-out /build/leaktracer-7NeoXV /tmp/leaktracer-2.4-6+b18y0he1gp bullseye /dev/null deb http://snapshot.notset.fr/archive/debian/20190729T092703Z 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.ExR4bkbP4U 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.ExR4bkbP4U 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, 373 kB of additional disk space will be used. Get:1 http://snapshot.notset.fr/archive/debian/20190729T092703Z unstable/main amd64 libfakeroot amd64 1.23-1 [45.9 kB] Get:2 http://snapshot.notset.fr/archive/debian/20190729T092703Z unstable/main amd64 fakeroot amd64 1.23-1 [85.8 kB] debconf: delaying package configuration, since apt-utils is not installed Fetched 132 kB in 0s (1082 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 ... 4453 files and directories currently installed.) Preparing to unpack .../libfakeroot_1.23-1_amd64.deb ... Unpacking libfakeroot:amd64 (1.23-1) ... Selecting previously unselected package fakeroot. Preparing to unpack .../fakeroot_1.23-1_amd64.deb ... Unpacking fakeroot (1.23-1) ... Setting up libfakeroot:amd64 (1.23-1) ... Setting up fakeroot (1.23-1) ... update-alternatives: using /usr/bin/fakeroot-sysv to provide /usr/bin/fakeroot (fakeroot) in auto mode Processing triggers for libc-bin (2.28-10) ... 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/20190729T092703Z/ unstable main' >> /etc/apt/sources.list && apt-get update"' exec /tmp/mmdebstrap.ExR4bkbP4U Get:1 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm InRelease [81.6 kB] Hit:2 http://snapshot.notset.fr/archive/debian/20190729T092703Z 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 21s (1080 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.ExR4bkbP4U I: running --customize-hook in shell: sh -c 'chroot "$1" env sh -c "apt-get source --only-source -d leaktracer=2.4-6 && mkdir -p /build/leaktracer-7NeoXV && dpkg-source --no-check -x /*.dsc /build/leaktracer-7NeoXV/leaktracer-2.4 && cd /build/leaktracer-7NeoXV/leaktracer-2.4 && { printf '%s' 'leaktracer (2.4-6+b1) sid; urgency=low, binary-only=yes * Binary-only non-maintainer upload for amd64; no source changes. * rebuild for missing buildinfo files -- amd64 / i386 Build Daemon (x86-csail-01) Mon, 29 Jul 2019 17:12:13 +0000 '; cat debian/changelog; } > debian/changelog.debrebuild && mv debian/changelog.debrebuild debian/changelog && chown -R builduser:builduser /build/leaktracer-7NeoXV"' exec /tmp/mmdebstrap.ExR4bkbP4U Reading package lists... Need to get 16.9 kB of source archives. Get:1 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main leaktracer 2.4-6 (dsc) [1647 B] Get:2 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main leaktracer 2.4-6 (tar) [10.6 kB] Get:3 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main leaktracer 2.4-6 (diff) [4604 B] Fetched 16.9 kB in 0s (242 kB/s) Download complete and in download only mode W: Download is performed unsandboxed as root as file 'leaktracer_2.4-6.dsc' couldn't be accessed by user '_apt'. - pkgAcquire::Run (13: Permission denied) dpkg-source: info: extracting leaktracer in /build/leaktracer-7NeoXV/leaktracer-2.4 dpkg-source: info: unpacking leaktracer_2.4.orig.tar.gz dpkg-source: info: applying leaktracer_2.4-6.diff.gz dpkg-source: info: upstream files that have been modified: /build/leaktracer-7NeoXV/leaktracer-2.4/LeakCheck /build/leaktracer-7NeoXV/leaktracer-2.4/Makefile /build/leaktracer-7NeoXV/leaktracer-2.4/test.cc I: running --customize-hook in shell: sh -c 'chroot "$1" env --unset=TMPDIR runuser builduser -c "cd /build/leaktracer-7NeoXV/leaktracer-2.4 && env DEB_BUILD_OPTIONS="parallel=4" LC_ALL="C.UTF-8" SOURCE_DATE_EPOCH="1564420333" dpkg-buildpackage -uc -a amd64 --build=any"' exec /tmp/mmdebstrap.ExR4bkbP4U dpkg-buildpackage: info: source package leaktracer dpkg-buildpackage: info: source version 2.4-6+b1 dpkg-buildpackage: info: source distribution sid dpkg-buildpackage: info: source changed by amd64 / i386 Build Daemon (x86-csail-01) dpkg-source --before-build . dpkg-buildpackage: info: host architecture amd64 fakeroot debian/rules clean dh_testdir dh_testroot rm -f build-stamp debian/LeakTracer.1 debian/manpage.refs /usr/bin/make realclean || true make[1]: Entering directory '/build/leaktracer-7NeoXV/leaktracer-2.4' rm -f *~ *orig *bak *rej rm -f ./LeakTracer.o leak.out rm -f test *.so make[1]: Leaving directory '/build/leaktracer-7NeoXV/leaktracer-2.4' dh_clean dpkg-buildpackage: warning: debian/rules must be updated to support the 'build-arch' and 'build-indep' targets (at least 'build-arch' seems to be missing) debian/rules build cd `dirname debian/LeakTracer.sgml` && docbook2man `basename debian/LeakTracer.sgml` Using catalogs: /etc/sgml/catalog Using stylesheet: /usr/share/docbook-utils/docbook-utils.dsl#print Working on: /build/leaktracer-7NeoXV/leaktracer-2.4/debian/LeakTracer.sgml Done. dh_testdir /usr/bin/make CFLAGS="-Wall -W -g -O2" make[1]: Entering directory '/build/leaktracer-7NeoXV/leaktracer-2.4' g++ -fPIC -c -Wall -W -g -O2 -pipe -DTHREAD_SAVE -D_REENTRANT -D_THREAD_SAFE -pthread LeakTracer.cc -o LeakTracer.o LeakTracer.cc: In member function ‘void LeakTracer::initialize()’: LeakTracer.cc:195:20: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long unsigned int’ [-Wformat=] fprintf (report, "# memory overrun protection of %d Bytes\n", MAGIC_SIZE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ LeakTracer.cc: In member function ‘void* LeakTracer::registerAlloc(size_t, bool)’: LeakTracer.cc:288:19: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘size_t’ {aka ‘long unsigned int’} [-Wformat=] fprintf(stderr, "Oops, registerAlloc called after destruction of LeakTracer (size=%d)\n", size); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~ LeakTracer.cc: In member function ‘void LeakTracer::registerFree(void*, bool)’: LeakTracer.cc:410:5: warning: format ‘%d’ expects argument of type ‘int’, but argument 7 has type ‘size_t’ {aka ‘long unsigned int’} [-Wformat=] "S %10p %10p # new%s but delete%s " ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ "; size %d\n", ~~~~~~~~~~~~~ LeakTracer.cc:416:5: leaks[i].size); ~~~~~~~~~~~~~ LeakTracer.cc:422:20: warning: format ‘%d’ expects argument of type ‘int’, but argument 5 has type ‘size_t’ {aka ‘long unsigned int’} [-Wformat=] fprintf(report, "O %10p %10p " ^~~~~~~~~~~~~~~ "# memory overwritten beyond allocated" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ " %d bytes\n", ~~~~~~~~~~~~~ LeakTracer.cc:427:5: leaks[i].size); ~~~~~~~~~~~~~ LeakTracer.cc:428:20: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long unsigned int’ [-Wformat=] fprintf(report, "# %d byte beyond area:\n", ^~~~~~~~~~~~~~~~~~~~~~~~~~ LeakTracer.cc: At global scope: LeakTracer.cc:500:6: warning: the program should also define ‘void operator delete(void*, long unsigned int)’ [-Wsized-deallocation] void operator delete (void *p) { ^~~~~~~~ LeakTracer.cc:505:6: warning: the program should also define ‘void operator delete [](void*, long unsigned int)’ [-Wsized-deallocation] void operator delete[] (void *p) { ^~~~~~~~ LeakTracer.cc: In member function ‘void* LeakTracer::registerAlloc(size_t, bool)’: LeakTracer.cc:329:48: warning: calling ‘void* __builtin_return_address(unsigned int)’ with a nonzero argument is unsafe [-Wframe-address] leaks[i].allocAddr=__builtin_return_address(1); ~~~~~~~~~~~~~~~~~~~~~~~~^~~ LeakTracer.cc: In member function ‘void LeakTracer::registerFree(void*, bool)’: LeakTracer.cc:409:11: warning: calling ‘void* __builtin_return_address(unsigned int)’ with a nonzero argument is unsafe [-Wframe-address] fprintf(report, ~~~~~~~^~~~~~~~ "S %10p %10p # new%s but delete%s " ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ "; size %d\n", ~~~~~~~~~~~~~~ leaks[i].allocAddr, ~~~~~~~~~~~~~~~~~~~ __builtin_return_address(1), ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ((!type) ? "[]" : " normal"), ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ((type) ? "[]" : " normal"), ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ leaks[i].size); ~~~~~~~~~~~~~~ LeakTracer.cc:422:11: warning: calling ‘void* __builtin_return_address(unsigned int)’ with a nonzero argument is unsafe [-Wframe-address] fprintf(report, "O %10p %10p " ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ "# memory overwritten beyond allocated" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ " %d bytes\n", ~~~~~~~~~~~~~~ leaks[i].allocAddr, ~~~~~~~~~~~~~~~~~~~ __builtin_return_address(1), ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ leaks[i].size); ~~~~~~~~~~~~~~ LeakTracer.cc:456:9: warning: calling ‘void* __builtin_return_address(unsigned int)’ with a nonzero argument is unsafe [-Wframe-address] fprintf(report, "D %10p # delete non alloc or twice pointer %10p\n", ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __builtin_return_address(1), p); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ g++ -Wall -W -g -O2 -pipe -DTHREAD_SAVE -D_REENTRANT -D_THREAD_SAFE -pthread -shared -o LeakTracer.so LeakTracer.o make[1]: Leaving directory '/build/leaktracer-7NeoXV/leaktracer-2.4' [ 0 = 1 ] || /usr/bin/make test make[1]: Entering directory '/build/leaktracer-7NeoXV/leaktracer-2.4' g++ -g -Wall -W -pipe -DTHREAD_SAVE -D_REENTRANT -D_THREAD_SAFE -pthread test.cc -o test test.cc: In function ‘void foo()’: test.cc:4:10: warning: unused variable ‘x’ [-Wunused-variable] int *x = new int; ^ ./test ./LeakCheck ./test ./leak-analyze ./test Gathered 3 (3 unique) points of data. Reading symbols from ./test... (gdb) #-- Alloc: Different allocation schemes alloc here :..free here : #-- Leak: counted 1x / total Size: 4 #-- Leak: counted 1x / total Size: 4 #-- Leak: counted 1x / total Size: 4 make[1]: Leaving directory '/build/leaktracer-7NeoXV/leaktracer-2.4' touch build-stamp fakeroot debian/rules binary-arch dh_testdir dh_testroot dh_prep dh_installdirs usr/bin usr/lib/leaktracer cp -p leak-analyze debian/leaktracer/usr/bin sed "s,\`dirname \$0\`,/usr/lib/leaktracer," < LeakCheck \ > debian/leaktracer/usr/bin/LeakCheck chmod +x debian/leaktracer/usr/bin/LeakCheck cp -p LeakTracer.so debian/leaktracer/usr/lib/leaktracer mkdir -p debian/leaktracer/usr/share/man/man1/ install -m644 debian/LeakTracer.1 \ debian/leaktracer/usr/share/man/man1/ cd debian/leaktracer/usr/share/man/man1/ && \ ln -s LeakTracer.1 LeakCheck.1 && \ ln -s LeakTracer.1 leak-analyze.1 dh_testdir dh_testroot dh_installdocs README* dh_buildinfo dh_installchangelogs dh_strip dh_compress dh_fixperms dh_makeshlibs dh_installdeb dh_perl dh_shlibdeps dpkg-shlibdeps: warning: package could avoid a useless dependency if debian/leaktracer/usr/lib/leaktracer/LeakTracer.so was not linked against libgcc_s.so.1 (it uses none of the library's symbols) dh_gencontrol dh_md5sums dh_builddeb dpkg-deb: building package 'leaktracer-dbgsym' in '../leaktracer-dbgsym_2.4-6+b1_amd64.deb'. dpkg-deb: building package 'leaktracer' in '../leaktracer_2.4-6+b1_amd64.deb'. dpkg-genbuildinfo --build=any dpkg-genchanges --build=any >../leaktracer_2.4-6+b1_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/leaktracer-7NeoXV /tmp/leaktracer-2.4-6+b18y0he1gp I: cleaning package lists and apt cache... I: creating tarball... I: done I: removing tempdir /tmp/mmdebstrap.ExR4bkbP4U... I: success in 571.3464 seconds md5: leaktracer-dbgsym_2.4-6+b1_amd64.deb: OK md5: leaktracer_2.4-6+b1_amd64.deb: OK sha1: leaktracer-dbgsym_2.4-6+b1_amd64.deb: OK sha1: leaktracer_2.4-6+b1_amd64.deb: OK sha256: leaktracer-dbgsym_2.4-6+b1_amd64.deb: OK sha256: leaktracer_2.4-6+b1_amd64.deb: OK Checksums: OK