Input buildinfo: https://buildinfos.debian.net/buildinfo-pool/i/i7z/i7z_0.27.2+git2013.10.12-g5023138-7_amd64.buildinfo Use metasnap for getting required timestamps New buildinfo file: /tmp/i7z-0.27.2+git2013.10.12-g5023138-7af8e66f2/i7z_0.27.2+git2013.10.12-g5023138-7_amd64.buildinfo Get source package info: i7z=0.27.2+git2013.10.12-g5023138-7 Source URL: http://snapshot.notset.fr/mr/package/i7z/0.27.2+git2013.10.12-g5023138-7/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.73 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-20200411-1 gcc-9=9.3.0-10 gcc-9-base=9.3.0-10 gdb=9.1-3 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-20200411-1 libattr1=1:2.4.48-5 libaudit-common=1:2.8.5-3 libaudit1=1:2.8.5-3+b1 libbabeltrace1=1.5.8-1+b1 libbinutils=2.34-6 libblkid1=2.34-0.1 libboost-regex1.67.0=1.67.0-17+b1 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-20200411-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 libdw1=0.176-1.1 libelf1=0.176-1.1 libexpat1=2.2.9-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-20200411-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-20200411-1 libgpg-error0=1.37-1 libicu63=63.2-3 libipt2=2.0.1-1+b1 libisl22=0.22.1-1 libitm1=10-20200411-1 liblsan0=10-20200411-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 libmpdec2=2.4.2-3 libmpfr6=4.0.2-1 libncurses-dev=6.2-1 libncurses6=6.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-9 libpipeline1=1.5.2-2 libpython3.8=3.8.2-1+b1 libpython3.8-minimal=3.8.2-1+b1 libpython3.8-stdlib=3.8.2-1+b1 libquadmath0=10-20200411-1 libreadline8=8.0-4 libseccomp2=2.4.3-1+b1 libselinux1=3.0-1+b3 libsigsegv2=2.12-2 libsmartcols1=2.34-0.1 libsource-highlight-common=3.1.9-1.2 libsource-highlight4v5=3.1.9-1.2 libsqlite3-0=3.31.1-5 libssl1.1=1.1.1f-1 libstdc++-9-dev=9.3.0-10 libstdc++6=10-20200411-1 libsub-override-perl=0.09-2 libsystemd0=245.4-4 libtinfo6=6.2-1 libtool=2.4.6-14 libtsan0=10-20200411-1 libubsan1=10-20200411-1 libuchardet0=0.0.6-3 libudev1=245.4-4 libunistring2=0.9.10-2 libuuid1=2.34-0.1 libxml2=2.9.10+dfsg-5 libxxhash0=0.7.3-2 linux-libc-dev=5.5.13-2 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 mime-support=3.64 ncurses-base=6.2-1 ncurses-bin=6.2-1 patch=2.7.6-6 perl=5.30.0-9 perl-base=5.30.0-9 perl-modules-5.30=5.30.0-9 po-debconf=1.0.21 readline-common=8.0-4 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/20200526T084721Z/ unstable main deb http://snapshot.notset.fr/archive/debian/20200417T040322Z/ 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 i7z=0.27.2+git2013.10.12-g5023138-7 && mkdir -p /build/i7z-q0ND7C && dpkg-source --no-check -x /*.dsc /build/i7z-q0ND7C/i7z-0.27.2+git2013.10.12-g5023138 && chown -R builduser:builduser /build/i7z-q0ND7C" --customize-hook=chroot "$1" env --unset=TMPDIR runuser builduser -c "cd /build/i7z-q0ND7C/i7z-0.27.2+git2013.10.12-g5023138 && env DEB_BUILD_OPTIONS="parallel=4" LC_ALL="C.UTF-8" SOURCE_DATE_EPOCH="1587160317" dpkg-buildpackage -uc -a amd64 --build=any" --customize-hook=sync-out /build/i7z-q0ND7C /tmp/i7z-0.27.2+git2013.10.12-g5023138-7af8e66f2 bullseye /dev/null deb http://snapshot.notset.fr/archive/debian/20200417T040322Z 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.UNwU2a0tQp 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.UNwU2a0tQp 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/20200417T040322Z unstable/main amd64 libfakeroot amd64 1.24-1 [45.7 kB] Get:2 http://snapshot.notset.fr/archive/debian/20200417T040322Z 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 (778 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/20200526T084721Z/ unstable main deb http://snapshot.notset.fr/archive/debian/20200417T040322Z/ unstable main' >> /etc/apt/sources.list && apt-get update"' exec /tmp/mmdebstrap.UNwU2a0tQp Get:1 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm InRelease [81.6 kB] Get:2 http://snapshot.notset.fr/archive/debian/20200526T084721Z unstable InRelease [146 kB] Hit:3 http://snapshot.notset.fr/archive/debian/20200417T040322Z 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/20200526T084721Z unstable/main amd64 Packages Ign:6 http://snapshot.notset.fr/archive/debian/20200526T084721Z unstable/main amd64 Packages Ign:6 http://snapshot.notset.fr/archive/debian/20200526T084721Z unstable/main amd64 Packages Get:6 http://snapshot.notset.fr/archive/debian/20200526T084721Z unstable/main amd64 Packages [11.2 MB] Fetched 33.9 MB in 31s (1109 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.UNwU2a0tQp I: running --customize-hook in shell: sh -c 'chroot "$1" env sh -c "apt-get source --only-source -d i7z=0.27.2+git2013.10.12-g5023138-7 && mkdir -p /build/i7z-q0ND7C && dpkg-source --no-check -x /*.dsc /build/i7z-q0ND7C/i7z-0.27.2+git2013.10.12-g5023138 && chown -R builduser:builduser /build/i7z-q0ND7C"' exec /tmp/mmdebstrap.UNwU2a0tQp Reading package lists... NOTICE: 'i7z' packaging is maintained in the 'Git' version control system at: https://salsa.debian.org/debian/i7z.git Please use: git clone https://salsa.debian.org/debian/i7z.git to retrieve the latest (possibly unreleased) updates to the package. Need to get 70.1 kB of source archives. Get:1 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main i7z 0.27.2+git2013.10.12-g5023138-7 (dsc) [2001 B] Get:2 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main i7z 0.27.2+git2013.10.12-g5023138-7 (tar) [60.9 kB] Get:3 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main i7z 0.27.2+git2013.10.12-g5023138-7 (diff) [7176 B] Fetched 70.1 kB in 0s (495 kB/s) Download complete and in download only mode W: Download is performed unsandboxed as root as file 'i7z_0.27.2+git2013.10.12-g5023138-7.dsc' couldn't be accessed by user '_apt'. - pkgAcquire::Run (13: Permission denied) dpkg-source: info: extracting i7z in /build/i7z-q0ND7C/i7z-0.27.2+git2013.10.12-g5023138 dpkg-source: info: unpacking i7z_0.27.2+git2013.10.12-g5023138.orig.tar.gz dpkg-source: info: unpacking i7z_0.27.2+git2013.10.12-g5023138-7.debian.tar.xz dpkg-source: info: using patch list from debian/patches/series dpkg-source: info: applying install-i7z_rw_registers.patch dpkg-source: info: applying hyphen-used-as-minus-sign.patch dpkg-source: info: applying fix-insecure-tempfile.patch dpkg-source: info: applying use_stdbool.patch dpkg-source: info: applying qmake-hardening.patch dpkg-source: info: applying fix_cpuid_asm.patch dpkg-source: info: applying nehalem.patch dpkg-source: info: applying man-section.patch dpkg-source: info: applying gcc-10.patch dpkg-source: info: applying typos.patch I: running --customize-hook in shell: sh -c 'chroot "$1" env --unset=TMPDIR runuser builduser -c "cd /build/i7z-q0ND7C/i7z-0.27.2+git2013.10.12-g5023138 && env DEB_BUILD_OPTIONS="parallel=4" LC_ALL="C.UTF-8" SOURCE_DATE_EPOCH="1587160317" dpkg-buildpackage -uc -a amd64 --build=any"' exec /tmp/mmdebstrap.UNwU2a0tQp dpkg-buildpackage: info: source package i7z dpkg-buildpackage: info: source version 0.27.2+git2013.10.12-g5023138-7 dpkg-buildpackage: info: source distribution unstable dpkg-buildpackage: info: source changed by Andreas Beckmann dpkg-source --before-build . dpkg-buildpackage: info: host architecture amd64 debian/rules clean dh clean dh_auto_clean make -j4 distclean make[1]: Entering directory '/build/i7z-q0ND7C/i7z-0.27.2+git2013.10.12-g5023138' rm -f *.o i7z rm -f *~ \#* make[1]: Leaving directory '/build/i7z-q0ND7C/i7z-0.27.2+git2013.10.12-g5023138' 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/i7z-q0ND7C/i7z-0.27.2+git2013.10.12-g5023138' rm -f *.o i7z cc -g -O2 -fdebug-prefix-map=/build/i7z-q0ND7C/i7z-0.27.2+git2013.10.12-g5023138=. -fstack-protector-strong -Wformat -Werror=format-security -fno-schedule-insns2 -fno-schedule-insns -fno-inline-small-functions -fno-caller-saves -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DBUILD_MAIN -Wimplicit-function-declaration -Dx64_BIT -Wdate-time -D_FORTIFY_SOURCE=2 -c -o i7z.o i7z.c If the compilation complains about not finding ncurses.h, install ncurses (libncurses5-dev on ubuntu/debian) cc -g -O2 -fdebug-prefix-map=/build/i7z-q0ND7C/i7z-0.27.2+git2013.10.12-g5023138=. -fstack-protector-strong -Wformat -Werror=format-security -fno-schedule-insns2 -fno-schedule-insns -fno-inline-small-functions -fno-caller-saves -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DBUILD_MAIN -Wimplicit-function-declaration -Dx64_BIT -Wdate-time -D_FORTIFY_SOURCE=2 -c -o helper_functions.o helper_functions.c cc -g -O2 -fdebug-prefix-map=/build/i7z-q0ND7C/i7z-0.27.2+git2013.10.12-g5023138=. -fstack-protector-strong -Wformat -Werror=format-security -fno-schedule-insns2 -fno-schedule-insns -fno-inline-small-functions -fno-caller-saves -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DBUILD_MAIN -Wimplicit-function-declaration -Dx64_BIT -Wdate-time -D_FORTIFY_SOURCE=2 -c -o i7z_Single_Socket.o i7z_Single_Socket.c cc -g -O2 -fdebug-prefix-map=/build/i7z-q0ND7C/i7z-0.27.2+git2013.10.12-g5023138=. -fstack-protector-strong -Wformat -Werror=format-security -fno-schedule-insns2 -fno-schedule-insns -fno-inline-small-functions -fno-caller-saves -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DBUILD_MAIN -Wimplicit-function-declaration -Dx64_BIT -Wdate-time -D_FORTIFY_SOURCE=2 -c -o i7z_Dual_Socket.o i7z_Dual_Socket.c i7z.c: In function ‘logCpuFreq_single_ts’: i7z.c:187:36: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘__time_t’ {aka ‘long int’} [-Wformat=] 187 | fprintf(fp_log_file_freq,"%d.%.9d\n",value->tv_sec,value->tv_nsec); //newline, replace \n with \t to get everything separated with tabs | ~^ ~~~~~~~~~~~~~ | | | | int __time_t {aka long int} | %ld i7z.c:187:41: warning: format ‘%d’ expects argument of type ‘int’, but argument 4 has type ‘__syscall_slong_t’ {aka ‘long int’} [-Wformat=] 187 | fprintf(fp_log_file_freq,"%d.%.9d\n",value->tv_sec,value->tv_nsec); //newline, replace \n with \t to get everything separated with tabs | ~~~^ ~~~~~~~~~~~~~~ | | | | int __syscall_slong_t {aka long int} | %.9ld i7z.c:191:36: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘__time_t’ {aka ‘long int’} [-Wformat=] 191 | fprintf(fp_log_file_freq,"%d.%.9d\t",value->tv_sec,value->tv_nsec); | ~^ ~~~~~~~~~~~~~ | | | | int __time_t {aka long int} | %ld i7z.c:191:41: warning: format ‘%d’ expects argument of type ‘int’, but argument 4 has type ‘__syscall_slong_t’ {aka ‘long int’} [-Wformat=] 191 | fprintf(fp_log_file_freq,"%d.%.9d\t",value->tv_sec,value->tv_nsec); | ~~~^ ~~~~~~~~~~~~~~ | | | | int __syscall_slong_t {aka long int} | %.9ld i7z.c: In function ‘logCpuFreq_dual_ts’: i7z.c:267:42: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘__time_t’ {aka ‘long int’} [-Wformat=] 267 | fprintf(fp_log_file_freq_1,"%d.%.9d\n",value->tv_sec,value->tv_nsec); //newline, replace \n with \t to get everything separated with tabs | ~^ ~~~~~~~~~~~~~ | | | | int __time_t {aka long int} | %ld i7z.c:267:47: warning: format ‘%d’ expects argument of type ‘int’, but argument 4 has type ‘__syscall_slong_t’ {aka ‘long int’} [-Wformat=] 267 | fprintf(fp_log_file_freq_1,"%d.%.9d\n",value->tv_sec,value->tv_nsec); //newline, replace \n with \t to get everything separated with tabs | ~~~^ ~~~~~~~~~~~~~~ | | | | int __syscall_slong_t {aka long int} | %.9ld i7z.c:271:43: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘__time_t’ {aka ‘long int’} [-Wformat=] 271 | fprintf(fp_log_file_freq_1,"%d.%.9d\t",value->tv_sec,value->tv_nsec); | ~^ ~~~~~~~~~~~~~ | | | | int __time_t {aka long int} | %ld i7z.c:271:48: warning: format ‘%d’ expects argument of type ‘int’, but argument 4 has type ‘__syscall_slong_t’ {aka ‘long int’} [-Wformat=] 271 | fprintf(fp_log_file_freq_1,"%d.%.9d\t",value->tv_sec,value->tv_nsec); | ~~~^ ~~~~~~~~~~~~~~ | | | | int __syscall_slong_t {aka long int} | %.9ld i7z.c:276:42: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘__time_t’ {aka ‘long int’} [-Wformat=] 276 | fprintf(fp_log_file_freq_2,"%d.%.9d\n",value->tv_sec,value->tv_nsec); //newline, replace \n with \t to get everything separated with tabs | ~^ ~~~~~~~~~~~~~ | | | | int __time_t {aka long int} | %ld i7z.c:276:47: warning: format ‘%d’ expects argument of type ‘int’, but argument 4 has type ‘__syscall_slong_t’ {aka ‘long int’} [-Wformat=] 276 | fprintf(fp_log_file_freq_2,"%d.%.9d\n",value->tv_sec,value->tv_nsec); //newline, replace \n with \t to get everything separated with tabs | ~~~^ ~~~~~~~~~~~~~~ | | | | int __syscall_slong_t {aka long int} | %.9ld i7z.c:280:43: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘__time_t’ {aka ‘long int’} [-Wformat=] 280 | fprintf(fp_log_file_freq_2,"%d.%.9d\t",value->tv_sec,value->tv_nsec); | ~^ ~~~~~~~~~~~~~ | | | | int __time_t {aka long int} | %ld i7z.c:280:48: warning: format ‘%d’ expects argument of type ‘int’, but argument 4 has type ‘__syscall_slong_t’ {aka ‘long int’} [-Wformat=] 280 | fprintf(fp_log_file_freq_2,"%d.%.9d\t",value->tv_sec,value->tv_nsec); | ~~~^ ~~~~~~~~~~~~~~ | | | | int __syscall_slong_t {aka long int} | %.9ld i7z.c: In function ‘logCpuCstates_single_ts’: i7z.c:318:39: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘__time_t’ {aka ‘long int’} [-Wformat=] 318 | fprintf(fp_log_file_Cstates,"%d.%.9d",value->tv_sec,value->tv_nsec); //newline, replace \n with \t to get everything separated with tabs | ~^ ~~~~~~~~~~~~~ | | | | int __time_t {aka long int} | %ld i7z.c:318:44: warning: format ‘%d’ expects argument of type ‘int’, but argument 4 has type ‘__syscall_slong_t’ {aka ‘long int’} [-Wformat=] 318 | fprintf(fp_log_file_Cstates,"%d.%.9d",value->tv_sec,value->tv_nsec); //newline, replace \n with \t to get everything separated with tabs | ~~~^ ~~~~~~~~~~~~~~ | | | | int __syscall_slong_t {aka long int} | %.9ld i7z.c: In function ‘logCpuCstates_dual_ts’: i7z.c:369:45: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘__time_t’ {aka ‘long int’} [-Wformat=] 369 | fprintf(fp_log_file_Cstates_1,"%d.%.9d",value->tv_sec,value->tv_nsec); //newline, replace \n with \t to get everything separated with tabs | ~^ ~~~~~~~~~~~~~ | | | | int __time_t {aka long int} | %ld i7z.c:369:50: warning: format ‘%d’ expects argument of type ‘int’, but argument 4 has type ‘__syscall_slong_t’ {aka ‘long int’} [-Wformat=] 369 | fprintf(fp_log_file_Cstates_1,"%d.%.9d",value->tv_sec,value->tv_nsec); //newline, replace \n with \t to get everything separated with tabs | ~~~^ ~~~~~~~~~~~~~~ | | | | int __syscall_slong_t {aka long int} | %.9ld i7z.c:374:45: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘__time_t’ {aka ‘long int’} [-Wformat=] 374 | fprintf(fp_log_file_Cstates_2,"%d.%.9d",value->tv_sec,value->tv_nsec); //newline, replace \n with \t to get everything separated with tabs | ~^ ~~~~~~~~~~~~~ | | | | int __time_t {aka long int} | %ld i7z.c:374:50: warning: format ‘%d’ expects argument of type ‘int’, but argument 4 has type ‘__syscall_slong_t’ {aka ‘long int’} [-Wformat=] 374 | fprintf(fp_log_file_Cstates_2,"%d.%.9d",value->tv_sec,value->tv_nsec); //newline, replace \n with \t to get everything separated with tabs | ~~~^ ~~~~~~~~~~~~~~ | | | | int __syscall_slong_t {aka long int} | %.9ld helper_functions.c: In function ‘Test_Or_Make_MSR_DEVICE_FILES’: helper_functions.c:521:13: warning: ignoring return value of ‘system’, declared with attribute warn_unused_result [-Wunused-result] 521 | system ("msr_major=202; \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ 522 | cpuid_major=203; \ | ~~~~~~~~~~~~~~~~~~ 523 | n=0; \ | ~~~~~~ 524 | while [ $n -lt 16 ]; do \ | ~~~~~~~~~~~~~~~~~~~~~~~~~ 525 | mkdir -m 0755 -p /dev/cpu/$n; \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 526 | mknod /dev/cpu/$n/msr -m 0600 c $msr_major $n; \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 527 | mknod /dev/cpu/$n/cpuid -m 0444 c $cpuid_major $n; \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 528 | n=`expr $n + 1`; \ | ~~~~~~~~~~~~~~~~~~ 529 | done; \ | ~~~~~~~ 530 | "); | ~~ helper_functions.c:532:13: warning: ignoring return value of ‘system’, declared with attribute warn_unused_result [-Wunused-result] 532 | system ("modprobe msr"); | ^~~~~~~~~~~~~~~~~~~~~~~ i7z.c: In function ‘atexit_runsttysane’: i7z.c:384:5: warning: ignoring return value of ‘system’, declared with attribute warn_unused_result [-Wunused-result] 384 | system("stty sane"); | ^~~~~~~~~~~~~~~~~~~ i7z.c: In function ‘modprobing_msr’: i7z.c:389:5: warning: ignoring return value of ‘system’, declared with attribute warn_unused_result [-Wunused-result] 389 | system("modprobe msr"); | ^~~~~~~~~~~~~~~~~~~~~~ helper_functions.c: In function ‘cpufreq_info’: helper_functions.c:550:5: warning: ignoring return value of ‘fgets’, declared with attribute warn_unused_result [-Wunused-result] 550 | fgets (tmp_str, 30, tmp_file); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ helper_functions.c: In function ‘print_socket_information’: helper_functions.c:674:38: warning: ‘,’ directive writing 1 byte into a region of size between 0 and 199 [-Wformat-overflow=] 674 | sprintf(socket_list,"%s%d,",socket_list,socket->processor_num[i]); | ^ In file included from /usr/include/stdio.h:867, from helper_functions.c:25: /usr/include/x86_64-linux-gnu/bits/stdio2.h:36:10: note: ‘__builtin___sprintf_chk’ output between 3 and 212 bytes into a destination of size 200 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc -g -O2 -fdebug-prefix-map=/build/i7z-q0ND7C/i7z-0.27.2+git2013.10.12-g5023138=. -fstack-protector-strong -Wformat -Werror=format-security -fno-schedule-insns2 -fno-schedule-insns -fno-inline-small-functions -fno-caller-saves -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DBUILD_MAIN -Wimplicit-function-declaration -Dx64_BIT -Wl,-z,relro -Wl,-z,now -o i7z i7z.o helper_functions.o i7z_Single_Socket.o i7z_Dual_Socket.o -lncurses -lpthread -lrt -lm Succeeded, now run sudo ./i7z make[1]: Leaving directory '/build/i7z-q0ND7C/i7z-0.27.2+git2013.10.12-g5023138' 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/i7z-q0ND7C/i7z-0.27.2\+git2013.10.12-g5023138/debian/i7z AM_UPDATE_INFO_DIR=no "INSTALL=install --strip-program=true" make[1]: Entering directory '/build/i7z-q0ND7C/i7z-0.27.2+git2013.10.12-g5023138' install -D -m 0644 doc/i7z.man /build/i7z-q0ND7C/i7z-0.27.2+git2013.10.12-g5023138/debian/i7z/usr/share/man/man8/i7z.8 install -D -m 755 i7z /build/i7z-q0ND7C/i7z-0.27.2+git2013.10.12-g5023138/debian/i7z/usr/sbin/i7z install -d /build/i7z-q0ND7C/i7z-0.27.2+git2013.10.12-g5023138/debian/i7z/usr/share/doc/i7z/ install -m 0644 README.txt put_cores_offline.sh put_cores_online.sh MAKEDEV-cpuid-msr /build/i7z-q0ND7C/i7z-0.27.2+git2013.10.12-g5023138/debian/i7z/usr/share/doc/i7z/ install -m 0755 i7z_rw_registers.rb /build/i7z-q0ND7C/i7z-0.27.2+git2013.10.12-g5023138/debian/i7z/usr/sbin//i7z_rw_registers make[1]: Leaving directory '/build/i7z-q0ND7C/i7z-0.27.2+git2013.10.12-g5023138' 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 'i7z' in '../i7z_0.27.2+git2013.10.12-g5023138-7_amd64.deb'. dpkg-deb: building package 'i7z-dbgsym' in '../i7z-dbgsym_0.27.2+git2013.10.12-g5023138-7_amd64.deb'. dpkg-genbuildinfo --build=any dpkg-genchanges --build=any >../i7z_0.27.2+git2013.10.12-g5023138-7_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/i7z-q0ND7C /tmp/i7z-0.27.2+git2013.10.12-g5023138-7af8e66f2 I: cleaning package lists and apt cache... I: creating tarball... I: done I: removing tempdir /tmp/mmdebstrap.UNwU2a0tQp... I: success in 328.8151 seconds md5: i7z-dbgsym_0.27.2+git2013.10.12-g5023138-7_amd64.deb: OK md5: i7z_0.27.2+git2013.10.12-g5023138-7_amd64.deb: OK sha1: i7z-dbgsym_0.27.2+git2013.10.12-g5023138-7_amd64.deb: OK sha1: i7z_0.27.2+git2013.10.12-g5023138-7_amd64.deb: OK sha256: i7z-dbgsym_0.27.2+git2013.10.12-g5023138-7_amd64.deb: OK sha256: i7z_0.27.2+git2013.10.12-g5023138-7_amd64.deb: OK Checksums: OK