Diff of the two buildlogs: -- --- b1/build.log 2024-06-02 06:30:03.374384406 +0000 +++ b2/build.log 2024-06-02 06:32:31.708097555 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Sat Jul 5 00:50:49 -12 2025 -I: pbuilder-time-stamp: 1751719849 +I: Current time: Sun Jun 2 20:30:06 +14 2024 +I: pbuilder-time-stamp: 1717309806 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/unstable-reproducible-base.tgz] I: copying local configuration @@ -29,52 +29,84 @@ dpkg-source: info: applying 0003-remove-shebang-from-bash-completion-file.patch I: Not using root during the build. I: Installing the build-deps -I: user script /srv/workspace/pbuilder/3375698/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/1860393/tmp/hooks/D01_modify_environment starting +debug: Running on ionos1-amd64. +I: Changing host+domainname to test build reproducibility +I: Adding a custom variable just for the fun of it... +I: Changing /bin/sh to bash +'/bin/sh' -> '/bin/bash' +lrwxrwxrwx 1 root root 9 Jun 2 06:30 /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/1860393/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/1860393/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='amd64' - DEBIAN_FRONTEND='noninteractive' - DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=42 ' - DISTRIBUTION='unstable' - HOME='/root' - HOST_ARCH='amd64' + 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]="x86_64-pc-linux-gnu") + 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=amd64 + DEBIAN_FRONTEND=noninteractive + DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=20 ' + DIRSTACK=() + DISTRIBUTION=unstable + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=x86_64 + HOST_ARCH=amd64 IFS=' ' - INVOCATION_ID='bc489e4b655d4d22a351e4039e98e71d' - 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='3375698' - PS1='# ' - PS2='> ' + INVOCATION_ID=2da8c0850761407a99aa9db03076af2d + LANG=C + LANGUAGE=et_EE:et + LC_ALL=C + MACHTYPE=x86_64-pc-linux-gnu + MAIL=/var/mail/root + OPTERR=1 + OPTIND=1 + OSTYPE=linux-gnu + PATH=/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path + PBCURRENTCOMMANDLINEOPERATION=build + PBUILDER_OPERATION=build + PBUILDER_PKGDATADIR=/usr/share/pbuilder + PBUILDER_PKGLIBDIR=/usr/lib/pbuilder + PBUILDER_SYSCONFDIR=/etc + PIPESTATUS=([0]="0") + POSIXLY_CORRECT=y + PPID=1860393 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.nWKUxA0B/pbuilderrc_Bal7 --distribution unstable --hookdir /etc/pbuilder/first-build-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/unstable-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.nWKUxA0B/b1 --logfile b1/build.log powertop_2.15-3.dsc' - SUDO_GID='110' - SUDO_UID='105' - SUDO_USER='jenkins' - TERM='unknown' - TZ='/usr/share/zoneinfo/Etc/GMT+12' - USER='root' - _='/usr/bin/systemd-run' - http_proxy='http://213.165.73.152:3128' + PWD=/ + SHELL=/bin/bash + SHELLOPTS=braceexpand:errexit:hashall:interactive-comments:posix + SHLVL=3 + SUDO_COMMAND='/usr/bin/timeout -k 24.1h 24h /usr/bin/ionice -c 3 /usr/bin/nice -n 11 /usr/bin/unshare --uts -- /usr/sbin/pbuilder --build --configfile /srv/reproducible-results/rbuild-debian/r-b-build.nWKUxA0B/pbuilderrc_qQnC --distribution unstable --hookdir /etc/pbuilder/rebuild-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/unstable-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.nWKUxA0B/b2 --logfile b2/build.log powertop_2.15-3.dsc' + SUDO_GID=110 + SUDO_UID=105 + SUDO_USER=jenkins + TERM=unknown + TZ=/usr/share/zoneinfo/Etc/GMT-14 + UID=0 + USER=root + _='I: set' + http_proxy=http://46.16.76.132:3128 I: uname -a - Linux ionos5-amd64 6.7.12+bpo-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.7.12-1~bpo12+1 (2024-05-06) x86_64 GNU/Linux + Linux i-capture-the-hostname 6.1.0-21-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.90-1 (2024-05-03) x86_64 GNU/Linux I: ls -l /bin - lrwxrwxrwx 1 root root 7 Jul 4 14:06 /bin -> usr/bin -I: user script /srv/workspace/pbuilder/3375698/tmp/hooks/D02_print_environment finished + lrwxrwxrwx 1 root root 7 Jun 1 07:43 /bin -> usr/bin +I: user script /srv/workspace/pbuilder/1860393/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -166,7 +198,7 @@ Get: 42 http://deb.debian.org/debian unstable/main amd64 libpkgconf3 amd64 1.8.1-1+b2 [36.4 kB] Get: 43 http://deb.debian.org/debian unstable/main amd64 pkgconf-bin amd64 1.8.1-1+b2 [29.7 kB] Get: 44 http://deb.debian.org/debian unstable/main amd64 pkgconf amd64 1.8.1-1+b2 [26.2 kB] -Fetched 21.9 MB in 1s (39.0 MB/s) +Fetched 21.9 MB in 0s (54.0 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 ... 19719 files and directories currently installed.) @@ -357,7 +389,11 @@ Building tag database... -> Finished parsing the build-deps I: Building the package -I: Running cd /build/reproducible-path/powertop-2.15/ && 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.15-3_source.changes +I: user script /srv/workspace/pbuilder/1860393/tmp/hooks/A99_set_merged_usr starting +Not re-configuring usrmerge for unstable +I: user script /srv/workspace/pbuilder/1860393/tmp/hooks/A99_set_merged_usr finished +hostname: Name or service not known +I: Running cd /build/reproducible-path/powertop-2.15/ && 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.15-3_source.changes dpkg-buildpackage: info: source package powertop dpkg-buildpackage: info: source version 2.15-3 dpkg-buildpackage: info: source distribution unstable @@ -656,32 +692,32 @@ config.status: creating po/Makefile config.status: executing libtool commands dh_auto_build - make -j42 + make -j20 make[1]: Entering directory '/build/reproducible-path/powertop-2.15' make all-recursive make[2]: Entering directory '/build/reproducible-path/powertop-2.15' Making all in traceevent make[3]: Entering directory '/build/reproducible-path/powertop-2.15/traceevent' -/bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/powertop-2.15=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -pthread -c -o event-parse.lo event-parse.c -/bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/powertop-2.15=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/powertop-2.15=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/powertop-2.15=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/powertop-2.15=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/powertop-2.15=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -pthread -c trace-seq.c -fPIC -DPIC -o .libs/trace-seq.o +/bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/powertop-2.15=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -pthread -c -o event-parse.lo event-parse.c +/bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/powertop-2.15=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -pthread -c -o parse-filter.lo parse-filter.c +/bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/powertop-2.15=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -pthread -c -o parse-utils.lo parse-utils.c +/bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/powertop-2.15=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/powertop-2.15=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/powertop-2.15=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/powertop-2.15=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/powertop-2.15=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/powertop-2.15=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/powertop-2.15=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/powertop-2.15=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/powertop-2.15=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -pthread -c event-parse.c -o event-parse.o >/dev/null 2>&1 -/bin/bash ../libtool --tag=CC --mode=link gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/powertop-2.15=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -pthread -Wl,-z,relro -Wl,-z,now -o libtraceevnet.la event-parse.lo parse-filter.lo parse-utils.lo trace-seq.lo -lpthread +/bin/sh ../libtool --tag=CC --mode=link gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/powertop-2.15=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -pthread -Wl,-z,relro -Wl,-z,now -o libtraceevnet.la event-parse.lo parse-filter.lo parse-utils.lo trace-seq.lo -lpthread libtool: link: ar cr .libs/libtraceevnet.a .libs/event-parse.o .libs/parse-filter.o .libs/parse-utils.o .libs/trace-seq.o libtool: link: ranlib .libs/libtraceevnet.a libtool: link: ( cd ".libs" && rm -f "libtraceevnet.la" && ln -s "../libtraceevnet.la" "libtraceevnet.la" ) make[3]: Leaving directory '/build/reproducible-path/powertop-2.15/traceevent' Making all in src make[3]: Entering directory '/build/reproducible-path/powertop-2.15/src' -/bin/bash ./csstoh.sh ./powertop.css css.h +/bin/sh ./csstoh.sh ./powertop.css css.h make all-am make[4]: Entering directory '/build/reproducible-path/powertop-2.15/src' 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/x86_64-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/x86_64-linux-gnu -pthread -g -O2 -ffile-prefix-map=/build/reproducible-path/powertop-2.15=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o powertop-devlist.o `test -f 'devlist.cpp' || echo './'`devlist.cpp @@ -704,59 +740,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/x86_64-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/x86_64-linux-gnu -pthread -g -O2 -ffile-prefix-map=/build/reproducible-path/powertop-2.15=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o devices/powertop-alsa.o `test -f 'devices/alsa.cpp' || echo './'`devices/alsa.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/x86_64-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/x86_64-linux-gnu -pthread -g -O2 -ffile-prefix-map=/build/reproducible-path/powertop-2.15=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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/x86_64-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/x86_64-linux-gnu -pthread -g -O2 -ffile-prefix-map=/build/reproducible-path/powertop-2.15=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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/x86_64-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/x86_64-linux-gnu -pthread -g -O2 -ffile-prefix-map=/build/reproducible-path/powertop-2.15=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o devices/powertop-device.o `test -f 'devices/device.cpp' || echo './'`devices/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/x86_64-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/x86_64-linux-gnu -pthread -g -O2 -ffile-prefix-map=/build/reproducible-path/powertop-2.15=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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/x86_64-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/x86_64-linux-gnu -pthread -g -O2 -ffile-prefix-map=/build/reproducible-path/powertop-2.15=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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/x86_64-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/x86_64-linux-gnu -pthread -g -O2 -ffile-prefix-map=/build/reproducible-path/powertop-2.15=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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/x86_64-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/x86_64-linux-gnu -pthread -g -O2 -ffile-prefix-map=/build/reproducible-path/powertop-2.15=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o devices/powertop-rfkill.o `test -f 'devices/rfkill.cpp' || echo './'`devices/rfkill.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/x86_64-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/x86_64-linux-gnu -pthread -g -O2 -ffile-prefix-map=/build/reproducible-path/powertop-2.15=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o devices/powertop-runtime_pm.o `test -f 'devices/runtime_pm.cpp' || echo './'`devices/runtime_pm.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/x86_64-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/x86_64-linux-gnu -pthread -g -O2 -ffile-prefix-map=/build/reproducible-path/powertop-2.15=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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/x86_64-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/x86_64-linux-gnu -pthread -g -O2 -ffile-prefix-map=/build/reproducible-path/powertop-2.15=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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/x86_64-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/x86_64-linux-gnu -pthread -g -O2 -ffile-prefix-map=/build/reproducible-path/powertop-2.15=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o devices/powertop-usb.o `test -f 'devices/usb.cpp' || echo './'`devices/usb.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/x86_64-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/x86_64-linux-gnu -pthread -g -O2 -ffile-prefix-map=/build/reproducible-path/powertop-2.15=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o measurement/powertop-acpi.o `test -f 'measurement/acpi.cpp' || echo './'`measurement/acpi.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/x86_64-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/x86_64-linux-gnu -pthread -g -O2 -ffile-prefix-map=/build/reproducible-path/powertop-2.15=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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/x86_64-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/x86_64-linux-gnu -pthread -g -O2 -ffile-prefix-map=/build/reproducible-path/powertop-2.15=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o measurement/powertop-measurement.o `test -f 'measurement/measurement.cpp' || echo './'`measurement/measurement.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/x86_64-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/x86_64-linux-gnu -pthread -g -O2 -ffile-prefix-map=/build/reproducible-path/powertop-2.15=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o measurement/powertop-sysfs.o `test -f 'measurement/sysfs.cpp' || echo './'`measurement/sysfs.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/x86_64-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/x86_64-linux-gnu -pthread -g -O2 -ffile-prefix-map=/build/reproducible-path/powertop-2.15=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o measurement/powertop-opal-sensors.o `test -f 'measurement/opal-sensors.cpp' || echo './'`measurement/opal-sensors.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/x86_64-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/x86_64-linux-gnu -pthread -g -O2 -ffile-prefix-map=/build/reproducible-path/powertop-2.15=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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/x86_64-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/x86_64-linux-gnu -pthread -g -O2 -ffile-prefix-map=/build/reproducible-path/powertop-2.15=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o parameters/powertop-parameters.o `test -f 'parameters/parameters.cpp' || echo './'`parameters/parameters.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/x86_64-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/x86_64-linux-gnu -pthread -g -O2 -ffile-prefix-map=/build/reproducible-path/powertop-2.15=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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/x86_64-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/x86_64-linux-gnu -pthread -g -O2 -ffile-prefix-map=/build/reproducible-path/powertop-2.15=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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/x86_64-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/x86_64-linux-gnu -pthread -g -O2 -ffile-prefix-map=/build/reproducible-path/powertop-2.15=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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/x86_64-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/x86_64-linux-gnu -pthread -g -O2 -ffile-prefix-map=/build/reproducible-path/powertop-2.15=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o process/powertop-do_process.o `test -f 'process/do_process.cpp' || echo './'`process/do_process.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/x86_64-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/x86_64-linux-gnu -pthread -g -O2 -ffile-prefix-map=/build/reproducible-path/powertop-2.15=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o process/powertop-interrupt.o `test -f 'process/interrupt.cpp' || echo './'`process/interrupt.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/x86_64-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/x86_64-linux-gnu -pthread -g -O2 -ffile-prefix-map=/build/reproducible-path/powertop-2.15=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o process/powertop-powerconsumer.o `test -f 'process/powerconsumer.cpp' || echo './'`process/powerconsumer.cpp -measurement/opal-sensors.cpp: In constructor 'opal_sensors_power_meter::opal_sensors_power_meter(const char*)': -measurement/opal-sensors.cpp:34:16: warning: 'char* __builtin_strncpy(char*, const char*, long unsigned int)' specified bound 4096 equals destination size [-Wstringop-truncation] - 34 | strncpy(name, power_supply_name, sizeof(name)); - | ^ -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/x86_64-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/x86_64-linux-gnu -pthread -g -O2 -ffile-prefix-map=/build/reproducible-path/powertop-2.15=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o process/powertop-process.o `test -f 'process/process.cpp' || echo './'`process/process.cpp -In file included from measurement/sysfs.cpp:27: -measurement/../lib.h: In constructor 'sysfs_power_meter::sysfs_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/x86_64-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/x86_64-linux-gnu -pthread -g -O2 -ffile-prefix-map=/build/reproducible-path/powertop-2.15=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o process/powertop-processdevice.o `test -f 'process/processdevice.cpp' || echo './'`process/processdevice.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/x86_64-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/x86_64-linux-gnu -pthread -g -O2 -ffile-prefix-map=/build/reproducible-path/powertop-2.15=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o process/powertop-timer.o `test -f 'process/timer.cpp' || echo './'`process/timer.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/x86_64-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/x86_64-linux-gnu -pthread -g -O2 -ffile-prefix-map=/build/reproducible-path/powertop-2.15=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o process/powertop-work.o `test -f 'process/work.cpp' || echo './'`process/work.cpp -In file included from process/interrupt.cpp:30: -process/../lib.h: In constructor 'interrupt::interrupt(const char*, int)': -process/../lib.h:78:16: warning: 'char* __builtin_strncpy(char*, const char*, long unsigned int)' specified bound 32 equals destination size [-Wstringop-truncation] - 78 | strncpy(d, s, N); - | ^ -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/x86_64-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/x86_64-linux-gnu -pthread -g -O2 -ffile-prefix-map=/build/reproducible-path/powertop-2.15=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o report/powertop-report-data-html.o `test -f 'report/report-data-html.cpp' || echo './'`report/report-data-html.cpp -In file included from cpu/cpudevice.cpp:29: -cpu/../lib.h: In constructor 'cpudevice::cpudevice(const char*, const char*, abstract_cpu*)': -cpu/../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); - | ^ -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/x86_64-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/x86_64-linux-gnu -pthread -g -O2 -ffile-prefix-map=/build/reproducible-path/powertop-2.15=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o report/powertop-report-formatter-base.o `test -f 'report/report-formatter-base.cpp' || echo './'`report/report-formatter-base.cpp 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); @@ -787,7 +770,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); | ^ -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/x86_64-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/x86_64-linux-gnu -pthread -g -O2 -ffile-prefix-map=/build/reproducible-path/powertop-2.15=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o report/powertop-report-formatter-csv.o `test -f 'report/report-formatter-csv.cpp' || echo './'`report/report-formatter-csv.cpp devices/backlight.cpp: In member function 'virtual void backlight::end_measurement()': devices/backlight.cpp:125:49: warning: '/actual_brightness' directive output may be truncated writing 18 bytes into a region of size between 1 and 4096 [-Wformat-truncation=] 125 | snprintf(filename, sizeof(filename), "%s/actual_brightness", sysfs_path); @@ -814,7 +796,8 @@ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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/x86_64-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/x86_64-linux-gnu -pthread -g -O2 -ffile-prefix-map=/build/reproducible-path/powertop-2.15=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o report/powertop-report-formatter-html.o `test -f 'report/report-formatter-html.cpp' || echo './'`report/report-formatter-html.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/x86_64-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/x86_64-linux-gnu -pthread -g -O2 -ffile-prefix-map=/build/reproducible-path/powertop-2.15=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o devices/powertop-device.o `test -f 'devices/device.cpp' || echo './'`devices/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/x86_64-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/x86_64-linux-gnu -pthread -g -O2 -ffile-prefix-map=/build/reproducible-path/powertop-2.15=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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); @@ -841,160 +824,9 @@ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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] -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/x86_64-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/x86_64-linux-gnu -pthread -g -O2 -ffile-prefix-map=/build/reproducible-path/powertop-2.15=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o report/powertop-report-maker.o `test -f 'report/report-maker.cpp' || echo './'`report/report-maker.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/x86_64-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/x86_64-linux-gnu -pthread -g -O2 -ffile-prefix-map=/build/reproducible-path/powertop-2.15=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o report/powertop-report.o `test -f 'report/report.cpp' || echo './'`report/report.cpp -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); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -In file included from /usr/include/stdio.h:964, - from /usr/include/c++/13/cstdio:42, - from /usr/include/c++/13/ext/string_conversions.h:45, - from /usr/include/c++/13/bits/basic_string.h:4109, - from /usr/include/c++/13/string:54, - from devices/../parameters/parameters.h:31: -In function 'int snprintf(char*, size_t, const char*, ...)', - inlined from 'virtual void runtime_pmdevice::start_measurement()' at devices/runtime_pm.cpp:69:10: -/usr/include/x86_64-linux-gnu/bits/stdio2.h:54:35: note: '__builtin___snprintf_chk' output between 30 and 4125 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 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); - | ^~ -devices/runtime_pm.cpp: In member function 'virtual void runtime_pmdevice::start_measurement()': -devices/runtime_pm.cpp:76:49: warning: '/power/runtime_active_time' directive output may be truncated writing 26 bytes into a region of size between 1 and 4096 [-Wformat-truncation=] - 76 | snprintf(filename, sizeof(filename), "%s/power/runtime_active_time", sysfs_path); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~ -In file included from /usr/include/stdio.h:964, - from /usr/include/c++/13/cstdio:42, - from /usr/include/c++/13/ext/string_conversions.h:45, - from /usr/include/c++/13/bits/basic_string.h:4109, - from /usr/include/c++/13/string:54, - from /usr/include/c++/13/bits/locale_classes.h:40, - from /usr/include/c++/13/bits/ios_base.h:41, - from /usr/include/c++/13/ios:44, - from /usr/include/c++/13/ostream:40, - from /usr/include/c++/13/iostream:41, - from 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/x86_64-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 function 'int snprintf(char*, size_t, const char*, ...)', - inlined from 'virtual void runtime_pmdevice::start_measurement()' at devices/runtime_pm.cpp:76:10: -/usr/include/x86_64-linux-gnu/bits/stdio2.h:54:35: note: '__builtin___snprintf_chk' output between 27 and 4122 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/rfkill.h:31, - from devices/rfkill.cpp:38: -devices/../parameters/../lib.h: In constructor 'rfkill::rfkill(char*, 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/x86_64-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/x86_64-linux-gnu -pthread -g -O2 -ffile-prefix-map=/build/reproducible-path/powertop-2.15=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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/x86_64-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/x86_64-linux-gnu -pthread -g -O2 -ffile-prefix-map=/build/reproducible-path/powertop-2.15=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o tuning/powertop-ethernet.o `test -f 'tuning/ethernet.cpp' || echo './'`tuning/ethernet.cpp -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); - | ^ -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/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); - | ^~~~~ -In file included from /usr/include/stdio.h:964, - from /usr/include/c++/13/cstdio:42, - from /usr/include/c++/13/ext/string_conversions.h:45, - from /usr/include/c++/13/bits/basic_string.h:4109, - from /usr/include/c++/13/string:54, - from /usr/include/c++/13/bits/locale_classes.h:40, - from /usr/include/c++/13/bits/ios_base.h:41, - from /usr/include/c++/13/ios:44, - from /usr/include/c++/13/ostream:40, - from /usr/include/c++/13/iostream:41, - from devices/rfkill.cpp:25: -In function 'int snprintf(char*, size_t, const char*, ...)', - inlined from 'virtual void rfkill::end_measurement()' at devices/rfkill.cpp:103:10: -/usr/include/x86_64-linux-gnu/bits/stdio2.h:54:35: note: '__builtin___snprintf_chk' output between 6 and 4101 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/rfkill.cpp: In member function 'virtual void rfkill::end_measurement()': -devices/rfkill.cpp:109:49: warning: '/soft' directive output may be truncated writing 5 bytes into a region of size between 1 and 4096 [-Wformat-truncation=] - 109 | snprintf(filename, sizeof(filename), "%s/soft", sysfs_path); - | ^~~~~ -In function 'int snprintf(char*, size_t, const char*, ...)', - inlined from 'virtual void rfkill::end_measurement()' at devices/rfkill.cpp:109:10: -/usr/include/x86_64-linux-gnu/bits/stdio2.h:54:35: note: '__builtin___snprintf_chk' output between 6 and 4101 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/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); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -In function 'int snprintf(char*, size_t, const char*, ...)', - inlined from 'virtual void runtime_pmdevice::end_measurement()' at devices/runtime_pm.cpp:89:10: -/usr/include/x86_64-linux-gnu/bits/stdio2.h:54:35: note: '__builtin___snprintf_chk' output between 30 and 4125 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/runtime_pm.cpp: In member function 'virtual void runtime_pmdevice::end_measurement()': -devices/runtime_pm.cpp:96:49: warning: '/power/runtime_active_time' directive output may be truncated writing 26 bytes into a region of size between 1 and 4096 [-Wformat-truncation=] - 96 | snprintf(filename, sizeof(filename), "%s/power/runtime_active_time", sysfs_path); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~ -In function 'int snprintf(char*, size_t, const char*, ...)', - inlined from 'virtual void runtime_pmdevice::end_measurement()' at devices/runtime_pm.cpp:96:10: -/usr/include/x86_64-linux-gnu/bits/stdio2.h:54:35: note: '__builtin___snprintf_chk' output between 27 and 4122 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 ()); - | ~~~~~~~~~~~~~~~~~ -gcc -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/share/locale\" -I/usr/include/libnl3 -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/x86_64-linux-gnu -pthread -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/powertop-2.15=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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/x86_64-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/x86_64-linux-gnu -pthread -g -O2 -ffile-prefix-map=/build/reproducible-path/powertop-2.15=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o tuning/powertop-runtime.o `test -f 'tuning/runtime.cpp' || echo './'`tuning/runtime.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/x86_64-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/x86_64-linux-gnu -pthread -g -O2 -ffile-prefix-map=/build/reproducible-path/powertop-2.15=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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/x86_64-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/x86_64-linux-gnu -pthread -g -O2 -ffile-prefix-map=/build/reproducible-path/powertop-2.15=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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/x86_64-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/x86_64-linux-gnu -pthread -g -O2 -ffile-prefix-map=/build/reproducible-path/powertop-2.15=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o devices/powertop-rfkill.o `test -f 'devices/rfkill.cpp' || echo './'`devices/rfkill.cpp In file included from devices/../parameters/parameters.h:35, from devices/devfreq.h:29, from devices/devfreq.cpp:35: @@ -1002,60 +834,13 @@ 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/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); - | ^~~~~ -In function 'int snprintf(char*, size_t, const char*, ...)', - inlined from 'virtual void rfkill::start_measurement()' at devices/rfkill.cpp:83:10: -/usr/include/x86_64-linux-gnu/bits/stdio2.h:54:35: note: '__builtin___snprintf_chk' output between 6 and 4101 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/rfkill.cpp: In member function 'virtual void rfkill::start_measurement()': -devices/rfkill.cpp:90:49: warning: '/soft' directive output may be truncated writing 5 bytes into a region of size between 1 and 4096 [-Wformat-truncation=] - 90 | snprintf(filename, sizeof(filename), "%s/soft", sysfs_path); - | ^~~~~ -In function 'int snprintf(char*, size_t, const char*, ...)', - inlined from 'virtual void rfkill::start_measurement()' at devices/rfkill.cpp:90:10: -/usr/include/x86_64-linux-gnu/bits/stdio2.h:54:35: note: '__builtin___snprintf_chk' output between 6 and 4101 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 ()); - | ~~~~~~~~~~~~~~~~~ -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/x86_64-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/x86_64-linux-gnu -pthread -g -O2 -ffile-prefix-map=/build/reproducible-path/powertop-2.15=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o tuning/powertop-tunable.o `test -f 'tuning/tunable.cpp' || echo './'`tuning/tunable.cpp -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/x86_64-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/x86_64-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 ()); - | ~~~~~~~~~~~~~~~~~ -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/x86_64-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/x86_64-linux-gnu -pthread -g -O2 -ffile-prefix-map=/build/reproducible-path/powertop-2.15=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o tuning/powertop-tuning.o `test -f 'tuning/tuning.cpp' || echo './'`tuning/tuning.cpp +In file included from cpu/cpudevice.cpp:29: +cpu/../lib.h: In constructor 'cpudevice::cpudevice(const char*, const char*, abstract_cpu*)': +cpu/../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); + | ^ +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/x86_64-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/x86_64-linux-gnu -pthread -g -O2 -ffile-prefix-map=/build/reproducible-path/powertop-2.15=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o devices/powertop-runtime_pm.o `test -f 'devices/runtime_pm.cpp' || echo './'`devices/runtime_pm.cpp In file included from devices/../parameters/parameters.h:35, from devices/ahci.h:32, from devices/ahci.cpp:39: @@ -1155,61 +940,32 @@ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ -In file included from devices/../parameters/parameters.h:35, - from devices/network.h:32, - from devices/network.cpp:42: -devices/../parameters/../lib.h: In constructor 'network::network(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); - | ^~~~~~~~~~~~~~~ -In function 'int snprintf(char*, size_t, const char*, ...)', - inlined from 'virtual void alsa::end_measurement()' at devices/alsa.cpp:115:10: -/usr/include/x86_64-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::end_measurement()': -devices/alsa.cpp:122:57: warning: '/power_on_acct' directive output may be truncated writing 14 bytes into a region of size between 1 and 4096 [-Wformat-truncation=] - 122 | snprintf(filename, sizeof(filename), "%s/power_on_acct", sysfs_path); - | ^~~~~~~~~~~~~~ -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/x86_64-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/x86_64-linux-gnu -pthread -g -O2 -ffile-prefix-map=/build/reproducible-path/powertop-2.15=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o tuning/powertop-tuningsysfs.o `test -f 'tuning/tuningsysfs.cpp' || echo './'`tuning/tuningsysfs.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/x86_64-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/x86_64-linux-gnu -pthread -g -O2 -ffile-prefix-map=/build/reproducible-path/powertop-2.15=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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/x86_64-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/x86_64-linux-gnu -pthread -g -O2 -ffile-prefix-map=/build/reproducible-path/powertop-2.15=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o devices/powertop-thinkpad-light.o `test -f 'devices/thinkpad-light.cpp' || echo './'`devices/thinkpad-light.cpp +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:964, + from /usr/include/c++/13/cstdio:42, + from /usr/include/c++/13/ext/string_conversions.h:45, + from /usr/include/c++/13/bits/basic_string.h:4109, + from /usr/include/c++/13/string:54, + from /usr/include/c++/13/bits/locale_classes.h:40, + from /usr/include/c++/13/bits/ios_base.h:41, + from /usr/include/c++/13/ios:44, + from /usr/include/c++/13/ostream:40, + from /usr/include/c++/13/iostream:41, + from devices/alsa.cpp:25: In function 'int snprintf(char*, size_t, const char*, ...)', - inlined from 'virtual void alsa::end_measurement()' at devices/alsa.cpp:122:11: -/usr/include/x86_64-linux-gnu/bits/stdio2.h:54:35: note: '__builtin___snprintf_chk' output between 15 and 4110 bytes into a destination of size 4096 + inlined from 'virtual const char* alsa::human_name()' at devices/alsa.cpp:205:11: +/usr/include/x86_64-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 ()); | ~~~~~~~~~~~~~~~~~ -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/x86_64-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/x86_64-linux-gnu -pthread -g -O2 -ffile-prefix-map=/build/reproducible-path/powertop-2.15=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o tuning/powertop-tuningusb.o `test -f 'tuning/tuningusb.cpp' || echo './'`tuning/tuningusb.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/x86_64-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/x86_64-linux-gnu -pthread -g -O2 -ffile-prefix-map=/build/reproducible-path/powertop-2.15=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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/x86_64-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/x86_64-linux-gnu -pthread -g -O2 -ffile-prefix-map=/build/reproducible-path/powertop-2.15=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o tuning/powertop-wifi.o `test -f 'tuning/wifi.cpp' || echo './'`tuning/wifi.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/x86_64-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/x86_64-linux-gnu -pthread -g -O2 -ffile-prefix-map=/build/reproducible-path/powertop-2.15=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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/x86_64-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/x86_64-linux-gnu -pthread -g -O2 -ffile-prefix-map=/build/reproducible-path/powertop-2.15=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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/x86_64-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/x86_64-linux-gnu -pthread -g -O2 -ffile-prefix-map=/build/reproducible-path/powertop-2.15=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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/x86_64-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/x86_64-linux-gnu -pthread -g -O2 -ffile-prefix-map=/build/reproducible-path/powertop-2.15=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o wakeup/powertop-wakeup_usb.o `test -f 'wakeup/wakeup_usb.cpp' || echo './'`wakeup/wakeup_usb.cpp -In file included from cpu/abstract_cpu.cpp:32: -cpu/../lib.h: In member function 'void abstract_cpu::insert_cstate(const char*, const char*, uint64_t, uint64_t, int, int)': -cpu/../lib.h:78:16: warning: 'char* __builtin_strncpy(char*, const char*, long unsigned int)' specified bound 32 equals destination size [-Wstringop-truncation] - 78 | strncpy(d, s, N); - | ^ -In file included from devices/../parameters/parameters.h:35, - from devices/usb.h:31, - from devices/usb.cpp:25: -devices/../parameters/../lib.h: In constructor 'usbdevice::usbdevice(const char*, 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:78:16: warning: 'char* __builtin_strncpy(char*, const char*, long unsigned int)' specified bound 4096 equals destination size [-Wstringop-truncation] 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); @@ -1314,58 +1070,72 @@ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ -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); - | ^~~~~~~ -In file included from /usr/include/stdio.h:964, - from devices/device.cpp:29: +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); + | ^ +In file included from cpu/abstract_cpu.cpp:32: +cpu/../lib.h: In member function 'void abstract_cpu::insert_cstate(const char*, const char*, uint64_t, uint64_t, int, int)': +cpu/../lib.h:78:16: warning: 'char* __builtin_strncpy(char*, const char*, long unsigned int)' specified bound 32 equals destination size [-Wstringop-truncation] + 78 | strncpy(d, s, N); + | ^ +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 'void device::register_sysfs_path(const char*)' at devices/device.cpp:75:11: -/usr/include/x86_64-linux-gnu/bits/stdio2.h:54:35: note: '__builtin___snprintf_chk' output between 8 and 4104 bytes into a destination of size 4097 + inlined from 'virtual void alsa::start_measurement()' at devices/alsa.cpp:89:10: +/usr/include/x86_64-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 process/process.cpp:38: -process/../lib.h: In constructor 'process::process(const char*, int, int)': -process/../lib.h:78:16: warning: 'char* __builtin_strncpy(char*, const char*, long unsigned int)' specified bound 16 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); - | ^~~~~~~~~~~~~~~~~~~~~~ -In file included from /usr/include/stdio.h:964, - from /usr/include/c++/13/cstdio:42, - from /usr/include/c++/13/ext/string_conversions.h:45, - from /usr/include/c++/13/bits/basic_string.h:4109, - from /usr/include/c++/13/string:54, - from devices/../parameters/parameters.h:31: +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 usbdevice::start_measurement()' at devices/usb.cpp:129:10: -/usr/include/x86_64-linux-gnu/bits/stdio2.h:54:35: note: '__builtin___snprintf_chk' output between 23 and 4118 bytes into a destination of size 4096 + inlined from 'virtual void alsa::start_measurement()' at devices/alsa.cpp:96:11: +/usr/include/x86_64-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/usb.cpp: In member function 'virtual void usbdevice::start_measurement()': -devices/usb.cpp:136:49: warning: '/power/connected_duration' directive output may be truncated writing 25 bytes into a region of size between 1 and 4096 [-Wformat-truncation=] - 136 | snprintf(fullpath, sizeof(fullpath), "%s/power/connected_duration", sysfs_path); - | ^~~~~~~~~~~~~~~~~~~~~~~~~ +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/x86_64-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/x86_64-linux-gnu -pthread -g -O2 -ffile-prefix-map=/build/reproducible-path/powertop-2.15=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o devices/powertop-usb.o `test -f 'devices/usb.cpp' || echo './'`devices/usb.cpp +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); + | ^~~~~~~~~~~~~~~ In function 'int snprintf(char*, size_t, const char*, ...)', - inlined from 'virtual void usbdevice::start_measurement()' at devices/usb.cpp:136:10: -/usr/include/x86_64-linux-gnu/bits/stdio2.h:54:35: note: '__builtin___snprintf_chk' output between 26 and 4121 bytes into a destination of size 4096 + inlined from 'virtual void alsa::end_measurement()' at devices/alsa.cpp:115:10: +/usr/include/x86_64-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::end_measurement()': +devices/alsa.cpp:122:57: warning: '/power_on_acct' directive output may be truncated writing 14 bytes into a region of size between 1 and 4096 [-Wformat-truncation=] + 122 | snprintf(filename, sizeof(filename), "%s/power_on_acct", sysfs_path); + | ^~~~~~~~~~~~~~ +In function 'int snprintf(char*, size_t, const char*, ...)', + inlined from 'virtual void alsa::end_measurement()' at devices/alsa.cpp:122:11: +/usr/include/x86_64-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 ()); + | ~~~~~~~~~~~~~~~~~ +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/x86_64-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/x86_64-linux-gnu -pthread -g -O2 -ffile-prefix-map=/build/reproducible-path/powertop-2.15=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o measurement/powertop-acpi.o `test -f 'measurement/acpi.cpp' || echo './'`measurement/acpi.cpp 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); @@ -1418,6 +1188,194 @@ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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/x86_64-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/x86_64-linux-gnu -pthread -g -O2 -ffile-prefix-map=/build/reproducible-path/powertop-2.15=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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/x86_64-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/x86_64-linux-gnu -pthread -g -O2 -ffile-prefix-map=/build/reproducible-path/powertop-2.15=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o measurement/powertop-measurement.o `test -f 'measurement/measurement.cpp' || echo './'`measurement/measurement.cpp +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/x86_64-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/x86_64-linux-gnu -pthread -g -O2 -ffile-prefix-map=/build/reproducible-path/powertop-2.15=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o measurement/powertop-sysfs.o `test -f 'measurement/sysfs.cpp' || echo './'`measurement/sysfs.cpp +In file included from devices/../parameters/parameters.h:35, + from devices/network.h:32, + from devices/network.cpp:42: +devices/../parameters/../lib.h: In constructor 'network::network(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/x86_64-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/x86_64-linux-gnu -pthread -g -O2 -ffile-prefix-map=/build/reproducible-path/powertop-2.15=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o measurement/powertop-opal-sensors.o `test -f 'measurement/opal-sensors.cpp' || echo './'`measurement/opal-sensors.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/x86_64-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/x86_64-linux-gnu -pthread -g -O2 -ffile-prefix-map=/build/reproducible-path/powertop-2.15=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o parameters/powertop-learn.o `test -f 'parameters/learn.cpp' || echo './'`parameters/learn.cpp +In file included from devices/../parameters/parameters.h:35, + from devices/rfkill.h:31, + from devices/rfkill.cpp:38: +devices/../parameters/../lib.h: In constructor 'rfkill::rfkill(char*, 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/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); + | ^~~~~ +In file included from /usr/include/stdio.h:964, + from /usr/include/c++/13/cstdio:42, + from /usr/include/c++/13/ext/string_conversions.h:45, + from /usr/include/c++/13/bits/basic_string.h:4109, + from /usr/include/c++/13/string:54, + from /usr/include/c++/13/bits/locale_classes.h:40, + from /usr/include/c++/13/bits/ios_base.h:41, + from /usr/include/c++/13/ios:44, + from /usr/include/c++/13/ostream:40, + from /usr/include/c++/13/iostream:41, + from devices/rfkill.cpp:25: +In function 'int snprintf(char*, size_t, const char*, ...)', + inlined from 'virtual void rfkill::end_measurement()' at devices/rfkill.cpp:103:10: +/usr/include/x86_64-linux-gnu/bits/stdio2.h:54:35: note: '__builtin___snprintf_chk' output between 6 and 4101 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/rfkill.cpp: In member function 'virtual void rfkill::end_measurement()': +devices/rfkill.cpp:109:49: warning: '/soft' directive output may be truncated writing 5 bytes into a region of size between 1 and 4096 [-Wformat-truncation=] + 109 | snprintf(filename, sizeof(filename), "%s/soft", sysfs_path); + | ^~~~~ +In function 'int snprintf(char*, size_t, const char*, ...)', + inlined from 'virtual void rfkill::end_measurement()' at devices/rfkill.cpp:109:10: +/usr/include/x86_64-linux-gnu/bits/stdio2.h:54:35: note: '__builtin___snprintf_chk' output between 6 and 4101 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 ()); + | ~~~~~~~~~~~~~~~~~ +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/x86_64-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/x86_64-linux-gnu -pthread -g -O2 -ffile-prefix-map=/build/reproducible-path/powertop-2.15=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o parameters/powertop-parameters.o `test -f 'parameters/parameters.cpp' || echo './'`parameters/parameters.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); + | ^~~~~ +In function 'int snprintf(char*, size_t, const char*, ...)', + inlined from 'virtual void rfkill::start_measurement()' at devices/rfkill.cpp:83:10: +/usr/include/x86_64-linux-gnu/bits/stdio2.h:54:35: note: '__builtin___snprintf_chk' output between 6 and 4101 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/rfkill.cpp: In member function 'virtual void rfkill::start_measurement()': +devices/rfkill.cpp:90:49: warning: '/soft' directive output may be truncated writing 5 bytes into a region of size between 1 and 4096 [-Wformat-truncation=] + 90 | snprintf(filename, sizeof(filename), "%s/soft", sysfs_path); + | ^~~~~ +In function 'int snprintf(char*, size_t, const char*, ...)', + inlined from 'virtual void rfkill::start_measurement()' at devices/rfkill.cpp:90:10: +/usr/include/x86_64-linux-gnu/bits/stdio2.h:54:35: note: '__builtin___snprintf_chk' output between 6 and 4101 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 ()); + | ~~~~~~~~~~~~~~~~~ +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/x86_64-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/x86_64-linux-gnu -pthread -g -O2 -ffile-prefix-map=/build/reproducible-path/powertop-2.15=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o parameters/powertop-persistent.o `test -f 'parameters/persistent.cpp' || echo './'`parameters/persistent.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/x86_64-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/x86_64-linux-gnu -pthread -g -O2 -ffile-prefix-map=/build/reproducible-path/powertop-2.15=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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/x86_64-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/x86_64-linux-gnu -pthread -g -O2 -ffile-prefix-map=/build/reproducible-path/powertop-2.15=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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/x86_64-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/x86_64-linux-gnu -pthread -g -O2 -ffile-prefix-map=/build/reproducible-path/powertop-2.15=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o process/powertop-do_process.o `test -f 'process/do_process.cpp' || echo './'`process/do_process.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/x86_64-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/x86_64-linux-gnu -pthread -g -O2 -ffile-prefix-map=/build/reproducible-path/powertop-2.15=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o process/powertop-interrupt.o `test -f 'process/interrupt.cpp' || echo './'`process/interrupt.cpp +In file included from devices/../parameters/parameters.h:35, + from devices/usb.h:31, + from devices/usb.cpp:25: +devices/../parameters/../lib.h: In constructor 'usbdevice::usbdevice(const char*, 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:78:16: warning: 'char* __builtin_strncpy(char*, const char*, long unsigned int)' specified bound 4096 equals destination size [-Wstringop-truncation] +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); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +In file included from /usr/include/stdio.h:964, + from /usr/include/c++/13/cstdio:42, + from /usr/include/c++/13/ext/string_conversions.h:45, + from /usr/include/c++/13/bits/basic_string.h:4109, + from /usr/include/c++/13/string:54, + from devices/../parameters/parameters.h:31: +In function 'int snprintf(char*, size_t, const char*, ...)', + inlined from 'virtual void runtime_pmdevice::start_measurement()' at devices/runtime_pm.cpp:69:10: +/usr/include/x86_64-linux-gnu/bits/stdio2.h:54:35: note: '__builtin___snprintf_chk' output between 30 and 4125 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/runtime_pm.cpp: In member function 'virtual void runtime_pmdevice::start_measurement()': +devices/runtime_pm.cpp:76:49: warning: '/power/runtime_active_time' directive output may be truncated writing 26 bytes into a region of size between 1 and 4096 [-Wformat-truncation=] + 76 | snprintf(filename, sizeof(filename), "%s/power/runtime_active_time", sysfs_path); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~ +In function 'int snprintf(char*, size_t, const char*, ...)', + inlined from 'virtual void runtime_pmdevice::start_measurement()' at devices/runtime_pm.cpp:76:10: +/usr/include/x86_64-linux-gnu/bits/stdio2.h:54:35: note: '__builtin___snprintf_chk' output between 27 and 4122 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 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/x86_64-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/x86_64-linux-gnu -pthread -g -O2 -ffile-prefix-map=/build/reproducible-path/powertop-2.15=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o process/powertop-powerconsumer.o `test -f 'process/powerconsumer.cpp' || echo './'`process/powerconsumer.cpp +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); + | ^~~~~~~~~~~~~~~~~~~~~~ +In file included from /usr/include/stdio.h:964, + from /usr/include/c++/13/cstdio:42, + from /usr/include/c++/13/ext/string_conversions.h:45, + from /usr/include/c++/13/bits/basic_string.h:4109, + from /usr/include/c++/13/string:54, + from devices/../parameters/parameters.h:31: +In function 'int snprintf(char*, size_t, const char*, ...)', + inlined from 'virtual void usbdevice::start_measurement()' at devices/usb.cpp:129:10: +/usr/include/x86_64-linux-gnu/bits/stdio2.h:54:35: note: '__builtin___snprintf_chk' output between 23 and 4118 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/usb.cpp: In member function 'virtual void usbdevice::start_measurement()': +devices/usb.cpp:136:49: warning: '/power/connected_duration' directive output may be truncated writing 25 bytes into a region of size between 1 and 4096 [-Wformat-truncation=] + 136 | snprintf(fullpath, sizeof(fullpath), "%s/power/connected_duration", sysfs_path); + | ^~~~~~~~~~~~~~~~~~~~~~~~~ +In function 'int snprintf(char*, size_t, const char*, ...)', + inlined from 'virtual void usbdevice::start_measurement()' at devices/usb.cpp:136:10: +/usr/include/x86_64-linux-gnu/bits/stdio2.h:54:35: note: '__builtin___snprintf_chk' output between 26 and 4121 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 ()); + | ~~~~~~~~~~~~~~~~~ +measurement/opal-sensors.cpp: In constructor 'opal_sensors_power_meter::opal_sensors_power_meter(const char*)': +measurement/opal-sensors.cpp:34:16: warning: 'char* __builtin_strncpy(char*, const char*, long unsigned int)' specified bound 4096 equals destination size [-Wstringop-truncation] + 34 | strncpy(name, power_supply_name, sizeof(name)); + | ^ devices/usb.cpp: In member function 'virtual void usbdevice::end_measurement()': devices/usb.cpp:149:49: warning: '/power/active_duration' directive output may be truncated writing 22 bytes into a region of size between 1 and 4096 [-Wformat-truncation=] 149 | snprintf(fullpath, sizeof(fullpath), "%s/power/active_duration", sysfs_path); @@ -1444,21 +1402,34 @@ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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] -In file included from tuning/tunable.h:30, - from tuning/tunable.cpp:27: -tuning/../lib.h: In constructor 'tunable::tunable(const char*, double, const char*, const char*, const char*)': -tuning/../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); - | ^ -tuning/../lib.h:78:16: warning: 'char* __builtin_strncpy(char*, const char*, long unsigned int)' specified bound 128 equals destination size [-Wstringop-truncation] -tuning/../lib.h:78:16: warning: 'char* __builtin_strncpy(char*, const char*, long unsigned int)' specified bound 128 equals destination size [-Wstringop-truncation] -tuning/../lib.h:78:16: warning: 'char* __builtin_strncpy(char*, const char*, long unsigned int)' specified bound 128 equals destination size [-Wstringop-truncation] -tuning/../lib.h: In constructor 'tunable::tunable()': -tuning/../lib.h:78:16: warning: 'char* __builtin_strncpy(char*, const char*, long unsigned int)' specified bound 128 equals destination size [-Wstringop-truncation] -tuning/../lib.h:78:16: warning: 'char* __builtin_strncpy(char*, const char*, long unsigned int)' specified bound 128 equals destination size [-Wstringop-truncation] -tuning/../lib.h:78:16: warning: 'char* __builtin_strncpy(char*, const char*, long unsigned int)' specified bound 128 equals destination size [-Wstringop-truncation] +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); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +In function 'int snprintf(char*, size_t, const char*, ...)', + inlined from 'virtual void runtime_pmdevice::end_measurement()' at devices/runtime_pm.cpp:89:10: +/usr/include/x86_64-linux-gnu/bits/stdio2.h:54:35: note: '__builtin___snprintf_chk' output between 30 and 4125 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/runtime_pm.cpp: In member function 'virtual void runtime_pmdevice::end_measurement()': +devices/runtime_pm.cpp:96:49: warning: '/power/runtime_active_time' directive output may be truncated writing 26 bytes into a region of size between 1 and 4096 [-Wformat-truncation=] + 96 | snprintf(filename, sizeof(filename), "%s/power/runtime_active_time", sysfs_path); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~ +In function 'int snprintf(char*, size_t, const char*, ...)', + inlined from 'virtual void runtime_pmdevice::end_measurement()' at devices/runtime_pm.cpp:96:10: +/usr/include/x86_64-linux-gnu/bits/stdio2.h:54:35: note: '__builtin___snprintf_chk' output between 27 and 4122 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 ()); + | ~~~~~~~~~~~~~~~~~ +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/x86_64-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/x86_64-linux-gnu -pthread -g -O2 -ffile-prefix-map=/build/reproducible-path/powertop-2.15=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o process/powertop-process.o `test -f 'process/process.cpp' || echo './'`process/process.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/x86_64-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/x86_64-linux-gnu -pthread -g -O2 -ffile-prefix-map=/build/reproducible-path/powertop-2.15=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o process/powertop-processdevice.o `test -f 'process/processdevice.cpp' || echo './'`process/processdevice.cpp devices/usb.cpp: In function 'void create_all_usb_devices_callback(const char*)': devices/usb.cpp:226:55: warning: '/power/active_duration' directive output may be truncated writing 22 bytes into a region of size between 1 and 4096 [-Wformat-truncation=] 226 | snprintf(device_name, sizeof(device_name), "%s/power/active_duration", filename); @@ -1498,38 +1469,92 @@ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ -In file included from wakeup/wakeup.cpp:30: -wakeup/../lib.h: In constructor 'wakeup::wakeup(const char*, double, 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] +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/x86_64-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/x86_64-linux-gnu -pthread -g -O2 -ffile-prefix-map=/build/reproducible-path/powertop-2.15=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o process/powertop-timer.o `test -f 'process/timer.cpp' || echo './'`process/timer.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/x86_64-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/x86_64-linux-gnu -pthread -g -O2 -ffile-prefix-map=/build/reproducible-path/powertop-2.15=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o process/powertop-work.o `test -f 'process/work.cpp' || echo './'`process/work.cpp +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); + | ^~~~~~~ +In file included from /usr/include/stdio.h:964, + from devices/device.cpp:29: +In function 'int snprintf(char*, size_t, const char*, ...)', + inlined from 'void device::register_sysfs_path(const char*)' at devices/device.cpp:75:11: +/usr/include/x86_64-linux-gnu/bits/stdio2.h:54:35: note: '__builtin___snprintf_chk' output between 8 and 4104 bytes into a destination of size 4097 + 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, + | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 55 | __glibc_objsize (__s), __fmt, + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 56 | __va_arg_pack ()); + | ~~~~~~~~~~~~~~~~~ +In file included from measurement/sysfs.cpp:27: +measurement/../lib.h: In constructor 'sysfs_power_meter::sysfs_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); | ^ -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: In constructor 'wakeup::wakeup()': -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] +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/x86_64-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/x86_64-linux-gnu -pthread -g -O2 -ffile-prefix-map=/build/reproducible-path/powertop-2.15=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o report/powertop-report-data-html.o `test -f 'report/report-data-html.cpp' || echo './'`report/report-data-html.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/x86_64-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/x86_64-linux-gnu -pthread -g -O2 -ffile-prefix-map=/build/reproducible-path/powertop-2.15=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o report/powertop-report-formatter-base.o `test -f 'report/report-formatter-base.cpp' || echo './'`report/report-formatter-base.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/x86_64-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/x86_64-linux-gnu -pthread -g -O2 -ffile-prefix-map=/build/reproducible-path/powertop-2.15=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o report/powertop-report-formatter-csv.o `test -f 'report/report-formatter-csv.cpp' || echo './'`report/report-formatter-csv.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/x86_64-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/x86_64-linux-gnu -pthread -g -O2 -ffile-prefix-map=/build/reproducible-path/powertop-2.15=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o report/powertop-report-formatter-html.o `test -f 'report/report-formatter-html.cpp' || echo './'`report/report-formatter-html.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/x86_64-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/x86_64-linux-gnu -pthread -g -O2 -ffile-prefix-map=/build/reproducible-path/powertop-2.15=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o report/powertop-report-maker.o `test -f 'report/report-maker.cpp' || echo './'`report/report-maker.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/x86_64-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/x86_64-linux-gnu -pthread -g -O2 -ffile-prefix-map=/build/reproducible-path/powertop-2.15=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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/x86_64-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/x86_64-linux-gnu -pthread -g -O2 -ffile-prefix-map=/build/reproducible-path/powertop-2.15=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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/x86_64-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/x86_64-linux-gnu -pthread -g -O2 -ffile-prefix-map=/build/reproducible-path/powertop-2.15=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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/x86_64-linux-gnu -pthread -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/powertop-2.15=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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/x86_64-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/x86_64-linux-gnu -pthread -g -O2 -ffile-prefix-map=/build/reproducible-path/powertop-2.15=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o tuning/powertop-runtime.o `test -f 'tuning/runtime.cpp' || echo './'`tuning/runtime.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/x86_64-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/x86_64-linux-gnu -pthread -g -O2 -ffile-prefix-map=/build/reproducible-path/powertop-2.15=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o tuning/powertop-tunable.o `test -f 'tuning/tunable.cpp' || echo './'`tuning/tunable.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/x86_64-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/x86_64-linux-gnu -pthread -g -O2 -ffile-prefix-map=/build/reproducible-path/powertop-2.15=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o tuning/powertop-tuning.o `test -f 'tuning/tuning.cpp' || echo './'`tuning/tuning.cpp +In file included from process/interrupt.cpp:30: +process/../lib.h: In constructor 'interrupt::interrupt(const char*, int)': +process/../lib.h:78:16: warning: 'char* __builtin_strncpy(char*, const char*, long unsigned int)' specified bound 32 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/x86_64-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/x86_64-linux-gnu -pthread -g -O2 -ffile-prefix-map=/build/reproducible-path/powertop-2.15=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o tuning/powertop-tuningsysfs.o `test -f 'tuning/tuningsysfs.cpp' || echo './'`tuning/tuningsysfs.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/x86_64-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/x86_64-linux-gnu -pthread -g -O2 -ffile-prefix-map=/build/reproducible-path/powertop-2.15=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o tuning/powertop-tuningusb.o `test -f 'tuning/tuningusb.cpp' || echo './'`tuning/tuningusb.cpp In file included from process/work.cpp:33: process/../lib.h: In constructor 'work::work(long unsigned int)': process/../lib.h:78:16: warning: 'char* __builtin_strncpy(char*, const char*, long unsigned int)' specified bound 32 equals destination size [-Wstringop-truncation] 78 | strncpy(d, s, N); | ^ -In file included from process/timer.cpp:33: -process/../lib.h: In constructor 'timer::timer(long unsigned int)': -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/x86_64-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/x86_64-linux-gnu -pthread -g -O2 -ffile-prefix-map=/build/reproducible-path/powertop-2.15=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o tuning/powertop-tuningi2c.o `test -f 'tuning/tuningi2c.cpp' || echo './'`tuning/tuningi2c.cpp +In file included from process/process.cpp:38: +process/../lib.h: In constructor 'process::process(const char*, int, int)': +process/../lib.h:78:16: warning: 'char* __builtin_strncpy(char*, const char*, long unsigned int)' specified bound 16 equals destination size [-Wstringop-truncation] 78 | strncpy(d, s, N); | ^ -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/x86_64-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/x86_64-linux-gnu -pthread -g -O2 -ffile-prefix-map=/build/reproducible-path/powertop-2.15=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o tuning/powertop-wifi.o `test -f 'tuning/wifi.cpp' || echo './'`tuning/wifi.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/x86_64-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/x86_64-linux-gnu -pthread -g -O2 -ffile-prefix-map=/build/reproducible-path/powertop-2.15=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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/x86_64-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/x86_64-linux-gnu -pthread -g -O2 -ffile-prefix-map=/build/reproducible-path/powertop-2.15=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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/x86_64-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/x86_64-linux-gnu -pthread -g -O2 -ffile-prefix-map=/build/reproducible-path/powertop-2.15=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o wakeup/powertop-wakeup_ethernet.o `test -f 'wakeup/wakeup_ethernet.cpp' || echo './'`wakeup/wakeup_ethernet.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*)': + from tuning/tunable.cpp:27: +tuning/../lib.h: In constructor 'tunable::tunable(const char*, double, const char*, const char*, const char*)': tuning/../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); | ^ -tuning/wifi.cpp:50:60: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size 4089 [-Wformat-truncation=] - 50 | snprintf(toggle_good, sizeof(toggle_good), "iw dev %s set power_save on", iface); - | ^~ +tuning/../lib.h:78:16: warning: 'char* __builtin_strncpy(char*, const char*, long unsigned int)' specified bound 128 equals destination size [-Wstringop-truncation] +tuning/../lib.h:78:16: warning: 'char* __builtin_strncpy(char*, const char*, long unsigned int)' specified bound 128 equals destination size [-Wstringop-truncation] +tuning/../lib.h:78:16: warning: 'char* __builtin_strncpy(char*, const char*, long unsigned int)' specified bound 128 equals destination size [-Wstringop-truncation] +tuning/../lib.h: In constructor 'tunable::tunable()': +tuning/../lib.h:78:16: warning: 'char* __builtin_strncpy(char*, const char*, long unsigned int)' specified bound 128 equals destination size [-Wstringop-truncation] +tuning/../lib.h:78:16: warning: 'char* __builtin_strncpy(char*, const char*, long unsigned int)' specified bound 128 equals destination size [-Wstringop-truncation] +tuning/../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/x86_64-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/x86_64-linux-gnu -pthread -g -O2 -ffile-prefix-map=/build/reproducible-path/powertop-2.15=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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/ethernet.cpp:27: +tuning/../lib.h: In constructor 'ethernet_tunable::ethernet_tunable(const char*)': +tuning/../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 tuning/tunable.h:30, + from tuning/tuningsysfs.cpp:27: +tuning/../lib.h: In constructor 'sysfs_tunable::sysfs_tunable(const char*, const char*, const char*)': +tuning/../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); + | ^ +tuning/../lib.h:78:16: warning: 'char* __builtin_strncpy(char*, const char*, long unsigned int)' specified bound 4096 equals destination size [-Wstringop-truncation] +tuning/tuningsysfs.cpp:50:59: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size 4090 [-Wformat-truncation=] + 50 | snprintf(toggle_good, sizeof(toggle_good), "echo '%s' > '%s';", target_value, sysfs_path); + | ^~ In file included from /usr/include/stdio.h:964, from /usr/include/c++/13/cstdio:42, from /usr/include/c++/13/ext/string_conversions.h:45, @@ -1537,30 +1562,48 @@ from /usr/include/c++/13/string:54, from tuning/../lib.h:58: In function 'int snprintf(char*, size_t, const char*, ...)', - inlined from 'wifi_tunable::wifi_tunable(const char*)' at tuning/wifi.cpp:50:10: -/usr/include/x86_64-linux-gnu/bits/stdio2.h:54:35: note: '__builtin___snprintf_chk' output between 26 and 4121 bytes into a destination of size 4096 + inlined from 'sysfs_tunable::sysfs_tunable(const char*, const char*, const char*)' at tuning/tuningsysfs.cpp:50:10: +/usr/include/x86_64-linux-gnu/bits/stdio2.h:54:35: note: '__builtin___snprintf_chk' output between 14 and 8204 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/wifi.cpp: In constructor 'wifi_tunable::wifi_tunable(const char*)': -tuning/wifi.cpp:51:58: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size 4089 [-Wformat-truncation=] - 51 | snprintf(toggle_bad, sizeof(toggle_bad), "iw dev %s set power_save off", iface); - | ^~ +tuning/tuningsysfs.cpp: In constructor 'sysfs_tunable::sysfs_tunable(const char*, const char*, const char*)': +tuning/tuningsysfs.cpp:51:57: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size 4090 [-Wformat-truncation=] + 51 | snprintf(toggle_bad, sizeof(toggle_bad), "echo '%s' > '%s';", bad_value, sysfs_path); + | ^~ In function 'int snprintf(char*, size_t, const char*, ...)', - inlined from 'wifi_tunable::wifi_tunable(const char*)' at tuning/wifi.cpp:51:10: -/usr/include/x86_64-linux-gnu/bits/stdio2.h:54:35: note: '__builtin___snprintf_chk' output between 27 and 4122 bytes into a destination of size 4096 + inlined from 'sysfs_tunable::sysfs_tunable(const char*, const char*, const char*)' at tuning/tuningsysfs.cpp:51:10: +/usr/include/x86_64-linux-gnu/bits/stdio2.h:54:35: note: '__builtin___snprintf_chk' output between 14 and 8204 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: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 process/timer.cpp:33: +process/../lib.h: In constructor 'timer::timer(long unsigned int)': +process/../lib.h:78:16: warning: 'char* __builtin_strncpy(char*, const char*, long unsigned int)' specified bound 32 equals destination size [-Wstringop-truncation] + 78 | strncpy(d, s, N); + | ^ +In file included from wakeup/wakeup.cpp:30: +wakeup/../lib.h: In constructor 'wakeup::wakeup(const char*, double, 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/../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: In constructor 'wakeup::wakeup()': +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] +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] +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); | ^~ In file included from /usr/include/stdio.h:964, from /usr/include/c++/13/cstdio:42, @@ -1569,9 +1612,9 @@ from /usr/include/c++/13/string:54, from tuning/../lib.h:58, from tuning/tunable.h:30, - from tuning/runtime.cpp:27: + from tuning/tuningusb.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: + inlined from 'usb_tunable::usb_tunable(const char*, const char*)' at tuning/tuningusb.cpp:77:10: /usr/include/x86_64-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, | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -1579,12 +1622,12 @@ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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); +tuning/tuningusb.cpp: In constructor 'usb_tunable::usb_tunable(const char*, const char*)': +tuning/tuningusb.cpp:78:64: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size 4083 [-Wformat-truncation=] + 78 | snprintf(toggle_bad, sizeof(toggle_bad), "echo 'on' > '%s';", usb_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: + inlined from 'usb_tunable::usb_tunable(const char*, const char*)' at tuning/tuningusb.cpp:78:10: /usr/include/x86_64-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, | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -1593,60 +1636,14 @@ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ In file included from tuning/tunable.h:30, - from tuning/ethernet.cpp:27: -tuning/../lib.h: In constructor 'ethernet_tunable::ethernet_tunable(const char*)': -tuning/../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); - | ^ -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); - | ^~ ~~~~ -In function 'int snprintf(char*, size_t, const char*, ...)', - inlined from 'void add_runtime_tunables(const char*)' at tuning/runtime.cpp:166:12: -/usr/include/x86_64-linux-gnu/bits/stdio2.h:54:35: note: '__builtin___snprintf_chk' output 34 or more bytes (assuming 4384) 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:171:86: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size between 3822 and 4077 [-Wformat-truncation=] - 171 | snprintf(filename, sizeof(filename), "/sys/bus/%s/devices/%s/%s", bus, entry->d_name, port); - | ^~ ~~~~ -In function 'int snprintf(char*, size_t, const char*, ...)', - inlined from 'void add_runtime_tunables(const char*)' at tuning/runtime.cpp:171:12: -/usr/include/x86_64-linux-gnu/bits/stdio2.h:54:35: note: '__builtin___snprintf_chk' output 20 or more bytes (assuming 4370) 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:191:74: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size 4085 [-Wformat-truncation=] - 191 | snprintf(filename, sizeof(filename), "/sys/block/%s/device", port); - | ^~ ~~~~ -In function 'int snprintf(char*, size_t, const char*, ...)', - inlined from 'void add_runtime_tunables(const char*)' at tuning/runtime.cpp:191:12: -/usr/include/x86_64-linux-gnu/bits/stdio2.h:54:35: note: '__builtin___snprintf_chk' output between 19 and 4114 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*)': + from tuning/wifi.cpp:27: +tuning/../lib.h: In constructor 'wifi_tunable::wifi_tunable(const char*)': tuning/../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); | ^ -tuning/../lib.h:78:16: warning: 'char* __builtin_strncpy(char*, const char*, long unsigned int)' specified bound 4096 equals destination size [-Wstringop-truncation] -tuning/tuningsysfs.cpp:50:59: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size 4090 [-Wformat-truncation=] - 50 | snprintf(toggle_good, sizeof(toggle_good), "echo '%s' > '%s';", target_value, sysfs_path); - | ^~ +tuning/wifi.cpp:50:60: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size 4089 [-Wformat-truncation=] + 50 | snprintf(toggle_good, sizeof(toggle_good), "iw dev %s set power_save on", iface); + | ^~ In file included from /usr/include/stdio.h:964, from /usr/include/c++/13/cstdio:42, from /usr/include/c++/13/ext/string_conversions.h:45, @@ -1654,39 +1651,39 @@ from /usr/include/c++/13/string:54, from tuning/../lib.h:58: In function 'int snprintf(char*, size_t, const char*, ...)', - inlined from 'sysfs_tunable::sysfs_tunable(const char*, const char*, const char*)' at tuning/tuningsysfs.cpp:50:10: -/usr/include/x86_64-linux-gnu/bits/stdio2.h:54:35: note: '__builtin___snprintf_chk' output between 14 and 8204 bytes into a destination of size 4096 + inlined from 'wifi_tunable::wifi_tunable(const char*)' at tuning/wifi.cpp:50:10: +/usr/include/x86_64-linux-gnu/bits/stdio2.h:54:35: note: '__builtin___snprintf_chk' output between 26 and 4121 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/tuningsysfs.cpp: In constructor 'sysfs_tunable::sysfs_tunable(const char*, const char*, const char*)': -tuning/tuningsysfs.cpp:51:57: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size 4090 [-Wformat-truncation=] - 51 | snprintf(toggle_bad, sizeof(toggle_bad), "echo '%s' > '%s';", bad_value, sysfs_path); - | ^~ +tuning/wifi.cpp: In constructor 'wifi_tunable::wifi_tunable(const char*)': +tuning/wifi.cpp:51:58: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size 4089 [-Wformat-truncation=] + 51 | snprintf(toggle_bad, sizeof(toggle_bad), "iw dev %s set power_save off", iface); + | ^~ In function 'int snprintf(char*, size_t, const char*, ...)', - inlined from 'sysfs_tunable::sysfs_tunable(const char*, const char*, const char*)' at tuning/tuningsysfs.cpp:51:10: -/usr/include/x86_64-linux-gnu/bits/stdio2.h:54:35: note: '__builtin___snprintf_chk' output between 14 and 8204 bytes into a destination of size 4096 + inlined from 'wifi_tunable::wifi_tunable(const char*)' at tuning/wifi.cpp:51:10: +/usr/include/x86_64-linux-gnu/bits/stdio2.h:54:35: note: '__builtin___snprintf_chk' output between 27 and 4122 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 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:964, - 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/x86_64-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, | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -1694,12 +1691,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/x86_64-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, | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -1707,9 +1704,9 @@ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ -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); +tuning/tuningi2c.cpp: In constructor 'i2c_tunable::i2c_tunable(const char*, const char*, bool)': +tuning/tuningi2c.cpp:61:68: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size 4081 [-Wformat-truncation=] + 61 | snprintf(toggle_good, sizeof(toggle_good), "echo 'auto' > '%s';", i2c_path); | ^~ In file included from /usr/include/stdio.h:964, from /usr/include/c++/13/cstdio:42, @@ -1718,9 +1715,9 @@ from /usr/include/c++/13/string:54, from tuning/../lib.h:58, from tuning/tunable.h:30, - from tuning/tuningusb.cpp:27: + from tuning/tuningi2c.cpp:21: In function 'int snprintf(char*, size_t, const char*, ...)', - inlined from 'usb_tunable::usb_tunable(const char*, const char*)' at tuning/tuningusb.cpp:77:10: + inlined from 'i2c_tunable::i2c_tunable(const char*, const char*, bool)' at tuning/tuningi2c.cpp:61:10: /usr/include/x86_64-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, | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -1728,12 +1725,12 @@ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ -tuning/tuningusb.cpp: In constructor 'usb_tunable::usb_tunable(const char*, const char*)': -tuning/tuningusb.cpp:78:64: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size 4083 [-Wformat-truncation=] - 78 | snprintf(toggle_bad, sizeof(toggle_bad), "echo 'on' > '%s';", usb_path); +tuning/tuningi2c.cpp: In constructor 'i2c_tunable::i2c_tunable(const char*, const char*, bool)': +tuning/tuningi2c.cpp:62:64: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size 4083 [-Wformat-truncation=] + 62 | snprintf(toggle_bad, sizeof(toggle_bad), "echo 'on' > '%s';", i2c_path); | ^~ In function 'int snprintf(char*, size_t, const char*, ...)', - inlined from 'usb_tunable::usb_tunable(const char*, const char*)' at tuning/tuningusb.cpp:78:10: + inlined from 'i2c_tunable::i2c_tunable(const char*, const char*, bool)' at tuning/tuningi2c.cpp:62:10: /usr/include/x86_64-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, | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -1741,9 +1738,9 @@ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ -tuning/tuningi2c.cpp: In constructor 'i2c_tunable::i2c_tunable(const char*, const char*, bool)': -tuning/tuningi2c.cpp:61:68: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size 4081 [-Wformat-truncation=] - 61 | snprintf(toggle_good, sizeof(toggle_good), "echo 'auto' > '%s';", i2c_path); +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:964, from /usr/include/c++/13/cstdio:42, @@ -1752,9 +1749,9 @@ from /usr/include/c++/13/string:54, from tuning/../lib.h:58, from tuning/tunable.h:30, - from tuning/tuningi2c.cpp:21: + from tuning/runtime.cpp:27: In function 'int snprintf(char*, size_t, const char*, ...)', - inlined from 'i2c_tunable::i2c_tunable(const char*, const char*, bool)' at tuning/tuningi2c.cpp:61:10: + inlined from 'runtime_tunable::runtime_tunable(const char*, const char*, const char*, const char*)' at tuning/runtime.cpp:86:10: /usr/include/x86_64-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, | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -1762,12 +1759,12 @@ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ -tuning/tuningi2c.cpp: In constructor 'i2c_tunable::i2c_tunable(const char*, const char*, bool)': -tuning/tuningi2c.cpp:62:64: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size 4083 [-Wformat-truncation=] - 62 | snprintf(toggle_bad, sizeof(toggle_bad), "echo 'on' > '%s';", i2c_path); +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 'i2c_tunable::i2c_tunable(const char*, const char*, bool)' at tuning/tuningi2c.cpp:62:10: + inlined from 'runtime_tunable::runtime_tunable(const char*, const char*, const char*, const char*)' at tuning/runtime.cpp:87:10: /usr/include/x86_64-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, | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -1775,18 +1772,57 @@ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ -In file included from wakeup/wakeup_ethernet.cpp:44: -wakeup/../lib.h: In constructor 'ethernet_wakeup::ethernet_wakeup(const char*, const char*)': +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); + | ^~ ~~~~ +In function 'int snprintf(char*, size_t, const char*, ...)', + inlined from 'void add_runtime_tunables(const char*)' at tuning/runtime.cpp:166:12: +/usr/include/x86_64-linux-gnu/bits/stdio2.h:54:35: note: '__builtin___snprintf_chk' output 34 or more bytes (assuming 4384) 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:171:86: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size between 3822 and 4077 [-Wformat-truncation=] + 171 | snprintf(filename, sizeof(filename), "/sys/bus/%s/devices/%s/%s", bus, entry->d_name, port); + | ^~ ~~~~ +In function 'int snprintf(char*, size_t, const char*, ...)', + inlined from 'void add_runtime_tunables(const char*)' at tuning/runtime.cpp:171:12: +/usr/include/x86_64-linux-gnu/bits/stdio2.h:54:35: note: '__builtin___snprintf_chk' output 20 or more bytes (assuming 4370) 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:191:74: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size 4085 [-Wformat-truncation=] + 191 | snprintf(filename, sizeof(filename), "/sys/block/%s/device", port); + | ^~ ~~~~ +In function 'int snprintf(char*, size_t, const char*, ...)', + inlined from 'void add_runtime_tunables(const char*)' at tuning/runtime.cpp:191:12: +/usr/include/x86_64-linux-gnu/bits/stdio2.h:54:35: note: '__builtin___snprintf_chk' output between 19 and 4114 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 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:964, - 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/x86_64-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, | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -1794,12 +1830,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/x86_64-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, | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -1807,7 +1843,7 @@ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ -/bin/bash ../libtool --tag=CXX --mode=link g++ -std=c++11 -Wall -Wformat -Wshadow -fno-omit-frame-pointer -fstack-protector -I/usr/include/libnl3 -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/x86_64-linux-gnu -pthread -g -O2 -ffile-prefix-map=/build/reproducible-path/powertop-2.15=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -lnl-genl-3 -lnl-3 -lpthread -lncursesw -ltinfo -lpci -lpthread -Wl,-z,relro -Wl,-z,now -o powertop powertop-devlist.o powertop-display.o powertop-lib.o powertop-main.o calibrate/powertop-calibrate.o cpu/powertop-abstract_cpu.o cpu/powertop-cpu.o cpu/powertop-cpu_core.o cpu/powertop-cpu_linux.o cpu/powertop-cpu_package.o cpu/powertop-cpu_rapl_device.o cpu/powertop-cpudevice.o cpu/powertop-dram_rapl_device.o cpu/powertop-intel_cpus.o cpu/powertop-intel_gpu.o cpu/rapl/powertop-rapl_interface.o devices/powertop-ahci.o devices/powertop-alsa.o devices/powertop-backlight.o devices/powertop-devfreq.o devices/powertop-device.o devices/powertop-gpu_rapl_device.o devices/powertop-i915-gpu.o devices/powertop-network.o devices/powertop-rfkill.o devices/powertop-runtime_pm.o devices/powertop-thinkpad-fan.o devices/powertop-thinkpad-light.o devices/powertop-usb.o measurement/powertop-acpi.o measurement/powertop-extech.o measurement/powertop-measurement.o measurement/powertop-sysfs.o measurement/powertop-opal-sensors.o parameters/powertop-learn.o parameters/powertop-parameters.o parameters/powertop-persistent.o perf/powertop-perf.o perf/powertop-perf_bundle.o process/powertop-do_process.o process/powertop-interrupt.o process/powertop-powerconsumer.o process/powertop-process.o process/powertop-processdevice.o process/powertop-timer.o process/powertop-work.o report/powertop-report-data-html.o report/powertop-report-formatter-base.o report/powertop-report-formatter-csv.o report/powertop-report-formatter-html.o report/powertop-report-maker.o report/powertop-report.o tuning/powertop-bluetooth.o tuning/powertop-ethernet.o tuning/powertop-iw.o tuning/powertop-runtime.o tuning/powertop-tunable.o tuning/powertop-tuning.o tuning/powertop-tuningsysfs.o tuning/powertop-tuningusb.o tuning/powertop-tuningi2c.o tuning/powertop-wifi.o wakeup/powertop-wakeup.o wakeup/powertop-waketab.o wakeup/powertop-wakeup_ethernet.o wakeup/powertop-wakeup_usb.o ../traceevent/libtraceevnet.la -lpthread +/bin/sh ../libtool --tag=CXX --mode=link g++ -std=c++11 -Wall -Wformat -Wshadow -fno-omit-frame-pointer -fstack-protector -I/usr/include/libnl3 -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/x86_64-linux-gnu -pthread -g -O2 -ffile-prefix-map=/build/reproducible-path/powertop-2.15=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -lnl-genl-3 -lnl-3 -lpthread -lncursesw -ltinfo -lpci -lpthread -Wl,-z,relro -Wl,-z,now -o powertop powertop-devlist.o powertop-display.o powertop-lib.o powertop-main.o calibrate/powertop-calibrate.o cpu/powertop-abstract_cpu.o cpu/powertop-cpu.o cpu/powertop-cpu_core.o cpu/powertop-cpu_linux.o cpu/powertop-cpu_package.o cpu/powertop-cpu_rapl_device.o cpu/powertop-cpudevice.o cpu/powertop-dram_rapl_device.o cpu/powertop-intel_cpus.o cpu/powertop-intel_gpu.o cpu/rapl/powertop-rapl_interface.o devices/powertop-ahci.o devices/powertop-alsa.o devices/powertop-backlight.o devices/powertop-devfreq.o devices/powertop-device.o devices/powertop-gpu_rapl_device.o devices/powertop-i915-gpu.o devices/powertop-network.o devices/powertop-rfkill.o devices/powertop-runtime_pm.o devices/powertop-thinkpad-fan.o devices/powertop-thinkpad-light.o devices/powertop-usb.o measurement/powertop-acpi.o measurement/powertop-extech.o measurement/powertop-measurement.o measurement/powertop-sysfs.o measurement/powertop-opal-sensors.o parameters/powertop-learn.o parameters/powertop-parameters.o parameters/powertop-persistent.o perf/powertop-perf.o perf/powertop-perf_bundle.o process/powertop-do_process.o process/powertop-interrupt.o process/powertop-powerconsumer.o process/powertop-process.o process/powertop-processdevice.o process/powertop-timer.o process/powertop-work.o report/powertop-report-data-html.o report/powertop-report-formatter-base.o report/powertop-report-formatter-csv.o report/powertop-report-formatter-html.o report/powertop-report-maker.o report/powertop-report.o tuning/powertop-bluetooth.o tuning/powertop-ethernet.o tuning/powertop-iw.o tuning/powertop-runtime.o tuning/powertop-tunable.o tuning/powertop-tuning.o tuning/powertop-tuningsysfs.o tuning/powertop-tuningusb.o tuning/powertop-tuningi2c.o tuning/powertop-wifi.o wakeup/powertop-wakeup.o wakeup/powertop-waketab.o wakeup/powertop-wakeup_ethernet.o wakeup/powertop-wakeup_usb.o ../traceevent/libtraceevnet.la -lpthread libtool: link: g++ -std=c++11 -Wall -Wformat -Wshadow -fno-omit-frame-pointer -fstack-protector -I/usr/include/libnl3 -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/x86_64-linux-gnu -g -O2 -ffile-prefix-map=/build/reproducible-path/powertop-2.15=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wl,-z -Wl,relro -Wl,-z -Wl,now -o powertop powertop-devlist.o powertop-display.o powertop-lib.o powertop-main.o calibrate/powertop-calibrate.o cpu/powertop-abstract_cpu.o cpu/powertop-cpu.o cpu/powertop-cpu_core.o cpu/powertop-cpu_linux.o cpu/powertop-cpu_package.o cpu/powertop-cpu_rapl_device.o cpu/powertop-cpudevice.o cpu/powertop-dram_rapl_device.o cpu/powertop-intel_cpus.o cpu/powertop-intel_gpu.o cpu/rapl/powertop-rapl_interface.o devices/powertop-ahci.o devices/powertop-alsa.o devices/powertop-backlight.o devices/powertop-devfreq.o devices/powertop-device.o devices/powertop-gpu_rapl_device.o devices/powertop-i915-gpu.o devices/powertop-network.o devices/powertop-rfkill.o devices/powertop-runtime_pm.o devices/powertop-thinkpad-fan.o devices/powertop-thinkpad-light.o devices/powertop-usb.o measurement/powertop-acpi.o measurement/powertop-extech.o measurement/powertop-measurement.o measurement/powertop-sysfs.o measurement/powertop-opal-sensors.o parameters/powertop-learn.o parameters/powertop-parameters.o parameters/powertop-persistent.o perf/powertop-perf.o perf/powertop-perf_bundle.o process/powertop-do_process.o process/powertop-interrupt.o process/powertop-powerconsumer.o process/powertop-process.o process/powertop-processdevice.o process/powertop-timer.o process/powertop-work.o report/powertop-report-data-html.o report/powertop-report-formatter-base.o report/powertop-report-formatter-csv.o report/powertop-report-formatter-html.o report/powertop-report-maker.o report/powertop-report.o tuning/powertop-bluetooth.o tuning/powertop-ethernet.o tuning/powertop-iw.o tuning/powertop-runtime.o tuning/powertop-tunable.o tuning/powertop-tuning.o tuning/powertop-tuningsysfs.o tuning/powertop-tuningusb.o tuning/powertop-tuningi2c.o tuning/powertop-wifi.o wakeup/powertop-wakeup.o wakeup/powertop-waketab.o wakeup/powertop-wakeup_ethernet.o wakeup/powertop-wakeup_usb.o -lnl-genl-3 -lnl-3 -lncursesw -ltinfo -lpci ../traceevent/.libs/libtraceevnet.a -lpthread -pthread make[4]: Leaving directory '/build/reproducible-path/powertop-2.15/src' make[3]: Leaving directory '/build/reproducible-path/powertop-2.15/src' @@ -1816,26 +1852,26 @@ 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/reproducible-path/powertop-2.15/po' -rm -f de_DE.gmo && /usr/bin/msgfmt -c --statistics --verbose -o de_DE.gmo de_DE.po rm -f ca.gmo && /usr/bin/msgfmt -c --statistics --verbose -o ca.gmo ca.po -rm -f en_US.gmo && /usr/bin/msgfmt -c --statistics --verbose -o en_US.gmo en_US.po -rm -f en_GB.gmo && /usr/bin/msgfmt -c --statistics --verbose -o en_GB.gmo en_GB.po rm -f cs_CZ.gmo && /usr/bin/msgfmt -c --statistics --verbose -o cs_CZ.gmo cs_CZ.po -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 en_GB.gmo && /usr/bin/msgfmt -c --statistics --verbose -o en_GB.gmo en_GB.po rm -f id_ID.gmo && /usr/bin/msgfmt -c --statistics --verbose -o id_ID.gmo id_ID.po rm -f nl_NL.gmo && /usr/bin/msgfmt -c --statistics --verbose -o nl_NL.gmo nl_NL.po +rm -f en_US.gmo && /usr/bin/msgfmt -c --statistics --verbose -o en_US.gmo en_US.po rm -f zh_TW.gmo && /usr/bin/msgfmt -c --statistics --verbose -o zh_TW.gmo zh_TW.po -en_GB.po: 21 translated messages, 8 fuzzy translations, 175 untranslated messages. -en_US.po: ca.po: 64 translated messages, 19 fuzzy translations, 121 untranslated messages. +rm -f hu_HU.gmo && /usr/bin/msgfmt -c --statistics --verbose -o hu_HU.gmo hu_HU.po +rm -f de_DE.gmo && /usr/bin/msgfmt -c --statistics --verbose -o de_DE.gmo de_DE.po +rm -f es_ES.gmo && /usr/bin/msgfmt -c --statistics --verbose -o es_ES.gmo es_ES.po +ca.po: 64 translated messagesen_GB.po: 21 translated messages, 8 fuzzy translations, 175 untranslated messages. +, 19 fuzzy translations, 121 untranslated messages. +cs_CZ.po: 109 translated messages, 38 fuzzy translations, 57 untranslated messages. +id_ID.po: 110 translated messages, 38 fuzzy translations, 56 untranslated messagesnl_NL.po: en_US.po: . +22 translated messages, 8 fuzzy translations, 174 untranslated messages. 61 translated messages, 18 fuzzy translations, 125 untranslated messages. -cs_CZ.po: es_ES.po: 65 translated messages, 23 fuzzy translations, 116 untranslated messages. -109 translated messages, 38 fuzzy translations, 57 untranslated messages. +es_ES.po: 65 translated messages, 23 fuzzy translations, 116 untranslated messages. +zh_TW.po: 110 translated messages, 38 fuzzy translations, 56 untranslated messages. hu_HU.po: 104 translated messages, 33 fuzzy translations, 67 untranslated messages. de_DE.po: 111 translated messages, 37 fuzzy translations, 56 untranslated messages. -zh_TW.po: 110 translated messages, 38 fuzzy translations, 56 untranslated messages. -id_ID.po: 110 translated messages, 38 fuzzy translations, 56 untranslated messages. -nl_NL.po: 22 translated messages, 8 fuzzy translations, 174 untranslated messages. make[4]: Leaving directory '/build/reproducible-path/powertop-2.15/po' touch stamp-po make[3]: Leaving directory '/build/reproducible-path/powertop-2.15/po' @@ -1852,7 +1888,7 @@ make[2]: Leaving directory '/build/reproducible-path/powertop-2.15' make[1]: Leaving directory '/build/reproducible-path/powertop-2.15' dh_auto_test - make -j42 check "TESTSUITEFLAGS=-j42 --verbose" VERBOSE=1 + make -j20 check "TESTSUITEFLAGS=-j20 --verbose" VERBOSE=1 make[1]: Entering directory '/build/reproducible-path/powertop-2.15' Making check in traceevent make[2]: Entering directory '/build/reproducible-path/powertop-2.15/traceevent' @@ -1898,7 +1934,7 @@ make[3]: Entering directory '/build/reproducible-path/powertop-2.15/src' make[4]: Entering directory '/build/reproducible-path/powertop-2.15/src' /usr/bin/mkdir -p '/build/reproducible-path/powertop-2.15/debian/powertop/usr/sbin' - /bin/bash ../libtool --mode=install /usr/bin/install -c powertop '/build/reproducible-path/powertop-2.15/debian/powertop/usr/sbin' + /bin/sh ../libtool --mode=install /usr/bin/install -c powertop '/build/reproducible-path/powertop-2.15/debian/powertop/usr/sbin' libtool: install: /usr/bin/install -c powertop /build/reproducible-path/powertop-2.15/debian/powertop/usr/sbin/powertop make[4]: Nothing to be done for 'install-data-am'. make[4]: Leaving directory '/build/reproducible-path/powertop-2.15/src' @@ -1963,16 +1999,16 @@ dh_perl dh_link dh_strip_nondeterminism - 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/zh_TW/LC_MESSAGES/powertop.mo + Normalized debian/powertop/usr/share/locale/id_ID/LC_MESSAGES/powertop.mo + Normalized debian/powertop/usr/share/locale/es_ES/LC_MESSAGES/powertop.mo Normalized debian/powertop/usr/share/locale/hu_HU/LC_MESSAGES/powertop.mo Normalized debian/powertop/usr/share/locale/de_DE/LC_MESSAGES/powertop.mo Normalized debian/powertop/usr/share/locale/en_GB/LC_MESSAGES/powertop.mo - Normalized debian/powertop/usr/share/locale/en_US/LC_MESSAGES/powertop.mo + Normalized debian/powertop/usr/share/locale/cs_CZ/LC_MESSAGES/powertop.mo + 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/es_ES/LC_MESSAGES/powertop.mo - Normalized debian/powertop/usr/share/locale/id_ID/LC_MESSAGES/powertop.mo + Normalized debian/powertop/usr/share/locale/en_US/LC_MESSAGES/powertop.mo + Normalized debian/powertop/usr/share/locale/ca/LC_MESSAGES/powertop.mo dh_compress dh_fixperms dh_missing @@ -1993,12 +2029,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/1860393/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/1860393/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/3375698 and its subdirectories -I: Current time: Sat Jul 5 00:53:02 -12 2025 -I: pbuilder-time-stamp: 1751719982 +I: removing directory /srv/workspace/pbuilder/1860393 and its subdirectories +I: Current time: Sun Jun 2 20:32:30 +14 2024 +I: pbuilder-time-stamp: 1717309950