I: pbuilder: network access will be disabled during build I: Current time: Fri Apr 12 07:13:13 +14 2024 I: pbuilder-time-stamp: 1712855593 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/trixie-reproducible-base.tgz] I: copying local configuration W: --override-config is not set; not updating apt.conf Read the manpage for details. I: mounting /proc filesystem I: mounting /sys filesystem I: creating /{dev,run}/shm I: mounting /dev/pts filesystem I: redirecting /dev/ptmx to /dev/pts/ptmx I: policy-rc.d already exists I: Copying source file I: copying [acpitool_0.5.1-7.dsc] 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 Fri Feb 4 10:17:10 2022 gpgv: using RSA key 264A6030C1BAB4EA82C37F44E06376824AC5ABA9 gpgv: issuer "kkamagui@gmail.com" gpgv: Can't check signature: No public key dpkg-source: warning: cannot verify inline signature for ./acpitool_0.5.1-7.dsc: no acceptable signature found dpkg-source: info: extracting acpitool in acpitool-0.5.1 dpkg-source: info: unpacking acpitool_0.5.1.orig.tar.gz dpkg-source: info: unpacking acpitool_0.5.1-7.debian.tar.xz dpkg-source: info: using patch list from debian/patches/series dpkg-source: info: applying ac_adapter.patch dpkg-source: info: applying battery.patch dpkg-source: info: applying kernel3.patch dpkg-source: info: applying wakeup.patch dpkg-source: info: applying 0001-Do-not-assume-fixed-line-lengths-for-proc-acpi-wakeu.patch dpkg-source: info: applying typos.patch dpkg-source: info: applying fix-typos-in-source.patch 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/26401/tmp/hooks/D01_modify_environment starting debug: Running on virt64a. 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 Apr 11 17:13 /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/26401/tmp/hooks/D01_modify_environment finished I: user script /srv/workspace/pbuilder/26401/tmp/hooks/D02_print_environment starting I: set 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]="21" [3]="1" [4]="release" [5]="arm-unknown-linux-gnueabihf") BASH_VERSION='5.2.21(1)-release' BUILDDIR=/build/reproducible-path 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=trixie EUID=0 FUNCNAME=([0]="Echo" [1]="main") GROUPS=() HOME=/root HOSTNAME=i-capture-the-hostname HOSTTYPE=arm HOST_ARCH=armhf IFS=' ' INVOCATION_ID=81232f45ebe746f9a412682cfaba69a2 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=26401 PS4='+ ' 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.Pnp4Tt1o/pbuilderrc_HnUL --distribution trixie --hookdir /etc/pbuilder/rebuild-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/trixie-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.Pnp4Tt1o/b2 --logfile b2/build.log acpitool_0.5.1-7.dsc' SUDO_GID=114 SUDO_UID=108 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 i-capture-the-hostname 6.1.0-18-arm64 #1 SMP Debian 6.1.76-1 (2024-02-01) aarch64 GNU/Linux I: ls -l /bin lrwxrwxrwx 1 root root 7 Apr 11 11:25 /bin -> usr/bin I: user script /srv/workspace/pbuilder/26401/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy Version: 0.invalid.0 Architecture: armhf Maintainer: Debian Pbuilder Team Description: Dummy package to satisfy dependencies with aptitude - created by pbuilder This package was created automatically by pbuilder to satisfy the build-dependencies of the package being currently built. Depends: debhelper-compat (= 13), quilt (>= 0.46-7~) dpkg-deb: building package 'pbuilder-satisfydepends-dummy' in '/tmp/satisfydepends-aptitude/pbuilder-satisfydepends-dummy.deb'. Selecting previously unselected package pbuilder-satisfydepends-dummy. (Reading database ... 19635 files and directories currently installed.) Preparing to unpack .../pbuilder-satisfydepends-dummy.deb ... Unpacking pbuilder-satisfydepends-dummy (0.invalid.0) ... dpkg: pbuilder-satisfydepends-dummy: dependency problems, but configuring anyway as you requested: pbuilder-satisfydepends-dummy depends on debhelper-compat (= 13); however: Package debhelper-compat is not installed. pbuilder-satisfydepends-dummy depends on quilt (>= 0.46-7~); however: Package quilt is not installed. Setting up pbuilder-satisfydepends-dummy (0.invalid.0) ... Reading package lists... Building dependency tree... Reading state information... Initializing package states... Writing extended state information... Building tag database... pbuilder-satisfydepends-dummy is already installed at the requested version (0.invalid.0) pbuilder-satisfydepends-dummy is already installed at the requested version (0.invalid.0) The following NEW packages will be installed: autoconf{a} automake{a} autopoint{a} autotools-dev{a} bsdextrautils{a} debhelper{a} dh-autoreconf{a} dh-strip-nondeterminism{a} diffstat{a} dwz{a} ed{a} file{a} gettext{a} gettext-base{a} groff-base{a} intltool-debian{a} libarchive-zip-perl{a} libdebhelper-perl{a} libelf1{a} libfile-stripnondeterminism-perl{a} libicu72{a} libmagic-mgc{a} libmagic1{a} libpipeline1{a} libsub-override-perl{a} libtool{a} libuchardet0{a} libxml2{a} m4{a} man-db{a} po-debconf{a} quilt{a} sensible-utils{a} The following packages are RECOMMENDED but will NOT be installed: curl less libarchive-cpio-perl libltdl-dev libmail-sendmail-perl lynx wget 0 packages upgraded, 33 newly installed, 0 to remove and 0 not upgraded. Need to get 18.9 MB of archives. After unpacking 69.5 MB will be used. Writing extended state information... Get: 1 http://deb.debian.org/debian trixie/main armhf sensible-utils all 0.0.22 [22.4 kB] Get: 2 http://deb.debian.org/debian trixie/main armhf libmagic-mgc armhf 1:5.45-2+b1 [314 kB] Get: 3 http://deb.debian.org/debian trixie/main armhf libmagic1 armhf 1:5.45-2+b1 [97.9 kB] Get: 4 http://deb.debian.org/debian trixie/main armhf file armhf 1:5.45-2+b1 [42.2 kB] Get: 5 http://deb.debian.org/debian trixie/main armhf gettext-base armhf 0.21-14+b1 [157 kB] Get: 6 http://deb.debian.org/debian trixie/main armhf libuchardet0 armhf 0.0.8-1+b1 [65.7 kB] Get: 7 http://deb.debian.org/debian trixie/main armhf groff-base armhf 1.23.0-3 [1088 kB] Get: 8 http://deb.debian.org/debian trixie/main armhf bsdextrautils armhf 2.39.3-6 [81.2 kB] Get: 9 http://deb.debian.org/debian trixie/main armhf libpipeline1 armhf 1.5.7-2 [33.3 kB] Get: 10 http://deb.debian.org/debian trixie/main armhf man-db armhf 2.12.0-3 [1367 kB] Get: 11 http://deb.debian.org/debian trixie/main armhf m4 armhf 1.4.19-4 [264 kB] Get: 12 http://deb.debian.org/debian trixie/main armhf autoconf all 2.71-3 [332 kB] Get: 13 http://deb.debian.org/debian trixie/main armhf autotools-dev all 20220109.1 [51.6 kB] Get: 14 http://deb.debian.org/debian trixie/main armhf automake all 1:1.16.5-1.3 [823 kB] Get: 15 http://deb.debian.org/debian trixie/main armhf autopoint all 0.21-14 [496 kB] Get: 16 http://deb.debian.org/debian trixie/main armhf libdebhelper-perl all 13.15.3 [88.0 kB] Get: 17 http://deb.debian.org/debian trixie/main armhf libtool all 2.4.7-7 [517 kB] Get: 18 http://deb.debian.org/debian trixie/main armhf dh-autoreconf all 20 [17.1 kB] Get: 19 http://deb.debian.org/debian trixie/main armhf libarchive-zip-perl all 1.68-1 [104 kB] Get: 20 http://deb.debian.org/debian trixie/main armhf libsub-override-perl all 0.10-1 [10.6 kB] Get: 21 http://deb.debian.org/debian trixie/main armhf libfile-stripnondeterminism-perl all 1.13.1-1 [19.4 kB] Get: 22 http://deb.debian.org/debian trixie/main armhf dh-strip-nondeterminism all 1.13.1-1 [8620 B] Get: 23 http://deb.debian.org/debian trixie/main armhf libelf1 armhf 0.190-1+b1 [171 kB] Get: 24 http://deb.debian.org/debian trixie/main armhf dwz armhf 0.15-1 [101 kB] Get: 25 http://deb.debian.org/debian trixie/main armhf libicu72 armhf 72.1-4+b1 [9070 kB] Get: 26 http://deb.debian.org/debian trixie/main armhf libxml2 armhf 2.9.14+dfsg-1.3+b2 [599 kB] Get: 27 http://deb.debian.org/debian trixie/main armhf gettext armhf 0.21-14+b1 [1230 kB] Get: 28 http://deb.debian.org/debian trixie/main armhf intltool-debian all 0.35.0+20060710.6 [22.9 kB] Get: 29 http://deb.debian.org/debian trixie/main armhf po-debconf all 1.0.21+nmu1 [248 kB] Get: 30 http://deb.debian.org/debian trixie/main armhf debhelper all 13.15.3 [901 kB] Get: 31 http://deb.debian.org/debian trixie/main armhf diffstat armhf 1.66-1 [32.0 kB] Get: 32 http://deb.debian.org/debian trixie/main armhf ed armhf 1.20.1-1 [56.3 kB] Get: 33 http://deb.debian.org/debian trixie/main armhf quilt all 0.67+really0.67-4 [434 kB] Fetched 18.9 MB in 0s (45.2 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 ... 19635 files and directories currently installed.) Preparing to unpack .../00-sensible-utils_0.0.22_all.deb ... Unpacking sensible-utils (0.0.22) ... Selecting previously unselected package libmagic-mgc. Preparing to unpack .../01-libmagic-mgc_1%3a5.45-2+b1_armhf.deb ... Unpacking libmagic-mgc (1:5.45-2+b1) ... Selecting previously unselected package libmagic1:armhf. Preparing to unpack .../02-libmagic1_1%3a5.45-2+b1_armhf.deb ... Unpacking libmagic1:armhf (1:5.45-2+b1) ... Selecting previously unselected package file. Preparing to unpack .../03-file_1%3a5.45-2+b1_armhf.deb ... Unpacking file (1:5.45-2+b1) ... Selecting previously unselected package gettext-base. Preparing to unpack .../04-gettext-base_0.21-14+b1_armhf.deb ... Unpacking gettext-base (0.21-14+b1) ... Selecting previously unselected package libuchardet0:armhf. Preparing to unpack .../05-libuchardet0_0.0.8-1+b1_armhf.deb ... Unpacking libuchardet0:armhf (0.0.8-1+b1) ... Selecting previously unselected package groff-base. Preparing to unpack .../06-groff-base_1.23.0-3_armhf.deb ... Unpacking groff-base (1.23.0-3) ... Selecting previously unselected package bsdextrautils. Preparing to unpack .../07-bsdextrautils_2.39.3-6_armhf.deb ... Unpacking bsdextrautils (2.39.3-6) ... Selecting previously unselected package libpipeline1:armhf. Preparing to unpack .../08-libpipeline1_1.5.7-2_armhf.deb ... Unpacking libpipeline1:armhf (1.5.7-2) ... Selecting previously unselected package man-db. Preparing to unpack .../09-man-db_2.12.0-3_armhf.deb ... Unpacking man-db (2.12.0-3) ... Selecting previously unselected package m4. Preparing to unpack .../10-m4_1.4.19-4_armhf.deb ... Unpacking m4 (1.4.19-4) ... Selecting previously unselected package autoconf. Preparing to unpack .../11-autoconf_2.71-3_all.deb ... Unpacking autoconf (2.71-3) ... Selecting previously unselected package autotools-dev. Preparing to unpack .../12-autotools-dev_20220109.1_all.deb ... Unpacking autotools-dev (20220109.1) ... Selecting previously unselected package automake. Preparing to unpack .../13-automake_1%3a1.16.5-1.3_all.deb ... Unpacking automake (1:1.16.5-1.3) ... Selecting previously unselected package autopoint. Preparing to unpack .../14-autopoint_0.21-14_all.deb ... Unpacking autopoint (0.21-14) ... Selecting previously unselected package libdebhelper-perl. Preparing to unpack .../15-libdebhelper-perl_13.15.3_all.deb ... Unpacking libdebhelper-perl (13.15.3) ... Selecting previously unselected package libtool. Preparing to unpack .../16-libtool_2.4.7-7_all.deb ... Unpacking libtool (2.4.7-7) ... Selecting previously unselected package dh-autoreconf. Preparing to unpack .../17-dh-autoreconf_20_all.deb ... Unpacking dh-autoreconf (20) ... Selecting previously unselected package libarchive-zip-perl. Preparing to unpack .../18-libarchive-zip-perl_1.68-1_all.deb ... Unpacking libarchive-zip-perl (1.68-1) ... Selecting previously unselected package libsub-override-perl. Preparing to unpack .../19-libsub-override-perl_0.10-1_all.deb ... Unpacking libsub-override-perl (0.10-1) ... Selecting previously unselected package libfile-stripnondeterminism-perl. Preparing to unpack .../20-libfile-stripnondeterminism-perl_1.13.1-1_all.deb ... Unpacking libfile-stripnondeterminism-perl (1.13.1-1) ... Selecting previously unselected package dh-strip-nondeterminism. Preparing to unpack .../21-dh-strip-nondeterminism_1.13.1-1_all.deb ... Unpacking dh-strip-nondeterminism (1.13.1-1) ... Selecting previously unselected package libelf1:armhf. Preparing to unpack .../22-libelf1_0.190-1+b1_armhf.deb ... Unpacking libelf1:armhf (0.190-1+b1) ... Selecting previously unselected package dwz. Preparing to unpack .../23-dwz_0.15-1_armhf.deb ... Unpacking dwz (0.15-1) ... Selecting previously unselected package libicu72:armhf. Preparing to unpack .../24-libicu72_72.1-4+b1_armhf.deb ... Unpacking libicu72:armhf (72.1-4+b1) ... Selecting previously unselected package libxml2:armhf. Preparing to unpack .../25-libxml2_2.9.14+dfsg-1.3+b2_armhf.deb ... Unpacking libxml2:armhf (2.9.14+dfsg-1.3+b2) ... Selecting previously unselected package gettext. Preparing to unpack .../26-gettext_0.21-14+b1_armhf.deb ... Unpacking gettext (0.21-14+b1) ... Selecting previously unselected package intltool-debian. Preparing to unpack .../27-intltool-debian_0.35.0+20060710.6_all.deb ... Unpacking intltool-debian (0.35.0+20060710.6) ... Selecting previously unselected package po-debconf. Preparing to unpack .../28-po-debconf_1.0.21+nmu1_all.deb ... Unpacking po-debconf (1.0.21+nmu1) ... Selecting previously unselected package debhelper. Preparing to unpack .../29-debhelper_13.15.3_all.deb ... Unpacking debhelper (13.15.3) ... Selecting previously unselected package diffstat. Preparing to unpack .../30-diffstat_1.66-1_armhf.deb ... Unpacking diffstat (1.66-1) ... Selecting previously unselected package ed. Preparing to unpack .../31-ed_1.20.1-1_armhf.deb ... Unpacking ed (1.20.1-1) ... Selecting previously unselected package quilt. Preparing to unpack .../32-quilt_0.67+really0.67-4_all.deb ... Unpacking quilt (0.67+really0.67-4) ... Setting up libpipeline1:armhf (1.5.7-2) ... Setting up libicu72:armhf (72.1-4+b1) ... Setting up bsdextrautils (2.39.3-6) ... Setting up libmagic-mgc (1:5.45-2+b1) ... Setting up libarchive-zip-perl (1.68-1) ... Setting up libdebhelper-perl (13.15.3) ... Setting up libmagic1:armhf (1:5.45-2+b1) ... Setting up gettext-base (0.21-14+b1) ... Setting up m4 (1.4.19-4) ... Setting up file (1:5.45-2+b1) ... Setting up autotools-dev (20220109.1) ... Setting up ed (1.20.1-1) ... Setting up diffstat (1.66-1) ... Setting up autopoint (0.21-14) ... Setting up autoconf (2.71-3) ... Setting up sensible-utils (0.0.22) ... Setting up libuchardet0:armhf (0.0.8-1+b1) ... Setting up libsub-override-perl (0.10-1) ... Setting up libelf1:armhf (0.190-1+b1) ... Setting up libxml2:armhf (2.9.14+dfsg-1.3+b2) ... Setting up automake (1:1.16.5-1.3) ... update-alternatives: using /usr/bin/automake-1.16 to provide /usr/bin/automake (automake) in auto mode Setting up libfile-stripnondeterminism-perl (1.13.1-1) ... Setting up gettext (0.21-14+b1) ... Setting up libtool (2.4.7-7) ... Setting up quilt (0.67+really0.67-4) ... Setting up intltool-debian (0.35.0+20060710.6) ... Setting up dh-autoreconf (20) ... Setting up dh-strip-nondeterminism (1.13.1-1) ... Setting up dwz (0.15-1) ... Setting up groff-base (1.23.0-3) ... Setting up po-debconf (1.0.21+nmu1) ... Setting up man-db (2.12.0-3) ... Not building database; man-db/auto-update is not 'true'. Setting up debhelper (13.15.3) ... Processing triggers for libc-bin (2.37-15) ... Reading package lists... Building dependency tree... Reading state information... Reading extended state information... Initializing package states... Writing extended state information... Building tag database... -> Finished parsing the build-deps I: Building the package I: user script /srv/workspace/pbuilder/26401/tmp/hooks/A99_set_merged_usr starting Not re-configuring usrmerge for trixie I: user script /srv/workspace/pbuilder/26401/tmp/hooks/A99_set_merged_usr finished hostname: Name or service not known I: Running cd /build/reproducible-path/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 dpkg-buildpackage: info: source changed by Seunghun Han dpkg-source --before-build . dpkg-buildpackage: info: host architecture armhf debian/rules clean dh clean debian/rules override_dh_auto_clean make[1]: Entering directory '/build/reproducible-path/acpitool-0.5.1' dh_auto_clean rm -f config.guess config.sub make[1]: Leaving directory '/build/reproducible-path/acpitool-0.5.1' dh_clean debian/rules binary dh binary dh_update_autotools_config dh_autoreconf autoreconf: warning: autoconf input should be named 'configure.ac', not 'configure.in' aclocal: warning: autoconf input should be named 'configure.ac', not 'configure.in' configure.in:3: warning: 'AM_CONFIG_HEADER': this macro is obsolete. configure.in:3: You should use the 'AC_CONFIG_HEADERS' macro instead. ./lib/autoconf/general.m4:2434: AC_DIAGNOSE is expanded from... aclocal.m4:745: AM_CONFIG_HEADER is expanded from... configure.in:3: the top level configure.in:4: warning: AM_INIT_AUTOMAKE: two- and three-arguments forms are deprecated. ./lib/autoconf/general.m4:2434: AC_DIAGNOSE is expanded from... aclocal.m4:429: AM_INIT_AUTOMAKE is expanded from... configure.in:4: the top level configure.in:30: warning: AC_OUTPUT should be used without arguments. configure.in:30: You should run autoupdate. autoheader: warning: autoconf input should be named 'configure.ac', not 'configure.in' automake: warning: autoconf input should be named 'configure.ac', not 'configure.in' configure.in:4: warning: AM_INIT_AUTOMAKE: two- and three-arguments forms are deprecated. For more info, see: configure.in:4: https://www.gnu.org/software/automake/manual/automake.html#Modernize-AM_005fINIT_005fAUTOMAKE-invocation configure.in:10: installing './compile' configure.in:6: installing './config.guess' configure.in:6: installing './config.sub' automake: warning: autoconf input should be named 'configure.ac', not 'configure.in' debian/rules override_dh_auto_configure make[1]: Entering directory '/build/reproducible-path/acpitool-0.5.1' cp -f /usr/share/misc/config.guess . cp -f /usr/share/misc/config.sub . dh_auto_configure ./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... /usr/bin/mkdir -p checking for gawk... no checking for mawk... mawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking build system type... arm-unknown-linux-gnueabihf checking host system type... arm-unknown-linux-gnueabihf checking for g++... g++ checking whether the C++ compiler works... yes checking for C++ compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether the compiler supports GNU C++... yes checking whether g++ accepts -g... yes checking for g++ option to enable C++11 features... none needed checking whether make supports the include directive... yes (GNU style) checking dependency style of g++... none checking for gcc... gcc checking whether the compiler supports GNU C... yes checking whether gcc accepts -g... yes checking for gcc option to enable C11 features... none needed checking whether gcc understands -c and -o together... yes checking dependency style of gcc... none checking for dirent.h that defines DIR... yes checking for library containing opendir... none required checking for stdio.h... yes checking for stdlib.h... yes checking for string.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for strings.h... yes checking for sys/stat.h... yes checking for sys/types.h... yes checking for unistd.h... yes checking for unistd.h... (cached) yes checking for an ANSI C-conforming const... yes checking whether closedir returns void... no checking for strdup... yes checking for memset... yes checking for strtol... yes checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating src/Makefile config.status: creating man/Makefile config.status: creating config.h config.status: executing depfiles commands +-----------------------------------------------------------------------------------+ | Run make && make install when the configure script has finished without problems. | +-----------------------------------------------------------------------------------+ make[1]: Leaving directory '/build/reproducible-path/acpitool-0.5.1' dh_auto_build make -j4 make[1]: Entering directory '/build/reproducible-path/acpitool-0.5.1' make all-recursive make[2]: Entering directory '/build/reproducible-path/acpitool-0.5.1' Making all in src make[3]: Entering directory '/build/reproducible-path/acpitool-0.5.1/src' g++ -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/reproducible-path/acpitool-0.5.1=. -fstack-protector-strong -fstack-clash-protection -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/reproducible-path/acpitool-0.5.1=. -fstack-protector-strong -fstack-clash-protection -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/reproducible-path/acpitool-0.5.1=. -fstack-protector-strong -fstack-clash-protection -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/reproducible-path/acpitool-0.5.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -c -o toshiba.o toshiba.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"; | ^~~~~~~~~~~~~~~~~~~~~~~~ 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"; | ^~~~~~~~~~~~~~~~~ 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"; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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 // | ^~~~~~~~~~~~~~~~~~ acpitool.cpp:535:11: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 535 | str = "3"; | ^~~ acpitool.cpp:541:32: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 541 | filename = "/sys/power/state"; | ^~~~~~~~~~~~~~~~~~ acpitool.cpp:542:27: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 542 | str = "mem"; | ^~~~~ acpitool.cpp:545:38: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 545 | case 4 : if(Kernel_24) str = "4"; | ^~~ acpitool.cpp:548:32: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 548 | filename = "/sys/power/state"; | ^~~~~~~~~~~~~~~~~~ acpitool.cpp:549:27: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 549 | str = "disk"; | ^~~~~~ g++ -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/reproducible-path/acpitool-0.5.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -c -o asus.o asus.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); | ~~~~~^~~~~~~~~~~~~~ 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); | ~~~~~^~~~~~~~~~~~~~~~~~~~ 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); | ^~ In file included from /usr/include/stdio.h:906, from /usr/include/c++/13/cstdio:42, from /usr/include/c++/13/ext/string_conversions.h:45, from /usr/include/c++/13/bits/basic_string.h:4109, from /usr/include/c++/13/string:54, from /usr/include/c++/13/bits/locale_classes.h:40, from /usr/include/c++/13/bits/ios_base.h:41, from /usr/include/c++/13/ios:44, from /usr/include/c++/13/ostream:40, from /usr/include/c++/13/iostream:41, from ac_adapter.cpp:35: In function 'int sprintf(char*, const char*, ...)', inlined from 'int Do_AC_Info_Sys()' at ac_adapter.cpp:176:10: /usr/include/arm-linux-gnueabihf/bits/stdio2.h:30:34: note: '__builtin___sprintf_chk' output between 30 and 285 bytes into a destination of size 100 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ ac_adapter.cpp: In function 'int Do_AC_Info_Sys()': ac_adapter.cpp:189:77: warning: '%s' directive writing up to 255 bytes into a region of size 106 [-Wformat-overflow=] 189 | sprintf(filename[findex], "/sys/class/power_supply/%s/uevent", name); | ^~ In function 'int sprintf(char*, const char*, ...)', inlined from 'int Do_AC_Info_Sys()' at ac_adapter.cpp:189:12: /usr/include/arm-linux-gnueabihf/bits/stdio2.h:30:34: note: '__builtin___sprintf_chk' output between 32 and 287 bytes into a destination of size 130 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ 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); | ^~ In function 'int sprintf(char*, const char*, ...)', inlined from 'int Do_AC_Info_Proc(int)' at ac_adapter.cpp:108:20: /usr/include/arm-linux-gnueabihf/bits/stdio2.h:30:34: note: '__builtin___sprintf_chk' output between 29 and 284 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 ()); | ~~~~~~~~~~~~~~~~~ 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); | ^~ In function 'int sprintf(char*, const char*, ...)', inlined from 'int Do_AC_Info(int)' at ac_adapter.cpp:71:20: /usr/include/arm-linux-gnueabihf/bits/stdio2.h:30:34: note: '__builtin___sprintf_chk' output between 29 and 284 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 ()); | ~~~~~~~~~~~~~~~~~ g++ -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/reproducible-path/acpitool-0.5.1=. -fstack-protector-strong -fstack-clash-protection -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); | ^~ In file included from /usr/include/stdio.h:906, from /usr/include/c++/13/cstdio:42, from /usr/include/c++/13/ext/string_conversions.h:45, from /usr/include/c++/13/bits/basic_string.h:4109, from /usr/include/c++/13/string:54, from /usr/include/c++/13/bits/locale_classes.h:40, from /usr/include/c++/13/bits/ios_base.h:41, from /usr/include/c++/13/ios:44, from /usr/include/c++/13/ostream:40, from /usr/include/c++/13/iostream:41, 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/arm-linux-gnueabihf/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 ()); | ~~~~~~~~~~~~~~~~~ g++ -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/reproducible-path/acpitool-0.5.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -c -o cpu.o cpu.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"; | ^~~~~~~~~~~~~~~~~ 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"; | ^~~~~~~~~~~~~~~~~~~~~~ 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 ()); | ~~~~~~~~~~~~~~~~~ thinkpad.cpp: In function 'int Has_Thinkpad_ACPI()': thinkpad.cpp:17:13: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 17 | filename = "/proc/acpi/ibm"; | ^~~~~~~~~~~~~~~~ thinkpad.cpp: In function 'int Eject_Thinkpad_Bay()': thinkpad.cpp:38:13: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 38 | filename = "/proc/acpi/ibm/bay"; | ^~~~~~~~~~~~~~~~~~~~ thinkpad.cpp: In function 'int Set_Thinkpad_LCD_Level(int)': thinkpad.cpp:59:13: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 59 | filename = "/proc/acpi/ibm/brightness"; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ thinkpad.cpp: In function 'int Do_Thinkpad_Fan_Info()': thinkpad.cpp:85:13: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 85 | filename = "/proc/acpi/ibm/fan"; | ^~~~~~~~~~~~~~~~~~~~ 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 // | ^~~~~~~~~~~~~~~~~~~~~~~ g++ -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/reproducible-path/acpitool-0.5.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -c -o battery.o battery.cpp 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 // | ~~~~~^~~~~~~~~~~~~~~~~~~~~~ cpu.cpp:65:22: 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:22: 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:22: 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:22: 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:45: 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:26: 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:38: 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:38: 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:38: 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:38: 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:46: 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:42: 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: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/reproducible-path/acpitool-0.5.1=. -fstack-protector-strong -fstack-clash-protection -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 | ^~~~~~~~~~~~~~~~~~~~~ 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 | ^~~~~~~~~~~~~~~~~~~~~~~~~~ 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); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ 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); | ^~ In file included from /usr/include/stdio.h:906, from /usr/include/c++/13/cstdio:42, from /usr/include/c++/13/ext/string_conversions.h:45, from /usr/include/c++/13/bits/basic_string.h:4109, from /usr/include/c++/13/string:54, from /usr/include/c++/13/bits/locale_classes.h:40, from /usr/include/c++/13/bits/ios_base.h:41, from /usr/include/c++/13/ios:44, from /usr/include/c++/13/ostream:40, from /usr/include/c++/13/iostream:41, from battery.cpp:38: In function 'int sprintf(char*, const char*, ...)', inlined from 'int Get_Battery_Info_from_Proc(int, Battery_Info*, int)' at battery.cpp:385:14: /usr/include/arm-linux-gnueabihf/bits/stdio2.h:30:34: note: '__builtin___sprintf_chk' output between 25 and 280 bytes into a destination of size 260 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:389:67: warning: '%s' directive writing up to 255 bytes into a region of size 241 [-Wformat-overflow=] 389 | sprintf(filename[findex], "/proc/acpi/battery/%s/state", name); | ^~ In function 'int sprintf(char*, const char*, ...)', inlined from 'int Get_Battery_Info_from_Proc(int, Battery_Info*, int)' at battery.cpp:389:14: /usr/include/arm-linux-gnueabihf/bits/stdio2.h:30:34: note: '__builtin___sprintf_chk' output between 26 and 281 bytes into a destination of size 260 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_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); | ^~ In function 'int sprintf(char*, const char*, ...)', inlined from 'int Get_Battery_Info_from_Sys(int, Battery_Info*, int)' at battery.cpp:567:10: /usr/include/arm-linux-gnueabihf/bits/stdio2.h:30:34: note: '__builtin___sprintf_chk' output between 30 and 285 bytes into a destination of size 100 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ g++ -g -O2 -ffile-prefix-map=/build/reproducible-path/acpitool-0.5.1=. -fstack-protector-strong -fstack-clash-protection -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/reproducible-path/acpitool-0.5.1/src' Making all in man make[3]: Entering directory '/build/reproducible-path/acpitool-0.5.1/man' make[3]: Nothing to be done for 'all'. make[3]: Leaving directory '/build/reproducible-path/acpitool-0.5.1/man' make[3]: Entering directory '/build/reproducible-path/acpitool-0.5.1' make[3]: Leaving directory '/build/reproducible-path/acpitool-0.5.1' make[2]: Leaving directory '/build/reproducible-path/acpitool-0.5.1' make[1]: Leaving directory '/build/reproducible-path/acpitool-0.5.1' dh_auto_test make -j4 check "TESTSUITEFLAGS=-j4 --verbose" VERBOSE=1 make[1]: Entering directory '/build/reproducible-path/acpitool-0.5.1' Making check in src make[2]: Entering directory '/build/reproducible-path/acpitool-0.5.1/src' make[2]: Nothing to be done for 'check'. make[2]: Leaving directory '/build/reproducible-path/acpitool-0.5.1/src' Making check in man make[2]: Entering directory '/build/reproducible-path/acpitool-0.5.1/man' make[2]: Nothing to be done for 'check'. make[2]: Leaving directory '/build/reproducible-path/acpitool-0.5.1/man' make[2]: Entering directory '/build/reproducible-path/acpitool-0.5.1' make[2]: Leaving directory '/build/reproducible-path/acpitool-0.5.1' make[1]: Leaving directory '/build/reproducible-path/acpitool-0.5.1' create-stamp debian/debhelper-build-stamp dh_prep debian/rules override_dh_auto_install make[1]: Entering directory '/build/reproducible-path/acpitool-0.5.1' /usr/bin/make DESTDIR=/build/reproducible-path/acpitool-0.5.1/debian/acpitool install make[2]: Entering directory '/build/reproducible-path/acpitool-0.5.1' Making install in src make[3]: Entering directory '/build/reproducible-path/acpitool-0.5.1/src' make[4]: Entering directory '/build/reproducible-path/acpitool-0.5.1/src' /usr/bin/mkdir -p '/build/reproducible-path/acpitool-0.5.1/debian/acpitool/usr/bin' /usr/bin/install -c acpitool '/build/reproducible-path/acpitool-0.5.1/debian/acpitool/usr/bin' make[4]: Nothing to be done for 'install-data-am'. make[4]: Leaving directory '/build/reproducible-path/acpitool-0.5.1/src' make[3]: Leaving directory '/build/reproducible-path/acpitool-0.5.1/src' Making install in man make[3]: Entering directory '/build/reproducible-path/acpitool-0.5.1/man' make[4]: Entering directory '/build/reproducible-path/acpitool-0.5.1/man' make[4]: Nothing to be done for 'install-exec-am'. /usr/bin/mkdir -p '/build/reproducible-path/acpitool-0.5.1/debian/acpitool/usr/share/man/man1' /usr/bin/install -c -m 644 acpitool.1 '/build/reproducible-path/acpitool-0.5.1/debian/acpitool/usr/share/man/man1' make[4]: Leaving directory '/build/reproducible-path/acpitool-0.5.1/man' make[3]: Leaving directory '/build/reproducible-path/acpitool-0.5.1/man' make[3]: Entering directory '/build/reproducible-path/acpitool-0.5.1' make[4]: Entering directory '/build/reproducible-path/acpitool-0.5.1' make[4]: Nothing to be done for 'install-exec-am'. make[4]: Nothing to be done for 'install-data-am'. make[4]: Leaving directory '/build/reproducible-path/acpitool-0.5.1' make[3]: Leaving directory '/build/reproducible-path/acpitool-0.5.1' make[2]: Leaving directory '/build/reproducible-path/acpitool-0.5.1' make[1]: Leaving directory '/build/reproducible-path/acpitool-0.5.1' dh_installdocs dh_installchangelogs dh_installman dh_perl dh_link dh_strip_nondeterminism dh_compress dh_fixperms dh_missing dh_dwz -a dh_strip -a dh_makeshlibs -a dh_shlibdeps -a dh_installdeb dh_gencontrol dh_md5sums dh_builddeb 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) dpkg-source --after-build . 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/26401/tmp/hooks/B01_cleanup starting I: user script /srv/workspace/pbuilder/26401/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/26401 and its subdirectories I: Current time: Fri Apr 12 07:14:54 +14 2024 I: pbuilder-time-stamp: 1712855694