Diff of the two buildlogs: -- --- b1/build.log 2024-04-11 17:12:59.717412978 +0000 +++ b2/build.log 2024-04-11 17:15:01.292230192 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Thu Apr 11 05:11:56 -12 2024 -I: pbuilder-time-stamp: 1712855516 +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 @@ -35,52 +35,84 @@ 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/18607/tmp/hooks/D02_print_environment starting +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 - BUILDDIR='/build/reproducible-path' - BUILDUSERGECOS='first user,first room,first work-phone,first home-phone,first other' - BUILDUSERNAME='pbuilder1' - BUILD_ARCH='armhf' - DEBIAN_FRONTEND='noninteractive' - DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=3 ' - DISTRIBUTION='trixie' - HOME='/root' - HOST_ARCH='armhf' + BASH=/bin/sh + BASHOPTS=checkwinsize:cmdhist:complete_fullquote:extquote:force_fignore:globasciiranges:globskipdots:hostcomplete:interactive_comments:patsub_replacement:progcomp:promptvars:sourcepath + BASH_ALIASES=() + BASH_ARGC=() + BASH_ARGV=() + BASH_CMDS=() + BASH_LINENO=([0]="12" [1]="0") + BASH_LOADABLES_PATH=/usr/local/lib/bash:/usr/lib/bash:/opt/local/lib/bash:/usr/pkg/lib/bash:/opt/pkg/lib/bash:. + BASH_SOURCE=([0]="/tmp/hooks/D02_print_environment" [1]="/tmp/hooks/D02_print_environment") + BASH_VERSINFO=([0]="5" [1]="2" [2]="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='6a24ed6690ac4190a5ec4dbc41f58abf' - LANG='C' - LANGUAGE='en_US:en' - LC_ALL='C' - MAIL='/var/mail/root' - OPTIND='1' - PATH='/usr/sbin:/usr/bin:/sbin:/bin:/usr/games' - PBCURRENTCOMMANDLINEOPERATION='build' - PBUILDER_OPERATION='build' - PBUILDER_PKGDATADIR='/usr/share/pbuilder' - PBUILDER_PKGLIBDIR='/usr/lib/pbuilder' - PBUILDER_SYSCONFDIR='/etc' - PPID='18607' - PS1='# ' - PS2='> ' + 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' - SHLVL='2' - SUDO_COMMAND='/usr/bin/timeout -k 18.1h 18h /usr/bin/ionice -c 3 /usr/bin/nice /usr/sbin/pbuilder --build --configfile /srv/reproducible-results/rbuild-debian/r-b-build.Pnp4Tt1o/pbuilderrc_O9G8 --distribution trixie --hookdir /etc/pbuilder/first-build-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/trixie-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.Pnp4Tt1o/b1 --logfile b1/build.log acpitool_0.5.1-7.dsc' - SUDO_GID='110' - SUDO_UID='103' - SUDO_USER='jenkins' - TERM='unknown' - TZ='/usr/share/zoneinfo/Etc/GMT+12' - USER='root' - _='/usr/bin/systemd-run' - http_proxy='http://10.0.0.15:3142/' + PWD=/ + SHELL=/bin/bash + SHELLOPTS=braceexpand:errexit:hashall:interactive-comments:posix + SHLVL=3 + SUDO_COMMAND='/usr/bin/timeout -k 24.1h 24h /usr/bin/ionice -c 3 /usr/bin/nice -n 11 /usr/bin/unshare --uts -- /usr/sbin/pbuilder --build --configfile /srv/reproducible-results/rbuild-debian/r-b-build.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 virt32z 6.1.0-18-armmp-lpae #1 SMP Debian 6.1.76-1 (2024-02-01) armv7l GNU/Linux + 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 10 11:24 /bin -> usr/bin -I: user script /srv/workspace/pbuilder/18607/tmp/hooks/D02_print_environment finished + 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 @@ -151,7 +183,7 @@ 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 (54.3 MB/s) +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.) @@ -298,7 +330,11 @@ Building tag database... -> Finished parsing the build-deps I: Building the package -I: Running cd /build/reproducible-path/acpitool-0.5.1/ && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games" HOME="/nonexistent/first-build" dpkg-buildpackage -us -uc -b && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games" HOME="/nonexistent/first-build" dpkg-genchanges -S > ../acpitool_0.5.1-7_source.changes +I: user script /srv/workspace/pbuilder/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 @@ -401,7 +437,7 @@ make[1]: Leaving directory '/build/reproducible-path/acpitool-0.5.1' dh_auto_build - make -j3 + 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' @@ -410,30 +446,31 @@ 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 -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* +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"; @@ -449,12 +486,6 @@ acpitool.cpp:190:16: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 190 | filename = "/proc/sys/kernel/osrelease"; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ -ac_adapter.cpp:183:27: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] - 183 | fscanf(temp_fp, "%s", str); - | ~~~~~~^~~~~~~~~~~~~~~~~~~~ -ac_adapter.cpp:219:26: warning: ignoring return value of 'char* fgets(char*, int, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 219 | fgets(str, 100, power_fp); - | ~~~~~^~~~~~~~~~~~~~~~~~~~ acpitool.cpp: In function 'int Do_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/"; @@ -493,6 +524,45 @@ 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); | ^~ @@ -529,15 +599,6 @@ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ -acpitool.cpp: In function 'int Has_ACPI(char*)': -acpitool.cpp:107:1: warning: control reaches end of non-void function [-Wreturn-type] - 107 | } - | ^ -acpitool.cpp: In function 'int Do_Thermal_Info(int, int)': -acpitool.cpp:323:30: warning: ignoring return value of 'char* fgets(char*, int, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 323 | fgets(str, 120, fp); - | ~~~~~^~~~~~~~~~~~~~ -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 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); @@ -564,7 +625,7 @@ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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 asus.o asus.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 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); @@ -589,30 +650,7 @@ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ -toshiba.cpp: In function 'int Has_Toshiba_ACPI()': -toshiba.cpp:50:16: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 50 | filename = "/proc/acpi/toshiba"; - | ^~~~~~~~~~~~~~~~~~~~ -toshiba.cpp: In function 'int Do_Toshiba_Fan_Info()': -toshiba.cpp:87:16: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 87 | filename = "/proc/acpi/toshiba/fan"; - | ^~~~~~~~~~~~~~~~~~~~~~~~ -toshiba.cpp: In function 'int Do_LCD_Info()': -toshiba.cpp:137:16: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 137 | filename = "/proc/acpi/toshiba/lcd"; - | ^~~~~~~~~~~~~~~~~~~~~~~~ -toshiba.cpp: In function 'int Force_Fan(int)': -toshiba.cpp:171:16: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 171 | filename = "/proc/acpi/toshiba/fan"; - | ^~~~~~~~~~~~~~~~~~~~~~~~ -toshiba.cpp: In function 'int Set_LCD_Level(int)': -toshiba.cpp:205:16: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 205 | filename = "/proc/acpi/toshiba/lcd"; - | ^~~~~~~~~~~~~~~~~~~~~~~~ -toshiba.cpp: In function 'int Do_Video_Info()': -toshiba.cpp:236:16: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 236 | filename = "/proc/acpi/toshiba/video"; - | ^~~~~~~~~~~~~~~~~~~~~~~~~~ +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"; @@ -684,9 +722,6 @@ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __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 -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 -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 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"; @@ -707,6 +742,7 @@ 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 // | ~~~~~^~~~~~~~~~~~~~~~~~~~~~ @@ -749,6 +785,7 @@ 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 @@ -765,7 +802,6 @@ battery.cpp:798:15: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 798 | dirname = "/sys/class/power_supply/"; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ -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_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); @@ -777,6 +813,26 @@ battery.cpp:844:23: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] 844 | fscanf(powertype_fp, "%s", str); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ +freq.cpp: In function 'int Get_Min_Freq()': +freq.cpp:97:23: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] + 97 | fscanf(freqinfo_fp, "%s", str); + | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ +freq.cpp: In function 'int Get_Max_Freq()': +freq.cpp:121:23: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] + 121 | fscanf(freqinfo_fp, "%s", str); + | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ +freq.cpp: In function 'int Get_Current_Freq()': +freq.cpp:144:23: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] + 144 | fscanf(freqinfo_fp, "%s", str); + | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ +freq.cpp: In function 'int Get_Governor(char*)': +freq.cpp:166:23: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] + 166 | fscanf(freqinfo_fp, "%s", str); + | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ +freq.cpp: In function 'int Get_Driver(char*)': +freq.cpp:189:23: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] + 189 | fscanf(freqinfo_fp, "%s", str); + | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ battery.cpp: In function 'int Get_Battery_Info_from_Proc(int, Battery_Info*, int)': battery.cpp:385:67: warning: '%s' directive writing up to 255 bytes into a region of size 241 [-Wformat-overflow=] 385 | sprintf(filename[findex], "/proc/acpi/battery/%s/info", name); @@ -827,26 +883,6 @@ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ -freq.cpp: In function 'int Get_Min_Freq()': -freq.cpp:97:23: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] - 97 | fscanf(freqinfo_fp, "%s", str); - | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ -freq.cpp: In function 'int Get_Max_Freq()': -freq.cpp:121:23: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] - 121 | fscanf(freqinfo_fp, "%s", str); - | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ -freq.cpp: In function 'int Get_Current_Freq()': -freq.cpp:144:23: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] - 144 | fscanf(freqinfo_fp, "%s", str); - | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ -freq.cpp: In function 'int Get_Governor(char*)': -freq.cpp:166:23: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] - 166 | fscanf(freqinfo_fp, "%s", str); - | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ -freq.cpp: In function 'int Get_Driver(char*)': -freq.cpp:189:23: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] - 189 | fscanf(freqinfo_fp, "%s", str); - | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ g++ -g -O2 -ffile-prefix-map=/build/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 @@ -858,7 +894,7 @@ 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 -j3 check "TESTSUITEFLAGS=-j3 --verbose" VERBOSE=1 + 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' @@ -927,12 +963,14 @@ dpkg-buildpackage: info: binary-only upload (no source included) dpkg-genchanges: info: not including original source code in upload I: copying local configuration +I: user script /srv/workspace/pbuilder/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/18607 and its subdirectories -I: Current time: Thu Apr 11 05:12:55 -12 2024 -I: pbuilder-time-stamp: 1712855575 +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