Diff of the two buildlogs: -- --- b1/build.log 2023-05-31 13:14:28.039817366 +0000 +++ b2/build.log 2023-05-31 13:19:33.246399917 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Wed May 31 01:12:35 -12 2023 -I: pbuilder-time-stamp: 1685538755 +I: Current time: Thu Jun 1 03:14:37 +14 2023 +I: pbuilder-time-stamp: 1685538877 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/bookworm-reproducible-base.tgz] I: copying local configuration @@ -16,7 +16,7 @@ I: copying [./acpitool_0.5.1.orig.tar.gz] I: copying [./acpitool_0.5.1-7.debian.tar.xz] I: Extracting source -gpgv: Signature made Thu Feb 3 22:17:10 2022 -12 +gpgv: Signature made Sat Feb 5 00:17:10 2022 +14 gpgv: using RSA key 264A6030C1BAB4EA82C37F44E06376824AC5ABA9 gpgv: issuer "kkamagui@gmail.com" gpgv: Can't check signature: No public key @@ -35,135 +35,167 @@ dpkg-source: info: applying more_than_4_entries_in_power_supply.patch I: Not using root during the build. I: Installing the build-deps -I: user script /srv/workspace/pbuilder/18799/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/10064/tmp/hooks/D01_modify_environment starting +debug: Running on virt32c. +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 +'/bin/sh' -> '/bin/bash' +lrwxrwxrwx 1 root root 9 Jun 1 03:15 /bin/sh -> /bin/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/10064/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/10064/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='armhf' - DEBIAN_FRONTEND='noninteractive' - DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=3 ' - DISTRIBUTION='bookworm' - HOME='/root' - HOST_ARCH='armhf' + BASH=/bin/sh + BASHOPTS=checkwinsize:cmdhist:complete_fullquote:extquote:force_fignore:globasciiranges:globskipdots:hostcomplete:interactive_comments:patsub_replacement:progcomp:promptvars:sourcepath + BASH_ALIASES=() + BASH_ARGC=() + BASH_ARGV=() + BASH_CMDS=() + BASH_LINENO=([0]="12" [1]="0") + BASH_LOADABLES_PATH=/usr/local/lib/bash:/usr/lib/bash:/opt/local/lib/bash:/usr/pkg/lib/bash:/opt/pkg/lib/bash:. + BASH_SOURCE=([0]="/tmp/hooks/D02_print_environment" [1]="/tmp/hooks/D02_print_environment") + BASH_VERSINFO=([0]="5" [1]="2" [2]="15" [3]="1" [4]="release" [5]="arm-unknown-linux-gnueabihf") + BASH_VERSION='5.2.15(1)-release' + BUILDDIR=/build + BUILDUSERGECOS='second user,second room,second work-phone,second home-phone,second other' + BUILDUSERNAME=pbuilder2 + BUILD_ARCH=armhf + DEBIAN_FRONTEND=noninteractive + DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=4 ' + DIRSTACK=() + DISTRIBUTION=bookworm + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=arm + HOST_ARCH=armhf IFS=' ' - INVOCATION_ID='ed4fc6fd327f4d579216487304667f13' - 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='18799' - PS1='# ' - PS2='> ' + INVOCATION_ID=a571d0f5c39b495e89016fcf05ce6c3f + LANG=C + LANGUAGE=it_CH:it + LC_ALL=C + MACHTYPE=arm-unknown-linux-gnueabihf + MAIL=/var/mail/root + OPTERR=1 + OPTIND=1 + OSTYPE=linux-gnueabihf + 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=10064 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/r-b-build.oEfBFrCt/pbuilderrc_eQje --distribution bookworm --hookdir /etc/pbuilder/first-build-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/bookworm-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.oEfBFrCt/b1 --logfile b1/build.log acpitool_0.5.1-7.dsc' - SUDO_GID='113' - SUDO_UID='107' - SUDO_USER='jenkins' - TERM='unknown' - TZ='/usr/share/zoneinfo/Etc/GMT+12' - USER='root' - _='/usr/bin/systemd-run' - http_proxy='http://10.0.0.15:3142/' + 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/r-b-build.oEfBFrCt/pbuilderrc_JNk2 --distribution bookworm --hookdir /etc/pbuilder/rebuild-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/bookworm-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.oEfBFrCt/b2 --logfile b2/build.log --extrapackages usrmerge acpitool_0.5.1-7.dsc' + SUDO_GID=113 + SUDO_UID=107 + SUDO_USER=jenkins + TERM=unknown + TZ=/usr/share/zoneinfo/Etc/GMT-14 + UID=0 + USER=root + _='I: set' + http_proxy=http://10.0.0.15:3142/ I: uname -a - Linux virt64c 5.10.0-23-arm64 #1 SMP Debian 5.10.179-1 (2023-05-12) aarch64 GNU/Linux + Linux i-capture-the-hostname 5.10.0-23-armmp-lpae #1 SMP Debian 5.10.179-1 (2023-05-12) armv7l GNU/Linux I: ls -l /bin total 5072 - -rwxr-xr-x 1 root root 838488 Apr 23 09:24 bash - -rwxr-xr-x 3 root root 67144 Sep 18 2022 bunzip2 - -rwxr-xr-x 3 root root 67144 Sep 18 2022 bzcat - lrwxrwxrwx 1 root root 6 Sep 18 2022 bzcmp -> bzdiff - -rwxr-xr-x 1 root root 2225 Sep 18 2022 bzdiff - lrwxrwxrwx 1 root root 6 Sep 18 2022 bzegrep -> bzgrep - -rwxr-xr-x 1 root root 4893 Nov 27 2021 bzexe - lrwxrwxrwx 1 root root 6 Sep 18 2022 bzfgrep -> bzgrep - -rwxr-xr-x 1 root root 3775 Sep 18 2022 bzgrep - -rwxr-xr-x 3 root root 67144 Sep 18 2022 bzip2 - -rwxr-xr-x 1 root root 67112 Sep 18 2022 bzip2recover - lrwxrwxrwx 1 root root 6 Sep 18 2022 bzless -> bzmore - -rwxr-xr-x 1 root root 1297 Sep 18 2022 bzmore - -rwxr-xr-x 1 root root 67632 Sep 20 2022 cat - -rwxr-xr-x 1 root root 67676 Sep 20 2022 chgrp - -rwxr-xr-x 1 root root 67644 Sep 20 2022 chmod - -rwxr-xr-x 1 root root 67684 Sep 20 2022 chown - -rwxr-xr-x 1 root root 133532 Sep 20 2022 cp - -rwxr-xr-x 1 root root 132868 Jan 5 01:20 dash - -rwxr-xr-x 1 root root 133220 Sep 20 2022 date - -rwxr-xr-x 1 root root 67732 Sep 20 2022 dd - -rwxr-xr-x 1 root root 68104 Sep 20 2022 df - -rwxr-xr-x 1 root root 133632 Sep 20 2022 dir - -rwxr-xr-x 1 root root 59128 Mar 22 21:02 dmesg - lrwxrwxrwx 1 root root 8 Dec 19 01:33 dnsdomainname -> hostname - lrwxrwxrwx 1 root root 8 Dec 19 01:33 domainname -> hostname - -rwxr-xr-x 1 root root 67560 Sep 20 2022 echo - -rwxr-xr-x 1 root root 41 Jan 24 02:43 egrep - -rwxr-xr-x 1 root root 67548 Sep 20 2022 false - -rwxr-xr-x 1 root root 41 Jan 24 02:43 fgrep - -rwxr-xr-x 1 root root 55748 Mar 22 21:02 findmnt - -rwsr-xr-x 1 root root 26208 Mar 22 20:15 fusermount - -rwxr-xr-x 1 root root 128608 Jan 24 02:43 grep - -rwxr-xr-x 2 root root 2346 Apr 9 2022 gunzip - -rwxr-xr-x 1 root root 6447 Apr 9 2022 gzexe - -rwxr-xr-x 1 root root 64220 Apr 9 2022 gzip - -rwxr-xr-x 1 root root 67032 Dec 19 01:33 hostname - -rwxr-xr-x 1 root root 67720 Sep 20 2022 ln - -rwxr-xr-x 1 root root 35132 Mar 22 21:51 login - -rwxr-xr-x 1 root root 133632 Sep 20 2022 ls - -rwxr-xr-x 1 root root 136808 Mar 22 21:02 lsblk - -rwxr-xr-x 1 root root 67800 Sep 20 2022 mkdir - -rwxr-xr-x 1 root root 67764 Sep 20 2022 mknod - -rwxr-xr-x 1 root root 67596 Sep 20 2022 mktemp - -rwxr-xr-x 1 root root 38504 Mar 22 21:02 more - -rwsr-xr-x 1 root root 38496 Mar 22 21:02 mount - -rwxr-xr-x 1 root root 9824 Mar 22 21:02 mountpoint - -rwxr-xr-x 1 root root 133532 Sep 20 2022 mv - lrwxrwxrwx 1 root root 8 Dec 19 01:33 nisdomainname -> hostname - lrwxrwxrwx 1 root root 14 Apr 2 18:25 pidof -> /sbin/killall5 - -rwxr-xr-x 1 root root 67608 Sep 20 2022 pwd - lrwxrwxrwx 1 root root 4 Apr 23 09:24 rbash -> bash - -rwxr-xr-x 1 root root 67600 Sep 20 2022 readlink - -rwxr-xr-x 1 root root 67672 Sep 20 2022 rm - -rwxr-xr-x 1 root root 67600 Sep 20 2022 rmdir - -rwxr-xr-x 1 root root 67400 Nov 2 2022 run-parts - -rwxr-xr-x 1 root root 133372 Jan 5 07:55 sed - lrwxrwxrwx 1 root root 4 Jan 5 01:20 sh -> dash - -rwxr-xr-x 1 root root 67584 Sep 20 2022 sleep - -rwxr-xr-x 1 root root 67644 Sep 20 2022 stty - -rwsr-xr-x 1 root root 50800 Mar 22 21:02 su - -rwxr-xr-x 1 root root 67584 Sep 20 2022 sync - -rwxr-xr-x 1 root root 336764 Apr 6 02:25 tar - -rwxr-xr-x 1 root root 67144 Nov 2 2022 tempfile - -rwxr-xr-x 1 root root 133224 Sep 20 2022 touch - -rwxr-xr-x 1 root root 67548 Sep 20 2022 true - -rwxr-xr-x 1 root root 9768 Mar 22 20:15 ulockmgr_server - -rwsr-xr-x 1 root root 22108 Mar 22 21:02 umount - -rwxr-xr-x 1 root root 67572 Sep 20 2022 uname - -rwxr-xr-x 2 root root 2346 Apr 9 2022 uncompress - -rwxr-xr-x 1 root root 133632 Sep 20 2022 vdir - -rwxr-xr-x 1 root root 42608 Mar 22 21:02 wdctl - lrwxrwxrwx 1 root root 8 Dec 19 01:33 ypdomainname -> hostname - -rwxr-xr-x 1 root root 1984 Apr 9 2022 zcat - -rwxr-xr-x 1 root root 1678 Apr 9 2022 zcmp - -rwxr-xr-x 1 root root 6460 Apr 9 2022 zdiff - -rwxr-xr-x 1 root root 29 Apr 9 2022 zegrep - -rwxr-xr-x 1 root root 29 Apr 9 2022 zfgrep - -rwxr-xr-x 1 root root 2081 Apr 9 2022 zforce - -rwxr-xr-x 1 root root 8103 Apr 9 2022 zgrep - -rwxr-xr-x 1 root root 2206 Apr 9 2022 zless - -rwxr-xr-x 1 root root 1842 Apr 9 2022 zmore - -rwxr-xr-x 1 root root 4577 Apr 9 2022 znew -I: user script /srv/workspace/pbuilder/18799/tmp/hooks/D02_print_environment finished + -rwxr-xr-x 1 root root 838488 Apr 24 11:24 bash + -rwxr-xr-x 3 root root 67144 Sep 19 2022 bunzip2 + -rwxr-xr-x 3 root root 67144 Sep 19 2022 bzcat + lrwxrwxrwx 1 root root 6 Sep 19 2022 bzcmp -> bzdiff + -rwxr-xr-x 1 root root 2225 Sep 19 2022 bzdiff + lrwxrwxrwx 1 root root 6 Sep 19 2022 bzegrep -> bzgrep + -rwxr-xr-x 1 root root 4893 Nov 28 2021 bzexe + lrwxrwxrwx 1 root root 6 Sep 19 2022 bzfgrep -> bzgrep + -rwxr-xr-x 1 root root 3775 Sep 19 2022 bzgrep + -rwxr-xr-x 3 root root 67144 Sep 19 2022 bzip2 + -rwxr-xr-x 1 root root 67112 Sep 19 2022 bzip2recover + lrwxrwxrwx 1 root root 6 Sep 19 2022 bzless -> bzmore + -rwxr-xr-x 1 root root 1297 Sep 19 2022 bzmore + -rwxr-xr-x 1 root root 67632 Sep 21 2022 cat + -rwxr-xr-x 1 root root 67676 Sep 21 2022 chgrp + -rwxr-xr-x 1 root root 67644 Sep 21 2022 chmod + -rwxr-xr-x 1 root root 67684 Sep 21 2022 chown + -rwxr-xr-x 1 root root 133532 Sep 21 2022 cp + -rwxr-xr-x 1 root root 132868 Jan 6 03:20 dash + -rwxr-xr-x 1 root root 133220 Sep 21 2022 date + -rwxr-xr-x 1 root root 67732 Sep 21 2022 dd + -rwxr-xr-x 1 root root 68104 Sep 21 2022 df + -rwxr-xr-x 1 root root 133632 Sep 21 2022 dir + -rwxr-xr-x 1 root root 59128 Mar 23 23:02 dmesg + lrwxrwxrwx 1 root root 8 Dec 20 03:33 dnsdomainname -> hostname + lrwxrwxrwx 1 root root 8 Dec 20 03:33 domainname -> hostname + -rwxr-xr-x 1 root root 67560 Sep 21 2022 echo + -rwxr-xr-x 1 root root 41 Jan 25 04:43 egrep + -rwxr-xr-x 1 root root 67548 Sep 21 2022 false + -rwxr-xr-x 1 root root 41 Jan 25 04:43 fgrep + -rwxr-xr-x 1 root root 55748 Mar 23 23:02 findmnt + -rwsr-xr-x 1 root root 26208 Mar 23 22:15 fusermount + -rwxr-xr-x 1 root root 128608 Jan 25 04:43 grep + -rwxr-xr-x 2 root root 2346 Apr 10 2022 gunzip + -rwxr-xr-x 1 root root 6447 Apr 10 2022 gzexe + -rwxr-xr-x 1 root root 64220 Apr 10 2022 gzip + -rwxr-xr-x 1 root root 67032 Dec 20 03:33 hostname + -rwxr-xr-x 1 root root 67720 Sep 21 2022 ln + -rwxr-xr-x 1 root root 35132 Mar 23 23:51 login + -rwxr-xr-x 1 root root 133632 Sep 21 2022 ls + -rwxr-xr-x 1 root root 136808 Mar 23 23:02 lsblk + -rwxr-xr-x 1 root root 67800 Sep 21 2022 mkdir + -rwxr-xr-x 1 root root 67764 Sep 21 2022 mknod + -rwxr-xr-x 1 root root 67596 Sep 21 2022 mktemp + -rwxr-xr-x 1 root root 38504 Mar 23 23:02 more + -rwsr-xr-x 1 root root 38496 Mar 23 23:02 mount + -rwxr-xr-x 1 root root 9824 Mar 23 23:02 mountpoint + -rwxr-xr-x 1 root root 133532 Sep 21 2022 mv + lrwxrwxrwx 1 root root 8 Dec 20 03:33 nisdomainname -> hostname + lrwxrwxrwx 1 root root 14 Apr 3 20:25 pidof -> /sbin/killall5 + -rwxr-xr-x 1 root root 67608 Sep 21 2022 pwd + lrwxrwxrwx 1 root root 4 Apr 24 11:24 rbash -> bash + -rwxr-xr-x 1 root root 67600 Sep 21 2022 readlink + -rwxr-xr-x 1 root root 67672 Sep 21 2022 rm + -rwxr-xr-x 1 root root 67600 Sep 21 2022 rmdir + -rwxr-xr-x 1 root root 67400 Nov 3 2022 run-parts + -rwxr-xr-x 1 root root 133372 Jan 6 09:55 sed + lrwxrwxrwx 1 root root 9 Jun 1 03:15 sh -> /bin/bash + -rwxr-xr-x 1 root root 67584 Sep 21 2022 sleep + -rwxr-xr-x 1 root root 67644 Sep 21 2022 stty + -rwsr-xr-x 1 root root 50800 Mar 23 23:02 su + -rwxr-xr-x 1 root root 67584 Sep 21 2022 sync + -rwxr-xr-x 1 root root 336764 Apr 7 04:25 tar + -rwxr-xr-x 1 root root 67144 Nov 3 2022 tempfile + -rwxr-xr-x 1 root root 133224 Sep 21 2022 touch + -rwxr-xr-x 1 root root 67548 Sep 21 2022 true + -rwxr-xr-x 1 root root 9768 Mar 23 22:15 ulockmgr_server + -rwsr-xr-x 1 root root 22108 Mar 23 23:02 umount + -rwxr-xr-x 1 root root 67572 Sep 21 2022 uname + -rwxr-xr-x 2 root root 2346 Apr 10 2022 uncompress + -rwxr-xr-x 1 root root 133632 Sep 21 2022 vdir + -rwxr-xr-x 1 root root 42608 Mar 23 23:02 wdctl + lrwxrwxrwx 1 root root 8 Dec 20 03:33 ypdomainname -> hostname + -rwxr-xr-x 1 root root 1984 Apr 10 2022 zcat + -rwxr-xr-x 1 root root 1678 Apr 10 2022 zcmp + -rwxr-xr-x 1 root root 6460 Apr 10 2022 zdiff + -rwxr-xr-x 1 root root 29 Apr 10 2022 zegrep + -rwxr-xr-x 1 root root 29 Apr 10 2022 zfgrep + -rwxr-xr-x 1 root root 2081 Apr 10 2022 zforce + -rwxr-xr-x 1 root root 8103 Apr 10 2022 zgrep + -rwxr-xr-x 1 root root 2206 Apr 10 2022 zless + -rwxr-xr-x 1 root root 1842 Apr 10 2022 zmore + -rwxr-xr-x 1 root root 4577 Apr 10 2022 znew +I: user script /srv/workspace/pbuilder/10064/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -234,7 +266,7 @@ Get: 31 http://deb.debian.org/debian bookworm/main armhf diffstat armhf 1.65-1 [31.4 kB] Get: 32 http://deb.debian.org/debian bookworm/main armhf ed armhf 1.19-1 [54.0 kB] Get: 33 http://deb.debian.org/debian bookworm/main armhf quilt all 0.67+really0.66-1 [303 kB] -Fetched 18.4 MB in 1s (28.1 MB/s) +Fetched 18.4 MB in 1s (12.4 MB/s) debconf: delaying package configuration, since apt-utils is not installed Selecting previously unselected package sensible-utils. (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 ... 19324 files and directories currently installed.) @@ -380,8 +412,19 @@ Writing extended state information... Building tag database... -> Finished parsing the build-deps +Reading package lists... +Building dependency tree... +Reading state information... +usrmerge is already the newest version (35). +0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 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-7_source.changes +I: user script /srv/workspace/pbuilder/10064/tmp/hooks/A99_set_merged_usr starting +Re-configuring usrmerge... +removed '/etc/unsupported-skip-usrmerge-conversion' +The system has been successfully converted. +I: user script /srv/workspace/pbuilder/10064/tmp/hooks/A99_set_merged_usr finished +hostname: Name or service not known +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-7_source.changes dpkg-buildpackage: info: source package acpitool dpkg-buildpackage: info: source version 0.5.1-7 dpkg-buildpackage: info: source distribution unstable @@ -429,7 +472,7 @@ ./configure --build=arm-linux-gnueabihf --prefix=/usr --includedir=\${prefix}/include --mandir=\${prefix}/share/man --infodir=\${prefix}/share/info --sysconfdir=/etc --localstatedir=/var --disable-option-checking --disable-silent-rules --libdir=\${prefix}/lib/arm-linux-gnueabihf --runstatedir=/run --disable-maintainer-mode --disable-dependency-tracking checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes -checking for a race-free mkdir -p... /bin/mkdir -p +checking for a race-free mkdir -p... /usr/bin/mkdir -p checking for gawk... no checking for mawk... mawk checking whether make sets $(MAKE)... yes @@ -484,7 +527,7 @@ make[1]: Leaving directory '/build/acpitool-0.5.1' dh_auto_build - make -j3 + make -j4 make[1]: Entering directory '/build/acpitool-0.5.1' make all-recursive make[2]: Entering directory '/build/acpitool-0.5.1' @@ -493,6 +536,55 @@ g++ -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/acpitool-0.5.1=. -fstack-protector-strong -Wformat -Werror=format-security -c -o main.o main.cpp g++ -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/acpitool-0.5.1=. -fstack-protector-strong -Wformat -Werror=format-security -c -o acpitool.o acpitool.cpp g++ -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/acpitool-0.5.1=. -fstack-protector-strong -Wformat -Werror=format-security -c -o ac_adapter.o ac_adapter.cpp +g++ -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/acpitool-0.5.1=. -fstack-protector-strong -Wformat -Werror=format-security -c -o toshiba.o toshiba.cpp +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:52: warning: format '%[^ + ' expects a matching 'char*' argument [-Wformat=] + 225 | sscanf(str, "%[^=]s %*s %[^\n]", attr); + | ~~~^~ + | | + | char* +ac_adapter.cpp:226:55: warning: format '%[^ + ' expects a matching 'char*' argument [-Wformat=] + 226 | sscanf(str, "%*[^=] %*c %s %[^\n]",temp); + | ~~~^~ + | | + | char* +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"; + | ^~~~~~~~~~~~~~~~~~~~~~~~ +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"; + | ^~~~~~~~~~~~~~~~~~~~~~~~ +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"; + | ^~~~~~~~~~~~~~~~~~~~~~~~ +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"; + | ^~~~~~~~~~~~~~~~~~~~~~~~ +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 Has_ACPI(char*)': acpitool.cpp:69:16: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 69 | filename = "/proc/acpi/info"; @@ -516,6 +608,7 @@ acpitool.cpp:365:19: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 365 | dirname = "/proc/acpi/fan/"; | ^~~~~~~~~~~~~~~~~ +g++ -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/acpitool-0.5.1=. -fstack-protector-strong -Wformat -Werror=format-security -c -o asus.o asus.cpp 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"; @@ -524,6 +617,12 @@ acpitool.cpp:467:16: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 467 | filename = "/proc/acpi/wakeup"; | ^~~~~~~~~~~~~~~~~~~ +ac_adapter.cpp:183:27: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] + 183 | fscanf(temp_fp, "%s", str); + | ~~~~~~^~~~~~~~~~~~~~~~~~~~ +ac_adapter.cpp:219:26: warning: ignoring return value of 'char* fgets(char*, int, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 219 | fgets(str, 100, power_fp); + | ~~~~~^~~~~~~~~~~~~~~~~~~~ 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 // @@ -546,44 +645,6 @@ acpitool.cpp:549:27: 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:52: warning: format '%[^ - ' expects a matching 'char*' argument [-Wformat=] - 225 | sscanf(str, "%[^=]s %*s %[^\n]", attr); - | ~~~^~ - | | - | char* -ac_adapter.cpp:226:55: warning: format '%[^ - ' expects a matching 'char*' argument [-Wformat=] - 226 | sscanf(str, "%*[^=] %*c %s %[^\n]",temp); - | ~~~^~ - | | - | char* -ac_adapter.cpp:183:27: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] - 183 | fscanf(temp_fp, "%s", str); - | ~~~~~~^~~~~~~~~~~~~~~~~~~~ -ac_adapter.cpp:219:26: warning: ignoring return value of 'char* fgets(char*, int, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 219 | fgets(str, 100, power_fp); - | ~~~~~^~~~~~~~~~~~~~~~~~~~ -acpitool.cpp: In function 'int Has_ACPI(char*)': -acpitool.cpp:107:1: warning: control reaches end of non-void function [-Wreturn-type] - 107 | } - | ^ -acpitool.cpp: In function 'int Do_Thermal_Info(int, int)': -acpitool.cpp:323:30: 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:56: 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); | ^~ @@ -620,6 +681,14 @@ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ +acpitool.cpp: In function 'int Has_ACPI(char*)': +acpitool.cpp:107:1: warning: control reaches end of non-void function [-Wreturn-type] + 107 | } + | ^ +acpitool.cpp: In function 'int Do_Thermal_Info(int, int)': +acpitool.cpp:323:30: 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: In function 'int Do_AC_Info_Proc(int)': ac_adapter.cpp:108:64: warning: '%s' directive writing up to 255 bytes into a region of size 178 [-Wformat-overflow=] 108 | sprintf(filename[ac_count], "/proc/acpi/ac_adapter/%s/state", name); @@ -646,8 +715,7 @@ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ -g++ -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/acpitool-0.5.1=. -fstack-protector-strong -Wformat -Werror=format-security -c -o toshiba.o toshiba.cpp -g++ -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/acpitool-0.5.1=. -fstack-protector-strong -Wformat -Werror=format-security -c -o asus.o asus.cpp +g++ -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/acpitool-0.5.1=. -fstack-protector-strong -Wformat -Werror=format-security -c -o thinkpad.o thinkpad.cpp acpitool.cpp: In function 'int Do_Fan_Info(int)': acpitool.cpp:374:70: warning: '%s' directive writing up to 255 bytes into a region of size 185 [-Wformat-overflow=] 374 | sprintf(filename[fan_count], "/proc/acpi/fan/%s/state", name); @@ -672,69 +740,6 @@ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ -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"; - | ^~~~~~~~~~~~~~~~~~~~~~~~ -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"; - | ^~~~~~~~~~~~~~~~~~~~~~~~ -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"; - | ^~~~~~~~~~~~~~~~~~~~~~~~ -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"; - | ^~~~~~~~~~~~~~~~~~~~~~~~ -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 Do_Thermal_Info(int, int)': -acpitool.cpp:254:90: warning: '%s' directive output may be truncated writing up to 255 bytes into a region of size 231 [-Wformat-truncation=] - 254 | snprintf(tmp_fname, sizeof (tmp_fname) - 1, "/proc/acpi/thermal_zone/%s/state", name); - | ^~ -In function 'int snprintf(char*, size_t, const char*, ...)', - inlined from 'int Do_Thermal_Info(int, int)' at acpitool.cpp:254:15: -/usr/include/arm-linux-gnueabihf/bits/stdio2.h:54:35: note: '__builtin___snprintf_chk' output between 31 and 286 bytes into a destination of size 255 - 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, - | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 55 | __glibc_objsize (__s), __fmt, - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 56 | __va_arg_pack ()); - | ~~~~~~~~~~~~~~~~~ -acpitool.cpp: In function 'int Do_Thermal_Info(int, int)': -acpitool.cpp:257:90: warning: '%s' directive output may be truncated writing up to 255 bytes into a region of size 231 [-Wformat-truncation=] - 257 | snprintf(tmp_fname, sizeof (tmp_fname) - 1, "/proc/acpi/thermal_zone/%s/temperature", name); - | ^~ -In function 'int snprintf(char*, size_t, const char*, ...)', - inlined from 'int Do_Thermal_Info(int, int)' at acpitool.cpp:257:15: -/usr/include/arm-linux-gnueabihf/bits/stdio2.h:54:35: note: '__builtin___snprintf_chk' output between 37 and 292 bytes into a destination of size 255 - 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, - | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 55 | __glibc_objsize (__s), __fmt, - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 56 | __va_arg_pack ()); - | ~~~~~~~~~~~~~~~~~ -acpitool.cpp: In function 'int Do_Thermal_Info(int, int)': -acpitool.cpp:260:90: warning: '%s' directive output may be truncated writing up to 255 bytes into a region of size 231 [-Wformat-truncation=] - 260 | snprintf(tmp_fname, sizeof (tmp_fname) - 1, "/proc/acpi/thermal_zone/%s/trip_points", name); - | ^~ -In function 'int snprintf(char*, size_t, const char*, ...)', - inlined from 'int Do_Thermal_Info(int, int)' at acpitool.cpp:260:15: -/usr/include/arm-linux-gnueabihf/bits/stdio2.h:54:35: note: '__builtin___snprintf_chk' output between 37 and 292 bytes into a destination of size 255 - 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, - | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 55 | __glibc_objsize (__s), __fmt, - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 56 | __va_arg_pack ()); - | ~~~~~~~~~~~~~~~~~ asus.cpp: In function 'int Has_Asus_ACPI()': asus.cpp:50:16: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 50 | filename = "/proc/acpi/asus"; @@ -767,9 +772,7 @@ asus.cpp:318:16: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 318 | filename = "/proc/acpi/asus/wled"; | ^~~~~~~~~~~~~~~~~~~~~~ -g++ -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/acpitool-0.5.1=. -fstack-protector-strong -Wformat -Werror=format-security -c -o thinkpad.o thinkpad.cpp g++ -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/acpitool-0.5.1=. -fstack-protector-strong -Wformat -Werror=format-security -c -o cpu.o cpu.cpp -g++ -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/acpitool-0.5.1=. -fstack-protector-strong -Wformat -Werror=format-security -c -o battery.o battery.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"; @@ -786,6 +789,47 @@ 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_Thermal_Info(int, int)': +acpitool.cpp:254:90: warning: '%s' directive output may be truncated writing up to 255 bytes into a region of size 231 [-Wformat-truncation=] + 254 | snprintf(tmp_fname, sizeof (tmp_fname) - 1, "/proc/acpi/thermal_zone/%s/state", name); + | ^~ +In function 'int snprintf(char*, size_t, const char*, ...)', + inlined from 'int Do_Thermal_Info(int, int)' at acpitool.cpp:254:15: +/usr/include/arm-linux-gnueabihf/bits/stdio2.h:54:35: note: '__builtin___snprintf_chk' output between 31 and 286 bytes into a destination of size 255 + 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, + | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 55 | __glibc_objsize (__s), __fmt, + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 56 | __va_arg_pack ()); + | ~~~~~~~~~~~~~~~~~ +acpitool.cpp: In function 'int Do_Thermal_Info(int, int)': +acpitool.cpp:257:90: warning: '%s' directive output may be truncated writing up to 255 bytes into a region of size 231 [-Wformat-truncation=] + 257 | snprintf(tmp_fname, sizeof (tmp_fname) - 1, "/proc/acpi/thermal_zone/%s/temperature", name); + | ^~ +In function 'int snprintf(char*, size_t, const char*, ...)', + inlined from 'int Do_Thermal_Info(int, int)' at acpitool.cpp:257:15: +/usr/include/arm-linux-gnueabihf/bits/stdio2.h:54:35: note: '__builtin___snprintf_chk' output between 37 and 292 bytes into a destination of size 255 + 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, + | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 55 | __glibc_objsize (__s), __fmt, + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 56 | __va_arg_pack ()); + | ~~~~~~~~~~~~~~~~~ +acpitool.cpp: In function 'int Do_Thermal_Info(int, int)': +acpitool.cpp:260:90: warning: '%s' directive output may be truncated writing up to 255 bytes into a region of size 231 [-Wformat-truncation=] + 260 | snprintf(tmp_fname, sizeof (tmp_fname) - 1, "/proc/acpi/thermal_zone/%s/trip_points", name); + | ^~ +In function 'int snprintf(char*, size_t, const char*, ...)', + inlined from 'int Do_Thermal_Info(int, int)' at acpitool.cpp:260:15: +/usr/include/arm-linux-gnueabihf/bits/stdio2.h:54:35: note: '__builtin___snprintf_chk' output between 37 and 292 bytes into a destination of size 255 + 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, + | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 55 | __glibc_objsize (__s), __fmt, + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 56 | __va_arg_pack ()); + | ~~~~~~~~~~~~~~~~~ +g++ -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/acpitool-0.5.1=. -fstack-protector-strong -Wformat -Werror=format-security -c -o battery.o battery.cpp +g++ -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/acpitool-0.5.1=. -fstack-protector-strong -Wformat -Werror=format-security -c -o freq.o freq.cpp cpu.cpp: In function 'int Show_CPU_Info()': cpu.cpp:107:19: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 107 | dirname = "/proc/acpi/processor/"; //find all entries in this dir // @@ -832,7 +876,6 @@ cpu.cpp:289:42: warning: ignoring return value of 'char* fgets(char*, int, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 289 | fgets(str, 100, throt_fp); | ~~~~~^~~~~~~~~~~~~~~~~~~~ -g++ -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-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_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 @@ -860,6 +903,26 @@ battery.cpp:844:23: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] 844 | fscanf(powertype_fp, "%s", str); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ +freq.cpp: In function 'int Get_Min_Freq()': +freq.cpp:97:23: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] + 97 | fscanf(freqinfo_fp, "%s", str); + | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ +freq.cpp: In function 'int Get_Max_Freq()': +freq.cpp:121:23: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] + 121 | fscanf(freqinfo_fp, "%s", str); + | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ +freq.cpp: In function 'int Get_Current_Freq()': +freq.cpp:144:23: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] + 144 | fscanf(freqinfo_fp, "%s", str); + | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ +freq.cpp: In function 'int Get_Governor(char*)': +freq.cpp:166:23: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] + 166 | fscanf(freqinfo_fp, "%s", str); + | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ +freq.cpp: In function 'int Get_Driver(char*)': +freq.cpp:189:23: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] + 189 | fscanf(freqinfo_fp, "%s", str); + | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ battery.cpp: In function 'int Get_Battery_Info_from_Proc(int, Battery_Info*, int)': battery.cpp:385:67: warning: '%s' directive writing up to 255 bytes into a region of size 241 [-Wformat-overflow=] 385 | sprintf(filename[findex], "/proc/acpi/battery/%s/info", name); @@ -910,26 +973,6 @@ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ -freq.cpp: In function 'int Get_Min_Freq()': -freq.cpp:97:23: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] - 97 | fscanf(freqinfo_fp, "%s", str); - | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ -freq.cpp: In function 'int Get_Max_Freq()': -freq.cpp:121:23: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] - 121 | fscanf(freqinfo_fp, "%s", str); - | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ -freq.cpp: In function 'int Get_Current_Freq()': -freq.cpp:144:23: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] - 144 | fscanf(freqinfo_fp, "%s", str); - | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ -freq.cpp: In function 'int Get_Governor(char*)': -freq.cpp:166:23: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] - 166 | fscanf(freqinfo_fp, "%s", str); - | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ -freq.cpp: In function 'int Get_Driver(char*)': -freq.cpp:189:23: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] - 189 | fscanf(freqinfo_fp, "%s", str); - | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ g++ -g -O2 -ffile-prefix-map=/build/acpitool-0.5.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wl,-z,relro -Wl,-z,now -Wl,--as-needed -o acpitool main.o acpitool.o ac_adapter.o toshiba.o asus.o thinkpad.o cpu.o battery.o freq.o make[3]: Leaving directory '/build/acpitool-0.5.1/src' Making all in man @@ -941,7 +984,7 @@ make[2]: Leaving directory '/build/acpitool-0.5.1' make[1]: Leaving directory '/build/acpitool-0.5.1' dh_auto_test - make -j3 check "TESTSUITEFLAGS=-j3 --verbose" VERBOSE=1 + make -j4 check "TESTSUITEFLAGS=-j4 --verbose" VERBOSE=1 make[1]: Entering directory '/build/acpitool-0.5.1' Making check in src make[2]: Entering directory '/build/acpitool-0.5.1/src' @@ -963,7 +1006,7 @@ Making install in src make[3]: Entering directory '/build/acpitool-0.5.1/src' make[4]: Entering directory '/build/acpitool-0.5.1/src' - /bin/mkdir -p '/build/acpitool-0.5.1/debian/acpitool/usr/bin' + /usr/bin/mkdir -p '/build/acpitool-0.5.1/debian/acpitool/usr/bin' /usr/bin/install -c acpitool '/build/acpitool-0.5.1/debian/acpitool/usr/bin' make[4]: Nothing to be done for 'install-data-am'. make[4]: Leaving directory '/build/acpitool-0.5.1/src' @@ -972,7 +1015,7 @@ make[3]: Entering directory '/build/acpitool-0.5.1/man' make[4]: Entering directory '/build/acpitool-0.5.1/man' make[4]: Nothing to be done for 'install-exec-am'. - /bin/mkdir -p '/build/acpitool-0.5.1/debian/acpitool/usr/share/man/man1' + /usr/bin/mkdir -p '/build/acpitool-0.5.1/debian/acpitool/usr/share/man/man1' /usr/bin/install -c -m 644 acpitool.1 '/build/acpitool-0.5.1/debian/acpitool/usr/share/man/man1' make[4]: Leaving directory '/build/acpitool-0.5.1/man' make[3]: Leaving directory '/build/acpitool-0.5.1/man' @@ -1002,8 +1045,8 @@ dh_gencontrol dh_md5sums dh_builddeb -dpkg-deb: building package 'acpitool-dbgsym' in '../acpitool-dbgsym_0.5.1-7_armhf.deb'. dpkg-deb: building package 'acpitool' in '../acpitool_0.5.1-7_armhf.deb'. +dpkg-deb: building package 'acpitool-dbgsym' in '../acpitool-dbgsym_0.5.1-7_armhf.deb'. dpkg-genbuildinfo --build=binary -O../acpitool_0.5.1-7_armhf.buildinfo dpkg-genchanges --build=binary -O../acpitool_0.5.1-7_armhf.changes dpkg-genchanges: info: binary-only upload (no source code included) @@ -1011,12 +1054,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/10064/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/10064/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/18799 and its subdirectories -I: Current time: Wed May 31 01:14:23 -12 2023 -I: pbuilder-time-stamp: 1685538863 +I: removing directory /srv/workspace/pbuilder/10064 and its subdirectories +I: Current time: Thu Jun 1 03:19:28 +14 2023 +I: pbuilder-time-stamp: 1685539169