Diff of the two buildlogs: -- --- b1/build.log 2021-08-24 02:14:46.650986619 +0000 +++ b2/build.log 2021-08-24 02:15:34.085213195 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Mon Aug 23 14:13:40 -12 2021 -I: pbuilder-time-stamp: 1629771220 +I: Current time: Mon Sep 26 22:37:48 +14 2022 +I: pbuilder-time-stamp: 1664181468 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/bullseye-reproducible-base.tgz] I: copying local configuration @@ -16,8 +16,8 @@ I: copying [./acpitool_0.5.1-6.debian.tar.xz] I: Extracting source gpgv: unknown type of key resource 'trustedkeys.kbx' -gpgv: keyblock resource '/tmp/dpkg-verify-sig.y2EvQjQN/trustedkeys.kbx': General error -gpgv: Signature made Wed Apr 8 12:09:44 2020 -12 +gpgv: keyblock resource '/tmp/dpkg-verify-sig.ZMDuSvxa/trustedkeys.kbx': General error +gpgv: Signature made Thu Apr 9 14:09:44 2020 +14 gpgv: using RSA key 9236557B170C87F8821C0AC3C1E0D92E986F7C7E gpgv: Can't check signature: No public key dpkg-source: warning: failed to verify signature on ./acpitool_0.5.1-6.dsc @@ -34,135 +34,169 @@ dpkg-source: info: applying fix-typos-in-source.patch I: Not using root during the build. I: Installing the build-deps -I: user script /srv/workspace/pbuilder/5913/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/16030/tmp/hooks/D01_modify_environment starting +debug: Running on codethink11-arm64. +I: Changing host+domainname to test build reproducibility +I: Adding a custom variable just for the fun of it... +I: Changing /bin/sh to bash +Removing 'diversion of /bin/sh to /bin/sh.distrib by dash' +Adding 'diversion of /bin/sh to /bin/sh.distrib by bash' +Removing 'diversion of /usr/share/man/man1/sh.1.gz to /usr/share/man/man1/sh.distrib.1.gz by dash' +Adding 'diversion of /usr/share/man/man1/sh.1.gz to /usr/share/man/man1/sh.distrib.1.gz by bash' +I: Setting pbuilder2's login shell to /bin/bash +I: Setting pbuilder2's GECOS to second user,second room,second work-phone,second home-phone,second other +I: user script /srv/workspace/pbuilder/16030/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/16030/tmp/hooks/D02_print_environment starting I: set - BUILDDIR='/build' - BUILDUSERGECOS='first user,first room,first work-phone,first home-phone,first other' - BUILDUSERNAME='pbuilder1' - BUILD_ARCH='arm64' - DEBIAN_FRONTEND='noninteractive' + BASH=/bin/sh + BASHOPTS=checkwinsize:cmdhist:complete_fullquote:extquote:force_fignore:globasciiranges:hostcomplete:interactive_comments:progcomp:promptvars:sourcepath + BASH_ALIASES=() + BASH_ARGC=() + BASH_ARGV=() + BASH_CMDS=() + BASH_LINENO=([0]="12" [1]="0") + BASH_SOURCE=([0]="/tmp/hooks/D02_print_environment" [1]="/tmp/hooks/D02_print_environment") + BASH_VERSINFO=([0]="5" [1]="1" [2]="4" [3]="1" [4]="release" [5]="aarch64-unknown-linux-gnu") + BASH_VERSION='5.1.4(1)-release' + BUILDDIR=/build + BUILDUSERGECOS='second user,second room,second work-phone,second home-phone,second other' + BUILDUSERNAME=pbuilder2 + BUILD_ARCH=arm64 + DEBIAN_FRONTEND=noninteractive DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all,-fixfilepath parallel=8' - DISTRIBUTION='' - HOME='/var/lib/jenkins' - HOST_ARCH='arm64' + DIRSTACK=() + DISTRIBUTION= + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/var/lib/jenkins + HOSTNAME=i-capture-the-hostname + HOSTTYPE=aarch64 + HOST_ARCH=arm64 IFS=' ' - LANG='C' - LANGUAGE='en_US:en' - LC_ALL='C' - MAIL='/var/mail/root' - OPTIND='1' - PATH='/usr/sbin:/usr/bin:/sbin:/bin:/usr/games' - PBCURRENTCOMMANDLINEOPERATION='build' - PBUILDER_OPERATION='build' - PBUILDER_PKGDATADIR='/usr/share/pbuilder' - PBUILDER_PKGLIBDIR='/usr/lib/pbuilder' - PBUILDER_SYSCONFDIR='/etc' - PPID='5913' - PS1='# ' - PS2='> ' + LANG=C + LANGUAGE=nl_BE:nl + LC_ALL=C + MACHTYPE=aarch64-unknown-linux-gnu + MAIL=/var/mail/root + OPTERR=1 + OPTIND=1 + OSTYPE=linux-gnu + PATH=/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path + PBCURRENTCOMMANDLINEOPERATION=build + PBUILDER_OPERATION=build + PBUILDER_PKGDATADIR=/usr/share/pbuilder + PBUILDER_PKGLIBDIR=/usr/lib/pbuilder + PBUILDER_SYSCONFDIR=/etc + PIPESTATUS=([0]="0") + POSIXLY_CORRECT=y + PPID=16030 PS4='+ ' - PWD='/' - SHELL='/bin/bash' - SHLVL='2' - SUDO_COMMAND='/usr/bin/timeout -k 18.1h 18h /usr/bin/ionice -c 3 /usr/bin/nice /usr/sbin/pbuilder --build --configfile /srv/reproducible-results/rbuild-debian/tmp.HJzgKgoBYK/pbuilderrc_FFsT --hookdir /etc/pbuilder/first-build-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/bullseye-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/tmp.HJzgKgoBYK/b1 --logfile b1/build.log acpitool_0.5.1-6.dsc' - SUDO_GID='117' - SUDO_UID='110' - SUDO_USER='jenkins' - TERM='unknown' - TZ='/usr/share/zoneinfo/Etc/GMT+12' - USER='root' - USERNAME='root' - _='/usr/bin/systemd-run' - http_proxy='http://192.168.101.16:3128' + PWD=/ + SHELL=/bin/bash + SHELLOPTS=braceexpand:errexit:hashall:interactive-comments:posix + SHLVL=3 + SUDO_COMMAND='/usr/bin/timeout -k 24.1h 24h /usr/bin/ionice -c 3 /usr/bin/nice -n 11 /usr/bin/unshare --uts -- /usr/sbin/pbuilder --build --configfile /srv/reproducible-results/rbuild-debian/tmp.HJzgKgoBYK/pbuilderrc_Zp3H --hookdir /etc/pbuilder/rebuild-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/bullseye-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/tmp.HJzgKgoBYK/b2 --logfile b2/build.log acpitool_0.5.1-6.dsc' + SUDO_GID=117 + SUDO_UID=110 + SUDO_USER=jenkins + TERM=unknown + TZ=/usr/share/zoneinfo/Etc/GMT-14 + UID=0 + USER=root + USERNAME=root + _='I: set' + http_proxy=http://192.168.101.16:3128 I: uname -a - Linux codethink14-arm64 4.15.0-154-generic #161-Ubuntu SMP Fri Jul 30 13:01:15 UTC 2021 aarch64 GNU/Linux + Linux i-capture-the-hostname 4.15.0-154-generic #161-Ubuntu SMP Fri Jul 30 13:01:15 UTC 2021 aarch64 GNU/Linux I: ls -l /bin total 5252 - -rwxr-xr-x 1 root root 1282512 Aug 4 08:25 bash - -rwxr-xr-x 3 root root 34808 Jul 20 2020 bunzip2 - -rwxr-xr-x 3 root root 34808 Jul 20 2020 bzcat - lrwxrwxrwx 1 root root 6 Jul 20 2020 bzcmp -> bzdiff - -rwxr-xr-x 1 root root 2225 Jul 20 2020 bzdiff - lrwxrwxrwx 1 root root 6 Jul 20 2020 bzegrep -> bzgrep - -rwxr-xr-x 1 root root 4877 Sep 4 2019 bzexe - lrwxrwxrwx 1 root root 6 Jul 20 2020 bzfgrep -> bzgrep - -rwxr-xr-x 1 root root 3775 Jul 20 2020 bzgrep - -rwxr-xr-x 3 root root 34808 Jul 20 2020 bzip2 - -rwxr-xr-x 1 root root 14264 Jul 20 2020 bzip2recover - lrwxrwxrwx 1 root root 6 Jul 20 2020 bzless -> bzmore - -rwxr-xr-x 1 root root 1297 Jul 20 2020 bzmore - -rwxr-xr-x 1 root root 39832 Sep 22 2020 cat - -rwxr-xr-x 1 root root 64512 Sep 22 2020 chgrp - -rwxr-xr-x 1 root root 60368 Sep 22 2020 chmod - -rwxr-xr-x 1 root root 64528 Sep 22 2020 chown - -rwxr-xr-x 1 root root 138896 Sep 22 2020 cp - -rwxr-xr-x 1 root root 129544 Dec 10 2020 dash - -rwxr-xr-x 1 root root 101384 Sep 22 2020 date - -rwxr-xr-x 1 root root 80984 Sep 22 2020 dd - -rwxr-xr-x 1 root root 89824 Sep 22 2020 df - -rwxr-xr-x 1 root root 143088 Sep 22 2020 dir - -rwxr-xr-x 1 root root 76152 Jul 28 07:09 dmesg - lrwxrwxrwx 1 root root 8 Nov 6 2019 dnsdomainname -> hostname - lrwxrwxrwx 1 root root 8 Nov 6 2019 domainname -> hostname - -rwxr-xr-x 1 root root 35632 Sep 22 2020 echo - -rwxr-xr-x 1 root root 28 Nov 9 2020 egrep - -rwxr-xr-x 1 root root 31512 Sep 22 2020 false - -rwxr-xr-x 1 root root 28 Nov 9 2020 fgrep - -rwxr-xr-x 1 root root 64856 Jul 28 07:09 findmnt - -rwsr-xr-x 1 root root 34824 Feb 26 04:12 fusermount - -rwxr-xr-x 1 root root 178400 Nov 9 2020 grep - -rwxr-xr-x 2 root root 2346 Mar 2 11:30 gunzip - -rwxr-xr-x 1 root root 6376 Mar 2 11:30 gzexe - -rwxr-xr-x 1 root root 93744 Mar 2 11:30 gzip - -rwxr-xr-x 1 root root 18440 Nov 6 2019 hostname - -rwxr-xr-x 1 root root 68720 Sep 22 2020 ln - -rwxr-xr-x 1 root root 52720 Feb 7 2020 login - -rwxr-xr-x 1 root root 143088 Sep 22 2020 ls - -rwxr-xr-x 1 root root 161960 Jul 28 07:09 lsblk - -rwxr-xr-x 1 root root 85200 Sep 22 2020 mkdir - -rwxr-xr-x 1 root root 68744 Sep 22 2020 mknod - -rwxr-xr-x 1 root root 43976 Sep 22 2020 mktemp - -rwxr-xr-x 1 root root 51368 Jul 28 07:09 more - -rwsr-xr-x 1 root root 51360 Jul 28 07:09 mount - -rwxr-xr-x 1 root root 14496 Jul 28 07:09 mountpoint - -rwxr-xr-x 1 root root 134808 Sep 22 2020 mv - lrwxrwxrwx 1 root root 8 Nov 6 2019 nisdomainname -> hostname - lrwxrwxrwx 1 root root 14 Apr 18 03:38 pidof -> /sbin/killall5 - -rwxr-xr-x 1 root root 35720 Sep 22 2020 pwd - lrwxrwxrwx 1 root root 4 Aug 4 08:25 rbash -> bash - -rwxr-xr-x 1 root root 43872 Sep 22 2020 readlink - -rwxr-xr-x 1 root root 68592 Sep 22 2020 rm - -rwxr-xr-x 1 root root 43880 Sep 22 2020 rmdir - -rwxr-xr-x 1 root root 19208 Sep 27 2020 run-parts - -rwxr-xr-x 1 root root 114016 Dec 22 2018 sed - lrwxrwxrwx 1 root root 4 Aug 20 21:24 sh -> dash - -rwxr-xr-x 1 root root 35656 Sep 22 2020 sleep - -rwxr-xr-x 1 root root 72640 Sep 22 2020 stty - -rwsr-xr-x 1 root root 67776 Jul 28 07:09 su - -rwxr-xr-x 1 root root 35672 Sep 22 2020 sync - -rwxr-xr-x 1 root root 535768 Feb 16 2021 tar - -rwxr-xr-x 1 root root 10568 Sep 27 2020 tempfile - -rwxr-xr-x 1 root root 89120 Sep 22 2020 touch - -rwxr-xr-x 1 root root 31512 Sep 22 2020 true - -rwxr-xr-x 1 root root 14264 Feb 26 04:12 ulockmgr_server - -rwsr-xr-x 1 root root 30880 Jul 28 07:09 umount - -rwxr-xr-x 1 root root 35640 Sep 22 2020 uname - -rwxr-xr-x 2 root root 2346 Mar 2 11:30 uncompress - -rwxr-xr-x 1 root root 143088 Sep 22 2020 vdir - -rwxr-xr-x 1 root root 59584 Jul 28 07:09 wdctl - lrwxrwxrwx 1 root root 8 Nov 6 2019 ypdomainname -> hostname - -rwxr-xr-x 1 root root 1984 Mar 2 11:30 zcat - -rwxr-xr-x 1 root root 1678 Mar 2 11:30 zcmp - -rwxr-xr-x 1 root root 5880 Mar 2 11:30 zdiff - -rwxr-xr-x 1 root root 29 Mar 2 11:30 zegrep - -rwxr-xr-x 1 root root 29 Mar 2 11:30 zfgrep - -rwxr-xr-x 1 root root 2081 Mar 2 11:30 zforce - -rwxr-xr-x 1 root root 7585 Mar 2 11:30 zgrep - -rwxr-xr-x 1 root root 2206 Mar 2 11:30 zless - -rwxr-xr-x 1 root root 1842 Mar 2 11:30 zmore - -rwxr-xr-x 1 root root 4553 Mar 2 11:30 znew -I: user script /srv/workspace/pbuilder/5913/tmp/hooks/D02_print_environment finished + -rwxr-xr-x 1 root root 1282512 Aug 5 2021 bash + -rwxr-xr-x 3 root root 34808 Jul 21 2020 bunzip2 + -rwxr-xr-x 3 root root 34808 Jul 21 2020 bzcat + lrwxrwxrwx 1 root root 6 Jul 21 2020 bzcmp -> bzdiff + -rwxr-xr-x 1 root root 2225 Jul 21 2020 bzdiff + lrwxrwxrwx 1 root root 6 Jul 21 2020 bzegrep -> bzgrep + -rwxr-xr-x 1 root root 4877 Sep 5 2019 bzexe + lrwxrwxrwx 1 root root 6 Jul 21 2020 bzfgrep -> bzgrep + -rwxr-xr-x 1 root root 3775 Jul 21 2020 bzgrep + -rwxr-xr-x 3 root root 34808 Jul 21 2020 bzip2 + -rwxr-xr-x 1 root root 14264 Jul 21 2020 bzip2recover + lrwxrwxrwx 1 root root 6 Jul 21 2020 bzless -> bzmore + -rwxr-xr-x 1 root root 1297 Jul 21 2020 bzmore + -rwxr-xr-x 1 root root 39832 Sep 23 2020 cat + -rwxr-xr-x 1 root root 64512 Sep 23 2020 chgrp + -rwxr-xr-x 1 root root 60368 Sep 23 2020 chmod + -rwxr-xr-x 1 root root 64528 Sep 23 2020 chown + -rwxr-xr-x 1 root root 138896 Sep 23 2020 cp + -rwxr-xr-x 1 root root 129544 Dec 11 2020 dash + -rwxr-xr-x 1 root root 101384 Sep 23 2020 date + -rwxr-xr-x 1 root root 80984 Sep 23 2020 dd + -rwxr-xr-x 1 root root 89824 Sep 23 2020 df + -rwxr-xr-x 1 root root 143088 Sep 23 2020 dir + -rwxr-xr-x 1 root root 76152 Jul 29 2021 dmesg + lrwxrwxrwx 1 root root 8 Nov 8 2019 dnsdomainname -> hostname + lrwxrwxrwx 1 root root 8 Nov 8 2019 domainname -> hostname + -rwxr-xr-x 1 root root 35632 Sep 23 2020 echo + -rwxr-xr-x 1 root root 28 Nov 10 2020 egrep + -rwxr-xr-x 1 root root 31512 Sep 23 2020 false + -rwxr-xr-x 1 root root 28 Nov 10 2020 fgrep + -rwxr-xr-x 1 root root 64856 Jul 29 2021 findmnt + -rwsr-xr-x 1 root root 34824 Feb 27 2021 fusermount + -rwxr-xr-x 1 root root 178400 Nov 10 2020 grep + -rwxr-xr-x 2 root root 2346 Mar 3 2021 gunzip + -rwxr-xr-x 1 root root 6376 Mar 3 2021 gzexe + -rwxr-xr-x 1 root root 93744 Mar 3 2021 gzip + -rwxr-xr-x 1 root root 18440 Nov 8 2019 hostname + -rwxr-xr-x 1 root root 68720 Sep 23 2020 ln + -rwxr-xr-x 1 root root 52720 Feb 8 2020 login + -rwxr-xr-x 1 root root 143088 Sep 23 2020 ls + -rwxr-xr-x 1 root root 161960 Jul 29 2021 lsblk + -rwxr-xr-x 1 root root 85200 Sep 23 2020 mkdir + -rwxr-xr-x 1 root root 68744 Sep 23 2020 mknod + -rwxr-xr-x 1 root root 43976 Sep 23 2020 mktemp + -rwxr-xr-x 1 root root 51368 Jul 29 2021 more + -rwsr-xr-x 1 root root 51360 Jul 29 2021 mount + -rwxr-xr-x 1 root root 14496 Jul 29 2021 mountpoint + -rwxr-xr-x 1 root root 134808 Sep 23 2020 mv + lrwxrwxrwx 1 root root 8 Nov 8 2019 nisdomainname -> hostname + lrwxrwxrwx 1 root root 14 Apr 19 2021 pidof -> /sbin/killall5 + -rwxr-xr-x 1 root root 35720 Sep 23 2020 pwd + lrwxrwxrwx 1 root root 4 Aug 5 2021 rbash -> bash + -rwxr-xr-x 1 root root 43872 Sep 23 2020 readlink + -rwxr-xr-x 1 root root 68592 Sep 23 2020 rm + -rwxr-xr-x 1 root root 43880 Sep 23 2020 rmdir + -rwxr-xr-x 1 root root 19208 Sep 28 2020 run-parts + -rwxr-xr-x 1 root root 114016 Dec 23 2018 sed + lrwxrwxrwx 1 root root 4 Sep 26 22:37 sh -> bash + lrwxrwxrwx 1 root root 4 Sep 24 05:47 sh.distrib -> dash + -rwxr-xr-x 1 root root 35656 Sep 23 2020 sleep + -rwxr-xr-x 1 root root 72640 Sep 23 2020 stty + -rwsr-xr-x 1 root root 67776 Jul 29 2021 su + -rwxr-xr-x 1 root root 35672 Sep 23 2020 sync + -rwxr-xr-x 1 root root 535768 Feb 17 2021 tar + -rwxr-xr-x 1 root root 10568 Sep 28 2020 tempfile + -rwxr-xr-x 1 root root 89120 Sep 23 2020 touch + -rwxr-xr-x 1 root root 31512 Sep 23 2020 true + -rwxr-xr-x 1 root root 14264 Feb 27 2021 ulockmgr_server + -rwsr-xr-x 1 root root 30880 Jul 29 2021 umount + -rwxr-xr-x 1 root root 35640 Sep 23 2020 uname + -rwxr-xr-x 2 root root 2346 Mar 3 2021 uncompress + -rwxr-xr-x 1 root root 143088 Sep 23 2020 vdir + -rwxr-xr-x 1 root root 59584 Jul 29 2021 wdctl + lrwxrwxrwx 1 root root 8 Nov 8 2019 ypdomainname -> hostname + -rwxr-xr-x 1 root root 1984 Mar 3 2021 zcat + -rwxr-xr-x 1 root root 1678 Mar 3 2021 zcmp + -rwxr-xr-x 1 root root 5880 Mar 3 2021 zdiff + -rwxr-xr-x 1 root root 29 Mar 3 2021 zegrep + -rwxr-xr-x 1 root root 29 Mar 3 2021 zfgrep + -rwxr-xr-x 1 root root 2081 Mar 3 2021 zforce + -rwxr-xr-x 1 root root 7585 Mar 3 2021 zgrep + -rwxr-xr-x 1 root root 2206 Mar 3 2021 zless + -rwxr-xr-x 1 root root 1842 Mar 3 2021 zmore + -rwxr-xr-x 1 root root 4553 Mar 3 2021 znew +I: user script /srv/workspace/pbuilder/16030/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -234,7 +268,7 @@ Get: 32 http://deb.debian.org/debian bullseye/main arm64 diffstat arm64 1.64-1 [34.6 kB] Get: 33 http://deb.debian.org/debian bullseye/main arm64 ed arm64 1.17-1 [58.7 kB] Get: 34 http://deb.debian.org/debian bullseye/main arm64 quilt all 0.66-2.1 [319 kB] -Fetched 18.3 MB in 0s (42.5 MB/s) +Fetched 18.3 MB in 0s (52.1 MB/s) debconf: delaying package configuration, since apt-utils is not installed Selecting previously unselected package bsdextrautils. (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 ... 19646 files and directories currently installed.) @@ -386,7 +420,8 @@ Building tag database... -> Finished parsing the build-deps I: Building the package -I: Running cd /build/acpitool-0.5.1/ && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games" HOME="/nonexistent/first-build" dpkg-buildpackage -us -uc -b && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games" HOME="/nonexistent/first-build" dpkg-genchanges -S > ../acpitool_0.5.1-6_source.changes +hostname: Temporary failure in name resolution +I: Running cd /build/acpitool-0.5.1/ && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path" HOME="/nonexistent/second-build" dpkg-buildpackage -us -uc -b && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path" HOME="/nonexistent/second-build" dpkg-genchanges -S > ../acpitool_0.5.1-6_source.changes dpkg-buildpackage: info: source package acpitool dpkg-buildpackage: info: source version 0.5.1-6 dpkg-buildpackage: info: source distribution unstable @@ -501,14 +536,14 @@ asus.cpp:87:16: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 87 | filename = "/proc/acpi/asus/brn"; | ^~~~~~~~~~~~~~~~~~~~~ -cpu.cpp: In function 'int Show_CPU_Info()': -cpu.cpp:107:12: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 107 | dirname = "/proc/acpi/processor/"; //find all entries in this dir // - | ^~~~~~~~~~~~~~~~~~~~~~~ asus.cpp: In function 'int Set_Asus_LCD_Level(int)': asus.cpp:121:16: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 121 | filename = "/proc/acpi/asus/brn"; | ^~~~~~~~~~~~~~~~~~~~~ +cpu.cpp: In function 'int Show_CPU_Info()': +cpu.cpp:107:12: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 107 | dirname = "/proc/acpi/processor/"; //find all entries in this dir // + | ^~~~~~~~~~~~~~~~~~~~~~~ asus.cpp: In function 'int Do_Asus_Video_Info()': asus.cpp:149:16: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 149 | filename = "/proc/acpi/asus/disp"; @@ -517,30 +552,6 @@ asus.cpp:204:16: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 204 | filename = "/proc/acpi/asus/info"; | ^~~~~~~~~~~~~~~~~~~~~~ -ac_adapter.cpp: In function 'int Do_AC_Info(int)': -ac_adapter.cpp:62:15: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 62 | dirname = "/proc/acpi/ac_adapter/"; - | ^~~~~~~~~~~~~~~~~~~~~~~~ -ac_adapter.cpp: In function 'int Do_AC_Info_Proc(int)': -ac_adapter.cpp:99:15: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 99 | dirname = "/proc/acpi/ac_adapter/"; - | ^~~~~~~~~~~~~~~~~~~~~~~~ -ac_adapter.cpp: In function 'int Do_AC_Info_Sys()': -ac_adapter.cpp:157:15: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 157 | dirname = "/sys/class/power_supply/"; //find all entries in this dir - | ^~~~~~~~~~~~~~~~~~~~~~~~~~ -ac_adapter.cpp:225:31: warning: format '%[^ - ' expects a matching 'char*' argument [-Wformat=] - 225 | sscanf(str, "%[^=]s %*s %[^\n]", attr); - | ~~~^~ - | | - | char* -ac_adapter.cpp:226:38: warning: format '%[^ - ' expects a matching 'char*' argument [-Wformat=] - 226 | sscanf(str, "%*[^=] %*c %s %[^\n]",temp); - | ~~~^~ - | | - | char* asus.cpp: In function 'int Set_Asus_LCD_State(int)': asus.cpp:268:16: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 268 | filename = "/proc/acpi/asus/lcd"; @@ -553,6 +564,14 @@ asus.cpp:318:16: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 318 | filename = "/proc/acpi/asus/wled"; | ^~~~~~~~~~~~~~~~~~~~~~ +toshiba.cpp: In function 'int Has_Toshiba_ACPI()': +toshiba.cpp:50:16: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 50 | filename = "/proc/acpi/toshiba"; + | ^~~~~~~~~~~~~~~~~~~~ +toshiba.cpp: In function 'int Do_Toshiba_Fan_Info()': +toshiba.cpp:87:16: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 87 | filename = "/proc/acpi/toshiba/fan"; + | ^~~~~~~~~~~~~~~~~~~~~~~~ acpitool.cpp: In function 'int Has_ACPI(char*)': acpitool.cpp:69:16: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 69 | filename = "/proc/acpi/info"; @@ -560,10 +579,10 @@ acpitool.cpp:70:17: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 70 | filename2 = "/sys/module/acpi/parameters/acpica_version"; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -battery.cpp: In function 'int Get_Battery_Info_from_Proc(int, Battery_Info*, int)': -battery.cpp:360:15: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 360 | dirname = "/proc/acpi/battery/"; //find all entries in this dir - | ^~~~~~~~~~~~~~~~~~~~~ +toshiba.cpp: In function 'int Do_LCD_Info()': +toshiba.cpp:137:16: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 137 | filename = "/proc/acpi/toshiba/lcd"; + | ^~~~~~~~~~~~~~~~~~~~~~~~ acpitool.cpp: In function 'int Get_Kernel_Version(char*, int)': acpitool.cpp:142:16: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 142 | filename = "/proc/sys/kernel/osrelease"; @@ -572,96 +591,10 @@ acpitool.cpp:190:16: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 190 | filename = "/proc/sys/kernel/osrelease"; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ -battery.cpp: In function 'int Get_Battery_Info_from_Sys(int, Battery_Info*, int)': -battery.cpp:543:15: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 543 | dirname = "/sys/class/power_supply/"; //find all entries in this dir - | ^~~~~~~~~~~~~~~~~~~~~~~~~~ -toshiba.cpp: In function 'int Has_Toshiba_ACPI()': -toshiba.cpp:50:16: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 50 | filename = "/proc/acpi/toshiba"; - | ^~~~~~~~~~~~~~~~~~~~ -toshiba.cpp: In function 'int Do_Toshiba_Fan_Info()': -toshiba.cpp:87:16: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 87 | filename = "/proc/acpi/toshiba/fan"; - | ^~~~~~~~~~~~~~~~~~~~~~~~ -battery.cpp: In function 'int Count_Batteries_ProcFS()': -battery.cpp:749:15: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 749 | dirname = "/proc/acpi/battery/"; - | ^~~~~~~~~~~~~~~~~~~~~ -acpitool.cpp: In function 'int Do_Thermal_Info(int, int)': -acpitool.cpp:231:15: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 231 | dirname = "/proc/acpi/thermal_zone/"; - | ^~~~~~~~~~~~~~~~~~~~~~~~~~ -battery.cpp: In function 'int Count_Batteries_SysFS()': -battery.cpp:798:15: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 798 | dirname = "/sys/class/power_supply/"; - | ^~~~~~~~~~~~~~~~~~~~~~~~~~ -toshiba.cpp: In function 'int Do_LCD_Info()': -toshiba.cpp:137:16: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 137 | filename = "/proc/acpi/toshiba/lcd"; - | ^~~~~~~~~~~~~~~~~~~~~~~~ -thinkpad.cpp: In function 'int Has_Thinkpad_ACPI()': -thinkpad.cpp:17:13: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 17 | filename = "/proc/acpi/ibm"; - | ^~~~~~~~~~~~~~~~ -thinkpad.cpp: In function 'int Eject_Thinkpad_Bay()': -thinkpad.cpp:38:13: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 38 | filename = "/proc/acpi/ibm/bay"; - | ^~~~~~~~~~~~~~~~~~~~ toshiba.cpp: In function 'int Force_Fan(int)': toshiba.cpp:171:16: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 171 | filename = "/proc/acpi/toshiba/fan"; | ^~~~~~~~~~~~~~~~~~~~~~~~ -thinkpad.cpp: In function 'int Set_Thinkpad_LCD_Level(int)': -thinkpad.cpp:59:13: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 59 | filename = "/proc/acpi/ibm/brightness"; - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ -thinkpad.cpp: In function 'int Do_Thinkpad_Fan_Info()': -thinkpad.cpp:85:13: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 85 | filename = "/proc/acpi/ibm/fan"; - | ^~~~~~~~~~~~~~~~~~~~ -acpitool.cpp: In function 'int Do_Fan_Info(int)': -acpitool.cpp:365:12: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 365 | dirname = "/proc/acpi/fan/"; - | ^~~~~~~~~~~~~~~~~ -toshiba.cpp: In function 'int Set_LCD_Level(int)': -toshiba.cpp:205:16: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 205 | filename = "/proc/acpi/toshiba/lcd"; - | ^~~~~~~~~~~~~~~~~~~~~~~~ -acpitool.cpp: In function 'int Show_WakeUp_Devices(int)': -acpitool.cpp:422:16: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 422 | filename = "/proc/acpi/wakeup"; - | ^~~~~~~~~~~~~~~~~~~ -toshiba.cpp: In function 'int Do_Video_Info()': -toshiba.cpp:236:16: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 236 | filename = "/proc/acpi/toshiba/video"; - | ^~~~~~~~~~~~~~~~~~~~~~~~~~ -acpitool.cpp: In function 'int Toggle_WakeUp_Device(int, int)': -acpitool.cpp:467:16: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 467 | filename = "/proc/acpi/wakeup"; - | ^~~~~~~~~~~~~~~~~~~ -acpitool.cpp: In function 'int Do_Suspend(int)': -acpitool.cpp:534:16: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 534 | filename = "/proc/acpi/sleep"; // nice default values // - | ^~~~~~~~~~~~~~~~~~ -acpitool.cpp:535:11: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 535 | str = "3"; - | ^~~ -acpitool.cpp:541:18: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 541 | filename = "/sys/power/state"; - | ^~~~~~~~~~~~~~~~~~ -acpitool.cpp:542:13: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 542 | str = "mem"; - | ^~~~~ -acpitool.cpp:545:31: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 545 | case 4 : if(Kernel_24) str = "4"; - | ^~~ -acpitool.cpp:548:18: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 548 | filename = "/sys/power/state"; - | ^~~~~~~~~~~~~~~~~~ -acpitool.cpp:549:13: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 549 | str = "disk"; - | ^~~~~~ cpu.cpp:64:31: warning: ignoring return value of 'char* fgets(char*, int, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 64 | for(int t=0; t<4; t++) fgets(str, 299, cpuinfo_fp); // skip 4 lines // | ~~~~~^~~~~~~~~~~~~~~~~~~~~~ @@ -704,6 +637,109 @@ cpu.cpp:289:14: warning: ignoring return value of 'char* fgets(char*, int, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 289 | fgets(str, 100, throt_fp); | ~~~~~^~~~~~~~~~~~~~~~~~~~ +toshiba.cpp: In function 'int Set_LCD_Level(int)': +toshiba.cpp:205:16: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 205 | filename = "/proc/acpi/toshiba/lcd"; + | ^~~~~~~~~~~~~~~~~~~~~~~~ +acpitool.cpp: In function 'int Do_Thermal_Info(int, int)': +acpitool.cpp:231:15: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 231 | dirname = "/proc/acpi/thermal_zone/"; + | ^~~~~~~~~~~~~~~~~~~~~~~~~~ +toshiba.cpp: In function 'int Do_Video_Info()': +toshiba.cpp:236:16: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 236 | filename = "/proc/acpi/toshiba/video"; + | ^~~~~~~~~~~~~~~~~~~~~~~~~~ +battery.cpp: In function 'int Get_Battery_Info_from_Proc(int, Battery_Info*, int)': +battery.cpp:360:15: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 360 | dirname = "/proc/acpi/battery/"; //find all entries in this dir + | ^~~~~~~~~~~~~~~~~~~~~ +acpitool.cpp: In function 'int Do_Fan_Info(int)': +acpitool.cpp:365:12: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 365 | dirname = "/proc/acpi/fan/"; + | ^~~~~~~~~~~~~~~~~ +acpitool.cpp: In function 'int Show_WakeUp_Devices(int)': +acpitool.cpp:422:16: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 422 | filename = "/proc/acpi/wakeup"; + | ^~~~~~~~~~~~~~~~~~~ +battery.cpp: In function 'int Get_Battery_Info_from_Sys(int, Battery_Info*, int)': +battery.cpp:543:15: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 543 | dirname = "/sys/class/power_supply/"; //find all entries in this dir + | ^~~~~~~~~~~~~~~~~~~~~~~~~~ +acpitool.cpp: In function 'int Toggle_WakeUp_Device(int, int)': +acpitool.cpp:467:16: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 467 | filename = "/proc/acpi/wakeup"; + | ^~~~~~~~~~~~~~~~~~~ +battery.cpp: In function 'int Count_Batteries_ProcFS()': +battery.cpp:749:15: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 749 | dirname = "/proc/acpi/battery/"; + | ^~~~~~~~~~~~~~~~~~~~~ +acpitool.cpp: In function 'int Do_Suspend(int)': +acpitool.cpp:534:16: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 534 | filename = "/proc/acpi/sleep"; // nice default values // + | ^~~~~~~~~~~~~~~~~~ +acpitool.cpp:535:11: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 535 | str = "3"; + | ^~~ +battery.cpp: In function 'int Count_Batteries_SysFS()': +battery.cpp:798:15: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 798 | dirname = "/sys/class/power_supply/"; + | ^~~~~~~~~~~~~~~~~~~~~~~~~~ +acpitool.cpp:541:18: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 541 | filename = "/sys/power/state"; + | ^~~~~~~~~~~~~~~~~~ +acpitool.cpp:542:13: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 542 | str = "mem"; + | ^~~~~ +acpitool.cpp:545:31: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 545 | case 4 : if(Kernel_24) str = "4"; + | ^~~ +acpitool.cpp:548:18: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 548 | filename = "/sys/power/state"; + | ^~~~~~~~~~~~~~~~~~ +acpitool.cpp:549:13: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 549 | str = "disk"; + | ^~~~~~ +ac_adapter.cpp: In function 'int Do_AC_Info(int)': +ac_adapter.cpp:62:15: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 62 | dirname = "/proc/acpi/ac_adapter/"; + | ^~~~~~~~~~~~~~~~~~~~~~~~ +ac_adapter.cpp: In function 'int Do_AC_Info_Proc(int)': +ac_adapter.cpp:99:15: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 99 | dirname = "/proc/acpi/ac_adapter/"; + | ^~~~~~~~~~~~~~~~~~~~~~~~ +ac_adapter.cpp: In function 'int Do_AC_Info_Sys()': +ac_adapter.cpp:157:15: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 157 | dirname = "/sys/class/power_supply/"; //find all entries in this dir + | ^~~~~~~~~~~~~~~~~~~~~~~~~~ +ac_adapter.cpp:225:31: warning: format '%[^ + ' expects a matching 'char*' argument [-Wformat=] + 225 | sscanf(str, "%[^=]s %*s %[^\n]", attr); + | ~~~^~ + | | + | char* +ac_adapter.cpp:226:38: warning: format '%[^ + ' expects a matching 'char*' argument [-Wformat=] + 226 | sscanf(str, "%*[^=] %*c %s %[^\n]",temp); + | ~~~^~ + | | + | char* +g++ -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/acpitool-0.5.1=. -fstack-protector-strong -Wformat -Werror=format-security -c -o freq.o freq.cpp +thinkpad.cpp: In function 'int Has_Thinkpad_ACPI()': +thinkpad.cpp:17:13: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 17 | filename = "/proc/acpi/ibm"; + | ^~~~~~~~~~~~~~~~ +thinkpad.cpp: In function 'int Eject_Thinkpad_Bay()': +thinkpad.cpp:38:13: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 38 | filename = "/proc/acpi/ibm/bay"; + | ^~~~~~~~~~~~~~~~~~~~ +thinkpad.cpp: In function 'int Set_Thinkpad_LCD_Level(int)': +thinkpad.cpp:59:13: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 59 | filename = "/proc/acpi/ibm/brightness"; + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ +thinkpad.cpp: In function 'int Do_Thinkpad_Fan_Info()': +thinkpad.cpp:85:13: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 85 | filename = "/proc/acpi/ibm/fan"; + | ^~~~~~~~~~~~~~~~~~~~ ac_adapter.cpp:183:13: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] 183 | fscanf(temp_fp, "%s", str); | ~~~~~~^~~~~~~~~~~~~~~~~~~~ @@ -721,6 +757,14 @@ battery.cpp:844:9: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] 844 | fscanf(powertype_fp, "%s", str); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ +acpitool.cpp: In function 'int Has_ACPI(char*)': +acpitool.cpp:66:14: warning: control reaches end of non-void function [-Wreturn-type] + 66 | ifstream file_in, file2_in; + | ^~~~~~~ +acpitool.cpp: In function 'int Do_Thermal_Info(int, int)': +acpitool.cpp:323:9: warning: ignoring return value of 'char* fgets(char*, int, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 323 | fgets(str, 120, fp); + | ~~~~~^~~~~~~~~~~~~~ ac_adapter.cpp:176:42: warning: '%s' directive writing up to 255 bytes into a region of size 76 [-Wformat-overflow=] 176 | sprintf(temp, "/sys/class/power_supply/%s/type", name); | ^~ @@ -740,15 +784,6 @@ | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -acpitool.cpp: In function 'int Has_ACPI(char*)': -acpitool.cpp:66:14: warning: control reaches end of non-void function [-Wreturn-type] - 66 | ifstream file_in, file2_in; - | ^~~~~~~ -acpitool.cpp: In function 'int Do_Thermal_Info(int, int)': -acpitool.cpp:323:9: warning: ignoring return value of 'char* fgets(char*, int, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 323 | fgets(str, 120, fp); - | ~~~~~^~~~~~~~~~~~~~ -g++ -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/acpitool-0.5.1=. -fstack-protector-strong -Wformat -Werror=format-security -c -o freq.o freq.cpp battery.cpp: In function 'int Get_Battery_Info_from_Sys(int, Battery_Info*, int)': battery.cpp:567:42: warning: '%s' directive writing up to 255 bytes into a region of size 76 [-Wformat-overflow=] 567 | sprintf(temp, "/sys/class/power_supply/%s/type", name); @@ -926,12 +961,14 @@ dpkg-buildpackage: info: binary-only upload (no source included) dpkg-genchanges: info: not including original source code in upload I: copying local configuration +I: user script /srv/workspace/pbuilder/16030/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/16030/tmp/hooks/B01_cleanup finished I: unmounting dev/ptmx filesystem I: unmounting dev/pts filesystem I: unmounting dev/shm filesystem I: unmounting proc filesystem I: unmounting sys filesystem I: cleaning the build env -I: removing directory /srv/workspace/pbuilder/5913 and its subdirectories -I: Current time: Mon Aug 23 14:14:45 -12 2021 -I: pbuilder-time-stamp: 1629771285 +I: removing directory /srv/workspace/pbuilder/16030 and its subdirectories +I: Current time: Mon Sep 26 22:38:32 +14 2022 +I: pbuilder-time-stamp: 1664181512