Diff of the two buildlogs: -- --- b1/build.log 2023-04-15 06:27:52.471272325 +0000 +++ b2/build.log 2023-04-15 06:33:36.811962352 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Fri May 17 00:47:02 -12 2024 -I: pbuilder-time-stamp: 1715950022 +I: Current time: Sat Apr 15 20:27:57 +14 2023 +I: pbuilder-time-stamp: 1681540077 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/bookworm-reproducible-base.tgz] I: copying local configuration @@ -16,7 +16,7 @@ I: copying [./powertop_2.14.orig.tar.gz] I: copying [./powertop_2.14-1.debian.tar.xz] I: Extracting source -gpgv: Signature made Tue Dec 7 00:17:34 2021 -12 +gpgv: Signature made Wed Dec 8 02:17:34 2021 +14 gpgv: using RSA key D890D33D6147E2F51E3386870A39354AB6E57DE1 gpgv: issuer "koster@debian.org" gpgv: Can't check signature: No public key @@ -33,11 +33,20 @@ dpkg-source: info: applying 0006-configure-Use-AX_REQUIRE_DEFINED.patch I: Not using root during the build. I: Installing the build-deps -I: user script /srv/workspace/pbuilder/18153/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/22632/tmp/hooks/D01_modify_environment starting +debug: Running on codethink16-arm64. +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 +lrwxrwxrwx 1 root root 4 Jan 6 03:20 /bin/sh -> dash +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/22632/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/22632/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' + BUILDUSERGECOS='second user,second room,second work-phone,second home-phone,second other' + BUILDUSERNAME='pbuilder2' BUILD_ARCH='arm64' DEBIAN_FRONTEND='noninteractive' DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=8' @@ -47,38 +56,38 @@ IFS=' ' LANG='C' - LANGUAGE='en_US:en' + LANGUAGE='nl_BE:nl' LC_ALL='C' MAIL='/var/mail/root' OPTIND='1' - PATH='/usr/sbin:/usr/bin:/sbin:/bin:/usr/games' + 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' - PPID='18153' + PPID='22632' PS1='# ' PS2='> ' 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.IACpkzrW/pbuilderrc_orzy --distribution bookworm --hookdir /etc/pbuilder/first-build-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/bookworm-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.IACpkzrW/b1 --logfile b1/build.log powertop_2.14-1.dsc' + 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.IACpkzrW/pbuilderrc_4Ejy --distribution bookworm --hookdir /etc/pbuilder/rebuild-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/bookworm-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.IACpkzrW/b2 --logfile b2/build.log --extrapackages usrmerge powertop_2.14-1.dsc' SUDO_GID='117' SUDO_UID='110' SUDO_USER='jenkins' TERM='unknown' - TZ='/usr/share/zoneinfo/Etc/GMT+12' + TZ='/usr/share/zoneinfo/Etc/GMT-14' USER='root' USERNAME='root' _='/usr/bin/systemd-run' http_proxy='http://192.168.101.16:3128' I: uname -a - Linux codethink9-arm64 4.15.0-208-generic #220-Ubuntu SMP Mon Mar 20 14:28:12 UTC 2023 aarch64 GNU/Linux + Linux i-capture-the-hostname 4.15.0-208-generic #220-Ubuntu SMP Mon Mar 20 14:28:12 UTC 2023 aarch64 GNU/Linux I: ls -l /bin - lrwxrwxrwx 1 root root 7 May 14 04:47 /bin -> usr/bin -I: user script /srv/workspace/pbuilder/18153/tmp/hooks/D02_print_environment finished + lrwxrwxrwx 1 root root 7 Apr 15 02:48 /bin -> usr/bin +I: user script /srv/workspace/pbuilder/22632/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -172,7 +181,7 @@ Get: 44 http://deb.debian.org/debian bookworm/main arm64 pkgconf-bin arm64 1.8.1-1 [28.9 kB] Get: 45 http://deb.debian.org/debian bookworm/main arm64 pkgconf arm64 1.8.1-1 [25.9 kB] Get: 46 http://deb.debian.org/debian bookworm/main arm64 pkg-config arm64 1.8.1-1 [13.7 kB] -Fetched 21.2 MB in 1s (40.8 MB/s) +Fetched 21.2 MB in 1s (23.3 MB/s) debconf: delaying package configuration, since apt-utils is not installed Selecting previously unselected package autoconf-archive. (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 ... 19616 files and directories currently installed.) @@ -370,8 +379,17 @@ Writing extended state information... Building tag database... -> Finished parsing the build-deps +Reading package lists... +Building dependency tree... +Reading state information... +usrmerge is already the newest version (35). +0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. I: Building the package -I: Running cd /build/powertop-2.14/ && 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 > ../powertop_2.14-1_source.changes +I: user script /srv/workspace/pbuilder/22632/tmp/hooks/A99_set_merged_usr starting +Re-configuring usrmerge... +I: user script /srv/workspace/pbuilder/22632/tmp/hooks/A99_set_merged_usr finished +hostname: Temporary failure in name resolution +I: Running cd /build/powertop-2.14/ && 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 > ../powertop_2.14-1_source.changes dpkg-buildpackage: info: source package powertop dpkg-buildpackage: info: source version 2.14-1 dpkg-buildpackage: info: source distribution unstable @@ -680,12 +698,12 @@ /bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/powertop-2.14=. -fstack-protector-strong -Wformat -Werror=format-security -pthread -c -o parse-filter.lo parse-filter.c /bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/powertop-2.14=. -fstack-protector-strong -Wformat -Werror=format-security -pthread -c -o parse-utils.lo parse-utils.c /bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/powertop-2.14=. -fstack-protector-strong -Wformat -Werror=format-security -pthread -c -o trace-seq.lo trace-seq.c -libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/powertop-2.14=. -fstack-protector-strong -Wformat -Werror=format-security -pthread -c trace-seq.c -fPIC -DPIC -o .libs/trace-seq.o libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/powertop-2.14=. -fstack-protector-strong -Wformat -Werror=format-security -pthread -c parse-filter.c -fPIC -DPIC -o .libs/parse-filter.o +libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/powertop-2.14=. -fstack-protector-strong -Wformat -Werror=format-security -pthread -c trace-seq.c -fPIC -DPIC -o .libs/trace-seq.o libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/powertop-2.14=. -fstack-protector-strong -Wformat -Werror=format-security -pthread -c parse-utils.c -fPIC -DPIC -o .libs/parse-utils.o libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/powertop-2.14=. -fstack-protector-strong -Wformat -Werror=format-security -pthread -c event-parse.c -fPIC -DPIC -o .libs/event-parse.o -libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/powertop-2.14=. -fstack-protector-strong -Wformat -Werror=format-security -pthread -c trace-seq.c -o trace-seq.o >/dev/null 2>&1 libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/powertop-2.14=. -fstack-protector-strong -Wformat -Werror=format-security -pthread -c parse-utils.c -o parse-utils.o >/dev/null 2>&1 +libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/powertop-2.14=. -fstack-protector-strong -Wformat -Werror=format-security -pthread -c trace-seq.c -o trace-seq.o >/dev/null 2>&1 libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/powertop-2.14=. -fstack-protector-strong -Wformat -Werror=format-security -pthread -c parse-filter.c -o parse-filter.o >/dev/null 2>&1 libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/powertop-2.14=. -fstack-protector-strong -Wformat -Werror=format-security -pthread -c event-parse.c -o event-parse.o >/dev/null 2>&1 /bin/bash ../libtool --tag=CC --mode=link gcc -g -O2 -ffile-prefix-map=/build/powertop-2.14=. -fstack-protector-strong -Wformat -Werror=format-security -pthread -Wl,-z,relro -Wl,-z,now -o libtraceevnet.la event-parse.lo parse-filter.lo parse-utils.lo trace-seq.lo -lpthread @@ -729,7 +747,6 @@ cpu/../lib.h:78:16: warning: 'char* __builtin_strncpy(char*, const char*, long unsigned int)' specified bound 128 equals destination size [-Wstringop-truncation] g++ -std=c++11 -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/share/locale\" -I/usr/include/libnl3 -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/aarch64-linux-gnu -pthread -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wformat -Wshadow -fno-omit-frame-pointer -fstack-protector -I/usr/include/libnl3 -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/aarch64-linux-gnu -pthread -g -O2 -ffile-prefix-map=/build/powertop-2.14=. -fstack-protector-strong -Wformat -Werror=format-security -c -o devices/powertop-backlight.o `test -f 'devices/backlight.cpp' || echo './'`devices/backlight.cpp g++ -std=c++11 -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/share/locale\" -I/usr/include/libnl3 -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/aarch64-linux-gnu -pthread -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wformat -Wshadow -fno-omit-frame-pointer -fstack-protector -I/usr/include/libnl3 -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/aarch64-linux-gnu -pthread -g -O2 -ffile-prefix-map=/build/powertop-2.14=. -fstack-protector-strong -Wformat -Werror=format-security -c -o devices/powertop-devfreq.o `test -f 'devices/devfreq.cpp' || echo './'`devices/devfreq.cpp -g++ -std=c++11 -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/share/locale\" -I/usr/include/libnl3 -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/aarch64-linux-gnu -pthread -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wformat -Wshadow -fno-omit-frame-pointer -fstack-protector -I/usr/include/libnl3 -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/aarch64-linux-gnu -pthread -g -O2 -ffile-prefix-map=/build/powertop-2.14=. -fstack-protector-strong -Wformat -Werror=format-security -c -o devices/powertop-device.o `test -f 'devices/device.cpp' || echo './'`devices/device.cpp In file included from devices/../parameters/parameters.h:35, from devices/ahci.h:32, from devices/ahci.cpp:39: @@ -829,37 +846,7 @@ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ -devices/alsa.cpp: In member function 'virtual const char* alsa::human_name()': -devices/alsa.cpp:205:57: warning: ' (' directive output may be truncated writing 2 bytes into a region of size between 1 and 4096 [-Wformat-truncation=] - 205 | snprintf(temp_buf, sizeof(temp_buf), "%s (%s)", humanname, guilty); - | ^~ -In file included from /usr/include/stdio.h:906, - from /usr/include/c++/12/cstdio:42, - from /usr/include/c++/12/ext/string_conversions.h:43, - from /usr/include/c++/12/bits/basic_string.h:3960, - from /usr/include/c++/12/string:53, - from /usr/include/c++/12/bits/locale_classes.h:40, - from /usr/include/c++/12/bits/ios_base.h:41, - from /usr/include/c++/12/ios:42, - from /usr/include/c++/12/ostream:38, - from /usr/include/c++/12/iostream:39, - from devices/alsa.cpp:25: -In function 'int snprintf(char*, size_t, const char*, ...)', - inlined from 'virtual const char* alsa::human_name()' at devices/alsa.cpp:205:11: -/usr/include/aarch64-linux-gnu/bits/stdio2.h:54:35: note: '__builtin___snprintf_chk' output between 4 and 8194 bytes into a destination of size 4096 - 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, - | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 55 | __glibc_objsize (__s), __fmt, - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 56 | __va_arg_pack ()); - | ~~~~~~~~~~~~~~~~~ -In file included from devices/../parameters/parameters.h:35, - from devices/alsa.h:30, - from devices/alsa.cpp:35: -devices/../parameters/../lib.h: In constructor 'alsa::alsa(const char*, const char*)': -devices/../parameters/../lib.h:78:16: warning: 'char* __builtin_strncpy(char*, const char*, long unsigned int)' specified bound 4096 equals destination size [-Wstringop-truncation] - 78 | strncpy(d, s, N); - | ^ +g++ -std=c++11 -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/share/locale\" -I/usr/include/libnl3 -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/aarch64-linux-gnu -pthread -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wformat -Wshadow -fno-omit-frame-pointer -fstack-protector -I/usr/include/libnl3 -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/aarch64-linux-gnu -pthread -g -O2 -ffile-prefix-map=/build/powertop-2.14=. -fstack-protector-strong -Wformat -Werror=format-security -c -o devices/powertop-device.o `test -f 'devices/device.cpp' || echo './'`devices/device.cpp devices/ahci.cpp: In member function 'virtual void ahci::end_measurement()': devices/ahci.cpp:206:57: warning: '/ahci_alpm_active' directive output may be truncated writing 17 bytes into a region of size between 1 and 4096 [-Wformat-truncation=] 206 | snprintf(filename, sizeof(filename), "%s/ahci_alpm_active", sysfs_path); @@ -964,36 +951,10 @@ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ -devices/alsa.cpp: In member function 'virtual void alsa::start_measurement()': -devices/alsa.cpp:89:49: warning: '/power_off_acct' directive output may be truncated writing 15 bytes into a region of size between 1 and 4096 [-Wformat-truncation=] - 89 | snprintf(filename, sizeof(filename), "%s/power_off_acct", sysfs_path); - | ^~~~~~~~~~~~~~~ -In function 'int snprintf(char*, size_t, const char*, ...)', - inlined from 'virtual void alsa::start_measurement()' at devices/alsa.cpp:89:10: -/usr/include/aarch64-linux-gnu/bits/stdio2.h:54:35: note: '__builtin___snprintf_chk' output between 16 and 4111 bytes into a destination of size 4096 - 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, - | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 55 | __glibc_objsize (__s), __fmt, - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 56 | __va_arg_pack ()); - | ~~~~~~~~~~~~~~~~~ -devices/alsa.cpp: In member function 'virtual void alsa::start_measurement()': -devices/alsa.cpp:96:57: warning: '/power_on_acct' directive output may be truncated writing 14 bytes into a region of size between 1 and 4096 [-Wformat-truncation=] - 96 | snprintf(filename, sizeof(filename), "%s/power_on_acct", sysfs_path); - | ^~~~~~~~~~~~~~ -In function 'int snprintf(char*, size_t, const char*, ...)', - inlined from 'virtual void alsa::start_measurement()' at devices/alsa.cpp:96:11: -/usr/include/aarch64-linux-gnu/bits/stdio2.h:54:35: note: '__builtin___snprintf_chk' output between 15 and 4110 bytes into a destination of size 4096 - 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, - | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 55 | __glibc_objsize (__s), __fmt, - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 56 | __va_arg_pack ()); - | ~~~~~~~~~~~~~~~~~ -devices/backlight.cpp: In member function 'virtual double backlight::power_usage(result_bundle*, parameter_bundle*)': -devices/backlight.cpp:217:39: warning: '-power' directive writing 6 bytes into a region of size between 1 and 4096 [-Wformat-overflow=] - 217 | sprintf(powername, "%s-power", name); - | ^~~~~~ +devices/alsa.cpp: In member function 'virtual const char* alsa::human_name()': +devices/alsa.cpp:205:57: warning: ' (' directive output may be truncated writing 2 bytes into a region of size between 1 and 4096 [-Wformat-truncation=] + 205 | snprintf(temp_buf, sizeof(temp_buf), "%s (%s)", humanname, guilty); + | ^~ In file included from /usr/include/stdio.h:906, from /usr/include/c++/12/cstdio:42, from /usr/include/c++/12/ext/string_conversions.h:43, @@ -1004,16 +965,23 @@ from /usr/include/c++/12/ios:42, from /usr/include/c++/12/ostream:38, from /usr/include/c++/12/iostream:39, - from devices/backlight.cpp:25: -In function 'int sprintf(char*, const char*, ...)', - inlined from 'virtual double backlight::power_usage(result_bundle*, parameter_bundle*)' at devices/backlight.cpp:217:10: -/usr/include/aarch64-linux-gnu/bits/stdio2.h:30:34: note: '__builtin___sprintf_chk' output between 7 and 4102 bytes into a destination of size 4096 - 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, - | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 31 | __glibc_objsize (__s), __fmt, - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 32 | __va_arg_pack ()); - | ~~~~~~~~~~~~~~~~~ + from devices/alsa.cpp:25: +In function 'int snprintf(char*, size_t, const char*, ...)', + inlined from 'virtual const char* alsa::human_name()' at devices/alsa.cpp:205:11: +/usr/include/aarch64-linux-gnu/bits/stdio2.h:54:35: note: '__builtin___snprintf_chk' output between 4 and 8194 bytes into a destination of size 4096 + 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, + | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 55 | __glibc_objsize (__s), __fmt, + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 56 | __va_arg_pack ()); + | ~~~~~~~~~~~~~~~~~ +In file included from devices/../parameters/parameters.h:35, + from devices/alsa.h:30, + from devices/alsa.cpp:35: +devices/../parameters/../lib.h: In constructor 'alsa::alsa(const char*, const char*)': +devices/../parameters/../lib.h:78:16: warning: 'char* __builtin_strncpy(char*, const char*, long unsigned int)' specified bound 4096 equals destination size [-Wstringop-truncation] + 78 | strncpy(d, s, N); + | ^ devices/ahci.cpp: In member function 'virtual void ahci::start_measurement()': devices/ahci.cpp:164:49: warning: '/ahci_alpm_active' directive output may be truncated writing 17 bytes into a region of size between 1 and 4096 [-Wformat-truncation=] 164 | snprintf(filename, sizeof(filename), "%s/ahci_alpm_active", sysfs_path); @@ -1027,12 +995,6 @@ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ -In file included from devices/../parameters/parameters.h:35, - from devices/backlight.cpp:38: -devices/../parameters/../lib.h: In constructor 'backlight::backlight(const char*, const char*)': -devices/../parameters/../lib.h:78:16: warning: 'char* __builtin_strncpy(char*, const char*, long unsigned int)' specified bound 4096 equals destination size [-Wstringop-truncation] - 78 | strncpy(d, s, N); - | ^ devices/ahci.cpp: In member function 'virtual void ahci::start_measurement()': devices/ahci.cpp:171:57: warning: '/ahci_alpm_partial' directive output may be truncated writing 18 bytes into a region of size between 1 and 4096 [-Wformat-truncation=] 171 | snprintf(filename, sizeof(filename), "%s/ahci_alpm_partial", sysfs_path); @@ -1072,6 +1034,62 @@ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ +devices/alsa.cpp: In member function 'virtual void alsa::start_measurement()': +devices/alsa.cpp:89:49: warning: '/power_off_acct' directive output may be truncated writing 15 bytes into a region of size between 1 and 4096 [-Wformat-truncation=] + 89 | snprintf(filename, sizeof(filename), "%s/power_off_acct", sysfs_path); + | ^~~~~~~~~~~~~~~ +In function 'int snprintf(char*, size_t, const char*, ...)', + inlined from 'virtual void alsa::start_measurement()' at devices/alsa.cpp:89:10: +/usr/include/aarch64-linux-gnu/bits/stdio2.h:54:35: note: '__builtin___snprintf_chk' output between 16 and 4111 bytes into a destination of size 4096 + 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, + | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 55 | __glibc_objsize (__s), __fmt, + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 56 | __va_arg_pack ()); + | ~~~~~~~~~~~~~~~~~ +devices/alsa.cpp: In member function 'virtual void alsa::start_measurement()': +devices/alsa.cpp:96:57: warning: '/power_on_acct' directive output may be truncated writing 14 bytes into a region of size between 1 and 4096 [-Wformat-truncation=] + 96 | snprintf(filename, sizeof(filename), "%s/power_on_acct", sysfs_path); + | ^~~~~~~~~~~~~~ +In function 'int snprintf(char*, size_t, const char*, ...)', + inlined from 'virtual void alsa::start_measurement()' at devices/alsa.cpp:96:11: +/usr/include/aarch64-linux-gnu/bits/stdio2.h:54:35: note: '__builtin___snprintf_chk' output between 15 and 4110 bytes into a destination of size 4096 + 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, + | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 55 | __glibc_objsize (__s), __fmt, + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 56 | __va_arg_pack ()); + | ~~~~~~~~~~~~~~~~~ +devices/backlight.cpp: In member function 'virtual double backlight::power_usage(result_bundle*, parameter_bundle*)': +devices/backlight.cpp:217:39: warning: '-power' directive writing 6 bytes into a region of size between 1 and 4096 [-Wformat-overflow=] + 217 | sprintf(powername, "%s-power", name); + | ^~~~~~ +In file included from /usr/include/stdio.h:906, + from /usr/include/c++/12/cstdio:42, + from /usr/include/c++/12/ext/string_conversions.h:43, + from /usr/include/c++/12/bits/basic_string.h:3960, + from /usr/include/c++/12/string:53, + from /usr/include/c++/12/bits/locale_classes.h:40, + from /usr/include/c++/12/bits/ios_base.h:41, + from /usr/include/c++/12/ios:42, + from /usr/include/c++/12/ostream:38, + from /usr/include/c++/12/iostream:39, + from devices/backlight.cpp:25: +In function 'int sprintf(char*, const char*, ...)', + inlined from 'virtual double backlight::power_usage(result_bundle*, parameter_bundle*)' at devices/backlight.cpp:217:10: +/usr/include/aarch64-linux-gnu/bits/stdio2.h:30:34: note: '__builtin___sprintf_chk' output between 7 and 4102 bytes into a destination of size 4096 + 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, + | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 31 | __glibc_objsize (__s), __fmt, + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 32 | __va_arg_pack ()); + | ~~~~~~~~~~~~~~~~~ +In file included from devices/../parameters/parameters.h:35, + from devices/backlight.cpp:38: +devices/../parameters/../lib.h: In constructor 'backlight::backlight(const char*, const char*)': +devices/../parameters/../lib.h:78:16: warning: 'char* __builtin_strncpy(char*, const char*, long unsigned int)' specified bound 4096 equals destination size [-Wstringop-truncation] + 78 | strncpy(d, s, N); + | ^ devices/alsa.cpp: In member function 'virtual void alsa::end_measurement()': devices/alsa.cpp:115:49: warning: '/power_off_acct' directive output may be truncated writing 15 bytes into a region of size between 1 and 4096 [-Wformat-truncation=] 115 | snprintf(filename, sizeof(filename), "%s/power_off_acct", sysfs_path); @@ -1124,7 +1142,6 @@ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ -g++ -std=c++11 -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/share/locale\" -I/usr/include/libnl3 -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/aarch64-linux-gnu -pthread -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wformat -Wshadow -fno-omit-frame-pointer -fstack-protector -I/usr/include/libnl3 -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/aarch64-linux-gnu -pthread -g -O2 -ffile-prefix-map=/build/powertop-2.14=. -fstack-protector-strong -Wformat -Werror=format-security -c -o devices/powertop-gpu_rapl_device.o `test -f 'devices/gpu_rapl_device.cpp' || echo './'`devices/gpu_rapl_device.cpp devices/backlight.cpp: In member function 'virtual void backlight::start_measurement()': devices/backlight.cpp:61:49: warning: '/max_brightness' directive output may be truncated writing 15 bytes into a region of size between 1 and 4096 [-Wformat-truncation=] 61 | snprintf(filename, sizeof(filename), "%s/max_brightness", sysfs_path); @@ -1151,6 +1168,7 @@ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ +g++ -std=c++11 -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/share/locale\" -I/usr/include/libnl3 -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/aarch64-linux-gnu -pthread -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wformat -Wshadow -fno-omit-frame-pointer -fstack-protector -I/usr/include/libnl3 -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/aarch64-linux-gnu -pthread -g -O2 -ffile-prefix-map=/build/powertop-2.14=. -fstack-protector-strong -Wformat -Werror=format-security -c -o devices/powertop-gpu_rapl_device.o `test -f 'devices/gpu_rapl_device.cpp' || echo './'`devices/gpu_rapl_device.cpp g++ -std=c++11 -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/share/locale\" -I/usr/include/libnl3 -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/aarch64-linux-gnu -pthread -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wformat -Wshadow -fno-omit-frame-pointer -fstack-protector -I/usr/include/libnl3 -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/aarch64-linux-gnu -pthread -g -O2 -ffile-prefix-map=/build/powertop-2.14=. -fstack-protector-strong -Wformat -Werror=format-security -c -o devices/powertop-i915-gpu.o `test -f 'devices/i915-gpu.cpp' || echo './'`devices/i915-gpu.cpp g++ -std=c++11 -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/share/locale\" -I/usr/include/libnl3 -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/aarch64-linux-gnu -pthread -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wformat -Wshadow -fno-omit-frame-pointer -fstack-protector -I/usr/include/libnl3 -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/aarch64-linux-gnu -pthread -g -O2 -ffile-prefix-map=/build/powertop-2.14=. -fstack-protector-strong -Wformat -Werror=format-security -c -o devices/powertop-network.o `test -f 'devices/network.cpp' || echo './'`devices/network.cpp g++ -std=c++11 -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/share/locale\" -I/usr/include/libnl3 -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/aarch64-linux-gnu -pthread -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wformat -Wshadow -fno-omit-frame-pointer -fstack-protector -I/usr/include/libnl3 -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/aarch64-linux-gnu -pthread -g -O2 -ffile-prefix-map=/build/powertop-2.14=. -fstack-protector-strong -Wformat -Werror=format-security -c -o devices/powertop-rfkill.o `test -f 'devices/rfkill.cpp' || echo './'`devices/rfkill.cpp @@ -1162,6 +1180,8 @@ devices/../parameters/../lib.h:78:16: warning: 'char* __builtin_strncpy(char*, const char*, long unsigned int)' specified bound 128 equals destination size [-Wstringop-truncation] 78 | strncpy(d, s, N); | ^ +devices/../parameters/../lib.h: In function 'void devfreq_dev_callback(const char*)': +devices/../parameters/../lib.h:78:16: warning: 'char* __builtin_strncpy(char*, const char*, long unsigned int)' specified bound 128 equals destination size [-Wstringop-truncation] devices/device.cpp: In member function 'void device::register_sysfs_path(const char*)': devices/device.cpp:75:59: warning: '/device' directive output may be truncated writing 7 bytes into a region of size between 1 and 4097 [-Wformat-truncation=] 75 | snprintf(test_path, sizeof(test_path), "%s/device", current_path); @@ -1177,8 +1197,6 @@ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ -devices/../parameters/../lib.h: In function 'void devfreq_dev_callback(const char*)': -devices/../parameters/../lib.h:78:16: warning: 'char* __builtin_strncpy(char*, const char*, long unsigned int)' specified bound 128 equals destination size [-Wstringop-truncation] g++ -std=c++11 -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/share/locale\" -I/usr/include/libnl3 -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/aarch64-linux-gnu -pthread -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wformat -Wshadow -fno-omit-frame-pointer -fstack-protector -I/usr/include/libnl3 -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/aarch64-linux-gnu -pthread -g -O2 -ffile-prefix-map=/build/powertop-2.14=. -fstack-protector-strong -Wformat -Werror=format-security -c -o devices/powertop-thinkpad-fan.o `test -f 'devices/thinkpad-fan.cpp' || echo './'`devices/thinkpad-fan.cpp g++ -std=c++11 -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/share/locale\" -I/usr/include/libnl3 -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/aarch64-linux-gnu -pthread -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wformat -Wshadow -fno-omit-frame-pointer -fstack-protector -I/usr/include/libnl3 -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/aarch64-linux-gnu -pthread -g -O2 -ffile-prefix-map=/build/powertop-2.14=. -fstack-protector-strong -Wformat -Werror=format-security -c -o devices/powertop-thinkpad-light.o `test -f 'devices/thinkpad-light.cpp' || echo './'`devices/thinkpad-light.cpp g++ -std=c++11 -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/share/locale\" -I/usr/include/libnl3 -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/aarch64-linux-gnu -pthread -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wformat -Wshadow -fno-omit-frame-pointer -fstack-protector -I/usr/include/libnl3 -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/aarch64-linux-gnu -pthread -g -O2 -ffile-prefix-map=/build/powertop-2.14=. -fstack-protector-strong -Wformat -Werror=format-security -c -o devices/powertop-usb.o `test -f 'devices/usb.cpp' || echo './'`devices/usb.cpp @@ -1189,16 +1207,6 @@ devices/../parameters/../lib.h:78:16: warning: 'char* __builtin_strncpy(char*, const char*, long unsigned int)' specified bound 4096 equals destination size [-Wstringop-truncation] 78 | strncpy(d, s, N); | ^ -In file included from devices/../parameters/parameters.h:35, - from devices/runtime_pm.h:31, - from devices/runtime_pm.cpp:25: -devices/../parameters/../lib.h: In constructor 'runtime_pmdevice::runtime_pmdevice(const char*, const char*)': -devices/../parameters/../lib.h:78:16: warning: 'char* __builtin_strncpy(char*, const char*, long unsigned int)' specified bound 4096 equals destination size [-Wstringop-truncation] - 78 | strncpy(d, s, N); - | ^ -devices/../parameters/../lib.h:78:16: warning: 'char* __builtin_strncpy(char*, const char*, long unsigned int)' specified bound 4096 equals destination size [-Wstringop-truncation] -devices/../parameters/../lib.h: In member function 'void runtime_pmdevice::set_human_name(char*)': -devices/../parameters/../lib.h:78:16: warning: 'char* __builtin_strncpy(char*, const char*, long unsigned int)' specified bound 4096 equals destination size [-Wstringop-truncation] devices/rfkill.cpp: In member function 'virtual void rfkill::end_measurement()': devices/rfkill.cpp:103:49: warning: '/hard' directive output may be truncated writing 5 bytes into a region of size between 1 and 4096 [-Wformat-truncation=] 103 | snprintf(filename, sizeof(filename), "%s/hard", sysfs_path); @@ -1236,6 +1244,16 @@ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ +In file included from devices/../parameters/parameters.h:35, + from devices/runtime_pm.h:31, + from devices/runtime_pm.cpp:25: +devices/../parameters/../lib.h: In constructor 'runtime_pmdevice::runtime_pmdevice(const char*, const char*)': +devices/../parameters/../lib.h:78:16: warning: 'char* __builtin_strncpy(char*, const char*, long unsigned int)' specified bound 4096 equals destination size [-Wstringop-truncation] + 78 | strncpy(d, s, N); + | ^ +devices/../parameters/../lib.h:78:16: warning: 'char* __builtin_strncpy(char*, const char*, long unsigned int)' specified bound 4096 equals destination size [-Wstringop-truncation] +devices/../parameters/../lib.h: In member function 'void runtime_pmdevice::set_human_name(char*)': +devices/../parameters/../lib.h:78:16: warning: 'char* __builtin_strncpy(char*, const char*, long unsigned int)' specified bound 4096 equals destination size [-Wstringop-truncation] devices/runtime_pm.cpp: In member function 'virtual void runtime_pmdevice::start_measurement()': devices/runtime_pm.cpp:69:49: warning: '/power/runtime_suspended_time' directive output may be truncated writing 29 bytes into a region of size between 1 and 4096 [-Wformat-truncation=] 69 | snprintf(filename, sizeof(filename), "%s/power/runtime_suspended_time", sysfs_path); @@ -1268,7 +1286,6 @@ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ -g++ -std=c++11 -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/share/locale\" -I/usr/include/libnl3 -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/aarch64-linux-gnu -pthread -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wformat -Wshadow -fno-omit-frame-pointer -fstack-protector -I/usr/include/libnl3 -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/aarch64-linux-gnu -pthread -g -O2 -ffile-prefix-map=/build/powertop-2.14=. -fstack-protector-strong -Wformat -Werror=format-security -c -o measurement/powertop-acpi.o `test -f 'measurement/acpi.cpp' || echo './'`measurement/acpi.cpp devices/rfkill.cpp: In member function 'virtual void rfkill::start_measurement()': devices/rfkill.cpp:83:49: warning: '/hard' directive output may be truncated writing 5 bytes into a region of size between 1 and 4096 [-Wformat-truncation=] 83 | snprintf(filename, sizeof(filename), "%s/hard", sysfs_path); @@ -1295,7 +1312,7 @@ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ -g++ -std=c++11 -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/share/locale\" -I/usr/include/libnl3 -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/aarch64-linux-gnu -pthread -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wformat -Wshadow -fno-omit-frame-pointer -fstack-protector -I/usr/include/libnl3 -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/aarch64-linux-gnu -pthread -g -O2 -ffile-prefix-map=/build/powertop-2.14=. -fstack-protector-strong -Wformat -Werror=format-security -c -o measurement/powertop-extech.o `test -f 'measurement/extech.cpp' || echo './'`measurement/extech.cpp +g++ -std=c++11 -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/share/locale\" -I/usr/include/libnl3 -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/aarch64-linux-gnu -pthread -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wformat -Wshadow -fno-omit-frame-pointer -fstack-protector -I/usr/include/libnl3 -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/aarch64-linux-gnu -pthread -g -O2 -ffile-prefix-map=/build/powertop-2.14=. -fstack-protector-strong -Wformat -Werror=format-security -c -o measurement/powertop-acpi.o `test -f 'measurement/acpi.cpp' || echo './'`measurement/acpi.cpp devices/runtime_pm.cpp: In member function 'virtual void runtime_pmdevice::end_measurement()': devices/runtime_pm.cpp:89:49: warning: '/power/runtime_suspended_time' directive output may be truncated writing 29 bytes into a region of size between 1 and 4096 [-Wformat-truncation=] 89 | snprintf(filename, sizeof(filename), "%s/power/runtime_suspended_time", sysfs_path); @@ -1322,6 +1339,7 @@ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ +g++ -std=c++11 -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/share/locale\" -I/usr/include/libnl3 -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/aarch64-linux-gnu -pthread -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wformat -Wshadow -fno-omit-frame-pointer -fstack-protector -I/usr/include/libnl3 -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/aarch64-linux-gnu -pthread -g -O2 -ffile-prefix-map=/build/powertop-2.14=. -fstack-protector-strong -Wformat -Werror=format-security -c -o measurement/powertop-extech.o `test -f 'measurement/extech.cpp' || echo './'`measurement/extech.cpp g++ -std=c++11 -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/share/locale\" -I/usr/include/libnl3 -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/aarch64-linux-gnu -pthread -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wformat -Wshadow -fno-omit-frame-pointer -fstack-protector -I/usr/include/libnl3 -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/aarch64-linux-gnu -pthread -g -O2 -ffile-prefix-map=/build/powertop-2.14=. -fstack-protector-strong -Wformat -Werror=format-security -c -o measurement/powertop-measurement.o `test -f 'measurement/measurement.cpp' || echo './'`measurement/measurement.cpp In file included from devices/../parameters/parameters.h:35, from devices/network.h:32, @@ -1341,6 +1359,11 @@ devices/../parameters/../lib.h:78:16: warning: 'char* __builtin_strncpy(char*, const char*, long unsigned int)' specified bound 4096 equals destination size [-Wstringop-truncation] devices/../parameters/../lib.h:78:16: warning: 'char* __builtin_strncpy(char*, const char*, long unsigned int)' specified bound 4096 equals destination size [-Wstringop-truncation] g++ -std=c++11 -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/share/locale\" -I/usr/include/libnl3 -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/aarch64-linux-gnu -pthread -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wformat -Wshadow -fno-omit-frame-pointer -fstack-protector -I/usr/include/libnl3 -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/aarch64-linux-gnu -pthread -g -O2 -ffile-prefix-map=/build/powertop-2.14=. -fstack-protector-strong -Wformat -Werror=format-security -c -o measurement/powertop-opal-sensors.o `test -f 'measurement/opal-sensors.cpp' || echo './'`measurement/opal-sensors.cpp +In file included from measurement/acpi.cpp:33: +measurement/../lib.h: In constructor 'acpi_power_meter::acpi_power_meter(const char*)': +measurement/../lib.h:78:16: warning: 'char* __builtin_strncpy(char*, const char*, long unsigned int)' specified bound 256 equals destination size [-Wstringop-truncation] + 78 | strncpy(d, s, N); + | ^ devices/usb.cpp: In member function 'virtual void usbdevice::start_measurement()': devices/usb.cpp:129:49: warning: '/power/active_duration' directive output may be truncated writing 22 bytes into a region of size between 1 and 4096 [-Wformat-truncation=] 129 | snprintf(fullpath, sizeof(fullpath), "%s/power/active_duration", sysfs_path); @@ -1373,11 +1396,6 @@ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ -In file included from measurement/acpi.cpp:33: -measurement/../lib.h: In constructor 'acpi_power_meter::acpi_power_meter(const char*)': -measurement/../lib.h:78:16: warning: 'char* __builtin_strncpy(char*, const char*, long unsigned int)' specified bound 256 equals destination size [-Wstringop-truncation] - 78 | strncpy(d, s, N); - | ^ g++ -std=c++11 -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/share/locale\" -I/usr/include/libnl3 -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/aarch64-linux-gnu -pthread -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wformat -Wshadow -fno-omit-frame-pointer -fstack-protector -I/usr/include/libnl3 -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/aarch64-linux-gnu -pthread -g -O2 -ffile-prefix-map=/build/powertop-2.14=. -fstack-protector-strong -Wformat -Werror=format-security -c -o parameters/powertop-learn.o `test -f 'parameters/learn.cpp' || echo './'`parameters/learn.cpp g++ -std=c++11 -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/share/locale\" -I/usr/include/libnl3 -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/aarch64-linux-gnu -pthread -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wformat -Wshadow -fno-omit-frame-pointer -fstack-protector -I/usr/include/libnl3 -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/aarch64-linux-gnu -pthread -g -O2 -ffile-prefix-map=/build/powertop-2.14=. -fstack-protector-strong -Wformat -Werror=format-security -c -o parameters/powertop-parameters.o `test -f 'parameters/parameters.cpp' || echo './'`parameters/parameters.cpp devices/usb.cpp: In member function 'virtual void usbdevice::end_measurement()': @@ -1451,12 +1469,12 @@ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ g++ -std=c++11 -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/share/locale\" -I/usr/include/libnl3 -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/aarch64-linux-gnu -pthread -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wformat -Wshadow -fno-omit-frame-pointer -fstack-protector -I/usr/include/libnl3 -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/aarch64-linux-gnu -pthread -g -O2 -ffile-prefix-map=/build/powertop-2.14=. -fstack-protector-strong -Wformat -Werror=format-security -c -o parameters/powertop-persistent.o `test -f 'parameters/persistent.cpp' || echo './'`parameters/persistent.cpp +g++ -std=c++11 -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/share/locale\" -I/usr/include/libnl3 -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/aarch64-linux-gnu -pthread -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wformat -Wshadow -fno-omit-frame-pointer -fstack-protector -I/usr/include/libnl3 -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/aarch64-linux-gnu -pthread -g -O2 -ffile-prefix-map=/build/powertop-2.14=. -fstack-protector-strong -Wformat -Werror=format-security -c -o perf/powertop-perf.o `test -f 'perf/perf.cpp' || echo './'`perf/perf.cpp In file included from measurement/extech.cpp:57: measurement/../lib.h: In constructor 'extech_power_meter::extech_power_meter(const char*)': measurement/../lib.h:78:16: warning: 'char* __builtin_strncpy(char*, const char*, long unsigned int)' specified bound 256 equals destination size [-Wstringop-truncation] 78 | strncpy(d, s, N); | ^ -g++ -std=c++11 -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/share/locale\" -I/usr/include/libnl3 -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/aarch64-linux-gnu -pthread -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wformat -Wshadow -fno-omit-frame-pointer -fstack-protector -I/usr/include/libnl3 -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/aarch64-linux-gnu -pthread -g -O2 -ffile-prefix-map=/build/powertop-2.14=. -fstack-protector-strong -Wformat -Werror=format-security -c -o perf/powertop-perf.o `test -f 'perf/perf.cpp' || echo './'`perf/perf.cpp g++ -std=c++11 -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/share/locale\" -I/usr/include/libnl3 -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/aarch64-linux-gnu -pthread -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wformat -Wshadow -fno-omit-frame-pointer -fstack-protector -I/usr/include/libnl3 -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/aarch64-linux-gnu -pthread -g -O2 -ffile-prefix-map=/build/powertop-2.14=. -fstack-protector-strong -Wformat -Werror=format-security -c -o perf/powertop-perf_bundle.o `test -f 'perf/perf_bundle.cpp' || echo './'`perf/perf_bundle.cpp g++ -std=c++11 -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/share/locale\" -I/usr/include/libnl3 -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/aarch64-linux-gnu -pthread -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wformat -Wshadow -fno-omit-frame-pointer -fstack-protector -I/usr/include/libnl3 -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/aarch64-linux-gnu -pthread -g -O2 -ffile-prefix-map=/build/powertop-2.14=. -fstack-protector-strong -Wformat -Werror=format-security -c -o process/powertop-do_process.o `test -f 'process/do_process.cpp' || echo './'`process/do_process.cpp measurement/opal-sensors.cpp: In constructor 'opal_sensors_power_meter::opal_sensors_power_meter(const char*)': @@ -1498,9 +1516,9 @@ 78 | strncpy(d, s, N); | ^ g++ -std=c++11 -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/share/locale\" -I/usr/include/libnl3 -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/aarch64-linux-gnu -pthread -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wformat -Wshadow -fno-omit-frame-pointer -fstack-protector -I/usr/include/libnl3 -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/aarch64-linux-gnu -pthread -g -O2 -ffile-prefix-map=/build/powertop-2.14=. -fstack-protector-strong -Wformat -Werror=format-security -c -o report/powertop-report.o `test -f 'report/report.cpp' || echo './'`report/report.cpp -g++ -std=c++11 -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/share/locale\" -I/usr/include/libnl3 -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/aarch64-linux-gnu -pthread -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wformat -Wshadow -fno-omit-frame-pointer -fstack-protector -I/usr/include/libnl3 -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/aarch64-linux-gnu -pthread -g -O2 -ffile-prefix-map=/build/powertop-2.14=. -fstack-protector-strong -Wformat -Werror=format-security -c -o tuning/powertop-bluetooth.o `test -f 'tuning/bluetooth.cpp' || echo './'`tuning/bluetooth.cpp process/../lib.h: In function 'timer* find_create_timer(uint64_t)': process/../lib.h:78:16: warning: 'char* __builtin_strncpy(char*, const char*, long unsigned int)' specified bound 32 equals destination size [-Wstringop-truncation] +g++ -std=c++11 -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/share/locale\" -I/usr/include/libnl3 -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/aarch64-linux-gnu -pthread -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wformat -Wshadow -fno-omit-frame-pointer -fstack-protector -I/usr/include/libnl3 -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/aarch64-linux-gnu -pthread -g -O2 -ffile-prefix-map=/build/powertop-2.14=. -fstack-protector-strong -Wformat -Werror=format-security -c -o tuning/powertop-bluetooth.o `test -f 'tuning/bluetooth.cpp' || echo './'`tuning/bluetooth.cpp g++ -std=c++11 -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/share/locale\" -I/usr/include/libnl3 -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/aarch64-linux-gnu -pthread -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wformat -Wshadow -fno-omit-frame-pointer -fstack-protector -I/usr/include/libnl3 -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/aarch64-linux-gnu -pthread -g -O2 -ffile-prefix-map=/build/powertop-2.14=. -fstack-protector-strong -Wformat -Werror=format-security -c -o tuning/powertop-ethernet.o `test -f 'tuning/ethernet.cpp' || echo './'`tuning/ethernet.cpp gcc -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/share/locale\" -I/usr/include/libnl3 -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/aarch64-linux-gnu -pthread -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/powertop-2.14=. -fstack-protector-strong -Wformat -Werror=format-security -pthread -c -o tuning/powertop-iw.o `test -f 'tuning/iw.c' || echo './'`tuning/iw.c g++ -std=c++11 -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/share/locale\" -I/usr/include/libnl3 -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/aarch64-linux-gnu -pthread -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wformat -Wshadow -fno-omit-frame-pointer -fstack-protector -I/usr/include/libnl3 -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/aarch64-linux-gnu -pthread -g -O2 -ffile-prefix-map=/build/powertop-2.14=. -fstack-protector-strong -Wformat -Werror=format-security -c -o tuning/powertop-runtime.o `test -f 'tuning/runtime.cpp' || echo './'`tuning/runtime.cpp @@ -1529,40 +1547,6 @@ | ^ g++ -std=c++11 -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/share/locale\" -I/usr/include/libnl3 -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/aarch64-linux-gnu -pthread -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wformat -Wshadow -fno-omit-frame-pointer -fstack-protector -I/usr/include/libnl3 -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/aarch64-linux-gnu -pthread -g -O2 -ffile-prefix-map=/build/powertop-2.14=. -fstack-protector-strong -Wformat -Werror=format-security -c -o tuning/powertop-tuningi2c.o `test -f 'tuning/tuningi2c.cpp' || echo './'`tuning/tuningi2c.cpp g++ -std=c++11 -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/share/locale\" -I/usr/include/libnl3 -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/aarch64-linux-gnu -pthread -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wformat -Wshadow -fno-omit-frame-pointer -fstack-protector -I/usr/include/libnl3 -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/aarch64-linux-gnu -pthread -g -O2 -ffile-prefix-map=/build/powertop-2.14=. -fstack-protector-strong -Wformat -Werror=format-security -c -o tuning/powertop-wifi.o `test -f 'tuning/wifi.cpp' || echo './'`tuning/wifi.cpp -tuning/runtime.cpp: In constructor 'runtime_tunable::runtime_tunable(const char*, const char*, const char*, const char*)': -tuning/runtime.cpp:86:68: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size 4081 [-Wformat-truncation=] - 86 | snprintf(toggle_good, sizeof(toggle_good), "echo 'auto' > '%s';", runtime_path); - | ^~ -In file included from /usr/include/stdio.h:906, - from /usr/include/c++/12/cstdio:42, - from /usr/include/c++/12/ext/string_conversions.h:43, - from /usr/include/c++/12/bits/basic_string.h:3960, - from /usr/include/c++/12/string:53, - from tuning/../lib.h:58, - from tuning/tunable.h:30, - from tuning/runtime.cpp:27: -In function 'int snprintf(char*, size_t, const char*, ...)', - inlined from 'runtime_tunable::runtime_tunable(const char*, const char*, const char*, const char*)' at tuning/runtime.cpp:86:10: -/usr/include/aarch64-linux-gnu/bits/stdio2.h:54:35: note: '__builtin___snprintf_chk' output between 18 and 4113 bytes into a destination of size 4096 - 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, - | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 55 | __glibc_objsize (__s), __fmt, - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 56 | __va_arg_pack ()); - | ~~~~~~~~~~~~~~~~~ -tuning/runtime.cpp: In constructor 'runtime_tunable::runtime_tunable(const char*, const char*, const char*, const char*)': -tuning/runtime.cpp:87:64: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size 4083 [-Wformat-truncation=] - 87 | snprintf(toggle_bad, sizeof(toggle_bad), "echo 'on' > '%s';", runtime_path); - | ^~ -In function 'int snprintf(char*, size_t, const char*, ...)', - inlined from 'runtime_tunable::runtime_tunable(const char*, const char*, const char*, const char*)' at tuning/runtime.cpp:87:10: -/usr/include/aarch64-linux-gnu/bits/stdio2.h:54:35: note: '__builtin___snprintf_chk' output between 16 and 4111 bytes into a destination of size 4096 - 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, - | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 55 | __glibc_objsize (__s), __fmt, - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 56 | __va_arg_pack ()); - | ~~~~~~~~~~~~~~~~~ In file included from tuning/tunable.h:30, from tuning/tuningsysfs.cpp:27: tuning/../lib.h: In constructor 'sysfs_tunable::sysfs_tunable(const char*, const char*, const char*)': @@ -1601,6 +1585,40 @@ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ +tuning/runtime.cpp: In constructor 'runtime_tunable::runtime_tunable(const char*, const char*, const char*, const char*)': +tuning/runtime.cpp:86:68: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size 4081 [-Wformat-truncation=] + 86 | snprintf(toggle_good, sizeof(toggle_good), "echo 'auto' > '%s';", runtime_path); + | ^~ +In file included from /usr/include/stdio.h:906, + from /usr/include/c++/12/cstdio:42, + from /usr/include/c++/12/ext/string_conversions.h:43, + from /usr/include/c++/12/bits/basic_string.h:3960, + from /usr/include/c++/12/string:53, + from tuning/../lib.h:58, + from tuning/tunable.h:30, + from tuning/runtime.cpp:27: +In function 'int snprintf(char*, size_t, const char*, ...)', + inlined from 'runtime_tunable::runtime_tunable(const char*, const char*, const char*, const char*)' at tuning/runtime.cpp:86:10: +/usr/include/aarch64-linux-gnu/bits/stdio2.h:54:35: note: '__builtin___snprintf_chk' output between 18 and 4113 bytes into a destination of size 4096 + 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, + | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 55 | __glibc_objsize (__s), __fmt, + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 56 | __va_arg_pack ()); + | ~~~~~~~~~~~~~~~~~ +tuning/runtime.cpp: In constructor 'runtime_tunable::runtime_tunable(const char*, const char*, const char*, const char*)': +tuning/runtime.cpp:87:64: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size 4083 [-Wformat-truncation=] + 87 | snprintf(toggle_bad, sizeof(toggle_bad), "echo 'on' > '%s';", runtime_path); + | ^~ +In function 'int snprintf(char*, size_t, const char*, ...)', + inlined from 'runtime_tunable::runtime_tunable(const char*, const char*, const char*, const char*)' at tuning/runtime.cpp:87:10: +/usr/include/aarch64-linux-gnu/bits/stdio2.h:54:35: note: '__builtin___snprintf_chk' output between 16 and 4111 bytes into a destination of size 4096 + 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, + | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 55 | __glibc_objsize (__s), __fmt, + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 56 | __va_arg_pack ()); + | ~~~~~~~~~~~~~~~~~ tuning/runtime.cpp: In function 'void add_runtime_tunables(const char*)': tuning/runtime.cpp:166:86: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size between 3822 and 4077 [-Wformat-truncation=] 166 | snprintf(filename, sizeof(filename), "/sys/bus/%s/devices/%s/%s/power/control", bus, entry->d_name, port); @@ -1643,6 +1661,7 @@ g++ -std=c++11 -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/share/locale\" -I/usr/include/libnl3 -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/aarch64-linux-gnu -pthread -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wformat -Wshadow -fno-omit-frame-pointer -fstack-protector -I/usr/include/libnl3 -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/aarch64-linux-gnu -pthread -g -O2 -ffile-prefix-map=/build/powertop-2.14=. -fstack-protector-strong -Wformat -Werror=format-security -c -o wakeup/powertop-wakeup.o `test -f 'wakeup/wakeup.cpp' || echo './'`wakeup/wakeup.cpp g++ -std=c++11 -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/share/locale\" -I/usr/include/libnl3 -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/aarch64-linux-gnu -pthread -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wformat -Wshadow -fno-omit-frame-pointer -fstack-protector -I/usr/include/libnl3 -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/aarch64-linux-gnu -pthread -g -O2 -ffile-prefix-map=/build/powertop-2.14=. -fstack-protector-strong -Wformat -Werror=format-security -c -o wakeup/powertop-waketab.o `test -f 'wakeup/waketab.cpp' || echo './'`wakeup/waketab.cpp g++ -std=c++11 -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/share/locale\" -I/usr/include/libnl3 -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/aarch64-linux-gnu -pthread -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wformat -Wshadow -fno-omit-frame-pointer -fstack-protector -I/usr/include/libnl3 -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/aarch64-linux-gnu -pthread -g -O2 -ffile-prefix-map=/build/powertop-2.14=. -fstack-protector-strong -Wformat -Werror=format-security -c -o wakeup/powertop-wakeup_ethernet.o `test -f 'wakeup/wakeup_ethernet.cpp' || echo './'`wakeup/wakeup_ethernet.cpp +g++ -std=c++11 -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/share/locale\" -I/usr/include/libnl3 -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/aarch64-linux-gnu -pthread -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wformat -Wshadow -fno-omit-frame-pointer -fstack-protector -I/usr/include/libnl3 -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/aarch64-linux-gnu -pthread -g -O2 -ffile-prefix-map=/build/powertop-2.14=. -fstack-protector-strong -Wformat -Werror=format-security -c -o wakeup/powertop-wakeup_usb.o `test -f 'wakeup/wakeup_usb.cpp' || echo './'`wakeup/wakeup_usb.cpp In file included from tuning/tunable.h:30, from tuning/wifi.cpp:27: tuning/../lib.h: In constructor 'wifi_tunable::wifi_tunable(const char*)': @@ -1680,7 +1699,6 @@ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ -g++ -std=c++11 -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/share/locale\" -I/usr/include/libnl3 -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/aarch64-linux-gnu -pthread -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wformat -Wshadow -fno-omit-frame-pointer -fstack-protector -I/usr/include/libnl3 -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/aarch64-linux-gnu -pthread -g -O2 -ffile-prefix-map=/build/powertop-2.14=. -fstack-protector-strong -Wformat -Werror=format-security -c -o wakeup/powertop-wakeup_usb.o `test -f 'wakeup/wakeup_usb.cpp' || echo './'`wakeup/wakeup_usb.cpp tuning/tuningusb.cpp: In constructor 'usb_tunable::usb_tunable(const char*, const char*)': tuning/tuningusb.cpp:77:68: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size 4081 [-Wformat-truncation=] 77 | snprintf(toggle_good, sizeof(toggle_good), "echo 'auto' > '%s';", usb_path); @@ -1760,18 +1778,18 @@ wakeup/../lib.h:78:16: warning: 'char* __builtin_strncpy(char*, const char*, long unsigned int)' specified bound 128 equals destination size [-Wstringop-truncation] wakeup/../lib.h:78:16: warning: 'char* __builtin_strncpy(char*, const char*, long unsigned int)' specified bound 128 equals destination size [-Wstringop-truncation] wakeup/../lib.h:78:16: warning: 'char* __builtin_strncpy(char*, const char*, long unsigned int)' specified bound 128 equals destination size [-Wstringop-truncation] -In file included from wakeup/wakeup_ethernet.cpp:44: -wakeup/../lib.h: In constructor 'ethernet_wakeup::ethernet_wakeup(const char*, const char*)': +In file included from wakeup/wakeup_usb.cpp:44: +wakeup/../lib.h: In constructor 'usb_wakeup::usb_wakeup(const char*, const char*)': wakeup/../lib.h:78:16: warning: 'char* __builtin_strncpy(char*, const char*, long unsigned int)' specified bound 4096 equals destination size [-Wstringop-truncation] 78 | strncpy(d, s, N); | ^ -wakeup/wakeup_ethernet.cpp:53:75: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size 4078 [-Wformat-truncation=] - 53 | snprintf(toggle_enable, sizeof(toggle_enable), "echo 'enabled' > '%s';", eth_path); +wakeup/wakeup_usb.cpp:53:75: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size 4078 [-Wformat-truncation=] + 53 | snprintf(toggle_enable, sizeof(toggle_enable), "echo 'enabled' > '%s';", usb_path); | ^~ In file included from /usr/include/stdio.h:906, - from wakeup/wakeup_ethernet.cpp:29: + from wakeup/wakeup_usb.cpp:29: In function 'int snprintf(char*, size_t, const char*, ...)', - inlined from 'ethernet_wakeup::ethernet_wakeup(const char*, const char*)' at wakeup/wakeup_ethernet.cpp:53:10: + inlined from 'usb_wakeup::usb_wakeup(const char*, const char*)' at wakeup/wakeup_usb.cpp:53:10: /usr/include/aarch64-linux-gnu/bits/stdio2.h:54:35: note: '__builtin___snprintf_chk' output between 21 and 4116 bytes into a destination of size 4096 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -1779,12 +1797,12 @@ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ -wakeup/wakeup_ethernet.cpp: In constructor 'ethernet_wakeup::ethernet_wakeup(const char*, const char*)': -wakeup/wakeup_ethernet.cpp:54:78: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size 4077 [-Wformat-truncation=] - 54 | snprintf(toggle_disable, sizeof(toggle_disable), "echo 'disabled' > '%s';", eth_path); +wakeup/wakeup_usb.cpp: In constructor 'usb_wakeup::usb_wakeup(const char*, const char*)': +wakeup/wakeup_usb.cpp:54:78: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size 4077 [-Wformat-truncation=] + 54 | snprintf(toggle_disable, sizeof(toggle_disable), "echo 'disabled' > '%s';", usb_path); | ^~ In function 'int snprintf(char*, size_t, const char*, ...)', - inlined from 'ethernet_wakeup::ethernet_wakeup(const char*, const char*)' at wakeup/wakeup_ethernet.cpp:54:10: + inlined from 'usb_wakeup::usb_wakeup(const char*, const char*)' at wakeup/wakeup_usb.cpp:54:10: /usr/include/aarch64-linux-gnu/bits/stdio2.h:54:35: note: '__builtin___snprintf_chk' output between 22 and 4117 bytes into a destination of size 4096 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -1792,18 +1810,18 @@ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ -In file included from wakeup/wakeup_usb.cpp:44: -wakeup/../lib.h: In constructor 'usb_wakeup::usb_wakeup(const char*, const char*)': +In file included from wakeup/wakeup_ethernet.cpp:44: +wakeup/../lib.h: In constructor 'ethernet_wakeup::ethernet_wakeup(const char*, const char*)': wakeup/../lib.h:78:16: warning: 'char* __builtin_strncpy(char*, const char*, long unsigned int)' specified bound 4096 equals destination size [-Wstringop-truncation] 78 | strncpy(d, s, N); | ^ -wakeup/wakeup_usb.cpp:53:75: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size 4078 [-Wformat-truncation=] - 53 | snprintf(toggle_enable, sizeof(toggle_enable), "echo 'enabled' > '%s';", usb_path); +wakeup/wakeup_ethernet.cpp:53:75: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size 4078 [-Wformat-truncation=] + 53 | snprintf(toggle_enable, sizeof(toggle_enable), "echo 'enabled' > '%s';", eth_path); | ^~ In file included from /usr/include/stdio.h:906, - from wakeup/wakeup_usb.cpp:29: + from wakeup/wakeup_ethernet.cpp:29: In function 'int snprintf(char*, size_t, const char*, ...)', - inlined from 'usb_wakeup::usb_wakeup(const char*, const char*)' at wakeup/wakeup_usb.cpp:53:10: + inlined from 'ethernet_wakeup::ethernet_wakeup(const char*, const char*)' at wakeup/wakeup_ethernet.cpp:53:10: /usr/include/aarch64-linux-gnu/bits/stdio2.h:54:35: note: '__builtin___snprintf_chk' output between 21 and 4116 bytes into a destination of size 4096 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -1811,12 +1829,12 @@ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ -wakeup/wakeup_usb.cpp: In constructor 'usb_wakeup::usb_wakeup(const char*, const char*)': -wakeup/wakeup_usb.cpp:54:78: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size 4077 [-Wformat-truncation=] - 54 | snprintf(toggle_disable, sizeof(toggle_disable), "echo 'disabled' > '%s';", usb_path); +wakeup/wakeup_ethernet.cpp: In constructor 'ethernet_wakeup::ethernet_wakeup(const char*, const char*)': +wakeup/wakeup_ethernet.cpp:54:78: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size 4077 [-Wformat-truncation=] + 54 | snprintf(toggle_disable, sizeof(toggle_disable), "echo 'disabled' > '%s';", eth_path); | ^~ In function 'int snprintf(char*, size_t, const char*, ...)', - inlined from 'usb_wakeup::usb_wakeup(const char*, const char*)' at wakeup/wakeup_usb.cpp:54:10: + inlined from 'ethernet_wakeup::ethernet_wakeup(const char*, const char*)' at wakeup/wakeup_ethernet.cpp:54:10: /usr/include/aarch64-linux-gnu/bits/stdio2.h:54:35: note: '__builtin___snprintf_chk' output between 22 and 4117 bytes into a destination of size 4096 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -1833,25 +1851,25 @@ test ! -f ./powertop.pot || \ test -z "ca.gmo cs_CZ.gmo de_DE.gmo en_GB.gmo en_US.gmo es_ES.gmo hu_HU.gmo id_ID.gmo nl_NL.gmo zh_TW.gmo" || make ca.gmo cs_CZ.gmo de_DE.gmo en_GB.gmo en_US.gmo es_ES.gmo hu_HU.gmo id_ID.gmo nl_NL.gmo zh_TW.gmo make[4]: Entering directory '/build/powertop-2.14/po' -rm -f ca.gmo && /usr/bin/msgfmt -c --statistics --verbose -o ca.gmo ca.po rm -f cs_CZ.gmo && /usr/bin/msgfmt -c --statistics --verbose -o cs_CZ.gmo cs_CZ.po +rm -f ca.gmo && /usr/bin/msgfmt -c --statistics --verbose -o ca.gmo ca.po rm -f de_DE.gmo && /usr/bin/msgfmt -c --statistics --verbose -o de_DE.gmo de_DE.po +de_DE.po: 111 translated messages, 37 fuzzy translations, 56 untranslated messages. rm -f en_GB.gmo && /usr/bin/msgfmt -c --statistics --verbose -o en_GB.gmo en_GB.po rm -f en_US.gmo && /usr/bin/msgfmt -c --statistics --verbose -o en_US.gmo en_US.po ca.po: 64 translated messages, 19 fuzzy translations, 121 untranslated messages. -cs_CZ.po: 109 translated messages, 37 fuzzy translations, 58 untranslated messages. -rm -f es_ES.gmo && /usr/bin/msgfmt -c --statistics --verbose -o es_ES.gmo es_ES.po en_GB.po: 21 translated messages, 8 fuzzy translations, 175 untranslated messages. -en_US.po: 61 translated messages, 18 fuzzy translations, 125 untranslated messages. +rm -f es_ES.gmo && /usr/bin/msgfmt -c --statistics --verbose -o es_ES.gmo es_ES.po rm -f hu_HU.gmo && /usr/bin/msgfmt -c --statistics --verbose -o hu_HU.gmo hu_HU.po +rm -f nl_NL.gmo && /usr/bin/msgfmt -c --statistics --verbose -o nl_NL.gmo nl_NL.po +cs_CZ.po: 109 translated messages, 37 fuzzy translations, 58 untranslated messages. rm -f id_ID.gmo && /usr/bin/msgfmt -c --statistics --verbose -o id_ID.gmo id_ID.po -de_DE.po: 111 translated messages, 37 fuzzy translations, 56 untranslated messages. +en_US.po: 61 translated messages, 18 fuzzy translations, 125 untranslated messages. +nl_NL.po: 22 translated messages, 8 fuzzy translations, 174 untranslated messages. hu_HU.po: 104 translated messages, 33 fuzzy translations, 67 untranslated messages. -rm -f nl_NL.gmo && /usr/bin/msgfmt -c --statistics --verbose -o nl_NL.gmo nl_NL.po -es_ES.po: 65 translated messages, 23 fuzzy translations, 116 untranslated messages. rm -f zh_TW.gmo && /usr/bin/msgfmt -c --statistics --verbose -o zh_TW.gmo zh_TW.po id_ID.po: 110 translated messages, 37 fuzzy translations, 57 untranslated messages. -nl_NL.po: 22 translated messages, 8 fuzzy translations, 174 untranslated messages. +es_ES.po: 65 translated messages, 23 fuzzy translations, 116 untranslated messages. zh_TW.po: 110 translated messages, 37 fuzzy translations, 57 untranslated messages. make[4]: Leaving directory '/build/powertop-2.14/po' touch stamp-po @@ -1982,14 +2000,14 @@ dh_strip_nondeterminism Normalized debian/powertop/usr/share/locale/zh_TW/LC_MESSAGES/powertop.mo Normalized debian/powertop/usr/share/locale/nl_NL/LC_MESSAGES/powertop.mo - Normalized debian/powertop/usr/share/locale/id_ID/LC_MESSAGES/powertop.mo - Normalized debian/powertop/usr/share/locale/hu_HU/LC_MESSAGES/powertop.mo Normalized debian/powertop/usr/share/locale/en_GB/LC_MESSAGES/powertop.mo Normalized debian/powertop/usr/share/locale/de_DE/LC_MESSAGES/powertop.mo Normalized debian/powertop/usr/share/locale/cs_CZ/LC_MESSAGES/powertop.mo Normalized debian/powertop/usr/share/locale/ca/LC_MESSAGES/powertop.mo Normalized debian/powertop/usr/share/locale/es_ES/LC_MESSAGES/powertop.mo Normalized debian/powertop/usr/share/locale/en_US/LC_MESSAGES/powertop.mo + Normalized debian/powertop/usr/share/locale/id_ID/LC_MESSAGES/powertop.mo + Normalized debian/powertop/usr/share/locale/hu_HU/LC_MESSAGES/powertop.mo dh_compress dh_fixperms dh_missing @@ -2010,12 +2028,14 @@ dpkg-buildpackage: info: binary-only upload (no source included) dpkg-genchanges: info: including full source code in upload I: copying local configuration +I: user script /srv/workspace/pbuilder/22632/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/22632/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/18153 and its subdirectories -I: Current time: Fri May 17 00:50:51 -12 2024 -I: pbuilder-time-stamp: 1715950251 +I: removing directory /srv/workspace/pbuilder/22632 and its subdirectories +I: Current time: Sat Apr 15 20:33:35 +14 2023 +I: pbuilder-time-stamp: 1681540415