Diff of the two buildlogs: -- --- b1/build.log 2021-06-24 14:45:00.198972632 +0000 +++ b2/build.log 2021-06-24 14:49:16.485341458 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Wed Jul 27 09:07:38 -12 2022 -I: pbuilder-time-stamp: 1658956058 +I: Current time: Fri Jun 25 04:45:02 +14 2021 +I: pbuilder-time-stamp: 1624545902 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/bullseye-reproducible-base.tgz] I: copying local configuration @@ -17,8 +17,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.Z2mJKrEO/trustedkeys.kbx': General error -gpgv: Signature made Wed Apr 8 12:09:44 2020 -12 +gpgv: keyblock resource '/tmp/dpkg-verify-sig.l3z1sm76/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 @@ -35,137 +35,171 @@ 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/65456/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/23217/tmp/hooks/D01_modify_environment starting +debug: Running on ionos12-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 +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/23217/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/23217/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,-fixfilepath parallel=18' - DISTRIBUTION='' - HOME='/root' - HOST_ARCH='i386' + 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]="i686-pc-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=i386 + DEBIAN_FRONTEND=noninteractive + DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all,-fixfilepath parallel=10' + DIRSTACK=() + DISTRIBUTION= + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=i686 + HOST_ARCH=i386 IFS=' ' - INVOCATION_ID='3348dbfd6eb84427bc1f2c4da2c2c06f' - 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='65456' - PS1='# ' - PS2='> ' + INVOCATION_ID=bbbd7d7b469c43b69888c7a52de89611 + 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=23217 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.feCeohJZYN/pbuilderrc_nMzi --hookdir /etc/pbuilder/first-build-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/bullseye-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/tmp.feCeohJZYN/b1 --logfile b1/build.log acpitool_0.5.1-6.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://85.184.249.68: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.feCeohJZYN/pbuilderrc_Kx0n --hookdir /etc/pbuilder/rebuild-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/bullseye-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/tmp.feCeohJZYN/b2 --logfile b2/build.log --extrapackages usrmerge acpitool_0.5.1-6.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://78.137.99.97:3128 I: uname -a - Linux ionos6-i386 4.19.0-17-amd64 #1 SMP Debian 4.19.194-1 (2021-06-10) x86_64 GNU/Linux + Linux i-capture-the-hostname 4.19.0-17-686-pae #1 SMP Debian 4.19.194-1 (2021-06-10) i686 GNU/Linux I: ls -l /bin - total 5776 - -rwxr-xr-x 1 root root 1367848 Jun 21 2021 bash - -rwxr-xr-x 3 root root 38280 Jul 20 2020 bunzip2 - -rwxr-xr-x 3 root root 38280 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 38280 Jul 20 2020 bzip2 - -rwxr-xr-x 1 root root 17768 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 38824 Sep 22 2020 cat - -rwxr-xr-x 1 root root 71624 Sep 22 2020 chgrp - -rwxr-xr-x 1 root root 67528 Sep 22 2020 chmod - -rwxr-xr-x 1 root root 75752 Sep 22 2020 chown - -rwxr-xr-x 1 root root 157960 Sep 22 2020 cp - -rwxr-xr-x 1 root root 128724 Dec 10 2020 dash - -rwxr-xr-x 1 root root 124904 Sep 22 2020 date - -rwxr-xr-x 1 root root 92172 Sep 22 2020 dd - -rwxr-xr-x 1 root root 100752 Sep 22 2020 df - -rwxr-xr-x 1 root root 153964 Sep 22 2020 dir - -rwxr-xr-x 1 root root 83644 Feb 7 2021 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 34664 Sep 22 2020 echo - -rwxr-xr-x 1 root root 28 Nov 9 2020 egrep - -rwxr-xr-x 1 root root 34664 Sep 22 2020 false - -rwxr-xr-x 1 root root 28 Nov 9 2020 fgrep - -rwxr-xr-x 1 root root 71928 Feb 7 2021 findmnt - -rwsr-xr-x 1 root root 30112 Feb 26 2021 fusermount - -rwxr-xr-x 1 root root 210488 Nov 9 2020 grep - -rwxr-xr-x 2 root root 2346 Mar 2 2021 gunzip - -rwxr-xr-x 1 root root 6376 Mar 2 2021 gzexe - -rwxr-xr-x 1 root root 100952 Mar 2 2021 gzip - -rwxr-xr-x 1 root root 21916 Nov 6 2019 hostname - -rwxr-xr-x 1 root root 83980 Sep 22 2020 ln - -rwxr-xr-x 1 root root 55572 Feb 7 2020 login - -rwxr-xr-x 1 root root 153964 Sep 22 2020 ls - -rwxr-xr-x 1 root root 153124 Feb 7 2021 lsblk - -rwxr-xr-x 1 root root 96328 Sep 22 2020 mkdir - -rwxr-xr-x 1 root root 79912 Sep 22 2020 mknod - -rwxr-xr-x 1 root root 47048 Sep 22 2020 mktemp - -rwxr-xr-x 1 root root 58920 Feb 7 2021 more - -rwsr-xr-x 1 root root 50720 Feb 7 2021 mount - -rwxr-xr-x 1 root root 13856 Feb 7 2021 mountpoint - -rwxr-xr-x 1 root root 157996 Sep 22 2020 mv - lrwxrwxrwx 1 root root 8 Nov 6 2019 nisdomainname -> hostname - lrwxrwxrwx 1 root root 14 Apr 18 2021 pidof -> /sbin/killall5 - -rwxr-xr-x 1 root root 38824 Sep 22 2020 pwd - lrwxrwxrwx 1 root root 4 Jun 21 2021 rbash -> bash - -rwxr-xr-x 1 root root 46984 Sep 22 2020 readlink - -rwxr-xr-x 1 root root 75720 Sep 22 2020 rm - -rwxr-xr-x 1 root root 46984 Sep 22 2020 rmdir - -rwxr-xr-x 1 root root 22292 Sep 27 2020 run-parts - -rwxr-xr-x 1 root root 125036 Dec 22 2018 sed - lrwxrwxrwx 1 root root 4 Jul 26 03:47 sh -> dash - -rwxr-xr-x 1 root root 34696 Sep 22 2020 sleep - -rwxr-xr-x 1 root root 83880 Sep 22 2020 stty - -rwsr-xr-x 1 root root 79396 Feb 7 2021 su - -rwxr-xr-x 1 root root 34696 Sep 22 2020 sync - -rwxr-xr-x 1 root root 602584 Feb 16 2021 tar - -rwxr-xr-x 1 root root 13860 Sep 27 2020 tempfile - -rwxr-xr-x 1 root root 108520 Sep 22 2020 touch - -rwxr-xr-x 1 root root 34664 Sep 22 2020 true - -rwxr-xr-x 1 root root 17768 Feb 26 2021 ulockmgr_server - -rwsr-xr-x 1 root root 30236 Feb 7 2021 umount - -rwxr-xr-x 1 root root 34664 Sep 22 2020 uname - -rwxr-xr-x 2 root root 2346 Mar 2 2021 uncompress - -rwxr-xr-x 1 root root 153964 Sep 22 2020 vdir - -rwxr-xr-x 1 root root 63024 Feb 7 2021 wdctl - lrwxrwxrwx 1 root root 8 Nov 6 2019 ypdomainname -> hostname - -rwxr-xr-x 1 root root 1984 Mar 2 2021 zcat - -rwxr-xr-x 1 root root 1678 Mar 2 2021 zcmp - -rwxr-xr-x 1 root root 5880 Mar 2 2021 zdiff - -rwxr-xr-x 1 root root 29 Mar 2 2021 zegrep - -rwxr-xr-x 1 root root 29 Mar 2 2021 zfgrep - -rwxr-xr-x 1 root root 2081 Mar 2 2021 zforce - -rwxr-xr-x 1 root root 7585 Mar 2 2021 zgrep - -rwxr-xr-x 1 root root 2206 Mar 2 2021 zless - -rwxr-xr-x 1 root root 1842 Mar 2 2021 zmore - -rwxr-xr-x 1 root root 4553 Mar 2 2021 znew -I: user script /srv/workspace/pbuilder/65456/tmp/hooks/D02_print_environment finished + total 5788 + -rwxr-xr-x 1 root root 1367848 Jun 22 16:25 bash + -rwxr-xr-x 3 root root 38280 Jul 21 2020 bunzip2 + -rwxr-xr-x 3 root root 38280 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 38280 Jul 21 2020 bzip2 + -rwxr-xr-x 1 root root 17768 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 38824 Sep 23 2020 cat + -rwxr-xr-x 1 root root 71624 Sep 23 2020 chgrp + -rwxr-xr-x 1 root root 67528 Sep 23 2020 chmod + -rwxr-xr-x 1 root root 75752 Sep 23 2020 chown + -rwxr-xr-x 1 root root 157960 Sep 23 2020 cp + -rwxr-xr-x 1 root root 128724 Dec 11 2020 dash + -rwxr-xr-x 1 root root 124904 Sep 23 2020 date + -rwxr-xr-x 1 root root 92172 Sep 23 2020 dd + -rwxr-xr-x 1 root root 100752 Sep 23 2020 df + -rwxr-xr-x 1 root root 153964 Sep 23 2020 dir + -rwxr-xr-x 1 root root 83644 Feb 8 04:38 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 34664 Sep 23 2020 echo + -rwxr-xr-x 1 root root 28 Nov 10 2020 egrep + -rwxr-xr-x 1 root root 34664 Sep 23 2020 false + -rwxr-xr-x 1 root root 28 Nov 10 2020 fgrep + -rwxr-xr-x 1 root root 71928 Feb 8 04:38 findmnt + -rwsr-xr-x 1 root root 30112 Feb 27 06:12 fusermount + -rwxr-xr-x 1 root root 210488 Nov 10 2020 grep + -rwxr-xr-x 2 root root 2346 Mar 3 13:30 gunzip + -rwxr-xr-x 1 root root 6376 Mar 3 13:30 gzexe + -rwxr-xr-x 1 root root 100952 Mar 3 13:30 gzip + -rwxr-xr-x 1 root root 21916 Nov 8 2019 hostname + -rwxr-xr-x 1 root root 83980 Sep 23 2020 ln + -rwxr-xr-x 1 root root 55572 Feb 8 2020 login + -rwxr-xr-x 1 root root 153964 Sep 23 2020 ls + -rwxr-xr-x 1 root root 153124 Feb 8 04:38 lsblk + -rwxr-xr-x 1 root root 96328 Sep 23 2020 mkdir + -rwxr-xr-x 1 root root 79912 Sep 23 2020 mknod + -rwxr-xr-x 1 root root 47048 Sep 23 2020 mktemp + -rwxr-xr-x 1 root root 58920 Feb 8 04:38 more + -rwsr-xr-x 1 root root 50720 Feb 8 04:38 mount + -rwxr-xr-x 1 root root 13856 Feb 8 04:38 mountpoint + -rwxr-xr-x 1 root root 157996 Sep 23 2020 mv + lrwxrwxrwx 1 root root 8 Nov 8 2019 nisdomainname -> hostname + lrwxrwxrwx 1 root root 14 Apr 19 05:38 pidof -> /sbin/killall5 + -rwxr-xr-x 1 root root 38824 Sep 23 2020 pwd + lrwxrwxrwx 1 root root 4 Jun 22 16:25 rbash -> bash + -rwxr-xr-x 1 root root 46984 Sep 23 2020 readlink + -rwxr-xr-x 1 root root 75720 Sep 23 2020 rm + -rwxr-xr-x 1 root root 46984 Sep 23 2020 rmdir + -rwxr-xr-x 1 root root 22292 Sep 28 2020 run-parts + -rwxr-xr-x 1 root root 125036 Dec 23 2018 sed + lrwxrwxrwx 1 root root 4 Jun 25 04:47 sh -> bash + lrwxrwxrwx 1 root root 4 Jun 24 23:28 sh.distrib -> dash + -rwxr-xr-x 1 root root 34696 Sep 23 2020 sleep + -rwxr-xr-x 1 root root 83880 Sep 23 2020 stty + -rwsr-xr-x 1 root root 79396 Feb 8 04:38 su + -rwxr-xr-x 1 root root 34696 Sep 23 2020 sync + -rwxr-xr-x 1 root root 602584 Feb 17 23:55 tar + -rwxr-xr-x 1 root root 13860 Sep 28 2020 tempfile + -rwxr-xr-x 1 root root 108520 Sep 23 2020 touch + -rwxr-xr-x 1 root root 34664 Sep 23 2020 true + -rwxr-xr-x 1 root root 17768 Feb 27 06:12 ulockmgr_server + -rwsr-xr-x 1 root root 30236 Feb 8 04:38 umount + -rwxr-xr-x 1 root root 34664 Sep 23 2020 uname + -rwxr-xr-x 2 root root 2346 Mar 3 13:30 uncompress + -rwxr-xr-x 1 root root 153964 Sep 23 2020 vdir + -rwxr-xr-x 1 root root 63024 Feb 8 04:38 wdctl + lrwxrwxrwx 1 root root 8 Nov 8 2019 ypdomainname -> hostname + -rwxr-xr-x 1 root root 1984 Mar 3 13:30 zcat + -rwxr-xr-x 1 root root 1678 Mar 3 13:30 zcmp + -rwxr-xr-x 1 root root 5880 Mar 3 13:30 zdiff + -rwxr-xr-x 1 root root 29 Mar 3 13:30 zegrep + -rwxr-xr-x 1 root root 29 Mar 3 13:30 zfgrep + -rwxr-xr-x 1 root root 2081 Mar 3 13:30 zforce + -rwxr-xr-x 1 root root 7585 Mar 3 13:30 zgrep + -rwxr-xr-x 1 root root 2206 Mar 3 13:30 zless + -rwxr-xr-x 1 root root 1842 Mar 3 13:30 zmore + -rwxr-xr-x 1 root root 4553 Mar 3 13:30 znew +I: user script /srv/workspace/pbuilder/23217/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -237,7 +271,7 @@ Get: 32 http://deb.debian.org/debian bullseye/main i386 diffstat i386 1.64-1 [37.1 kB] Get: 33 http://deb.debian.org/debian bullseye/main i386 ed i386 1.17-1 [61.2 kB] Get: 34 http://deb.debian.org/debian bullseye/main i386 quilt all 0.66-2.1 [319 kB] -Fetched 19.0 MB in 0s (79.0 MB/s) +Fetched 19.0 MB in 3s (6517 kB/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 ... 19675 files and directories currently installed.) @@ -388,8 +422,44 @@ Writing extended state information... Building tag database... -> Finished parsing the build-deps +Reading package lists... +Building dependency tree... +Reading state information... +The following additional packages will be installed: + libfile-find-rule-perl libnumber-compare-perl libtext-glob-perl +The following NEW packages will be installed: + libfile-find-rule-perl libnumber-compare-perl libtext-glob-perl usrmerge +0 upgraded, 4 newly installed, 0 to remove and 0 not upgraded. +Need to get 59.5 kB of archives. +After this operation, 157 kB of additional disk space will be used. +Get:1 http://deb.debian.org/debian bullseye/main i386 libnumber-compare-perl all 0.03-1.1 [6956 B] +Get:2 http://deb.debian.org/debian bullseye/main i386 libtext-glob-perl all 0.11-1 [8888 B] +Get:3 http://deb.debian.org/debian bullseye/main i386 libfile-find-rule-perl all 0.34-1 [30.6 kB] +Get:4 http://deb.debian.org/debian bullseye/main i386 usrmerge all 25 [13.0 kB] +debconf: delaying package configuration, since apt-utils is not installed +Fetched 59.5 kB in 0s (560 kB/s) +Selecting previously unselected package libnumber-compare-perl. +(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 ... 21650 files and directories currently installed.) +Preparing to unpack .../libnumber-compare-perl_0.03-1.1_all.deb ... +Unpacking libnumber-compare-perl (0.03-1.1) ... +Selecting previously unselected package libtext-glob-perl. +Preparing to unpack .../libtext-glob-perl_0.11-1_all.deb ... +Unpacking libtext-glob-perl (0.11-1) ... +Selecting previously unselected package libfile-find-rule-perl. +Preparing to unpack .../libfile-find-rule-perl_0.34-1_all.deb ... +Unpacking libfile-find-rule-perl (0.34-1) ... +Selecting previously unselected package usrmerge. +Preparing to unpack .../archives/usrmerge_25_all.deb ... +Unpacking usrmerge (25) ... +Setting up libtext-glob-perl (0.11-1) ... +Setting up libnumber-compare-perl (0.03-1.1) ... +Setting up libfile-find-rule-perl (0.34-1) ... +Setting up usrmerge (25) ... +The system has been successfully converted. +Processing triggers for man-db (2.9.4-2) ... +Not building database; man-db/auto-update is not 'true'. 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 +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 dpkg-buildpackage: info: source package acpitool dpkg-buildpackage: info: source version 0.5.1-6 dpkg-buildpackage: info: source distribution unstable @@ -424,7 +494,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 thread-safe mkdir -p... /bin/mkdir -p +checking for a thread-safe mkdir -p... /usr/bin/mkdir -p checking for gawk... no checking for mawk... mawk checking whether make sets $(MAKE)... yes @@ -450,8 +520,8 @@ checking for dirent.h that defines DIR... yes checking for library containing opendir... none required checking how to run the C preprocessor... gcc -E -checking for grep that handles long lines and -e... /bin/grep -checking for egrep... /bin/grep -E +checking for grep that handles long lines and -e... /usr/bin/grep +checking for egrep... /usr/bin/grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes @@ -482,7 +552,7 @@ make[1]: Leaving directory '/build/acpitool-0.5.1' dh_auto_build - make -j18 + make -j10 make[1]: Entering directory '/build/acpitool-0.5.1' make all-recursive make[2]: Entering directory '/build/acpitool-0.5.1' @@ -497,34 +567,38 @@ 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 cpu.o cpu.cpp 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 battery.o battery.cpp 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 -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"; - | ^~~~~~~~~~~~~~~~~~~~~~~~ -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 // - | ^~~~~~~~~~~~~~~~~~~~~~~ -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"; - | ^~~~~~~~~~~~~~~~~~~~~~~~~~ +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"; + | ^~~~~~~~~~~~~~~~~ +asus.cpp: In function 'int Do_Asus_LCD_Info()': +asus.cpp:87:16: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 87 | filename = "/proc/acpi/asus/brn"; + | ^~~~~~~~~~~~~~~~~~~~~ +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"; + | ^~~~~~~~~~~~~~~~~~~~~ +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"; + | ^~~~~~~~~~~~~~~~~~~~~~ +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"; + | ^~~~~~~~~~~~~~~~~~~~~~ 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/"; @@ -549,26 +623,6 @@ | ~~~^~ | | | char* -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"; - | ^~~~~~~~~~~~~~~~~ -asus.cpp: In function 'int Do_Asus_LCD_Info()': -asus.cpp:87:16: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 87 | filename = "/proc/acpi/asus/brn"; - | ^~~~~~~~~~~~~~~~~~~~~ -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"; - | ^~~~~~~~~~~~~~~~~~~~~ -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"; - | ^~~~~~~~~~~~~~~~~~~~~~ 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"; @@ -585,102 +639,72 @@ thinkpad.cpp:85:13: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 85 | filename = "/proc/acpi/ibm/fan"; | ^~~~~~~~~~~~~~~~~~~~ -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"; - | ^~~~~~~~~~~~~~~~~~~~~~ -freq.cpp: In function 'int Get_Min_Freq()': -freq.cpp:97:9: 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:9: 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:9: 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:9: 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:9: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] - 189 | fscanf(freqinfo_fp, "%s", str); - | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ +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 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"; + | ^~~~~~~~~~~~~~~~~~~~~~~~ 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 | ^~~~~~~~~~~~~~~~~~~~~~~~~~ -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 // - | ~~~~~^~~~~~~~~~~~~~~~~~~~~~ -cpu.cpp:65:8: warning: ignoring return value of 'char* fgets(char*, int, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 65 | fgets(str, 299, cpuinfo_fp); - | ~~~~~^~~~~~~~~~~~~~~~~~~~~~ -cpu.cpp:69:8: warning: ignoring return value of 'char* fgets(char*, int, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 69 | fgets(str, 299, cpuinfo_fp); - | ~~~~~^~~~~~~~~~~~~~~~~~~~~~ -cpu.cpp:70:8: warning: ignoring return value of 'char* fgets(char*, int, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 70 | fgets(str, 299, cpuinfo_fp); - | ~~~~~^~~~~~~~~~~~~~~~~~~~~~ -cpu.cpp:81:8: warning: ignoring return value of 'char* fgets(char*, int, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 81 | fgets(str, 299, cpuinfo_fp); - | ~~~~~^~~~~~~~~~~~~~~~~~~~~~ -cpu.cpp:86:31: warning: ignoring return value of 'char* fgets(char*, int, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 86 | for(int t=0; t<5; t++) fgets(str, 299, cpuinfo_fp); // we can skip at least 5 lines to reach Bogomips line// - | ~~~~~^~~~~~~~~~~~~~~~~~~~~~ -cpu.cpp:90:12: warning: ignoring return value of 'char* fgets(char*, int, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 90 | fgets(str, 299, cpuinfo_fp); // different for Amd64, Opteron, Core Duo, P4 with Ht, ... // - | ~~~~~^~~~~~~~~~~~~~~~~~~~~~ -cpu.cpp:213:10: warning: ignoring return value of 'char* fgets(char*, int, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 213 | fgets(str, 100, power_fp); // active state - | ~~~~~^~~~~~~~~~~~~~~~~~~~ -cpu.cpp:220:10: warning: ignoring return value of 'char* fgets(char*, int, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 220 | fgets(str, 100, power_fp); // max_cstate - | ~~~~~^~~~~~~~~~~~~~~~~~~~ -cpu.cpp:229:10: warning: ignoring return value of 'char* fgets(char*, int, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 229 | fgets(str, 100, power_fp); // bus master activity - | ~~~~~^~~~~~~~~~~~~~~~~~~~ -cpu.cpp:236:10: warning: ignoring return value of 'char* fgets(char*, int, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 236 | fgets(str, 100, power_fp); // states (line contains no information) - | ~~~~~^~~~~~~~~~~~~~~~~~~~ -cpu.cpp:239:11: warning: ignoring return value of 'char* fgets(char*, int, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 239 | fgets(str, 130, power_fp); // cstate Cx - | ~~~~~^~~~~~~~~~~~~~~~~~~~ -cpu.cpp:285:14: warning: ignoring return value of 'char* fgets(char*, int, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 285 | fgets(str, 100, throt_fp); // active state - | ~~~~~^~~~~~~~~~~~~~~~~~~~ -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 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"; + | ^~~~~~~~~~~~~~~~~~~~~~~~ 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/"; | ^~~~~~~~~~~~~~~~~~~~~ +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 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/"; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ +freq.cpp: In function 'int Get_Min_Freq()': +freq.cpp:97:9: 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:9: 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:9: 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:9: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] + 166 | fscanf(freqinfo_fp, "%s", str); + | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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); | ~~~~~~^~~~~~~~~~~~~~~~~~~~ ac_adapter.cpp:219:12: warning: ignoring return value of 'char* fgets(char*, int, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 219 | fgets(str, 100, power_fp); | ~~~~~^~~~~~~~~~~~~~~~~~~~ +freq.cpp: In function 'int Get_Driver(char*)': +freq.cpp:189:9: 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 Has_ACPI(char*)': acpitool.cpp:69:16: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 69 | filename = "/proc/acpi/info"; @@ -708,6 +732,10 @@ acpitool.cpp:422:16: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 422 | filename = "/proc/acpi/wakeup"; | ^~~~~~~~~~~~~~~~~~~ +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 // + | ^~~~~~~~~~~~~~~~~~~~~~~ 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"; @@ -734,6 +762,17 @@ acpitool.cpp:549:13: 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:13: 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:8: 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: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); + | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ 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); | ^~ @@ -753,17 +792,48 @@ | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -battery.cpp: In function 'int Get_Battery_Info_from_Sys(int, Battery_Info*, int)': -battery.cpp:575:13: 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:8: 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: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); - | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ +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 // + | ~~~~~^~~~~~~~~~~~~~~~~~~~~~ +cpu.cpp:65:8: warning: ignoring return value of 'char* fgets(char*, int, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 65 | fgets(str, 299, cpuinfo_fp); + | ~~~~~^~~~~~~~~~~~~~~~~~~~~~ +cpu.cpp:69:8: warning: ignoring return value of 'char* fgets(char*, int, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 69 | fgets(str, 299, cpuinfo_fp); + | ~~~~~^~~~~~~~~~~~~~~~~~~~~~ +cpu.cpp:70:8: warning: ignoring return value of 'char* fgets(char*, int, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 70 | fgets(str, 299, cpuinfo_fp); + | ~~~~~^~~~~~~~~~~~~~~~~~~~~~ +cpu.cpp:81:8: warning: ignoring return value of 'char* fgets(char*, int, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 81 | fgets(str, 299, cpuinfo_fp); + | ~~~~~^~~~~~~~~~~~~~~~~~~~~~ +cpu.cpp:86:31: warning: ignoring return value of 'char* fgets(char*, int, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 86 | for(int t=0; t<5; t++) fgets(str, 299, cpuinfo_fp); // we can skip at least 5 lines to reach Bogomips line// + | ~~~~~^~~~~~~~~~~~~~~~~~~~~~ +cpu.cpp:90:12: warning: ignoring return value of 'char* fgets(char*, int, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 90 | fgets(str, 299, cpuinfo_fp); // different for Amd64, Opteron, Core Duo, P4 with Ht, ... // + | ~~~~~^~~~~~~~~~~~~~~~~~~~~~ +cpu.cpp:213:10: warning: ignoring return value of 'char* fgets(char*, int, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 213 | fgets(str, 100, power_fp); // active state + | ~~~~~^~~~~~~~~~~~~~~~~~~~ +cpu.cpp:220:10: warning: ignoring return value of 'char* fgets(char*, int, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 220 | fgets(str, 100, power_fp); // max_cstate + | ~~~~~^~~~~~~~~~~~~~~~~~~~ +cpu.cpp:229:10: warning: ignoring return value of 'char* fgets(char*, int, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 229 | fgets(str, 100, power_fp); // bus master activity + | ~~~~~^~~~~~~~~~~~~~~~~~~~ +cpu.cpp:236:10: warning: ignoring return value of 'char* fgets(char*, int, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 236 | fgets(str, 100, power_fp); // states (line contains no information) + | ~~~~~^~~~~~~~~~~~~~~~~~~~ +cpu.cpp:239:11: warning: ignoring return value of 'char* fgets(char*, int, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 239 | fgets(str, 130, power_fp); // cstate Cx + | ~~~~~^~~~~~~~~~~~~~~~~~~~ +cpu.cpp:285:14: warning: ignoring return value of 'char* fgets(char*, int, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 285 | fgets(str, 100, throt_fp); // active state + | ~~~~~^~~~~~~~~~~~~~~~~~~~ +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); + | ~~~~~^~~~~~~~~~~~~~~~~~~~ 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; @@ -860,7 +930,7 @@ make[2]: Leaving directory '/build/acpitool-0.5.1' make[1]: Leaving directory '/build/acpitool-0.5.1' dh_auto_test - make -j18 check VERBOSE=1 + make -j10 check 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' @@ -882,7 +952,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' @@ -891,7 +961,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' @@ -928,12 +998,14 @@ dpkg-source --after-build . dpkg-buildpackage: info: binary-only upload (no source included) I: copying local configuration +I: user script /srv/workspace/pbuilder/23217/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/23217/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/65456 and its subdirectories -I: Current time: Wed Jul 27 09:07:59 -12 2022 -I: pbuilder-time-stamp: 1658956079 +I: removing directory /srv/workspace/pbuilder/23217 and its subdirectories +I: Current time: Fri Jun 25 04:49:15 +14 2021 +I: pbuilder-time-stamp: 1624546155