Diff of the two buildlogs: -- --- b1/build.log 2023-05-04 17:17:50.572263251 +0000 +++ b2/build.log 2023-05-04 17:18:16.383131113 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Thu May 4 05:14:46 -12 2023 -I: pbuilder-time-stamp: 1683220486 +I: Current time: Thu Jun 6 13:40:51 +14 2024 +I: pbuilder-time-stamp: 1717630851 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/bookworm-reproducible-base.tgz] I: copying local configuration @@ -17,7 +17,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 @@ -36,137 +36,169 @@ 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/9295/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/36425/tmp/hooks/D01_modify_environment starting +debug: Running on ionos16-i386. +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 6 13:40 /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/36425/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/36425/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='i386' - DEBIAN_FRONTEND='noninteractive' - DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=8' - DISTRIBUTION='bookworm' - HOME='/root' - HOST_ARCH='i386' + 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]="i686-pc-linux-gnu") + 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=i386 + DEBIAN_FRONTEND=noninteractive + DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=15' + DIRSTACK=() + DISTRIBUTION=bookworm + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=i686 + HOST_ARCH=i386 IFS=' ' - INVOCATION_ID='c02500e446d6422a967f4065d4518981' - LANG='C' - LANGUAGE='en_US:en' - LC_ALL='C' - LD_LIBRARY_PATH='/usr/lib/libeatmydata' - LD_PRELOAD='libeatmydata.so' - 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='9295' - PS1='# ' - PS2='> ' + INVOCATION_ID=ceb81dd3f37946fa879e1f1920e2b4d8 + LANG=C + LANGUAGE=de_CH:de + LC_ALL=C + LD_LIBRARY_PATH=/usr/lib/libeatmydata + LD_PRELOAD=libeatmydata.so + MACHTYPE=i686-pc-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=36425 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.XRPprtfe/pbuilderrc_KLd0 --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.XRPprtfe/b1 --logfile b1/build.log acpitool_0.5.1-7.dsc' - SUDO_GID='112' - SUDO_UID='107' - SUDO_USER='jenkins' - TERM='unknown' - TZ='/usr/share/zoneinfo/Etc/GMT+12' - USER='root' - _='/usr/bin/systemd-run' - http_proxy='http://78.137.99.97: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/r-b-build.XRPprtfe/pbuilderrc_iRhi --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.XRPprtfe/b2 --logfile b2/build.log --extrapackages usrmerge acpitool_0.5.1-7.dsc' + SUDO_GID=112 + SUDO_UID=107 + SUDO_USER=jenkins + TERM=unknown + TZ=/usr/share/zoneinfo/Etc/GMT-14 + UID=0 + USER=root + _='I: set' + http_proxy=http://85.184.249.68:3128 I: uname -a - Linux ionos2-i386 5.10.0-22-686-pae #1 SMP Debian 5.10.178-3 (2023-04-22) i686 GNU/Linux + Linux i-capture-the-hostname 5.10.0-22-amd64 #1 SMP Debian 5.10.178-3 (2023-04-22) x86_64 GNU/Linux I: ls -l /bin total 6036 - -rwxr-xr-x 1 root root 1408088 Apr 23 09:24 bash - -rwxr-xr-x 3 root root 38404 Sep 18 2022 bunzip2 - -rwxr-xr-x 3 root root 38404 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 38404 Sep 18 2022 bzip2 - -rwxr-xr-x 1 root root 17892 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 42920 Sep 20 2022 cat - -rwxr-xr-x 1 root root 79816 Sep 20 2022 chgrp - -rwxr-xr-x 1 root root 67496 Sep 20 2022 chmod - -rwxr-xr-x 1 root root 79816 Sep 20 2022 chown - -rwxr-xr-x 1 root root 162024 Sep 20 2022 cp - -rwxr-xr-x 1 root root 136916 Jan 5 01:20 dash - -rwxr-xr-x 1 root root 137160 Sep 20 2022 date - -rwxr-xr-x 1 root root 100364 Sep 20 2022 dd - -rwxr-xr-x 1 root root 108940 Sep 20 2022 df - -rwxr-xr-x 1 root root 162152 Sep 20 2022 dir - -rwxr-xr-x 1 root root 87760 Mar 22 22:20 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 38760 Sep 20 2022 echo - -rwxr-xr-x 1 root root 41 Jan 24 02:43 egrep - -rwxr-xr-x 1 root root 34664 Sep 20 2022 false - -rwxr-xr-x 1 root root 41 Jan 24 02:43 fgrep - -rwxr-xr-x 1 root root 84272 Mar 22 22:20 findmnt - -rwsr-xr-x 1 root root 30240 Mar 22 20:38 fusermount - -rwxr-xr-x 1 root root 218680 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 100952 Apr 9 2022 gzip - -rwxr-xr-x 1 root root 21916 Dec 19 01:33 hostname - -rwxr-xr-x 1 root root 75756 Sep 20 2022 ln - -rwxr-xr-x 1 root root 55600 Mar 22 23:43 login - -rwxr-xr-x 1 root root 162152 Sep 20 2022 ls - -rwxr-xr-x 1 root root 214568 Mar 22 22:20 lsblk - -rwxr-xr-x 1 root root 96328 Sep 20 2022 mkdir - -rwxr-xr-x 1 root root 84008 Sep 20 2022 mknod - -rwxr-xr-x 1 root root 38792 Sep 20 2022 mktemp - -rwxr-xr-x 1 root root 63016 Mar 22 22:20 more - -rwsr-xr-x 1 root root 58912 Mar 22 22:20 mount - -rwxr-xr-x 1 root root 13856 Mar 22 22:20 mountpoint - -rwxr-xr-x 1 root root 157932 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 38792 Sep 20 2022 pwd - lrwxrwxrwx 1 root root 4 Apr 23 09:24 rbash -> bash - -rwxr-xr-x 1 root root 51080 Sep 20 2022 readlink - -rwxr-xr-x 1 root root 75720 Sep 20 2022 rm - -rwxr-xr-x 1 root root 51080 Sep 20 2022 rmdir - -rwxr-xr-x 1 root root 22308 Nov 2 2022 run-parts - -rwxr-xr-x 1 root root 133224 Jan 5 07:55 sed - lrwxrwxrwx 1 root root 4 Jan 5 01:20 sh -> dash - -rwxr-xr-x 1 root root 38760 Sep 20 2022 sleep - -rwxr-xr-x 1 root root 87976 Sep 20 2022 stty - -rwsr-xr-x 1 root root 83492 Mar 22 22:20 su - -rwxr-xr-x 1 root root 38792 Sep 20 2022 sync - -rwxr-xr-x 1 root root 598456 Apr 6 02:25 tar - -rwxr-xr-x 1 root root 13860 Nov 2 2022 tempfile - -rwxr-xr-x 1 root root 120776 Sep 20 2022 touch - -rwxr-xr-x 1 root root 34664 Sep 20 2022 true - -rwxr-xr-x 1 root root 17892 Mar 22 20:38 ulockmgr_server - -rwsr-xr-x 1 root root 30236 Mar 22 22:20 umount - -rwxr-xr-x 1 root root 38760 Sep 20 2022 uname - -rwxr-xr-x 2 root root 2346 Apr 9 2022 uncompress - -rwxr-xr-x 1 root root 162152 Sep 20 2022 vdir - -rwxr-xr-x 1 root root 71216 Mar 22 22:20 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/9295/tmp/hooks/D02_print_environment finished + -rwxr-xr-x 1 root root 1408088 Apr 24 2023 bash + -rwxr-xr-x 3 root root 38404 Sep 19 2022 bunzip2 + -rwxr-xr-x 3 root root 38404 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 38404 Sep 19 2022 bzip2 + -rwxr-xr-x 1 root root 17892 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 42920 Sep 21 2022 cat + -rwxr-xr-x 1 root root 79816 Sep 21 2022 chgrp + -rwxr-xr-x 1 root root 67496 Sep 21 2022 chmod + -rwxr-xr-x 1 root root 79816 Sep 21 2022 chown + -rwxr-xr-x 1 root root 162024 Sep 21 2022 cp + -rwxr-xr-x 1 root root 136916 Jan 6 2023 dash + -rwxr-xr-x 1 root root 137160 Sep 21 2022 date + -rwxr-xr-x 1 root root 100364 Sep 21 2022 dd + -rwxr-xr-x 1 root root 108940 Sep 21 2022 df + -rwxr-xr-x 1 root root 162152 Sep 21 2022 dir + -rwxr-xr-x 1 root root 87760 Mar 24 2023 dmesg + lrwxrwxrwx 1 root root 8 Dec 20 2022 dnsdomainname -> hostname + lrwxrwxrwx 1 root root 8 Dec 20 2022 domainname -> hostname + -rwxr-xr-x 1 root root 38760 Sep 21 2022 echo + -rwxr-xr-x 1 root root 41 Jan 25 2023 egrep + -rwxr-xr-x 1 root root 34664 Sep 21 2022 false + -rwxr-xr-x 1 root root 41 Jan 25 2023 fgrep + -rwxr-xr-x 1 root root 84272 Mar 24 2023 findmnt + -rwsr-xr-x 1 root root 30240 Mar 23 2023 fusermount + -rwxr-xr-x 1 root root 218680 Jan 25 2023 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 100952 Apr 10 2022 gzip + -rwxr-xr-x 1 root root 21916 Dec 20 2022 hostname + -rwxr-xr-x 1 root root 75756 Sep 21 2022 ln + -rwxr-xr-x 1 root root 55600 Mar 24 2023 login + -rwxr-xr-x 1 root root 162152 Sep 21 2022 ls + -rwxr-xr-x 1 root root 214568 Mar 24 2023 lsblk + -rwxr-xr-x 1 root root 96328 Sep 21 2022 mkdir + -rwxr-xr-x 1 root root 84008 Sep 21 2022 mknod + -rwxr-xr-x 1 root root 38792 Sep 21 2022 mktemp + -rwxr-xr-x 1 root root 63016 Mar 24 2023 more + -rwsr-xr-x 1 root root 58912 Mar 24 2023 mount + -rwxr-xr-x 1 root root 13856 Mar 24 2023 mountpoint + -rwxr-xr-x 1 root root 157932 Sep 21 2022 mv + lrwxrwxrwx 1 root root 8 Dec 20 2022 nisdomainname -> hostname + lrwxrwxrwx 1 root root 14 Apr 3 2023 pidof -> /sbin/killall5 + -rwxr-xr-x 1 root root 38792 Sep 21 2022 pwd + lrwxrwxrwx 1 root root 4 Apr 24 2023 rbash -> bash + -rwxr-xr-x 1 root root 51080 Sep 21 2022 readlink + -rwxr-xr-x 1 root root 75720 Sep 21 2022 rm + -rwxr-xr-x 1 root root 51080 Sep 21 2022 rmdir + -rwxr-xr-x 1 root root 22308 Nov 3 2022 run-parts + -rwxr-xr-x 1 root root 133224 Jan 6 2023 sed + lrwxrwxrwx 1 root root 9 Jun 6 13:40 sh -> /bin/bash + -rwxr-xr-x 1 root root 38760 Sep 21 2022 sleep + -rwxr-xr-x 1 root root 87976 Sep 21 2022 stty + -rwsr-xr-x 1 root root 83492 Mar 24 2023 su + -rwxr-xr-x 1 root root 38792 Sep 21 2022 sync + -rwxr-xr-x 1 root root 598456 Apr 7 2023 tar + -rwxr-xr-x 1 root root 13860 Nov 3 2022 tempfile + -rwxr-xr-x 1 root root 120776 Sep 21 2022 touch + -rwxr-xr-x 1 root root 34664 Sep 21 2022 true + -rwxr-xr-x 1 root root 17892 Mar 23 2023 ulockmgr_server + -rwsr-xr-x 1 root root 30236 Mar 24 2023 umount + -rwxr-xr-x 1 root root 38760 Sep 21 2022 uname + -rwxr-xr-x 2 root root 2346 Apr 10 2022 uncompress + -rwxr-xr-x 1 root root 162152 Sep 21 2022 vdir + -rwxr-xr-x 1 root root 71216 Mar 24 2023 wdctl + lrwxrwxrwx 1 root root 8 Dec 20 2022 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/36425/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -237,7 +269,7 @@ Get: 31 http://deb.debian.org/debian bookworm/main i386 diffstat i386 1.65-1 [33.6 kB] Get: 32 http://deb.debian.org/debian bookworm/main i386 ed i386 1.19-1 [59.1 kB] Get: 33 http://deb.debian.org/debian bookworm/main i386 quilt all 0.67+really0.66-1 [303 kB] -Fetched 19.4 MB in 2s (12.5 MB/s) +Fetched 19.4 MB in 1s (26.0 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 ... 19604 files and directories currently installed.) @@ -383,8 +415,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/36425/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/36425/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 @@ -432,7 +475,7 @@ ./configure --build=i686-linux-gnu --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/i386-linux-gnu --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 @@ -487,7 +530,7 @@ make[1]: Leaving directory '/build/acpitool-0.5.1' dh_auto_build - make -j8 + make -j15 make[1]: Entering directory '/build/acpitool-0.5.1' make all-recursive make[2]: Entering directory '/build/acpitool-0.5.1' @@ -501,6 +544,7 @@ 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 +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 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"; @@ -513,117 +557,62 @@ asus.cpp:121:16: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 121 | filename = "/proc/acpi/asus/brn"; | ^~~~~~~~~~~~~~~~~~~~~ -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"; - | ^~~~~~~~~~~~~~~~~~~~~~ -asus.cpp: In function 'int Do_Asus_Info()': -asus.cpp:204:16: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 204 | filename = "/proc/acpi/asus/info"; - | ^~~~~~~~~~~~~~~~~~~~~~ -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 // - | ^~~~~~~~~~~~~~~~~~~~~~~ -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"; - | ^~~~~~~~~~~~~~~~~~~~~ -asus.cpp: In function 'int Set_MLed(int)': -asus.cpp:293:16: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 293 | filename = "/proc/acpi/asus/mled"; - | ^~~~~~~~~~~~~~~~~~~~~~ -asus.cpp: In function 'int Set_WLed(int)': -asus.cpp:318:16: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 318 | filename = "/proc/acpi/asus/wled"; - | ^~~~~~~~~~~~~~~~~~~~~~ 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"; | ^~~~~~~~~~~~~~~~ -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/"; - | ^~~~~~~~~~~~~~~~~~~~~~~~ +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"; + | ^~~~~~~~~~~~~~~~~~~~~~ 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"; | ^~~~~~~~~~~~~~~~~~~~ +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 // + | ^~~~~~~~~~~~~~~~~~~~~~~ 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"; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ -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* +asus.cpp: In function 'int Do_Asus_Info()': +asus.cpp:204:16: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 204 | filename = "/proc/acpi/asus/info"; + | ^~~~~~~~~~~~~~~~~~~~~~ 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 Has_ACPI(char*)': -acpitool.cpp:69:16: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 69 | filename = "/proc/acpi/info"; - | ^~~~~~~~~~~~~~~~~ -acpitool.cpp:70:17: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 70 | filename2 = "/sys/module/acpi/parameters/acpica_version"; - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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"; | ^~~~~~~~~~~~~~~~~~~~ -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"; - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ -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_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 Set_Kernel_Version()': -acpitool.cpp:190:16: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 190 | filename = "/proc/sys/kernel/osrelease"; - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ +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"; + | ^~~~~~~~~~~~~~~~~~~~~ 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"; | ^~~~~~~~~~~~~~~~~~~~~~~~ -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 - | ^~~~~~~~~~~~~~~~~~~~~~~~~~ +asus.cpp: In function 'int Set_MLed(int)': +asus.cpp:293:16: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 293 | filename = "/proc/acpi/asus/mled"; + | ^~~~~~~~~~~~~~~~~~~~~~ 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"; | ^~~~~~~~~~~~~~~~~~~~~~~~ -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_ProcFS()': -battery.cpp:749:15: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 749 | dirname = "/proc/acpi/battery/"; - | ^~~~~~~~~~~~~~~~~~~~~ +asus.cpp: In function 'int Set_WLed(int)': +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 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"; @@ -632,22 +621,6 @@ 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 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: In function 'int Do_Fan_Info(int)': -acpitool.cpp:365:19: 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"; - | ^~~~~~~~~~~~~~~~~~~ -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"; - | ^~~~~~~~~~~~~~~~~~~ cpu.cpp:64:45: 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 // | ~~~~~^~~~~~~~~~~~~~~~~~~~~~ @@ -690,12 +663,87 @@ 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); | ~~~~~^~~~~~~~~~~~~~~~~~~~ +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:69:16: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 69 | filename = "/proc/acpi/info"; + | ^~~~~~~~~~~~~~~~~ +acpitool.cpp:70:17: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 70 | filename2 = "/sys/module/acpi/parameters/acpica_version"; + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +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"; + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ +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); + | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ +acpitool.cpp: In function 'int Set_Kernel_Version()': +acpitool.cpp:190:16: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 190 | filename = "/proc/sys/kernel/osrelease"; + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ +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/"; + | ^~~~~~~~~~~~~~~~~~~~~~~~~~ +acpitool.cpp: In function 'int Do_Fan_Info(int)': +acpitool.cpp:365:19: 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"; + | ^~~~~~~~~~~~~~~~~~~ +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 // @@ -718,17 +766,6 @@ acpitool.cpp:549:27: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 549 | str = "disk"; | ^~~~~~ -battery.cpp: In function 'int Get_Battery_Info_from_Sys(int, Battery_Info*, int)': -battery.cpp:575:27: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] - 575 | fscanf(temp_fp, "%s", str); - | ~~~~~~^~~~~~~~~~~~~~~~~~~~ -battery.cpp:656:22: warning: ignoring return value of 'char* fgets(char*, int, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 656 | fgets(str, 100, power_fp); - | ~~~~~^~~~~~~~~~~~~~~~~~~~ -battery.cpp: In function 'int Count_Batteries_SysFS()': -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); - | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ 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); | ^~ @@ -765,14 +802,6 @@ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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); @@ -786,7 +815,22 @@ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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 freq.o freq.cpp +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); + | ~~~~~^~~~~~~~~~~~~~ +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 + | ^~~~~~~~~~~~~~~~~~~~~ +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 + | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ac_adapter.cpp: In function 'int Do_AC_Info(int)': ac_adapter.cpp:71:64: warning: '%s' directive writing up to 255 bytes into a region of size 178 [-Wformat-overflow=] 71 | sprintf(filename[ac_count], "/proc/acpi/ac_adapter/%s/state", name); @@ -800,6 +844,25 @@ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ +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/"; + | ^~~~~~~~~~~~~~~~~~~~~ +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/"; + | ^~~~~~~~~~~~~~~~~~~~~~~~~~ +battery.cpp: In function 'int Get_Battery_Info_from_Sys(int, Battery_Info*, int)': +battery.cpp:575:27: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] + 575 | fscanf(temp_fp, "%s", str); + | ~~~~~~^~~~~~~~~~~~~~~~~~~~ +battery.cpp:656:22: warning: ignoring return value of 'char* fgets(char*, int, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 656 | fgets(str, 100, power_fp); + | ~~~~~^~~~~~~~~~~~~~~~~~~~ +battery.cpp: In function 'int Count_Batteries_SysFS()': +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); + | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ battery.cpp: In function 'int Get_Battery_Info_from_Sys(int, Battery_Info*, int)': battery.cpp:567:56: 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); @@ -824,6 +887,30 @@ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ +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); + | ^~ +In file included from /usr/include/stdio.h:906, + from /usr/include/c++/12/cstdio:42, + from /usr/include/c++/12/ext/string_conversions.h:43, + from /usr/include/c++/12/bits/basic_string.h:3960, + from /usr/include/c++/12/string:53, + from /usr/include/c++/12/bits/locale_classes.h:40, + from /usr/include/c++/12/bits/ios_base.h:41, + from /usr/include/c++/12/ios:42, + from /usr/include/c++/12/ostream:38, + from /usr/include/c++/12/iostream:39, + from acpitool.cpp:37: +In function 'int sprintf(char*, const char*, ...)', + inlined from 'int Do_Fan_Info(int)' at acpitool.cpp:374:11: +/usr/include/i386-linux-gnu/bits/stdio2.h:30:34: note: '__builtin___sprintf_chk' output between 22 and 277 bytes into a destination of size 200 + 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, + | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 31 | __glibc_objsize (__s), __fmt, + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 32 | __va_arg_pack ()); + | ~~~~~~~~~~~~~~~~~ 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); @@ -850,50 +937,6 @@ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ -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); - | ^~ -In file included from /usr/include/stdio.h:906, - from /usr/include/c++/12/cstdio:42, - from /usr/include/c++/12/ext/string_conversions.h:43, - from /usr/include/c++/12/bits/basic_string.h:3960, - from /usr/include/c++/12/string:53, - from /usr/include/c++/12/bits/locale_classes.h:40, - from /usr/include/c++/12/bits/ios_base.h:41, - from /usr/include/c++/12/ios:42, - from /usr/include/c++/12/ostream:38, - from /usr/include/c++/12/iostream:39, - from acpitool.cpp:37: -In function 'int sprintf(char*, const char*, ...)', - inlined from 'int Do_Fan_Info(int)' at acpitool.cpp:374:11: -/usr/include/i386-linux-gnu/bits/stdio2.h:30:34: note: '__builtin___sprintf_chk' output between 22 and 277 bytes into a destination of size 200 - 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, - | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 31 | __glibc_objsize (__s), __fmt, - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 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); - | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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); @@ -944,7 +987,7 @@ make[2]: Leaving directory '/build/acpitool-0.5.1' make[1]: Leaving directory '/build/acpitool-0.5.1' dh_auto_test - make -j8 check "TESTSUITEFLAGS=-j8 --verbose" VERBOSE=1 + make -j15 check "TESTSUITEFLAGS=-j15 --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' @@ -966,7 +1009,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' @@ -975,7 +1018,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' @@ -1013,12 +1056,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/36425/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/36425/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/9295 and its subdirectories -I: Current time: Thu May 4 05:17:49 -12 2023 -I: pbuilder-time-stamp: 1683220669 +I: removing directory /srv/workspace/pbuilder/36425 and its subdirectories +I: Current time: Thu Jun 6 13:41:15 +14 2024 +I: pbuilder-time-stamp: 1717630875