https://launchpad.net/ubuntu/+source/powertop/2.11-1build1/+build/19109293 RUN: /usr/share/launchpad-buildd/bin/builder-prep Kernel version: Linux riscv64-qemu-lcy01-079 5.4.0-21-generic #25-Ubuntu SMP Tue Mar 31 01:57:06 UTC 2020 riscv64 Buildd toolchain package versions: launchpad-buildd_188 python-lpbuildd_188 sbuild_0.79.0-1ubuntu1 git_1:2.25.1-1ubuntu1 dpkg-dev_1.19.7ubuntu2 python-debian_0.1.36build1. Syncing the system clock with the buildd NTP service... 2 Apr 21:35:22 ntpdate[236274]: adjust time server 10.211.37.1 offset -0.001588 sec RUN: /usr/share/launchpad-buildd/bin/in-target unpack-chroot --backend=chroot --series=focal --arch=riscv64 PACKAGEBUILD-19109293 --image-type chroot /home/buildd/filecache-default/88ad86cb2b525f1abddded96eadf8014548f7845 Creating target for build PACKAGEBUILD-19109293 RUN: /usr/share/launchpad-buildd/bin/in-target mount-chroot --backend=chroot --series=focal --arch=riscv64 PACKAGEBUILD-19109293 Starting target for build PACKAGEBUILD-19109293 RUN: /usr/share/launchpad-buildd/bin/in-target override-sources-list --backend=chroot --series=focal --arch=riscv64 PACKAGEBUILD-19109293 'deb http://ftpmaster.internal/ubuntu focal main universe' Overriding sources.list in build-PACKAGEBUILD-19109293 RUN: /usr/share/launchpad-buildd/bin/in-target update-debian-chroot --backend=chroot --series=focal --arch=riscv64 PACKAGEBUILD-19109293 Updating target for build PACKAGEBUILD-19109293 Ign:1 http://archive-team.internal/bootstrap/riscv64 focal InRelease Get:2 http://archive-team.internal/bootstrap/riscv64 focal Release [760 B] Get:3 http://ftpmaster.internal/ubuntu focal InRelease [264 kB] Ign:4 http://archive-team.internal/bootstrap/riscv64 focal Release.gpg Get:5 http://ftpmaster.internal/ubuntu focal-proposed InRelease [264 kB] Get:6 http://archive-team.internal/bootstrap/riscv64 focal/main riscv64 Packages [1998 kB] Get:7 http://ftpmaster.internal/ubuntu focal/main riscv64 Packages [562 kB] Get:8 http://ftpmaster.internal/ubuntu focal/main Translation-en [501 kB] Get:9 http://ftpmaster.internal/ubuntu focal/universe riscv64 Packages [4421 kB] Get:10 http://ftpmaster.internal/ubuntu focal/universe Translation-en [5127 kB] Get:11 http://ftpmaster.internal/ubuntu focal-proposed/main riscv64 Packages [12.9 kB] Get:12 http://ftpmaster.internal/ubuntu focal-proposed/main Translation-en [14.7 kB] Get:13 http://ftpmaster.internal/ubuntu focal-proposed/universe riscv64 Packages [64.7 kB] Get:14 http://ftpmaster.internal/ubuntu focal-proposed/universe Translation-en [94.2 kB] Fetched 13.3 MB in 20s (672 kB/s) Reading package lists... Reading package lists... Building dependency tree... Reading state information... Calculating upgrade... The following packages will be upgraded: coreutils liblocale-gettext-perl libtext-charwidth-perl libtext-iconv-perl 4 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. Need to get 1197 kB of archives. After this operation, 8192 B of additional disk space will be used. Get:1 http://ftpmaster.internal/ubuntu focal/main riscv64 coreutils riscv64 8.30-3ubuntu2 [1158 kB] Get:2 http://ftpmaster.internal/ubuntu focal/main riscv64 liblocale-gettext-perl riscv64 1.07-4 [16.5 kB] Get:3 http://ftpmaster.internal/ubuntu focal/main riscv64 libtext-charwidth-perl riscv64 0.04-10 [9460 B] Get:4 http://ftpmaster.internal/ubuntu focal/main riscv64 libtext-iconv-perl riscv64 1.7-7 [13.2 kB] debconf: delaying package configuration, since apt-utils is not installed Fetched 1197 kB in 0s (2805 kB/s) (Reading database ... 9818 files and directories currently installed.) Preparing to unpack .../coreutils_8.30-3ubuntu2_riscv64.deb ... Unpacking coreutils (8.30-3ubuntu2) over (8.30-3ubuntu2) ... Setting up coreutils (8.30-3ubuntu2) ... (Reading database ... 9818 files and directories currently installed.) Preparing to unpack .../liblocale-gettext-perl_1.07-4_riscv64.deb ... Unpacking liblocale-gettext-perl (1.07-4) over (1.07-4) ... Preparing to unpack .../libtext-charwidth-perl_0.04-10_riscv64.deb ... Unpacking libtext-charwidth-perl (0.04-10) over (0.04-10) ... Preparing to unpack .../libtext-iconv-perl_1.7-7_riscv64.deb ... Unpacking libtext-iconv-perl (1.7-7) over (1.7-7) ... Setting up libtext-iconv-perl (1.7-7) ... Setting up libtext-charwidth-perl (0.04-10) ... Setting up liblocale-gettext-perl (1.07-4) ... RUN: /usr/share/launchpad-buildd/bin/sbuild-package PACKAGEBUILD-19109293 riscv64 focal -c chroot:build-PACKAGEBUILD-19109293 --arch=riscv64 --dist=focal --nolog powertop_2.11-1build1.dsc Initiating build PACKAGEBUILD-19109293 with 4 jobs across 4 processor cores. Kernel reported to sbuild: 5.4.0-21-generic #25-Ubuntu SMP Tue Mar 31 01:57:06 UTC 2020 riscv64 sbuild (Debian sbuild) 0.79.0 (05 February 2020) on riscv64-qemu-lcy01-079 +==============================================================================+ | powertop 2.11-1build1 (riscv64) Thu, 02 Apr 2020 21:37:14 +0000 | +==============================================================================+ Package: powertop Version: 2.11-1build1 Source Version: 2.11-1build1 Distribution: focal Machine Architecture: riscv64 Host Architecture: riscv64 Build Architecture: riscv64 Build Type: any I: NOTICE: Log filtering will replace 'home/buildd/build-PACKAGEBUILD-19109293/chroot-autobuild' with '<>' I: NOTICE: Log filtering will replace 'build/powertop-eVly4X/resolver-c1HReF' with '<>' +------------------------------------------------------------------------------+ | Fetch source files | +------------------------------------------------------------------------------+ Local sources ------------- powertop_2.11-1build1.dsc exists in .; copying to chroot I: NOTICE: Log filtering will replace 'build/powertop-eVly4X/powertop-2.11' with '<>' I: NOTICE: Log filtering will replace 'build/powertop-eVly4X' with '<>' +------------------------------------------------------------------------------+ | Install package build dependencies | +------------------------------------------------------------------------------+ Setup apt archive ----------------- Merged Build-Depends: debhelper-compat (= 11), libncurses-dev, libnl-3-dev, libnl-genl-3-dev, libpci-dev, pkg-config, build-essential, fakeroot Filtered Build-Depends: debhelper-compat (= 11), libncurses-dev, libnl-3-dev, libnl-genl-3-dev, libpci-dev, pkg-config, build-essential, fakeroot dpkg-deb: building package 'sbuild-build-depends-main-dummy' in '/<>/apt_archive/sbuild-build-depends-main-dummy.deb'. Ign:1 copy:/<>/apt_archive ./ InRelease Get:2 copy:/<>/apt_archive ./ Release [957 B] Ign:3 copy:/<>/apt_archive ./ Release.gpg Get:4 copy:/<>/apt_archive ./ Sources [397 B] Get:5 copy:/<>/apt_archive ./ Packages [485 B] Fetched 1839 B in 1s (3195 B/s) Reading package lists... Reading package lists... Install main build dependencies (apt-based resolver) ---------------------------------------------------- Installing build dependencies Reading package lists... Building dependency tree... Reading state information... The following package was automatically installed and is no longer required: libgpm2 Use 'apt autoremove' to remove it. The following additional packages will be installed: autoconf automake autopoint autotools-dev bsdmainutils debhelper dh-autoreconf dh-strip-nondeterminism dwz file gettext gettext-base groff-base intltool-debian libarchive-zip-perl libbsd0 libcroco3 libdebhelper-perl libelf1 libfile-stripnondeterminism-perl libglib2.0-0 libicu66 libmagic-mgc libmagic1 libncurses-dev libncurses6 libnl-3-200 libnl-3-dev libnl-genl-3-200 libnl-genl-3-dev libpci-dev libpci3 libpipeline1 libsigsegv2 libsub-override-perl libtool libuchardet0 libudev-dev libxml2 m4 man-db pci.ids pkg-config po-debconf tzdata zlib1g-dev Suggested packages: autoconf-archive gnu-standards autoconf-doc wamerican | wordlist whois vacation dh-make gettext-doc libasprintf-dev libgettextpo-dev groff ncurses-doc libtool-doc gfortran | fortran95-compiler gcj-jdk m4-doc apparmor less www-browser libmail-box-perl Recommended packages: curl | wget | lynx libarchive-cpio-perl libglib2.0-data shared-mime-info xdg-user-dirs libltdl-dev libmail-sendmail-perl The following NEW packages will be installed: autoconf automake autopoint autotools-dev bsdmainutils debhelper dh-autoreconf dh-strip-nondeterminism dwz file gettext gettext-base groff-base intltool-debian libarchive-zip-perl libbsd0 libcroco3 libdebhelper-perl libelf1 libfile-stripnondeterminism-perl libglib2.0-0 libicu66 libmagic-mgc libmagic1 libncurses-dev libncurses6 libnl-3-200 libnl-3-dev libnl-genl-3-200 libnl-genl-3-dev libpci-dev libpci3 libpipeline1 libsigsegv2 libsub-override-perl libtool libuchardet0 libudev-dev libxml2 m4 man-db pci.ids pkg-config po-debconf sbuild-build-depends-main-dummy tzdata zlib1g-dev 0 upgraded, 47 newly installed, 0 to remove and 0 not upgraded. Need to get 18.6 MB of archives. After this operation, 80.6 MB of additional disk space will be used. Get:1 copy:/<>/apt_archive ./ sbuild-build-depends-main-dummy 0.invalid.0 [908 B] Get:2 http://archive-team.internal/bootstrap/riscv64 focal/main riscv64 libuchardet0 riscv64 0.0.6-3build1 [64.9 kB] Get:3 http://ftpmaster.internal/ubuntu focal/main riscv64 libbsd0 riscv64 0.10.0-1 [42.0 kB] Get:4 http://ftpmaster.internal/ubuntu focal/main riscv64 bsdmainutils riscv64 11.1.2ubuntu3 [176 kB] Get:5 http://archive-team.internal/bootstrap/riscv64 focal/main riscv64 groff-base riscv64 1.22.4-4build1 [815 kB] Get:6 http://ftpmaster.internal/ubuntu focal/main riscv64 libpipeline1 riscv64 1.5.2-2build1 [23.9 kB] Get:7 http://ftpmaster.internal/ubuntu focal/main riscv64 man-db riscv64 2.9.1-1 [1075 kB] Get:8 http://archive-team.internal/bootstrap/riscv64 focal/main riscv64 libglib2.0-0 riscv64 2.64.1-1 [1125 kB] Get:9 http://ftpmaster.internal/ubuntu focal/main riscv64 libncurses6 riscv64 6.2-0ubuntu2 [86.2 kB] Get:10 http://ftpmaster.internal/ubuntu focal/main riscv64 libmagic-mgc riscv64 1:5.38-4 [218 kB] Get:11 http://archive-team.internal/bootstrap/riscv64 focal/main riscv64 gettext-base riscv64 0.19.8.1-10build1 [47.4 kB] Get:12 http://ftpmaster.internal/ubuntu focal/main riscv64 libmagic1 riscv64 1:5.38-4 [70.5 kB] Get:13 http://archive-team.internal/bootstrap/riscv64 focal/main riscv64 dwz riscv64 0.13-5 [147 kB] Get:14 http://ftpmaster.internal/ubuntu focal/main riscv64 file riscv64 1:5.38-4 [22.5 kB] Get:15 http://archive-team.internal/bootstrap/riscv64 focal/main riscv64 libcroco3 riscv64 0.6.13-1 [71.0 kB] Get:16 http://ftpmaster.internal/ubuntu focal/main riscv64 libelf1 riscv64 0.176-1.1build1 [41.8 kB] Get:17 http://archive-team.internal/bootstrap/riscv64 focal/main riscv64 gettext riscv64 0.19.8.1-10build1 [843 kB] Get:18 http://ftpmaster.internal/ubuntu focal/main riscv64 tzdata all 2019c-3ubuntu1 [294 kB] Get:19 http://ftpmaster.internal/ubuntu focal/main riscv64 libicu66 riscv64 66.1-2ubuntu2 [8406 kB] Get:20 http://archive-team.internal/bootstrap/riscv64 focal/main riscv64 libudev-dev riscv64 244.3-1ubuntu1 [19.0 kB] Get:21 http://ftpmaster.internal/ubuntu focal/main riscv64 libxml2 riscv64 2.9.10+dfsg-4build1 [558 kB] Get:22 http://ftpmaster.internal/ubuntu focal/main riscv64 pci.ids all 0.0~2020.03.20-1 [217 kB] Get:23 http://ftpmaster.internal/ubuntu focal/main riscv64 libpci3 riscv64 1:3.6.4-1 [22.5 kB] Get:24 http://ftpmaster.internal/ubuntu focal/main riscv64 libsigsegv2 riscv64 2.12-2 [13.0 kB] Get:25 http://ftpmaster.internal/ubuntu focal/main riscv64 m4 riscv64 1.4.18-4 [188 kB] Get:26 http://ftpmaster.internal/ubuntu focal/main riscv64 autoconf all 2.69-11.1 [321 kB] Get:27 http://ftpmaster.internal/ubuntu focal/main riscv64 autotools-dev all 20180224.1 [39.6 kB] Get:28 http://ftpmaster.internal/ubuntu focal/main riscv64 automake all 1:1.16.1-4ubuntu6 [522 kB] Get:29 http://ftpmaster.internal/ubuntu focal/main riscv64 autopoint all 0.19.8.1-10build1 [412 kB] Get:30 http://ftpmaster.internal/ubuntu focal/main riscv64 libtool all 2.4.6-13 [161 kB] Get:31 http://ftpmaster.internal/ubuntu focal/main riscv64 dh-autoreconf all 19 [16.1 kB] Get:32 http://ftpmaster.internal/ubuntu focal-proposed/main riscv64 libdebhelper-perl all 12.10ubuntu1 [62.1 kB] Get:33 http://ftpmaster.internal/ubuntu focal/main riscv64 libarchive-zip-perl all 1.67-2 [90.5 kB] Get:34 http://ftpmaster.internal/ubuntu focal/main riscv64 libsub-override-perl all 0.09-2 [9532 B] Get:35 http://ftpmaster.internal/ubuntu focal/main riscv64 libfile-stripnondeterminism-perl all 1.6.3-2 [16.0 kB] Get:36 http://ftpmaster.internal/ubuntu focal/main riscv64 dh-strip-nondeterminism all 1.6.3-2 [5228 B] Get:37 http://ftpmaster.internal/ubuntu focal/main riscv64 intltool-debian all 0.35.0+20060710.5 [24.9 kB] Get:38 http://ftpmaster.internal/ubuntu focal/main riscv64 po-debconf all 1.0.21 [233 kB] Get:39 http://ftpmaster.internal/ubuntu focal-proposed/main riscv64 debhelper all 12.10ubuntu1 [877 kB] Get:40 http://ftpmaster.internal/ubuntu focal/main riscv64 libncurses-dev riscv64 6.2-0ubuntu2 [696 kB] Get:41 http://ftpmaster.internal/ubuntu focal/main riscv64 libnl-3-200 riscv64 3.4.0-1 [46.5 kB] Get:42 http://ftpmaster.internal/ubuntu focal/main riscv64 libnl-3-dev riscv64 3.4.0-1 [144 kB] Get:43 http://ftpmaster.internal/ubuntu focal/main riscv64 libnl-genl-3-200 riscv64 3.4.0-1 [9604 B] Get:44 http://ftpmaster.internal/ubuntu focal/main riscv64 libnl-genl-3-dev riscv64 3.4.0-1 [17.0 kB] Get:45 http://ftpmaster.internal/ubuntu focal/main riscv64 zlib1g-dev riscv64 1:1.2.11.dfsg-2ubuntu1 [207 kB] Get:46 http://ftpmaster.internal/ubuntu focal/main riscv64 libpci-dev riscv64 1:3.6.4-1 [66.2 kB] Get:47 http://ftpmaster.internal/ubuntu focal/main riscv64 pkg-config riscv64 0.29.1-0ubuntu4 [43.0 kB] debconf: delaying package configuration, since apt-utils is not installed Fetched 18.6 MB in 3s (5889 kB/s) Selecting previously unselected package libbsd0:riscv64. (Reading database ... 9818 files and directories currently installed.) Preparing to unpack .../00-libbsd0_0.10.0-1_riscv64.deb ... Unpacking libbsd0:riscv64 (0.10.0-1) ... Selecting previously unselected package bsdmainutils. Preparing to unpack .../01-bsdmainutils_11.1.2ubuntu3_riscv64.deb ... Unpacking bsdmainutils (11.1.2ubuntu3) ... Selecting previously unselected package libuchardet0:riscv64. Preparing to unpack .../02-libuchardet0_0.0.6-3build1_riscv64.deb ... Unpacking libuchardet0:riscv64 (0.0.6-3build1) ... Selecting previously unselected package groff-base. Preparing to unpack .../03-groff-base_1.22.4-4build1_riscv64.deb ... Unpacking groff-base (1.22.4-4build1) ... Selecting previously unselected package libpipeline1:riscv64. Preparing to unpack .../04-libpipeline1_1.5.2-2build1_riscv64.deb ... Unpacking libpipeline1:riscv64 (1.5.2-2build1) ... Selecting previously unselected package man-db. Preparing to unpack .../05-man-db_2.9.1-1_riscv64.deb ... Unpacking man-db (2.9.1-1) ... Selecting previously unselected package libncurses6:riscv64. Preparing to unpack .../06-libncurses6_6.2-0ubuntu2_riscv64.deb ... Unpacking libncurses6:riscv64 (6.2-0ubuntu2) ... Selecting previously unselected package libmagic-mgc. Preparing to unpack .../07-libmagic-mgc_1%3a5.38-4_riscv64.deb ... Unpacking libmagic-mgc (1:5.38-4) ... Selecting previously unselected package libmagic1:riscv64. Preparing to unpack .../08-libmagic1_1%3a5.38-4_riscv64.deb ... Unpacking libmagic1:riscv64 (1:5.38-4) ... Selecting previously unselected package file. Preparing to unpack .../09-file_1%3a5.38-4_riscv64.deb ... Unpacking file (1:5.38-4) ... Selecting previously unselected package libelf1:riscv64. Preparing to unpack .../10-libelf1_0.176-1.1build1_riscv64.deb ... Unpacking libelf1:riscv64 (0.176-1.1build1) ... Selecting previously unselected package libglib2.0-0:riscv64. Preparing to unpack .../11-libglib2.0-0_2.64.1-1_riscv64.deb ... Unpacking libglib2.0-0:riscv64 (2.64.1-1) ... Selecting previously unselected package tzdata. Preparing to unpack .../12-tzdata_2019c-3ubuntu1_all.deb ... Unpacking tzdata (2019c-3ubuntu1) ... Selecting previously unselected package libicu66:riscv64. Preparing to unpack .../13-libicu66_66.1-2ubuntu2_riscv64.deb ... Unpacking libicu66:riscv64 (66.1-2ubuntu2) ... Selecting previously unselected package libxml2:riscv64. Preparing to unpack .../14-libxml2_2.9.10+dfsg-4build1_riscv64.deb ... Unpacking libxml2:riscv64 (2.9.10+dfsg-4build1) ... Selecting previously unselected package gettext-base. Preparing to unpack .../15-gettext-base_0.19.8.1-10build1_riscv64.deb ... Unpacking gettext-base (0.19.8.1-10build1) ... Selecting previously unselected package pci.ids. Preparing to unpack .../16-pci.ids_0.0~2020.03.20-1_all.deb ... Unpacking pci.ids (0.0~2020.03.20-1) ... Selecting previously unselected package libpci3:riscv64. Preparing to unpack .../17-libpci3_1%3a3.6.4-1_riscv64.deb ... Unpacking libpci3:riscv64 (1:3.6.4-1) ... Selecting previously unselected package libsigsegv2:riscv64. Preparing to unpack .../18-libsigsegv2_2.12-2_riscv64.deb ... Unpacking libsigsegv2:riscv64 (2.12-2) ... Selecting previously unselected package m4. Preparing to unpack .../19-m4_1.4.18-4_riscv64.deb ... Unpacking m4 (1.4.18-4) ... Selecting previously unselected package autoconf. Preparing to unpack .../20-autoconf_2.69-11.1_all.deb ... Unpacking autoconf (2.69-11.1) ... Selecting previously unselected package autotools-dev. Preparing to unpack .../21-autotools-dev_20180224.1_all.deb ... Unpacking autotools-dev (20180224.1) ... Selecting previously unselected package automake. Preparing to unpack .../22-automake_1%3a1.16.1-4ubuntu6_all.deb ... Unpacking automake (1:1.16.1-4ubuntu6) ... Selecting previously unselected package autopoint. Preparing to unpack .../23-autopoint_0.19.8.1-10build1_all.deb ... Unpacking autopoint (0.19.8.1-10build1) ... Selecting previously unselected package libtool. Preparing to unpack .../24-libtool_2.4.6-13_all.deb ... Unpacking libtool (2.4.6-13) ... Selecting previously unselected package dh-autoreconf. Preparing to unpack .../25-dh-autoreconf_19_all.deb ... Unpacking dh-autoreconf (19) ... Selecting previously unselected package libdebhelper-perl. Preparing to unpack .../26-libdebhelper-perl_12.10ubuntu1_all.deb ... Unpacking libdebhelper-perl (12.10ubuntu1) ... Selecting previously unselected package libarchive-zip-perl. Preparing to unpack .../27-libarchive-zip-perl_1.67-2_all.deb ... Unpacking libarchive-zip-perl (1.67-2) ... Selecting previously unselected package libsub-override-perl. Preparing to unpack .../28-libsub-override-perl_0.09-2_all.deb ... Unpacking libsub-override-perl (0.09-2) ... Selecting previously unselected package libfile-stripnondeterminism-perl. Preparing to unpack .../29-libfile-stripnondeterminism-perl_1.6.3-2_all.deb ... Unpacking libfile-stripnondeterminism-perl (1.6.3-2) ... Selecting previously unselected package dh-strip-nondeterminism. Preparing to unpack .../30-dh-strip-nondeterminism_1.6.3-2_all.deb ... Unpacking dh-strip-nondeterminism (1.6.3-2) ... Selecting previously unselected package dwz. Preparing to unpack .../31-dwz_0.13-5_riscv64.deb ... Unpacking dwz (0.13-5) ... Selecting previously unselected package libcroco3:riscv64. Preparing to unpack .../32-libcroco3_0.6.13-1_riscv64.deb ... Unpacking libcroco3:riscv64 (0.6.13-1) ... Selecting previously unselected package gettext. Preparing to unpack .../33-gettext_0.19.8.1-10build1_riscv64.deb ... Unpacking gettext (0.19.8.1-10build1) ... Selecting previously unselected package intltool-debian. Preparing to unpack .../34-intltool-debian_0.35.0+20060710.5_all.deb ... Unpacking intltool-debian (0.35.0+20060710.5) ... Selecting previously unselected package po-debconf. Preparing to unpack .../35-po-debconf_1.0.21_all.deb ... Unpacking po-debconf (1.0.21) ... Selecting previously unselected package debhelper. Preparing to unpack .../36-debhelper_12.10ubuntu1_all.deb ... Unpacking debhelper (12.10ubuntu1) ... Selecting previously unselected package libncurses-dev:riscv64. Preparing to unpack .../37-libncurses-dev_6.2-0ubuntu2_riscv64.deb ... Unpacking libncurses-dev:riscv64 (6.2-0ubuntu2) ... Selecting previously unselected package libnl-3-200:riscv64. Preparing to unpack .../38-libnl-3-200_3.4.0-1_riscv64.deb ... Unpacking libnl-3-200:riscv64 (3.4.0-1) ... Selecting previously unselected package libnl-3-dev:riscv64. Preparing to unpack .../39-libnl-3-dev_3.4.0-1_riscv64.deb ... Unpacking libnl-3-dev:riscv64 (3.4.0-1) ... Selecting previously unselected package libnl-genl-3-200:riscv64. Preparing to unpack .../40-libnl-genl-3-200_3.4.0-1_riscv64.deb ... Unpacking libnl-genl-3-200:riscv64 (3.4.0-1) ... Selecting previously unselected package libnl-genl-3-dev:riscv64. Preparing to unpack .../41-libnl-genl-3-dev_3.4.0-1_riscv64.deb ... Unpacking libnl-genl-3-dev:riscv64 (3.4.0-1) ... Selecting previously unselected package libudev-dev:riscv64. Preparing to unpack .../42-libudev-dev_244.3-1ubuntu1_riscv64.deb ... Unpacking libudev-dev:riscv64 (244.3-1ubuntu1) ... Selecting previously unselected package zlib1g-dev:riscv64. Preparing to unpack .../43-zlib1g-dev_1%3a1.2.11.dfsg-2ubuntu1_riscv64.deb ... Unpacking zlib1g-dev:riscv64 (1:1.2.11.dfsg-2ubuntu1) ... Selecting previously unselected package libpci-dev:riscv64. Preparing to unpack .../44-libpci-dev_1%3a3.6.4-1_riscv64.deb ... Unpacking libpci-dev:riscv64 (1:3.6.4-1) ... Selecting previously unselected package pkg-config. Preparing to unpack .../45-pkg-config_0.29.1-0ubuntu4_riscv64.deb ... Unpacking pkg-config (0.29.1-0ubuntu4) ... Selecting previously unselected package sbuild-build-depends-main-dummy. Preparing to unpack .../46-sbuild-build-depends-main-dummy_0.invalid.0_riscv64.deb ... Unpacking sbuild-build-depends-main-dummy (0.invalid.0) ... Setting up libpipeline1:riscv64 (1.5.2-2build1) ... Setting up pci.ids (0.0~2020.03.20-1) ... Setting up libmagic-mgc (1:5.38-4) ... Setting up libarchive-zip-perl (1.67-2) ... Setting up libglib2.0-0:riscv64 (2.64.1-1) ... No schema files found: doing nothing. Setting up libdebhelper-perl (12.10ubuntu1) ... Setting up libmagic1:riscv64 (1:5.38-4) ... Setting up gettext-base (0.19.8.1-10build1) ... Setting up file (1:5.38-4) ... Setting up tzdata (2019c-3ubuntu1) ... Current default time zone: 'Etc/UTC' Local time is now: Thu Apr 2 21:39:15 UTC 2020. Universal Time is now: Thu Apr 2 21:39:15 UTC 2020. Run 'dpkg-reconfigure tzdata' if you wish to change it. Setting up autotools-dev (20180224.1) ... Setting up libncurses6:riscv64 (6.2-0ubuntu2) ... Setting up libsigsegv2:riscv64 (2.12-2) ... Setting up autopoint (0.19.8.1-10build1) ... Setting up pkg-config (0.29.1-0ubuntu4) ... Setting up libudev-dev:riscv64 (244.3-1ubuntu1) ... Setting up zlib1g-dev:riscv64 (1:1.2.11.dfsg-2ubuntu1) ... Setting up libpci3:riscv64 (1:3.6.4-1) ... Setting up libuchardet0:riscv64 (0.0.6-3build1) ... Setting up libnl-3-200:riscv64 (3.4.0-1) ... Setting up libsub-override-perl (0.09-2) ... Setting up libbsd0:riscv64 (0.10.0-1) ... Setting up libelf1:riscv64 (0.176-1.1build1) ... Setting up libpci-dev:riscv64 (1:3.6.4-1) ... Setting up libfile-stripnondeterminism-perl (1.6.3-2) ... Setting up libncurses-dev:riscv64 (6.2-0ubuntu2) ... Setting up libtool (2.4.6-13) ... Setting up libicu66:riscv64 (66.1-2ubuntu2) ... Setting up m4 (1.4.18-4) ... Setting up bsdmainutils (11.1.2ubuntu3) ... update-alternatives: using /usr/bin/bsd-write to provide /usr/bin/write (write) in auto mode update-alternatives: using /usr/bin/bsd-from to provide /usr/bin/from (from) in auto mode Setting up autoconf (2.69-11.1) ... Setting up dh-strip-nondeterminism (1.6.3-2) ... Setting up dwz (0.13-5) ... Setting up libnl-3-dev:riscv64 (3.4.0-1) ... Setting up groff-base (1.22.4-4build1) ... Setting up libnl-genl-3-200:riscv64 (3.4.0-1) ... Setting up libxml2:riscv64 (2.9.10+dfsg-4build1) ... Setting up automake (1:1.16.1-4ubuntu6) ... update-alternatives: using /usr/bin/automake-1.16 to provide /usr/bin/automake (automake) in auto mode Setting up man-db (2.9.1-1) ... Not building database; man-db/auto-update is not 'true'. Setting up libnl-genl-3-dev:riscv64 (3.4.0-1) ... Setting up libcroco3:riscv64 (0.6.13-1) ... Setting up gettext (0.19.8.1-10build1) ... Setting up intltool-debian (0.35.0+20060710.5) ... Setting up po-debconf (1.0.21) ... Setting up dh-autoreconf (19) ... Setting up debhelper (12.10ubuntu1) ... Setting up sbuild-build-depends-main-dummy (0.invalid.0) ... Processing triggers for libc-bin (2.31-0ubuntu6~riscv64.1) ... +------------------------------------------------------------------------------+ | Check architectures | +------------------------------------------------------------------------------+ Arch check ok (riscv64 included in linux-any) +------------------------------------------------------------------------------+ | Build environment | +------------------------------------------------------------------------------+ Kernel: Linux 5.4.0-21-generic #25-Ubuntu SMP Tue Mar 31 01:57:06 UTC 2020 riscv64 (riscv64) Toolchain package versions: binutils_2.34-5ubuntu1 dpkg-dev_1.19.7ubuntu3 g++-9_9.3.0-8ubuntu1 gcc-9_9.3.0-8ubuntu1 libc6-dev_2.31-0ubuntu6~riscv64.1 libstdc++-9-dev_9.3.0-8ubuntu1 libstdc++6_10-20200324-1ubuntu1 linux-libc-dev_5.4.0-21.25 Package versions: adduser_3.118ubuntu1 advancecomp_2.1-2.1build1 apt_2.0.1 autoconf_2.69-11.1 automake_1:1.16.1-4ubuntu6 autopoint_0.19.8.1-10build1 autotools-dev_20180224.1 base-files_11ubuntu4 base-passwd_3.5.47 bash_5.0-6ubuntu1 binutils_2.34-5ubuntu1 binutils-common_2.34-5ubuntu1 binutils-riscv64-linux-gnu_2.34-5ubuntu1 bsdmainutils_11.1.2ubuntu3 bsdutils_1:2.34-0.1ubuntu8 build-essential_12.8ubuntu1 bzip2_1.0.8-2 ca-certificates_20190110ubuntu1 coreutils_8.30-3ubuntu2 cpp_4:9.3.0-1ubuntu2 cpp-9_9.3.0-8ubuntu1 dash_0.5.10.2-6 debconf_1.5.73 debhelper_12.10ubuntu1 debianutils_4.9.1 dh-autoreconf_19 dh-strip-nondeterminism_1.6.3-2 diffutils_1:3.7-3 dpkg_1.19.7ubuntu3 dpkg-dev_1.19.7ubuntu3 dwz_0.13-5 e2fsprogs_1.45.5-2ubuntu1 fakeroot_1.24-1 file_1:5.38-4 findutils_4.7.0-1ubuntu1 g++_4:9.3.0-1ubuntu2 g++-9_9.3.0-8ubuntu1 gcc_4:9.3.0-1ubuntu2 gcc-10-base_10-20200324-1ubuntu1 gcc-8-base_8.4.0-3ubuntu1 gcc-9_9.3.0-8ubuntu1 gcc-9-base_9.3.0-8ubuntu1 gettext_0.19.8.1-10build1 gettext-base_0.19.8.1-10build1 gpg_2.2.19-3ubuntu2 gpg-agent_2.2.19-3ubuntu2 gpgconf_2.2.19-3ubuntu2 gpgv_2.2.19-3ubuntu2 grep_3.4-1 groff-base_1.22.4-4build1 gzip_1.10-0ubuntu4 hostname_3.23 init-system-helpers_1.57 intltool-debian_0.35.0+20060710.5 libacl1_2.2.53-6 libapt-pkg6.0_2.0.1 libarchive-zip-perl_1.67-2 libassuan0_2.5.3-7ubuntu2 libatomic1_10-20200324-1ubuntu1 libattr1_1:2.4.48-5 libaudit-common_1:2.8.5-2ubuntu6 libaudit1_1:2.8.5-2ubuntu6 libbinutils_2.34-5ubuntu1 libblkid1_2.34-0.1ubuntu8 libbsd0_0.10.0-1 libbz2-1.0_1.0.8-2 libc-bin_2.31-0ubuntu6~riscv64.1 libc-dev-bin_2.31-0ubuntu6~riscv64.1 libc6_2.31-0ubuntu6~riscv64.1 libc6-dev_2.31-0ubuntu6~riscv64.1 libcap-ng0_0.7.9-2.1build1 libcc1-0_10-20200324-1ubuntu1 libcom-err2_1.45.5-2ubuntu1 libcroco3_0.6.13-1 libcrypt-dev_1:4.4.10-10ubuntu4 libcrypt1_1:4.4.10-10ubuntu4 libctf-nobfd0_2.34-5ubuntu1 libctf0_2.34-5ubuntu1 libdb5.3_5.3.28+dfsg1-0.6ubuntu2 libdebconfclient0_0.251ubuntu1 libdebhelper-perl_12.10ubuntu1 libdpkg-perl_1.19.7ubuntu3 libelf1_0.176-1.1build1 libext2fs2_1.45.5-2ubuntu1 libfakeroot_1.24-1 libffi7_3.3-4 libfile-stripnondeterminism-perl_1.6.3-2 libgcc-9-dev_9.3.0-8ubuntu1 libgcc-s1_10-20200324-1ubuntu1 libgcc1_1:10-20200324-1ubuntu1 libgcrypt20_1.8.5-5ubuntu1 libgdbm-compat4_1.18.1-5 libgdbm6_1.18.1-5 libglib2.0-0_2.64.1-1 libgmp10_2:6.2.0+dfsg-4 libgnutls30_3.6.11.1-2ubuntu2 libgomp1_10-20200324-1ubuntu1 libgpg-error0_1.37-1 libgpm2_1.20.7-5 libhogweed5_3.5.1+really3.5.1-2 libicu66_66.1-2ubuntu2 libidn2-0_2.2.0-2 libisl22_0.22.1-1 liblocale-gettext-perl_1.07-4 liblockfile-bin_1.16-1.1 liblockfile1_1.16-1.1 liblz4-1_1.9.2-2 liblzma5_5.2.4-1 libmagic-mgc_1:5.38-4 libmagic1_1:5.38-4 libmount1_2.34-0.1ubuntu8 libmpc3_1.1.0-1 libmpfr6_4.0.2-1 libncurses-dev_6.2-0ubuntu2 libncurses6_6.2-0ubuntu2 libncursesw6_6.2-0ubuntu2 libnettle7_3.5.1+really3.5.1-2 libnl-3-200_3.4.0-1 libnl-3-dev_3.4.0-1 libnl-genl-3-200_3.4.0-1 libnl-genl-3-dev_3.4.0-1 libnpth0_1.6-1 libp11-kit0_0.23.20-1build1 libpam-modules_1.3.1-5ubuntu4 libpam-modules-bin_1.3.1-5ubuntu4 libpam-runtime_1.3.1-5ubuntu4 libpam0g_1.3.1-5ubuntu4 libpci-dev_1:3.6.4-1 libpci3_1:3.6.4-1 libpcre2-8-0_10.34-7 libpcre3_2:8.39-12build1 libperl5.30_5.30.0-9build1 libpipeline1_1.5.2-2build1 libpng16-16_1.6.37-2 libreadline8_8.0-4 libselinux1_3.0-1build2 libsemanage-common_3.0-1build2 libsemanage1_3.0-1build2 libsepol1_3.0-1 libsigsegv2_2.12-2 libsmartcols1_2.34-0.1ubuntu8 libsqlite3-0_3.31.1-4 libss2_1.45.5-2ubuntu1 libssl1.1_1.1.1d-2ubuntu6 libstdc++-9-dev_9.3.0-8ubuntu1 libstdc++6_10-20200324-1ubuntu1 libsub-override-perl_0.09-2 libsystemd0_244.3-1ubuntu1 libtasn1-6_4.16.0-2 libtext-charwidth-perl_0.04-10 libtext-iconv-perl_1.7-7 libtinfo6_6.2-0ubuntu2 libtool_2.4.6-13 libuchardet0_0.0.6-3build1 libudev-dev_244.3-1ubuntu1 libudev1_244.3-1ubuntu1 libunistring2_0.9.10-2 libuuid1_2.34-0.1ubuntu8 libxml2_2.9.10+dfsg-4build1 libzstd1_1.4.4+dfsg-3 linux-libc-dev_5.4.0-21.25 lockfile-progs_0.1.18 login_1:4.8.1-1ubuntu3 logsave_1.45.5-2ubuntu1 lsb-base_11.1.0ubuntu2 m4_1.4.18-4 make_4.2.1-1.2 man-db_2.9.1-1 mawk_1.3.4.20200120-2 mount_2.34-0.1ubuntu8 ncurses-base_6.2-0ubuntu2 ncurses-bin_6.2-0ubuntu2 openssl_1.1.1d-2ubuntu6 optipng_0.7.7-1 passwd_1:4.8.1-1ubuntu3 patch_2.7.6-6 pci.ids_0.0~2020.03.20-1 perl_5.30.0-9build1 perl-base_5.30.0-9build1 perl-modules-5.30_5.30.0-9build1 pinentry-curses_1.1.0-3build1 pkg-config_0.29.1-0ubuntu4 pkgbinarymangler_144 po-debconf_1.0.21 policyrcd-script-zg2_0.1-3 readline-common_8.0-4 sbuild-build-depends-main-dummy_0.invalid.0 sed_4.7-1 sensible-utils_0.0.12+nmu1 sysvinit-utils_2.96-2.1ubuntu1 tar_1.30+dfsg-7 tzdata_2019c-3ubuntu1 ubuntu-keyring_2020.02.11.1 util-linux_2.34-0.1ubuntu8 xz-utils_5.2.4-1 zlib1g_1:1.2.11.dfsg-2ubuntu1 zlib1g-dev_1:1.2.11.dfsg-2ubuntu1 +------------------------------------------------------------------------------+ | Build | +------------------------------------------------------------------------------+ Unpack source ------------- -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 Format: 3.0 (quilt) Source: powertop Binary: powertop Architecture: linux-any Version: 2.11-1build1 Maintainer: Kan-Ru Chen (陳侃如) Uploaders: Ross Vandegrift Homepage: https://01.org/powertop/ Standards-Version: 4.3.0 Vcs-Browser: https://salsa.debian.org/debian/powertop Vcs-Git: https://salsa.debian.org/debian/powertop.git Build-Depends: debhelper-compat (= 11), libncurses-dev, libnl-3-dev, libnl-genl-3-dev, libpci-dev, pkg-config Package-List: powertop deb utils optional arch=linux-any Checksums-Sha1: 94990f99db8b4d36d15658284e0f5361abcb3669 740716 powertop_2.11.orig.tar.gz 610352eef6152ef20fb7fcde65a058ed3204cd15 9016 powertop_2.11-1build1.debian.tar.xz Checksums-Sha256: 7754a7dd4577431f6150646228e9c17e1ef08fd67f65fd9a3634f85fe1f75f8d 740716 powertop_2.11.orig.tar.gz a5fc5539288c7575fe1b8754469e8bee6bf954fd4ba9f66de97e7f1a869b1df4 9016 powertop_2.11-1build1.debian.tar.xz Files: 19615e8be5208944884b0a4d704da1d4 740716 powertop_2.11.orig.tar.gz 1023d7ab5c6bf9ad7a0d368c8519480a 9016 powertop_2.11-1build1.debian.tar.xz -----BEGIN PGP SIGNATURE----- iQJEBAEBCAAuFiEE1WVxuIqLuvFAv2PWvX6qYHePpvUFAl52CzIQHGRva29AdWJ1 bnR1LmNvbQAKCRC9fqpgd4+m9aUhD/9iiXjhVx6KBrlSOsFdpJyE1uFox10rpZ1J yPtvauU8k1WJ0cvReAM2RVIETOoFbQTnC7pLVWhcQq7hrdrd3ZnrEYatWqDwmOhp qaEzRx1l7tofW+Vm0hBzdfYvV6GWvN2KvjyplAIhmfl7h805SXq90jj3481/NGkq ZGlE/E7mq7hjTH9TAuYppT45/Dj/cXR0x5+zFd0cHeRulqeZkhjblYqwKUWtYAe5 YqsNmA574t5eTosCgwJ5lPhRdvXku/1GQzNvLl3pr4+kW0tkxG741B4ptFdje44d eaYQYDS6cRZDIg4l4S6hEXw2aU9V8XN1Dulw5Sa/vlZfy6a+x/kQfhhZY+MzVNeG 0gac1y8L5jsndFfxdvuHCgtI8vAEEpsbEUCzBijRIEVQWOZbppeOcDr8K2uzRm6a L9lVPK9+FQGs+fbzBZZAmV4NT6XhYPvymjGpVFHKfMCRlDhGc28XHlcnTejww22y BggIhrRvgJ4OYIFFVXQ/C2DBxvz0GRyTcgCQYHo0cIAB0oUFwDD5OWS6uycRfmpy 8jBSLgxX2kbT8mmqCjcjXgvPHHI0pOt2hB4cgwBxB5Bk1SwrOQuWksM5OQxQp8oI 1TuIu0DxiYZb5abpzxykoalmvr8sLOV1kZOtSAEFRavyF/3YDQerx2604om9cmil MOxSd77J3w== =GRue -----END PGP SIGNATURE----- gpgv: Signature made Sat Mar 21 12:40:18 2020 UTC gpgv: using RSA key D56571B88A8BBAF140BF63D6BD7EAA60778FA6F5 gpgv: issuer "doko@ubuntu.com" gpgv: Can't check signature: No public key dpkg-source: warning: failed to verify signature on ./powertop_2.11-1build1.dsc dpkg-source: info: extracting powertop in /<> dpkg-source: info: unpacking powertop_2.11.orig.tar.gz dpkg-source: info: unpacking powertop_2.11-1build1.debian.tar.xz dpkg-source: info: using patch list from debian/patches/series dpkg-source: info: applying 0002-Avoid-linking-to-ncurses.patch dpkg-source: info: applying 0002-Use-correct-path-to-hciconfig-on-Debian.patch Check disk space ---------------- Sufficient free space for build User Environment ---------------- APT_CONFIG=/var/lib/sbuild/apt.conf DEB_BUILD_OPTIONS=parallel=4 HOME=/sbuild-nonexistent LANG=C.UTF-8 LC_ALL=C.UTF-8 LOGNAME=buildd PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games SCHROOT_ALIAS_NAME=build-PACKAGEBUILD-19109293 SCHROOT_CHROOT_NAME=build-PACKAGEBUILD-19109293 SCHROOT_COMMAND=env SCHROOT_GID=2501 SCHROOT_GROUP=buildd SCHROOT_SESSION_ID=build-PACKAGEBUILD-19109293 SCHROOT_UID=2001 SCHROOT_USER=buildd SHELL=/bin/sh TERM=unknown USER=buildd V=1 dpkg-buildpackage ----------------- Command: dpkg-buildpackage -us -uc -mLaunchpad Build Daemon -B -rfakeroot dpkg-buildpackage: info: source package powertop dpkg-buildpackage: info: source version 2.11-1build1 dpkg-buildpackage: info: source distribution focal dpkg-source --before-build . dpkg-buildpackage: info: host architecture riscv64 debian/rules clean dh clean dh_clean debian/rules binary-arch dh binary-arch dh_update_autotools_config -a dh_autoreconf -a Copying file m4/codeset.m4 Copying file m4/fcntl-o.m4 Copying file m4/glibc2.m4 Copying file m4/glibc21.m4 Copying file m4/intdiv0.m4 Copying file m4/intl.m4 Copying file m4/intldir.m4 Copying file m4/intmax.m4 Copying file m4/inttypes-pri.m4 Copying file m4/inttypes_h.m4 Copying file m4/lcmessage.m4 Copying file m4/lock.m4 Copying file m4/longlong.m4 Copying file m4/printf-posix.m4 Copying file m4/size_max.m4 Copying file m4/stdint_h.m4 Copying file m4/threadlib.m4 Copying file m4/uintmax_t.m4 Copying file m4/visibility.m4 Copying file m4/wchar_t.m4 Copying file m4/wint_t.m4 Copying file m4/xsize.m4 Copying file po/Makevars.template libtoolize: putting auxiliary files in '.'. libtoolize: copying file './ltmain.sh' libtoolize: putting macros in AC_CONFIG_MACRO_DIRS, 'm4'. libtoolize: copying file 'm4/libtool.m4' libtoolize: copying file 'm4/ltoptions.m4' libtoolize: copying file 'm4/ltsugar.m4' libtoolize: copying file 'm4/ltversion.m4' libtoolize: copying file 'm4/lt~obsolete.m4' configure.ac:29: installing './compile' configure.ac:7: installing './missing' src/Makefile.am: installing './depcomp' dh_auto_configure -a ./configure --build=riscv64-linux-gnu --prefix=/usr --includedir=\${prefix}/include --mandir=\${prefix}/share/man --infodir=\${prefix}/share/info --sysconfdir=/etc --localstatedir=/var --disable-silent-rules --libdir=\${prefix}/lib/riscv64-linux-gnu --libexecdir=\${prefix}/lib/riscv64-linux-gnu --runstatedir=/run --disable-maintainer-mode --disable-dependency-tracking configure: WARNING: unrecognized options: --disable-maintainer-mode checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /bin/mkdir -p checking for gawk... no checking for mawk... mawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking whether make supports the include directive... yes (GNU style) checking for g++... g++ checking whether the C++ compiler works... yes checking for C++ compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C++ compiler... yes checking whether g++ accepts -g... yes checking dependency style of g++... none checking how to run the C++ preprocessor... g++ -E checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking minix/config.h usability... no checking minix/config.h presence... no checking for minix/config.h... no checking whether it is safe to define __EXTENSIONS__... yes checking whether make supports nested variables... (cached) yes checking whether NLS is requested... yes checking for msgfmt... /usr/bin/msgfmt checking for gmsgfmt... /usr/bin/msgfmt checking for xgettext... /usr/bin/xgettext checking for msgmerge... /usr/bin/msgmerge checking for gcc... gcc checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking whether gcc understands -c and -o together... yes checking dependency style of gcc... none checking build system type... riscv64-unknown-linux-gnu checking host system type... riscv64-unknown-linux-gnu checking for ld used by gcc... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for shared library run path origin... done checking for CFPreferencesCopyAppValue... no checking for CFLocaleCopyCurrent... no checking for GNU gettext in libc... yes checking whether to use NLS... yes checking where the gettext function comes from... libc checking for ar... ar checking the archiver (ar) interface... ar checking how to run the C preprocessor... gcc -E checking whether we are using the GNU C++ compiler... (cached) yes checking whether g++ accepts -g... (cached) yes checking dependency style of g++... (cached) none checking how to print strings... printf checking for a sed that does not truncate output... /bin/sed checking for fgrep... /bin/grep -F checking for ld used by gcc... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... BSD nm checking whether ln -s works... yes checking the maximum length of command line arguments... 1572864 checking how to convert riscv64-unknown-linux-gnu file names to riscv64-unknown-linux-gnu format... func_convert_file_noop checking how to convert riscv64-unknown-linux-gnu file names to toolchain format... func_convert_file_noop checking for /usr/bin/ld option to reload object files... -r checking for objdump... objdump checking how to recognize dependent libraries... pass_all checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for archiver @FILE support... @ checking for strip... strip checking for ranlib... ranlib checking command to parse /usr/bin/nm -B output from gcc object... ok checking for sysroot... no checking for a working dd... /bin/dd checking how to truncate binary pipes... /bin/dd bs=4096 count=1 checking for mt... no checking if : is a manifest tool... no checking for dlfcn.h... yes checking for objdir... .libs checking if gcc supports -fno-rtti -fno-exceptions... no checking for gcc option to produce PIC... -fPIC -DPIC checking if gcc PIC flag -fPIC -DPIC works... yes checking if gcc static flag -static works... yes checking if gcc supports -c -o file.o... yes checking if gcc supports -c -o file.o... (cached) yes checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... yes checking how to run the C++ preprocessor... g++ -E checking for ld used by g++... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes checking for g++ option to produce PIC... -fPIC -DPIC checking if g++ PIC flag -fPIC -DPIC works... yes checking if g++ static flag -static works... yes checking if g++ supports -c -o file.o... yes checking if g++ supports -c -o file.o... (cached) yes checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes checking dynamic linker characteristics... (cached) GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking for gcc... (cached) gcc checking whether we are using the GNU C compiler... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to accept ISO C89... (cached) none needed checking whether gcc understands -c and -o together... (cached) yes checking dependency style of gcc... (cached) none checking for FORTIFY_SOURCE support... checking whether g++ supports C++11 features by default... yes checking if compiler needs -Werror to reject unknown flags... no checking for the pthreads library -lpthreads... no checking whether pthreads work without any flags... no checking whether pthreads work with -Kthread... no checking whether pthreads work with -kthread... no checking for the pthreads library -llthread... no checking whether pthreads work with -pthread... yes checking for joinable pthread attribute... PTHREAD_CREATE_JOINABLE checking if more special flags are required for pthreads... no checking for PTHREAD_PRIO_INHERIT... yes checking fcntl.h usability... yes checking fcntl.h presence... yes checking for fcntl.h... yes checking libintl.h usability... yes checking libintl.h presence... yes checking for libintl.h... yes checking limits.h usability... yes checking limits.h presence... yes checking for limits.h... yes checking locale.h usability... yes checking locale.h presence... yes checking for locale.h... yes checking malloc.h usability... yes checking malloc.h presence... yes checking for malloc.h... yes checking ncurses.h usability... yes checking ncurses.h presence... yes checking for ncurses.h... yes checking for stdint.h... (cached) yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking sys/ioctl.h usability... yes checking sys/ioctl.h presence... yes checking for sys/ioctl.h... yes checking sys/socket.h usability... yes checking sys/socket.h presence... yes checking for sys/socket.h... yes checking sys/statfs.h usability... yes checking sys/statfs.h presence... yes checking for sys/statfs.h... yes checking sys/time.h usability... yes checking sys/time.h presence... yes checking for sys/time.h... yes checking termios.h usability... yes checking termios.h presence... yes checking for termios.h... yes checking for unistd.h... (cached) yes checking for stdbool.h that conforms to C99... no checking for _Bool... no checking for inline... inline checking for int64_t... yes checking for pid_t... yes checking for size_t... yes checking for ssize_t... yes checking for uint16_t... yes checking for uint32_t... yes checking for uint64_t... yes checking for stdlib.h... (cached) yes checking for GNU libc compatible malloc... yes checking for stdlib.h... (cached) yes checking for unistd.h... (cached) yes checking for sys/param.h... yes checking for getpagesize... yes checking for working mmap... yes checking for stdlib.h... (cached) yes checking for GNU libc compatible realloc... yes checking for working strtod... yes checking for fdatasync... yes checking for getpagesize... (cached) yes checking for gettimeofday... yes checking for memmove... yes checking for memset... yes checking for mkdir... yes checking for munmap... yes checking for pow... yes checking for realpath... yes checking for regcomp... yes checking for select... yes checking for setlocale... yes checking for socket... yes checking for sqrt... yes checking for strcasecmp... yes checking for strchr... yes checking for strdup... yes checking for strerror... yes checking for strncasecmp... yes checking for strstr... yes checking for strtoul... yes checking for strtoull... yes checking for library containing clock_gettime... none required checking for pkg-config... /usr/bin/pkg-config checking pkg-config is at least version 0.9.0... yes checking for NCURSES... yes checking for PCIUTILS... yes checking for LIBNL... yes checking for library containing inet_aton... none required checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating Doxyfile config.status: creating src/Makefile config.status: creating traceevent/Makefile config.status: creating po/Makefile.in config.status: creating doc/Makefile config.status: creating scripts/bash-completion/Makefile config.status: creating config.h config.status: executing depfiles commands config.status: executing po-directories commands config.status: creating po/POTFILES config.status: creating po/Makefile config.status: executing libtool commands configure: WARNING: unrecognized options: --disable-maintainer-mode dh_auto_build -a make -j4 make[1]: Entering directory '/<>' make all-recursive make[2]: Entering directory '/<>' Making all in traceevent make[3]: Entering directory '/<>/traceevent' /bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -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 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -pthread -c -o parse-filter.lo parse-filter.c /bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -pthread -c -o parse-utils.lo parse-utils.c /bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -pthread -c -o trace-seq.lo trace-seq.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -pthread -c parse-utils.c -fPIC -DPIC -o .libs/parse-utils.o libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -pthread -c event-parse.c -fPIC -DPIC -o .libs/event-parse.o libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -pthread -c parse-filter.c -fPIC -DPIC -o .libs/parse-filter.o libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -pthread -c trace-seq.c -fPIC -DPIC -o .libs/trace-seq.o libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -pthread -c parse-utils.c -o parse-utils.o >/dev/null 2>&1 libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -pthread -c trace-seq.c -o trace-seq.o >/dev/null 2>&1 libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -pthread -c parse-filter.c -o parse-filter.o >/dev/null 2>&1 libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -pthread -c event-parse.c -o event-parse.o >/dev/null 2>&1 /bin/bash ../libtool --tag=CC --mode=link gcc -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -pthread -Wl,-Bsymbolic-functions -Wl,-z,relro -Wl,-z,now -o libtraceevnet.la event-parse.lo parse-filter.lo parse-utils.lo trace-seq.lo 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 '/<>/traceevent' Making all in src make[3]: Entering directory '/<>/src' make all-am make[4]: Entering directory '/<>/src' g++ -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/share/locale\" -I/usr/include/libnl3 -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/riscv64-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/riscv64-linux-gnu -pthread -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -c -o powertop-devlist.o `test -f 'devlist.cpp' || echo './'`devlist.cpp g++ -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/share/locale\" -I/usr/include/libnl3 -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/riscv64-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/riscv64-linux-gnu -pthread -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -c -o powertop-display.o `test -f 'display.cpp' || echo './'`display.cpp g++ -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/share/locale\" -I/usr/include/libnl3 -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/riscv64-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/riscv64-linux-gnu -pthread -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -c -o powertop-lib.o `test -f 'lib.cpp' || echo './'`lib.cpp g++ -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/share/locale\" -I/usr/include/libnl3 -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/riscv64-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/riscv64-linux-gnu -pthread -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -c -o powertop-main.o `test -f 'main.cpp' || echo './'`main.cpp In file included from /usr/include/string.h:495, from devlist.cpp:39: In function ‘char* strncpy(char*, const char*, size_t)’, inlined from ‘void pt_strcpy(char (&)[N], const char*) [with long unsigned int N = 252]’ at lib.h:78:9, inlined from ‘void register_devpower(const char*, double, device*)’ at devlist.cpp:266:12: /usr/include/riscv64-linux-gnu/bits/string_fortified.h:106:34: warning: ‘char* __builtin_strncpy(char*, const char*, long unsigned int)’ specified bound 252 equals destination size [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ g++ -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/share/locale\" -I/usr/include/libnl3 -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/riscv64-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/riscv64-linux-gnu -pthread -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -c -o calibrate/powertop-calibrate.o `test -f 'calibrate/calibrate.cpp' || echo './'`calibrate/calibrate.cpp g++ -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/share/locale\" -I/usr/include/libnl3 -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/riscv64-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/riscv64-linux-gnu -pthread -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -c -o cpu/powertop-abstract_cpu.o `test -f 'cpu/abstract_cpu.cpp' || echo './'`cpu/abstract_cpu.cpp g++ -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/share/locale\" -I/usr/include/libnl3 -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/riscv64-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/riscv64-linux-gnu -pthread -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -c -o cpu/powertop-cpu.o `test -f 'cpu/cpu.cpp' || echo './'`cpu/cpu.cpp g++ -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/share/locale\" -I/usr/include/libnl3 -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/riscv64-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/riscv64-linux-gnu -pthread -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -c -o cpu/powertop-cpu_core.o `test -f 'cpu/cpu_core.cpp' || echo './'`cpu/cpu_core.cpp In file included from /usr/include/string.h:495, from cpu/abstract_cpu.cpp:27: In function ‘char* strncpy(char*, const char*, size_t)’, inlined from ‘void pt_strcpy(char (&)[N], const char*) [with long unsigned int N = 32]’ at cpu/../lib.h:78:9, inlined from ‘virtual void abstract_cpu::account_freq(uint64_t, uint64_t)’ at cpu/abstract_cpu.cpp:74:13: /usr/include/riscv64-linux-gnu/bits/string_fortified.h:106:34: warning: ‘char* __builtin_strncpy(char*, const char*, long unsigned int)’ specified bound 32 equals destination size [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function ‘char* strncpy(char*, const char*, size_t)’, inlined from ‘void pt_strcpy(char (&)[N], const char*) [with long unsigned int N = 32]’ at cpu/../lib.h:78:9, inlined from ‘virtual void abstract_cpu::account_freq(uint64_t, uint64_t)’ at cpu/abstract_cpu.cpp:76:13: /usr/include/riscv64-linux-gnu/bits/string_fortified.h:106:34: warning: ‘char* __builtin_strncpy(char*, const char*, long unsigned int)’ specified bound 32 equals destination size [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function ‘char* strncpy(char*, const char*, size_t)’, inlined from ‘void pt_strcpy(char (&)[N], const char*) [with long unsigned int N = 32]’ at cpu/../lib.h:78:9, inlined from ‘void abstract_cpu::insert_pstate(uint64_t, const char*, uint64_t, int)’ at cpu/abstract_cpu.cpp:351:11: /usr/include/riscv64-linux-gnu/bits/string_fortified.h:106:34: warning: ‘char* __builtin_strncpy(char*, const char*, long unsigned int)’ specified bound 32 equals destination size [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function ‘char* strncpy(char*, const char*, size_t)’, inlined from ‘void pt_strcpy(char (&)[N], const char*) [with long unsigned int N = 16]’ at cpu/../lib.h:78:9, inlined from ‘void abstract_cpu::insert_cstate(const char*, const char*, uint64_t, uint64_t, int, int)’ at cpu/abstract_cpu.cpp:208:11: /usr/include/riscv64-linux-gnu/bits/string_fortified.h:106:34: warning: ‘char* __builtin_strncpy(char*, const char*, long unsigned int)’ specified bound 16 equals destination size [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function ‘char* strncpy(char*, const char*, size_t)’, inlined from ‘void pt_strcpy(char (&)[N], const char*) [with long unsigned int N = 32]’ at cpu/../lib.h:78:9, inlined from ‘void abstract_cpu::insert_cstate(const char*, const char*, uint64_t, uint64_t, int, int)’ at cpu/abstract_cpu.cpp:209:11: /usr/include/riscv64-linux-gnu/bits/string_fortified.h:106:34: warning: ‘char* __builtin_strncpy(char*, const char*, long unsigned int)’ specified bound 32 equals destination size [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ g++ -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/share/locale\" -I/usr/include/libnl3 -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/riscv64-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/riscv64-linux-gnu -pthread -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -c -o cpu/powertop-cpu_linux.o `test -f 'cpu/cpu_linux.cpp' || echo './'`cpu/cpu_linux.cpp g++ -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/share/locale\" -I/usr/include/libnl3 -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/riscv64-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/riscv64-linux-gnu -pthread -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -c -o cpu/powertop-cpu_package.o `test -f 'cpu/cpu_package.cpp' || echo './'`cpu/cpu_package.cpp g++ -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/share/locale\" -I/usr/include/libnl3 -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/riscv64-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/riscv64-linux-gnu -pthread -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -c -o cpu/powertop-cpu_rapl_device.o `test -f 'cpu/cpu_rapl_device.cpp' || echo './'`cpu/cpu_rapl_device.cpp g++ -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/share/locale\" -I/usr/include/libnl3 -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/riscv64-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/riscv64-linux-gnu -pthread -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -c -o cpu/powertop-cpudevice.o `test -f 'cpu/cpudevice.cpp' || echo './'`cpu/cpudevice.cpp g++ -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/share/locale\" -I/usr/include/libnl3 -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/riscv64-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/riscv64-linux-gnu -pthread -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -c -o cpu/powertop-dram_rapl_device.o `test -f 'cpu/dram_rapl_device.cpp' || echo './'`cpu/dram_rapl_device.cpp g++ -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/share/locale\" -I/usr/include/libnl3 -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/riscv64-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/riscv64-linux-gnu -pthread -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -c -o cpu/powertop-intel_cpus.o `test -f 'cpu/intel_cpus.cpp' || echo './'`cpu/intel_cpus.cpp In file included from /usr/include/string.h:495, from cpu/cpudevice.cpp:28: In function ‘char* strncpy(char*, const char*, size_t)’, inlined from ‘void pt_strcpy(char (&)[N], const char*) [with long unsigned int N = 128]’ at cpu/../lib.h:78:9, inlined from ‘cpudevice::cpudevice(const char*, const char*, abstract_cpu*)’ at cpu/cpudevice.cpp:35:11: /usr/include/riscv64-linux-gnu/bits/string_fortified.h:106:34: warning: ‘char* __builtin_strncpy(char*, const char*, long unsigned int)’ specified bound 128 equals destination size [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function ‘char* strncpy(char*, const char*, size_t)’, inlined from ‘void pt_strcpy(char (&)[N], const char*) [with long unsigned int N = 128]’ at cpu/../lib.h:78:9, inlined from ‘cpudevice::cpudevice(const char*, const char*, abstract_cpu*)’ at cpu/cpudevice.cpp:36:11: /usr/include/riscv64-linux-gnu/bits/string_fortified.h:106:34: warning: ‘char* __builtin_strncpy(char*, const char*, long unsigned int)’ specified bound 128 equals destination size [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ g++ -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/share/locale\" -I/usr/include/libnl3 -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/riscv64-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/riscv64-linux-gnu -pthread -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -c -o cpu/powertop-intel_gpu.o `test -f 'cpu/intel_gpu.cpp' || echo './'`cpu/intel_gpu.cpp g++ -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/share/locale\" -I/usr/include/libnl3 -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/riscv64-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/riscv64-linux-gnu -pthread -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -c -o cpu/rapl/powertop-rapl_interface.o `test -f 'cpu/rapl/rapl_interface.cpp' || echo './'`cpu/rapl/rapl_interface.cpp g++ -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/share/locale\" -I/usr/include/libnl3 -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/riscv64-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/riscv64-linux-gnu -pthread -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -c -o devices/powertop-ahci.o `test -f 'devices/ahci.cpp' || echo './'`devices/ahci.cpp g++ -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/share/locale\" -I/usr/include/libnl3 -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/riscv64-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/riscv64-linux-gnu -pthread -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -c -o devices/powertop-alsa.o `test -f 'devices/alsa.cpp' || echo './'`devices/alsa.cpp g++ -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/share/locale\" -I/usr/include/libnl3 -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/riscv64-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/riscv64-linux-gnu -pthread -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -c -o devices/powertop-backlight.o `test -f 'devices/backlight.cpp' || echo './'`devices/backlight.cpp g++ -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/share/locale\" -I/usr/include/libnl3 -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/riscv64-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/riscv64-linux-gnu -pthread -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -c -o devices/powertop-devfreq.o `test -f 'devices/devfreq.cpp' || echo './'`devices/devfreq.cpp devices/ahci.cpp: In constructor ‘ahci::ahci(char*, char*)’: devices/ahci.cpp:139:38: warning: ‘-active’ directive output may be truncated writing 7 bytes into a region of size between 1 and 4096 [-Wformat-truncation=] 139 | snprintf(buffer, sizeof(buffer), "%s-active", name); | ^~~~~~~ In file included from /usr/include/stdio.h:867, from /usr/include/c++/9/cstdio:42, from /usr/include/c++/9/ext/string_conversions.h:43, from /usr/include/c++/9/bits/basic_string.h:6493, from /usr/include/c++/9/string:55, from /usr/include/c++/9/bits/locale_classes.h:40, from /usr/include/c++/9/bits/ios_base.h:41, from /usr/include/c++/9/ios:42, from /usr/include/c++/9/ostream:38, from /usr/include/c++/9/iostream:39, from devices/ahci.cpp:25: /usr/include/riscv64-linux-gnu/bits/stdio2.h:67:35: note: ‘__builtin___snprintf_chk’ output between 8 and 4103 bytes into a destination of size 4096 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 68 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ devices/ahci.cpp:142:38: warning: ‘-partial’ directive output may be truncated writing 8 bytes into a region of size between 1 and 4096 [-Wformat-truncation=] 142 | snprintf(buffer, sizeof(buffer), "%s-partial", name); | ^~~~~~~~ In file included from /usr/include/stdio.h:867, from /usr/include/c++/9/cstdio:42, from /usr/include/c++/9/ext/string_conversions.h:43, from /usr/include/c++/9/bits/basic_string.h:6493, from /usr/include/c++/9/string:55, from /usr/include/c++/9/bits/locale_classes.h:40, from /usr/include/c++/9/bits/ios_base.h:41, from /usr/include/c++/9/ios:42, from /usr/include/c++/9/ostream:38, from /usr/include/c++/9/iostream:39, from devices/ahci.cpp:25: /usr/include/riscv64-linux-gnu/bits/stdio2.h:67:35: note: ‘__builtin___snprintf_chk’ output between 9 and 4104 bytes into a destination of size 4096 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 68 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ devices/ahci.cpp:145:38: warning: ‘-slumber’ directive output may be truncated writing 8 bytes into a region of size between 1 and 4096 [-Wformat-truncation=] 145 | snprintf(buffer, sizeof(buffer), "%s-slumber", name); | ^~~~~~~~ In file included from /usr/include/stdio.h:867, from /usr/include/c++/9/cstdio:42, from /usr/include/c++/9/ext/string_conversions.h:43, from /usr/include/c++/9/bits/basic_string.h:6493, from /usr/include/c++/9/string:55, from /usr/include/c++/9/bits/locale_classes.h:40, from /usr/include/c++/9/bits/ios_base.h:41, from /usr/include/c++/9/ios:42, from /usr/include/c++/9/ostream:38, from /usr/include/c++/9/iostream:39, from devices/ahci.cpp:25: /usr/include/riscv64-linux-gnu/bits/stdio2.h:67:35: note: ‘__builtin___snprintf_chk’ output between 9 and 4104 bytes into a destination of size 4096 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 68 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ devices/ahci.cpp:148:38: warning: ‘-devslp’ directive output may be truncated writing 7 bytes into a region of size between 1 and 4096 [-Wformat-truncation=] 148 | snprintf(buffer, sizeof(buffer), "%s-devslp", name); | ^~~~~~~ In file included from /usr/include/stdio.h:867, from /usr/include/c++/9/cstdio:42, from /usr/include/c++/9/ext/string_conversions.h:43, from /usr/include/c++/9/bits/basic_string.h:6493, from /usr/include/c++/9/string:55, from /usr/include/c++/9/bits/locale_classes.h:40, from /usr/include/c++/9/bits/ios_base.h:41, from /usr/include/c++/9/ios:42, from /usr/include/c++/9/ostream:38, from /usr/include/c++/9/iostream:39, from devices/ahci.cpp:25: /usr/include/riscv64-linux-gnu/bits/stdio2.h:67:35: note: ‘__builtin___snprintf_chk’ output between 8 and 4103 bytes into a destination of size 4096 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 68 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ devices/ahci.cpp:54:43: warning: ‘%s’ directive output may be truncated writing up to 255 bytes into a region of size between 0 and 4095 [-Wformat-truncation=] 54 | snprintf(pathname, sizeof(pathname), "%s/%s", path, target); | ^~ In file included from /usr/include/stdio.h:867, from /usr/include/c++/9/cstdio:42, from /usr/include/c++/9/ext/string_conversions.h:43, from /usr/include/c++/9/bits/basic_string.h:6493, from /usr/include/c++/9/string:55, from /usr/include/c++/9/bits/locale_classes.h:40, from /usr/include/c++/9/bits/ios_base.h:41, from /usr/include/c++/9/ios:42, from /usr/include/c++/9/ostream:38, from /usr/include/c++/9/iostream:39, from devices/ahci.cpp:25: /usr/include/riscv64-linux-gnu/bits/stdio2.h:67:35: note: ‘__builtin___snprintf_chk’ output between 2 and 4352 bytes into a destination of size 4096 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 68 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ devices/ahci.cpp:68:36: warning: ‘%s’ directive output may be truncated writing up to 255 bytes into a region of size between 0 and 4095 [-Wformat-truncation=] 68 | snprintf(line, sizeof(line), "%s/%s/model", pathname, dirent->d_name); | ^~ In file included from /usr/include/stdio.h:867, from /usr/include/c++/9/cstdio:42, from /usr/include/c++/9/ext/string_conversions.h:43, from /usr/include/c++/9/bits/basic_string.h:6493, from /usr/include/c++/9/string:55, from /usr/include/c++/9/bits/locale_classes.h:40, from /usr/include/c++/9/bits/ios_base.h:41, from /usr/include/c++/9/ios:42, from /usr/include/c++/9/ostream:38, from /usr/include/c++/9/iostream:39, from devices/ahci.cpp:25: /usr/include/riscv64-linux-gnu/bits/stdio2.h:67:35: note: ‘__builtin___snprintf_chk’ output between 8 and 4358 bytes into a destination of size 4096 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 68 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/string.h:495, from devices/../parameters/parameters.h:33, from devices/ahci.h:32, from devices/ahci.cpp:39: In function ‘char* strncpy(char*, const char*, size_t)’, inlined from ‘void pt_strcpy(char (&)[N], const char*) [with long unsigned int N = 4096]’ at devices/../parameters/../lib.h:78:9, inlined from ‘ahci::ahci(char*, char*)’ at devices/ahci.cpp:130:11: /usr/include/riscv64-linux-gnu/bits/string_fortified.h:106:34: warning: ‘char* __builtin_strncpy(char*, const char*, long unsigned int)’ specified bound 4096 equals destination size [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ devices/ahci.cpp: In member function ‘virtual void ahci::end_measurement()’: devices/ahci.cpp:206:43: 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); | ^~~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:867, from /usr/include/c++/9/cstdio:42, from /usr/include/c++/9/ext/string_conversions.h:43, from /usr/include/c++/9/bits/basic_string.h:6493, from /usr/include/c++/9/string:55, from /usr/include/c++/9/bits/locale_classes.h:40, from /usr/include/c++/9/bits/ios_base.h:41, from /usr/include/c++/9/ios:42, from /usr/include/c++/9/ostream:38, from /usr/include/c++/9/iostream:39, from devices/ahci.cpp:25: /usr/include/riscv64-linux-gnu/bits/stdio2.h:67:35: note: ‘__builtin___snprintf_chk’ output between 18 and 4113 bytes into a destination of size 4096 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 68 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ devices/ahci.cpp:212:43: warning: ‘/ahci_alpm_partial’ directive output may be truncated writing 18 bytes into a region of size between 1 and 4096 [-Wformat-truncation=] 212 | snprintf(filename, sizeof(filename), "%s/ahci_alpm_partial", sysfs_path); | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:867, from /usr/include/c++/9/cstdio:42, from /usr/include/c++/9/ext/string_conversions.h:43, from /usr/include/c++/9/bits/basic_string.h:6493, from /usr/include/c++/9/string:55, from /usr/include/c++/9/bits/locale_classes.h:40, from /usr/include/c++/9/bits/ios_base.h:41, from /usr/include/c++/9/ios:42, from /usr/include/c++/9/ostream:38, from /usr/include/c++/9/iostream:39, from devices/ahci.cpp:25: /usr/include/riscv64-linux-gnu/bits/stdio2.h:67:35: note: ‘__builtin___snprintf_chk’ output between 19 and 4114 bytes into a destination of size 4096 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 68 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ devices/ahci.cpp:218:43: warning: ‘/ahci_alpm_slumber’ directive output may be truncated writing 18 bytes into a region of size between 1 and 4096 [-Wformat-truncation=] 218 | snprintf(filename, sizeof(filename), "%s/ahci_alpm_slumber", sysfs_path); | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:867, from /usr/include/c++/9/cstdio:42, from /usr/include/c++/9/ext/string_conversions.h:43, from /usr/include/c++/9/bits/basic_string.h:6493, from /usr/include/c++/9/string:55, from /usr/include/c++/9/bits/locale_classes.h:40, from /usr/include/c++/9/bits/ios_base.h:41, from /usr/include/c++/9/ios:42, from /usr/include/c++/9/ostream:38, from /usr/include/c++/9/iostream:39, from devices/ahci.cpp:25: /usr/include/riscv64-linux-gnu/bits/stdio2.h:67:35: note: ‘__builtin___snprintf_chk’ output between 19 and 4114 bytes into a destination of size 4096 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 68 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ devices/ahci.cpp:224:43: warning: ‘/ahci_alpm_devslp’ directive output may be truncated writing 17 bytes into a region of size between 1 and 4096 [-Wformat-truncation=] 224 | snprintf(filename, sizeof(filename), "%s/ahci_alpm_devslp", sysfs_path); | ^~~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:867, from /usr/include/c++/9/cstdio:42, from /usr/include/c++/9/ext/string_conversions.h:43, from /usr/include/c++/9/bits/basic_string.h:6493, from /usr/include/c++/9/string:55, from /usr/include/c++/9/bits/locale_classes.h:40, from /usr/include/c++/9/bits/ios_base.h:41, from /usr/include/c++/9/ios:42, from /usr/include/c++/9/ostream:38, from /usr/include/c++/9/iostream:39, from devices/ahci.cpp:25: /usr/include/riscv64-linux-gnu/bits/stdio2.h:67:35: note: ‘__builtin___snprintf_chk’ output between 18 and 4113 bytes into a destination of size 4096 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 68 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ devices/ahci.cpp:248:44: warning: ‘-active’ directive output may be truncated writing 7 bytes into a region of size between 1 and 4096 [-Wformat-truncation=] 248 | snprintf(powername, sizeof(powername), "%s-active", name); | ^~~~~~~ In file included from /usr/include/stdio.h:867, from /usr/include/c++/9/cstdio:42, from /usr/include/c++/9/ext/string_conversions.h:43, from /usr/include/c++/9/bits/basic_string.h:6493, from /usr/include/c++/9/string:55, from /usr/include/c++/9/bits/locale_classes.h:40, from /usr/include/c++/9/bits/ios_base.h:41, from /usr/include/c++/9/ios:42, from /usr/include/c++/9/ostream:38, from /usr/include/c++/9/iostream:39, from devices/ahci.cpp:25: /usr/include/riscv64-linux-gnu/bits/stdio2.h:67:35: note: ‘__builtin___snprintf_chk’ output between 8 and 4103 bytes into a destination of size 4096 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 68 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ devices/ahci.cpp:255:44: warning: ‘-partial’ directive output may be truncated writing 8 bytes into a region of size between 1 and 4096 [-Wformat-truncation=] 255 | snprintf(powername, sizeof(powername), "%s-partial", name); | ^~~~~~~~ In file included from /usr/include/stdio.h:867, from /usr/include/c++/9/cstdio:42, from /usr/include/c++/9/ext/string_conversions.h:43, from /usr/include/c++/9/bits/basic_string.h:6493, from /usr/include/c++/9/string:55, from /usr/include/c++/9/bits/locale_classes.h:40, from /usr/include/c++/9/bits/ios_base.h:41, from /usr/include/c++/9/ios:42, from /usr/include/c++/9/ostream:38, from /usr/include/c++/9/iostream:39, from devices/ahci.cpp:25: /usr/include/riscv64-linux-gnu/bits/stdio2.h:67:35: note: ‘__builtin___snprintf_chk’ output between 9 and 4104 bytes into a destination of size 4096 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 68 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ devices/ahci.cpp:262:44: warning: ‘-slumber’ directive output may be truncated writing 8 bytes into a region of size between 1 and 4096 [-Wformat-truncation=] 262 | snprintf(powername, sizeof(powername), "%s-slumber", name); | ^~~~~~~~ In file included from /usr/include/stdio.h:867, from /usr/include/c++/9/cstdio:42, from /usr/include/c++/9/ext/string_conversions.h:43, from /usr/include/c++/9/bits/basic_string.h:6493, from /usr/include/c++/9/string:55, from /usr/include/c++/9/bits/locale_classes.h:40, from /usr/include/c++/9/bits/ios_base.h:41, from /usr/include/c++/9/ios:42, from /usr/include/c++/9/ostream:38, from /usr/include/c++/9/iostream:39, from devices/ahci.cpp:25: /usr/include/riscv64-linux-gnu/bits/stdio2.h:67:35: note: ‘__builtin___snprintf_chk’ output between 9 and 4104 bytes into a destination of size 4096 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 68 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ devices/ahci.cpp:269:44: warning: ‘-devslp’ directive output may be truncated writing 7 bytes into a region of size between 1 and 4096 [-Wformat-truncation=] 269 | snprintf(powername, sizeof(powername), "%s-devslp", name); | ^~~~~~~ In file included from /usr/include/stdio.h:867, from /usr/include/c++/9/cstdio:42, from /usr/include/c++/9/ext/string_conversions.h:43, from /usr/include/c++/9/bits/basic_string.h:6493, from /usr/include/c++/9/string:55, from /usr/include/c++/9/bits/locale_classes.h:40, from /usr/include/c++/9/bits/ios_base.h:41, from /usr/include/c++/9/ios:42, from /usr/include/c++/9/ostream:38, from /usr/include/c++/9/iostream:39, from devices/ahci.cpp:25: /usr/include/riscv64-linux-gnu/bits/stdio2.h:67:35: note: ‘__builtin___snprintf_chk’ output between 8 and 4103 bytes into a destination of size 4096 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 68 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ devices/ahci.cpp: In member function ‘virtual void ahci::start_measurement()’: devices/ahci.cpp:164:42: 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); | ^~~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:867, from /usr/include/c++/9/cstdio:42, from /usr/include/c++/9/ext/string_conversions.h:43, from /usr/include/c++/9/bits/basic_string.h:6493, from /usr/include/c++/9/string:55, from /usr/include/c++/9/bits/locale_classes.h:40, from /usr/include/c++/9/bits/ios_base.h:41, from /usr/include/c++/9/ios:42, from /usr/include/c++/9/ostream:38, from /usr/include/c++/9/iostream:39, from devices/ahci.cpp:25: /usr/include/riscv64-linux-gnu/bits/stdio2.h:67:35: note: ‘__builtin___snprintf_chk’ output between 18 and 4113 bytes into a destination of size 4096 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 68 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ devices/ahci.cpp:171:43: warning: ‘/ahci_alpm_partial’ directive output may be truncated writing 18 bytes into a region of size between 1 and 4096 [-Wformat-truncation=] 171 | snprintf(filename, sizeof(filename), "%s/ahci_alpm_partial", sysfs_path); | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:867, from /usr/include/c++/9/cstdio:42, from /usr/include/c++/9/ext/string_conversions.h:43, from /usr/include/c++/9/bits/basic_string.h:6493, from /usr/include/c++/9/string:55, from /usr/include/c++/9/bits/locale_classes.h:40, from /usr/include/c++/9/bits/ios_base.h:41, from /usr/include/c++/9/ios:42, from /usr/include/c++/9/ostream:38, from /usr/include/c++/9/iostream:39, from devices/ahci.cpp:25: /usr/include/riscv64-linux-gnu/bits/stdio2.h:67:35: note: ‘__builtin___snprintf_chk’ output between 19 and 4114 bytes into a destination of size 4096 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 68 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ devices/ahci.cpp:178:43: warning: ‘/ahci_alpm_slumber’ directive output may be truncated writing 18 bytes into a region of size between 1 and 4096 [-Wformat-truncation=] 178 | snprintf(filename, sizeof(filename), "%s/ahci_alpm_slumber", sysfs_path); | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:867, from /usr/include/c++/9/cstdio:42, from /usr/include/c++/9/ext/string_conversions.h:43, from /usr/include/c++/9/bits/basic_string.h:6493, from /usr/include/c++/9/string:55, from /usr/include/c++/9/bits/locale_classes.h:40, from /usr/include/c++/9/bits/ios_base.h:41, from /usr/include/c++/9/ios:42, from /usr/include/c++/9/ostream:38, from /usr/include/c++/9/iostream:39, from devices/ahci.cpp:25: /usr/include/riscv64-linux-gnu/bits/stdio2.h:67:35: note: ‘__builtin___snprintf_chk’ output between 19 and 4114 bytes into a destination of size 4096 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 68 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ devices/ahci.cpp:184:43: warning: ‘/ahci_alpm_devslp’ directive output may be truncated writing 17 bytes into a region of size between 1 and 4096 [-Wformat-truncation=] 184 | snprintf(filename, sizeof(filename), "%s/ahci_alpm_devslp", sysfs_path); | ^~~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:867, from /usr/include/c++/9/cstdio:42, from /usr/include/c++/9/ext/string_conversions.h:43, from /usr/include/c++/9/bits/basic_string.h:6493, from /usr/include/c++/9/string:55, from /usr/include/c++/9/bits/locale_classes.h:40, from /usr/include/c++/9/bits/ios_base.h:41, from /usr/include/c++/9/ios:42, from /usr/include/c++/9/ostream:38, from /usr/include/c++/9/iostream:39, from devices/ahci.cpp:25: /usr/include/riscv64-linux-gnu/bits/stdio2.h:67:35: note: ‘__builtin___snprintf_chk’ output between 18 and 4113 bytes into a destination of size 4096 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 68 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ g++ -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/share/locale\" -I/usr/include/libnl3 -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/riscv64-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/riscv64-linux-gnu -pthread -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -c -o devices/powertop-device.o `test -f 'devices/device.cpp' || echo './'`devices/device.cpp devices/alsa.cpp: In member function ‘virtual const char* alsa::human_name()’: devices/alsa.cpp:205:43: 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:867, from /usr/include/c++/9/cstdio:42, from /usr/include/c++/9/ext/string_conversions.h:43, from /usr/include/c++/9/bits/basic_string.h:6493, from /usr/include/c++/9/string:55, from /usr/include/c++/9/bits/locale_classes.h:40, from /usr/include/c++/9/bits/ios_base.h:41, from /usr/include/c++/9/ios:42, from /usr/include/c++/9/ostream:38, from /usr/include/c++/9/iostream:39, from devices/alsa.cpp:25: /usr/include/riscv64-linux-gnu/bits/stdio2.h:67:35: note: ‘__builtin___snprintf_chk’ output between 4 and 8194 bytes into a destination of size 4096 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 68 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/string.h:495, from devices/../parameters/parameters.h:33, from devices/alsa.h:30, from devices/alsa.cpp:35: In function ‘char* strncpy(char*, const char*, size_t)’, inlined from ‘void pt_strcpy(char (&)[N], const char*) [with long unsigned int N = 4096]’ at devices/../parameters/../lib.h:78:9, inlined from ‘alsa::alsa(const char*, const char*)’ at devices/alsa.cpp:54:11: /usr/include/riscv64-linux-gnu/bits/string_fortified.h:106:34: warning: ‘char* __builtin_strncpy(char*, const char*, long unsigned int)’ specified bound 4096 equals destination size [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ devices/backlight.cpp: In member function ‘virtual double backlight::power_usage(result_bundle*, parameter_bundle*)’: devices/backlight.cpp:217:25: warning: ‘-power’ directive writing 6 bytes into a region of size between 1 and 4096 [-Wformat-overflow=] 217 | sprintf(powername, "%s-power", name); | ^~~~~~ In file included from /usr/include/stdio.h:867, from /usr/include/c++/9/cstdio:42, from /usr/include/c++/9/ext/string_conversions.h:43, from /usr/include/c++/9/bits/basic_string.h:6493, from /usr/include/c++/9/string:55, from /usr/include/c++/9/bits/locale_classes.h:40, from /usr/include/c++/9/bits/ios_base.h:41, from /usr/include/c++/9/ios:42, from /usr/include/c++/9/ostream:38, from /usr/include/c++/9/iostream:39, from devices/backlight.cpp:25: /usr/include/riscv64-linux-gnu/bits/stdio2.h:36:34: note: ‘__builtin___sprintf_chk’ output between 7 and 4102 bytes into a destination of size 4096 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/string.h:495, from devices/../parameters/parameters.h:33, from devices/backlight.cpp:38: In function ‘char* strncpy(char*, const char*, size_t)’, inlined from ‘void pt_strcpy(char (&)[N], const char*) [with long unsigned int N = 4096]’ at devices/../parameters/../lib.h:78:9, inlined from ‘backlight::backlight(const char*, const char*)’ at devices/backlight.cpp:49:11: /usr/include/riscv64-linux-gnu/bits/string_fortified.h:106:34: warning: ‘char* __builtin_strncpy(char*, const char*, long unsigned int)’ specified bound 4096 equals destination size [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ devices/backlight.cpp: In member function ‘virtual void backlight::start_measurement()’: devices/backlight.cpp:61:42: 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); | ^~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:867, from /usr/include/c++/9/cstdio:42, from /usr/include/c++/9/ext/string_conversions.h:43, from /usr/include/c++/9/bits/basic_string.h:6493, from /usr/include/c++/9/string:55, from /usr/include/c++/9/bits/locale_classes.h:40, from /usr/include/c++/9/bits/ios_base.h:41, from /usr/include/c++/9/ios:42, from /usr/include/c++/9/ostream:38, from /usr/include/c++/9/iostream:39, from devices/backlight.cpp:25: /usr/include/riscv64-linux-gnu/bits/stdio2.h:67:35: note: ‘__builtin___snprintf_chk’ output between 16 and 4111 bytes into a destination of size 4096 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 68 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ devices/backlight.cpp:68:42: warning: ‘/actual_brightness’ directive output may be truncated writing 18 bytes into a region of size between 1 and 4096 [-Wformat-truncation=] 68 | snprintf(filename, sizeof(filename), "%s/actual_brightness", sysfs_path); | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:867, from /usr/include/c++/9/cstdio:42, from /usr/include/c++/9/ext/string_conversions.h:43, from /usr/include/c++/9/bits/basic_string.h:6493, from /usr/include/c++/9/string:55, from /usr/include/c++/9/bits/locale_classes.h:40, from /usr/include/c++/9/bits/ios_base.h:41, from /usr/include/c++/9/ios:42, from /usr/include/c++/9/ostream:38, from /usr/include/c++/9/iostream:39, from devices/backlight.cpp:25: /usr/include/riscv64-linux-gnu/bits/stdio2.h:67:35: note: ‘__builtin___snprintf_chk’ output between 19 and 4114 bytes into a destination of size 4096 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 68 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ devices/alsa.cpp: In member function ‘virtual void alsa::start_measurement()’: devices/alsa.cpp:89:42: 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 file included from /usr/include/stdio.h:867, from /usr/include/c++/9/cstdio:42, from /usr/include/c++/9/ext/string_conversions.h:43, from /usr/include/c++/9/bits/basic_string.h:6493, from /usr/include/c++/9/string:55, from /usr/include/c++/9/bits/locale_classes.h:40, from /usr/include/c++/9/bits/ios_base.h:41, from /usr/include/c++/9/ios:42, from /usr/include/c++/9/ostream:38, from /usr/include/c++/9/iostream:39, from devices/alsa.cpp:25: /usr/include/riscv64-linux-gnu/bits/stdio2.h:67:35: note: ‘__builtin___snprintf_chk’ output between 16 and 4111 bytes into a destination of size 4096 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 68 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ devices/alsa.cpp:96:43: 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 file included from /usr/include/stdio.h:867, from /usr/include/c++/9/cstdio:42, from /usr/include/c++/9/ext/string_conversions.h:43, from /usr/include/c++/9/bits/basic_string.h:6493, from /usr/include/c++/9/string:55, from /usr/include/c++/9/bits/locale_classes.h:40, from /usr/include/c++/9/bits/ios_base.h:41, from /usr/include/c++/9/ios:42, from /usr/include/c++/9/ostream:38, from /usr/include/c++/9/iostream:39, from devices/alsa.cpp:25: /usr/include/riscv64-linux-gnu/bits/stdio2.h:67:35: note: ‘__builtin___snprintf_chk’ output between 15 and 4110 bytes into a destination of size 4096 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 68 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ devices/backlight.cpp: In member function ‘virtual void backlight::end_measurement()’: devices/backlight.cpp:125:42: 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); | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:867, from /usr/include/c++/9/cstdio:42, from /usr/include/c++/9/ext/string_conversions.h:43, from /usr/include/c++/9/bits/basic_string.h:6493, from /usr/include/c++/9/string:55, from /usr/include/c++/9/bits/locale_classes.h:40, from /usr/include/c++/9/bits/ios_base.h:41, from /usr/include/c++/9/ios:42, from /usr/include/c++/9/ostream:38, from /usr/include/c++/9/iostream:39, from devices/backlight.cpp:25: /usr/include/riscv64-linux-gnu/bits/stdio2.h:67:35: note: ‘__builtin___snprintf_chk’ output between 19 and 4114 bytes into a destination of size 4096 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 68 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ devices/backlight.cpp:140:44: warning: ‘-power’ directive output may be truncated writing 6 bytes into a region of size between 1 and 4096 [-Wformat-truncation=] 140 | snprintf(powername, sizeof(powername), "%s-power", name); | ^~~~~~ In file included from /usr/include/stdio.h:867, from /usr/include/c++/9/cstdio:42, from /usr/include/c++/9/ext/string_conversions.h:43, from /usr/include/c++/9/bits/basic_string.h:6493, from /usr/include/c++/9/string:55, from /usr/include/c++/9/bits/locale_classes.h:40, from /usr/include/c++/9/bits/ios_base.h:41, from /usr/include/c++/9/ios:42, from /usr/include/c++/9/ostream:38, from /usr/include/c++/9/iostream:39, from devices/backlight.cpp:25: /usr/include/riscv64-linux-gnu/bits/stdio2.h:67:35: note: ‘__builtin___snprintf_chk’ output between 7 and 4102 bytes into a destination of size 4096 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 68 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ devices/alsa.cpp: In member function ‘virtual void alsa::end_measurement()’: devices/alsa.cpp:115:42: 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 file included from /usr/include/stdio.h:867, from /usr/include/c++/9/cstdio:42, from /usr/include/c++/9/ext/string_conversions.h:43, from /usr/include/c++/9/bits/basic_string.h:6493, from /usr/include/c++/9/string:55, from /usr/include/c++/9/bits/locale_classes.h:40, from /usr/include/c++/9/bits/ios_base.h:41, from /usr/include/c++/9/ios:42, from /usr/include/c++/9/ostream:38, from /usr/include/c++/9/iostream:39, from devices/alsa.cpp:25: /usr/include/riscv64-linux-gnu/bits/stdio2.h:67:35: note: ‘__builtin___snprintf_chk’ output between 16 and 4111 bytes into a destination of size 4096 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 68 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ devices/alsa.cpp:122:43: 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 file included from /usr/include/stdio.h:867, from /usr/include/c++/9/cstdio:42, from /usr/include/c++/9/ext/string_conversions.h:43, from /usr/include/c++/9/bits/basic_string.h:6493, from /usr/include/c++/9/string:55, from /usr/include/c++/9/bits/locale_classes.h:40, from /usr/include/c++/9/bits/ios_base.h:41, from /usr/include/c++/9/ios:42, from /usr/include/c++/9/ostream:38, from /usr/include/c++/9/iostream:39, from devices/alsa.cpp:25: /usr/include/riscv64-linux-gnu/bits/stdio2.h:67:35: note: ‘__builtin___snprintf_chk’ output between 15 and 4110 bytes into a destination of size 4096 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 68 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/string.h:495, from devices/../parameters/parameters.h:33, from devices/devfreq.h:29, from devices/devfreq.cpp:35: In function ‘char* strncpy(char*, const char*, size_t)’, inlined from ‘void pt_strcpy(char (&)[N], const char*) [with long unsigned int N = 128]’ at devices/../parameters/../lib.h:78:9, inlined from ‘devfreq::devfreq(const char*)’ at devices/devfreq.cpp:48:11: /usr/include/riscv64-linux-gnu/bits/string_fortified.h:106:34: warning: ‘char* __builtin_strncpy(char*, const char*, long unsigned int)’ specified bound 128 equals destination size [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ g++ -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/share/locale\" -I/usr/include/libnl3 -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/riscv64-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/riscv64-linux-gnu -pthread -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -c -o devices/powertop-gpu_rapl_device.o `test -f 'devices/gpu_rapl_device.cpp' || echo './'`devices/gpu_rapl_device.cpp g++ -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/share/locale\" -I/usr/include/libnl3 -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/riscv64-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/riscv64-linux-gnu -pthread -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -c -o devices/powertop-i915-gpu.o `test -f 'devices/i915-gpu.cpp' || echo './'`devices/i915-gpu.cpp g++ -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/share/locale\" -I/usr/include/libnl3 -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/riscv64-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/riscv64-linux-gnu -pthread -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -c -o devices/powertop-network.o `test -f 'devices/network.cpp' || echo './'`devices/network.cpp devices/device.cpp: In member function ‘void device::register_sysfs_path(const char*)’: devices/device.cpp:75:45: 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:867, from devices/device.cpp:29: /usr/include/riscv64-linux-gnu/bits/stdio2.h:67:35: note: ‘__builtin___snprintf_chk’ output between 8 and 4104 bytes into a destination of size 4097 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 68 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ g++ -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/share/locale\" -I/usr/include/libnl3 -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/riscv64-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/riscv64-linux-gnu -pthread -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -c -o devices/powertop-rfkill.o `test -f 'devices/rfkill.cpp' || echo './'`devices/rfkill.cpp g++ -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/share/locale\" -I/usr/include/libnl3 -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/riscv64-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/riscv64-linux-gnu -pthread -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -c -o devices/powertop-runtime_pm.o `test -f 'devices/runtime_pm.cpp' || echo './'`devices/runtime_pm.cpp g++ -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/share/locale\" -I/usr/include/libnl3 -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/riscv64-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/riscv64-linux-gnu -pthread -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -c -o devices/powertop-thinkpad-fan.o `test -f 'devices/thinkpad-fan.cpp' || echo './'`devices/thinkpad-fan.cpp In file included from /usr/include/string.h:495, from devices/../parameters/parameters.h:33, from devices/network.h:32, from devices/network.cpp:42: In function ‘char* strncpy(char*, const char*, size_t)’, inlined from ‘void pt_strcpy(char (&)[N], const char*) [with long unsigned int N = 4096]’ at devices/../parameters/../lib.h:78:9, inlined from ‘network::network(const char*, const char*)’ at devices/network.cpp:144:11: /usr/include/riscv64-linux-gnu/bits/string_fortified.h:106:34: warning: ‘char* __builtin_strncpy(char*, const char*, long unsigned int)’ specified bound 4096 equals destination size [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/string.h:495, from devices/../parameters/parameters.h:33, from devices/rfkill.h:31, from devices/rfkill.cpp:38: In function ‘char* strncpy(char*, const char*, size_t)’, inlined from ‘void pt_strcpy(char (&)[N], const char*) [with long unsigned int N = 4096]’ at devices/../parameters/../lib.h:78:9, inlined from ‘rfkill::rfkill(char*, char*)’ at devices/rfkill.cpp:53:11: /usr/include/riscv64-linux-gnu/bits/string_fortified.h:106:34: warning: ‘char* __builtin_strncpy(char*, const char*, long unsigned int)’ specified bound 4096 equals destination size [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ devices/rfkill.cpp: In member function ‘virtual void rfkill::start_measurement()’: devices/rfkill.cpp:83:42: 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 file included from /usr/include/stdio.h:867, from /usr/include/c++/9/cstdio:42, from /usr/include/c++/9/ext/string_conversions.h:43, from /usr/include/c++/9/bits/basic_string.h:6493, from /usr/include/c++/9/string:55, from /usr/include/c++/9/bits/locale_classes.h:40, from /usr/include/c++/9/bits/ios_base.h:41, from /usr/include/c++/9/ios:42, from /usr/include/c++/9/ostream:38, from /usr/include/c++/9/iostream:39, from devices/rfkill.cpp:25: /usr/include/riscv64-linux-gnu/bits/stdio2.h:67:35: note: ‘__builtin___snprintf_chk’ output between 6 and 4101 bytes into a destination of size 4096 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 68 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ devices/rfkill.cpp:90:42: 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 file included from /usr/include/stdio.h:867, from /usr/include/c++/9/cstdio:42, from /usr/include/c++/9/ext/string_conversions.h:43, from /usr/include/c++/9/bits/basic_string.h:6493, from /usr/include/c++/9/string:55, from /usr/include/c++/9/bits/locale_classes.h:40, from /usr/include/c++/9/bits/ios_base.h:41, from /usr/include/c++/9/ios:42, from /usr/include/c++/9/ostream:38, from /usr/include/c++/9/iostream:39, from devices/rfkill.cpp:25: /usr/include/riscv64-linux-gnu/bits/stdio2.h:67:35: note: ‘__builtin___snprintf_chk’ output between 6 and 4101 bytes into a destination of size 4096 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 68 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ devices/rfkill.cpp: In member function ‘virtual void rfkill::end_measurement()’: devices/rfkill.cpp:103:42: 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:867, from /usr/include/c++/9/cstdio:42, from /usr/include/c++/9/ext/string_conversions.h:43, from /usr/include/c++/9/bits/basic_string.h:6493, from /usr/include/c++/9/string:55, from /usr/include/c++/9/bits/locale_classes.h:40, from /usr/include/c++/9/bits/ios_base.h:41, from /usr/include/c++/9/ios:42, from /usr/include/c++/9/ostream:38, from /usr/include/c++/9/iostream:39, from devices/rfkill.cpp:25: /usr/include/riscv64-linux-gnu/bits/stdio2.h:67:35: note: ‘__builtin___snprintf_chk’ output between 6 and 4101 bytes into a destination of size 4096 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 68 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ devices/rfkill.cpp:109:42: 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 file included from /usr/include/stdio.h:867, from /usr/include/c++/9/cstdio:42, from /usr/include/c++/9/ext/string_conversions.h:43, from /usr/include/c++/9/bits/basic_string.h:6493, from /usr/include/c++/9/string:55, from /usr/include/c++/9/bits/locale_classes.h:40, from /usr/include/c++/9/bits/ios_base.h:41, from /usr/include/c++/9/ios:42, from /usr/include/c++/9/ostream:38, from /usr/include/c++/9/iostream:39, from devices/rfkill.cpp:25: /usr/include/riscv64-linux-gnu/bits/stdio2.h:67:35: note: ‘__builtin___snprintf_chk’ output between 6 and 4101 bytes into a destination of size 4096 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 68 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ g++ -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/share/locale\" -I/usr/include/libnl3 -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/riscv64-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/riscv64-linux-gnu -pthread -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -c -o devices/powertop-thinkpad-light.o `test -f 'devices/thinkpad-light.cpp' || echo './'`devices/thinkpad-light.cpp g++ -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/share/locale\" -I/usr/include/libnl3 -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/riscv64-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/riscv64-linux-gnu -pthread -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -c -o devices/powertop-usb.o `test -f 'devices/usb.cpp' || echo './'`devices/usb.cpp In file included from /usr/include/string.h:495, from devices/../parameters/parameters.h:33, from devices/runtime_pm.h:31, from devices/runtime_pm.cpp:25: In function ‘char* strncpy(char*, const char*, size_t)’, inlined from ‘void pt_strcpy(char (&)[N], const char*) [with long unsigned int N = 4096]’ at devices/../parameters/../lib.h:78:9, inlined from ‘runtime_pmdevice::runtime_pmdevice(const char*, const char*)’ at devices/runtime_pm.cpp:43:11: /usr/include/riscv64-linux-gnu/bits/string_fortified.h:106:34: warning: ‘char* __builtin_strncpy(char*, const char*, long unsigned int)’ specified bound 4096 equals destination size [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function ‘char* strncpy(char*, const char*, size_t)’, inlined from ‘void pt_strcpy(char (&)[N], const char*) [with long unsigned int N = 4096]’ at devices/../parameters/../lib.h:78:9, inlined from ‘runtime_pmdevice::runtime_pmdevice(const char*, const char*)’ at devices/runtime_pm.cpp:45:11: /usr/include/riscv64-linux-gnu/bits/string_fortified.h:106:34: warning: ‘char* __builtin_strncpy(char*, const char*, long unsigned int)’ specified bound 4096 equals destination size [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function ‘char* strncpy(char*, const char*, size_t)’, inlined from ‘void pt_strcpy(char (&)[N], const char*) [with long unsigned int N = 4096]’ at devices/../parameters/../lib.h:78:9, inlined from ‘void runtime_pmdevice::set_human_name(char*)’ at devices/runtime_pm.cpp:144:11: /usr/include/riscv64-linux-gnu/bits/string_fortified.h:106:34: warning: ‘char* __builtin_strncpy(char*, const char*, long unsigned int)’ specified bound 4096 equals destination size [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ devices/runtime_pm.cpp: In member function ‘virtual void runtime_pmdevice::end_measurement()’: devices/runtime_pm.cpp:89:42: 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 file included from /usr/include/stdio.h:867, from /usr/include/c++/9/cstdio:42, from /usr/include/c++/9/ext/string_conversions.h:43, from /usr/include/c++/9/bits/basic_string.h:6493, from /usr/include/c++/9/string:55, from /usr/include/c++/9/stdexcept:39, from /usr/include/c++/9/array:39, from /usr/include/c++/9/tuple:39, from /usr/include/c++/9/bits/stl_map.h:63, from /usr/include/c++/9/map:61, from devices/../parameters/parameters.h:29, from devices/runtime_pm.h:31, from devices/runtime_pm.cpp:25: /usr/include/riscv64-linux-gnu/bits/stdio2.h:67:35: note: ‘__builtin___snprintf_chk’ output between 30 and 4125 bytes into a destination of size 4096 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 68 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ devices/runtime_pm.cpp:96:42: 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 file included from /usr/include/stdio.h:867, from /usr/include/c++/9/cstdio:42, from /usr/include/c++/9/ext/string_conversions.h:43, from /usr/include/c++/9/bits/basic_string.h:6493, from /usr/include/c++/9/string:55, from /usr/include/c++/9/stdexcept:39, from /usr/include/c++/9/array:39, from /usr/include/c++/9/tuple:39, from /usr/include/c++/9/bits/stl_map.h:63, from /usr/include/c++/9/map:61, from devices/../parameters/parameters.h:29, from devices/runtime_pm.h:31, from devices/runtime_pm.cpp:25: /usr/include/riscv64-linux-gnu/bits/stdio2.h:67:35: note: ‘__builtin___snprintf_chk’ output between 27 and 4122 bytes into a destination of size 4096 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 68 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ devices/runtime_pm.cpp: In member function ‘virtual void runtime_pmdevice::start_measurement()’: devices/runtime_pm.cpp:69:42: 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:867, from /usr/include/c++/9/cstdio:42, from /usr/include/c++/9/ext/string_conversions.h:43, from /usr/include/c++/9/bits/basic_string.h:6493, from /usr/include/c++/9/string:55, from /usr/include/c++/9/stdexcept:39, from /usr/include/c++/9/array:39, from /usr/include/c++/9/tuple:39, from /usr/include/c++/9/bits/stl_map.h:63, from /usr/include/c++/9/map:61, from devices/../parameters/parameters.h:29, from devices/runtime_pm.h:31, from devices/runtime_pm.cpp:25: /usr/include/riscv64-linux-gnu/bits/stdio2.h:67:35: note: ‘__builtin___snprintf_chk’ output between 30 and 4125 bytes into a destination of size 4096 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 68 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ devices/runtime_pm.cpp:76:42: 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:867, from /usr/include/c++/9/cstdio:42, from /usr/include/c++/9/ext/string_conversions.h:43, from /usr/include/c++/9/bits/basic_string.h:6493, from /usr/include/c++/9/string:55, from /usr/include/c++/9/stdexcept:39, from /usr/include/c++/9/array:39, from /usr/include/c++/9/tuple:39, from /usr/include/c++/9/bits/stl_map.h:63, from /usr/include/c++/9/map:61, from devices/../parameters/parameters.h:29, from devices/runtime_pm.h:31, from devices/runtime_pm.cpp:25: /usr/include/riscv64-linux-gnu/bits/stdio2.h:67:35: note: ‘__builtin___snprintf_chk’ output between 27 and 4122 bytes into a destination of size 4096 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 68 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ g++ -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/share/locale\" -I/usr/include/libnl3 -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/riscv64-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/riscv64-linux-gnu -pthread -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -c -o measurement/powertop-acpi.o `test -f 'measurement/acpi.cpp' || echo './'`measurement/acpi.cpp g++ -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/share/locale\" -I/usr/include/libnl3 -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/riscv64-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/riscv64-linux-gnu -pthread -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -c -o measurement/powertop-extech.o `test -f 'measurement/extech.cpp' || echo './'`measurement/extech.cpp In file included from /usr/include/string.h:495, from devices/../parameters/parameters.h:33, from devices/usb.h:31, from devices/usb.cpp:25: In function ‘char* strncpy(char*, const char*, size_t)’, inlined from ‘void pt_strcpy(char (&)[N], const char*) [with long unsigned int N = 4096]’ at devices/../parameters/../lib.h:78:9, inlined from ‘usbdevice::usbdevice(const char*, const char*, const char*)’ at devices/usb.cpp:47:11: /usr/include/riscv64-linux-gnu/bits/string_fortified.h:106:34: warning: ‘char* __builtin_strncpy(char*, const char*, long unsigned int)’ specified bound 4096 equals destination size [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function ‘char* strncpy(char*, const char*, size_t)’, inlined from ‘void pt_strcpy(char (&)[N], const char*) [with long unsigned int N = 4096]’ at devices/../parameters/../lib.h:78:9, inlined from ‘usbdevice::usbdevice(const char*, const char*, const char*)’ at devices/usb.cpp:49:11: /usr/include/riscv64-linux-gnu/bits/string_fortified.h:106:34: warning: ‘char* __builtin_strncpy(char*, const char*, long unsigned int)’ specified bound 4096 equals destination size [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function ‘char* strncpy(char*, const char*, size_t)’, inlined from ‘void pt_strcpy(char (&)[N], const char*) [with long unsigned int N = 4096]’ at devices/../parameters/../lib.h:78:9, inlined from ‘usbdevice::usbdevice(const char*, const char*, const char*)’ at devices/usb.cpp:50:11: /usr/include/riscv64-linux-gnu/bits/string_fortified.h:106:34: warning: ‘char* __builtin_strncpy(char*, const char*, long unsigned int)’ specified bound 4096 equals destination size [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ devices/usb.cpp: In member function ‘virtual void usbdevice::start_measurement()’: devices/usb.cpp:129:42: 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:867, from /usr/include/c++/9/cstdio:42, from /usr/include/c++/9/ext/string_conversions.h:43, from /usr/include/c++/9/bits/basic_string.h:6493, from /usr/include/c++/9/string:55, from /usr/include/c++/9/stdexcept:39, from /usr/include/c++/9/array:39, from /usr/include/c++/9/tuple:39, from /usr/include/c++/9/bits/stl_map.h:63, from /usr/include/c++/9/map:61, from devices/../parameters/parameters.h:29, from devices/usb.h:31, from devices/usb.cpp:25: /usr/include/riscv64-linux-gnu/bits/stdio2.h:67:35: note: ‘__builtin___snprintf_chk’ output between 23 and 4118 bytes into a destination of size 4096 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 68 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ devices/usb.cpp:136:42: 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 file included from /usr/include/stdio.h:867, from /usr/include/c++/9/cstdio:42, from /usr/include/c++/9/ext/string_conversions.h:43, from /usr/include/c++/9/bits/basic_string.h:6493, from /usr/include/c++/9/string:55, from /usr/include/c++/9/stdexcept:39, from /usr/include/c++/9/array:39, from /usr/include/c++/9/tuple:39, from /usr/include/c++/9/bits/stl_map.h:63, from /usr/include/c++/9/map:61, from devices/../parameters/parameters.h:29, from devices/usb.h:31, from devices/usb.cpp:25: /usr/include/riscv64-linux-gnu/bits/stdio2.h:67:35: note: ‘__builtin___snprintf_chk’ output between 26 and 4121 bytes into a destination of size 4096 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 68 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ devices/usb.cpp: In member function ‘virtual void usbdevice::end_measurement()’: devices/usb.cpp:149:42: 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); | ^~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:867, from /usr/include/c++/9/cstdio:42, from /usr/include/c++/9/ext/string_conversions.h:43, from /usr/include/c++/9/bits/basic_string.h:6493, from /usr/include/c++/9/string:55, from /usr/include/c++/9/stdexcept:39, from /usr/include/c++/9/array:39, from /usr/include/c++/9/tuple:39, from /usr/include/c++/9/bits/stl_map.h:63, from /usr/include/c++/9/map:61, from devices/../parameters/parameters.h:29, from devices/usb.h:31, from devices/usb.cpp:25: /usr/include/riscv64-linux-gnu/bits/stdio2.h:67:35: note: ‘__builtin___snprintf_chk’ output between 23 and 4118 bytes into a destination of size 4096 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 68 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ devices/usb.cpp:156:42: warning: ‘/power/connected_duration’ directive output may be truncated writing 25 bytes into a region of size between 1 and 4096 [-Wformat-truncation=] 156 | snprintf(fullpath, sizeof(fullpath), "%s/power/connected_duration", sysfs_path); | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:867, from /usr/include/c++/9/cstdio:42, from /usr/include/c++/9/ext/string_conversions.h:43, from /usr/include/c++/9/bits/basic_string.h:6493, from /usr/include/c++/9/string:55, from /usr/include/c++/9/stdexcept:39, from /usr/include/c++/9/array:39, from /usr/include/c++/9/tuple:39, from /usr/include/c++/9/bits/stl_map.h:63, from /usr/include/c++/9/map:61, from devices/../parameters/parameters.h:29, from devices/usb.h:31, from devices/usb.cpp:25: /usr/include/riscv64-linux-gnu/bits/stdio2.h:67:35: note: ‘__builtin___snprintf_chk’ output between 26 and 4121 bytes into a destination of size 4096 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 68 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/string.h:495, from measurement/acpi.cpp:29: In function ‘char* strncpy(char*, const char*, size_t)’, inlined from ‘void pt_strcpy(char (&)[N], const char*) [with long unsigned int N = 256]’ at measurement/../lib.h:78:9, inlined from ‘acpi_power_meter::acpi_power_meter(const char*)’ at measurement/acpi.cpp:42:11: /usr/include/riscv64-linux-gnu/bits/string_fortified.h:106:34: warning: ‘char* __builtin_strncpy(char*, const char*, long unsigned int)’ specified bound 256 equals destination size [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ devices/usb.cpp: In function ‘void create_all_usb_devices_callback(const char*)’: devices/usb.cpp:226:48: 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); | ^~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:867, from /usr/include/c++/9/cstdio:42, from /usr/include/c++/9/ext/string_conversions.h:43, from /usr/include/c++/9/bits/basic_string.h:6493, from /usr/include/c++/9/string:55, from /usr/include/c++/9/stdexcept:39, from /usr/include/c++/9/array:39, from /usr/include/c++/9/tuple:39, from /usr/include/c++/9/bits/stl_map.h:63, from /usr/include/c++/9/map:61, from devices/../parameters/parameters.h:29, from devices/usb.h:31, from devices/usb.cpp:25: /usr/include/riscv64-linux-gnu/bits/stdio2.h:67:35: note: ‘__builtin___snprintf_chk’ output between 23 and 4118 bytes into a destination of size 4096 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 68 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ devices/usb.cpp:230:48: warning: ‘/idVendor’ directive output may be truncated writing 9 bytes into a region of size between 1 and 4096 [-Wformat-truncation=] 230 | snprintf(device_name, sizeof(device_name), "%s/idVendor", filename); | ^~~~~~~~~ In file included from /usr/include/stdio.h:867, from /usr/include/c++/9/cstdio:42, from /usr/include/c++/9/ext/string_conversions.h:43, from /usr/include/c++/9/bits/basic_string.h:6493, from /usr/include/c++/9/string:55, from /usr/include/c++/9/stdexcept:39, from /usr/include/c++/9/array:39, from /usr/include/c++/9/tuple:39, from /usr/include/c++/9/bits/stl_map.h:63, from /usr/include/c++/9/map:61, from devices/../parameters/parameters.h:29, from devices/usb.h:31, from devices/usb.cpp:25: /usr/include/riscv64-linux-gnu/bits/stdio2.h:67:35: note: ‘__builtin___snprintf_chk’ output between 10 and 4105 bytes into a destination of size 4096 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 68 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ devices/usb.cpp:235:48: warning: ‘/idProduct’ directive output may be truncated writing 10 bytes into a region of size between 1 and 4096 [-Wformat-truncation=] 235 | snprintf(device_name, sizeof(device_name), "%s/idProduct", filename); | ^~~~~~~~~~ In file included from /usr/include/stdio.h:867, from /usr/include/c++/9/cstdio:42, from /usr/include/c++/9/ext/string_conversions.h:43, from /usr/include/c++/9/bits/basic_string.h:6493, from /usr/include/c++/9/string:55, from /usr/include/c++/9/stdexcept:39, from /usr/include/c++/9/array:39, from /usr/include/c++/9/tuple:39, from /usr/include/c++/9/bits/stl_map.h:63, from /usr/include/c++/9/map:61, from devices/../parameters/parameters.h:29, from devices/usb.h:31, from devices/usb.cpp:25: /usr/include/riscv64-linux-gnu/bits/stdio2.h:67:35: note: ‘__builtin___snprintf_chk’ output between 11 and 4106 bytes into a destination of size 4096 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 68 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ g++ -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/share/locale\" -I/usr/include/libnl3 -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/riscv64-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/riscv64-linux-gnu -pthread -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -c -o measurement/powertop-measurement.o `test -f 'measurement/measurement.cpp' || echo './'`measurement/measurement.cpp In file included from /usr/include/string.h:495, from measurement/extech.cpp:40: In function ‘char* strncpy(char*, const char*, size_t)’, inlined from ‘void pt_strcpy(char (&)[N], const char*) [with long unsigned int N = 256]’ at measurement/../lib.h:78:9, inlined from ‘extech_power_meter::extech_power_meter(const char*)’ at measurement/extech.cpp:272:11: /usr/include/riscv64-linux-gnu/bits/string_fortified.h:106:34: warning: ‘char* __builtin_strncpy(char*, const char*, long unsigned int)’ specified bound 256 equals destination size [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ g++ -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/share/locale\" -I/usr/include/libnl3 -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/riscv64-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/riscv64-linux-gnu -pthread -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -c -o measurement/powertop-sysfs.o `test -f 'measurement/sysfs.cpp' || echo './'`measurement/sysfs.cpp g++ -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/share/locale\" -I/usr/include/libnl3 -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/riscv64-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/riscv64-linux-gnu -pthread -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -c -o measurement/powertop-opal-sensors.o `test -f 'measurement/opal-sensors.cpp' || echo './'`measurement/opal-sensors.cpp g++ -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/share/locale\" -I/usr/include/libnl3 -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/riscv64-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/riscv64-linux-gnu -pthread -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -c -o parameters/powertop-learn.o `test -f 'parameters/learn.cpp' || echo './'`parameters/learn.cpp In file included from /usr/include/string.h:495, from /usr/include/c++/9/cstring:42, from measurement/../lib.h:31, from measurement/sysfs.cpp:27: In function ‘char* strncpy(char*, const char*, size_t)’, inlined from ‘void pt_strcpy(char (&)[N], const char*) [with long unsigned int N = 256]’ at measurement/../lib.h:78:9, inlined from ‘sysfs_power_meter::sysfs_power_meter(const char*)’ at measurement/sysfs.cpp:36:11: /usr/include/riscv64-linux-gnu/bits/string_fortified.h:106:34: warning: ‘char* __builtin_strncpy(char*, const char*, long unsigned int)’ specified bound 256 equals destination size [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ g++ -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/share/locale\" -I/usr/include/libnl3 -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/riscv64-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/riscv64-linux-gnu -pthread -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -c -o parameters/powertop-parameters.o `test -f 'parameters/parameters.cpp' || echo './'`parameters/parameters.cpp g++ -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/share/locale\" -I/usr/include/libnl3 -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/riscv64-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/riscv64-linux-gnu -pthread -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -c -o parameters/powertop-persistent.o `test -f 'parameters/persistent.cpp' || echo './'`parameters/persistent.cpp g++ -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/share/locale\" -I/usr/include/libnl3 -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/riscv64-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/riscv64-linux-gnu -pthread -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -c -o perf/powertop-perf.o `test -f 'perf/perf.cpp' || echo './'`perf/perf.cpp g++ -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/share/locale\" -I/usr/include/libnl3 -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/riscv64-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/riscv64-linux-gnu -pthread -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -c -o perf/powertop-perf_bundle.o `test -f 'perf/perf_bundle.cpp' || echo './'`perf/perf_bundle.cpp g++ -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/share/locale\" -I/usr/include/libnl3 -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/riscv64-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/riscv64-linux-gnu -pthread -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -c -o process/powertop-do_process.o `test -f 'process/do_process.cpp' || echo './'`process/do_process.cpp g++ -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/share/locale\" -I/usr/include/libnl3 -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/riscv64-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/riscv64-linux-gnu -pthread -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -c -o process/powertop-interrupt.o `test -f 'process/interrupt.cpp' || echo './'`process/interrupt.cpp g++ -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/share/locale\" -I/usr/include/libnl3 -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/riscv64-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/riscv64-linux-gnu -pthread -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -c -o process/powertop-powerconsumer.o `test -f 'process/powerconsumer.cpp' || echo './'`process/powerconsumer.cpp g++ -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/share/locale\" -I/usr/include/libnl3 -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/riscv64-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/riscv64-linux-gnu -pthread -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -c -o process/powertop-process.o `test -f 'process/process.cpp' || echo './'`process/process.cpp In file included from /usr/include/string.h:495, from process/interrupt.cpp:26: In function ‘char* strncpy(char*, const char*, size_t)’, inlined from ‘void pt_strcpy(char (&)[N], const char*) [with long unsigned int N = 32]’ at process/../lib.h:78:9, inlined from ‘interrupt::interrupt(const char*, int)’ at process/interrupt.cpp:52:11: /usr/include/riscv64-linux-gnu/bits/string_fortified.h:106:34: warning: ‘char* __builtin_strncpy(char*, const char*, long unsigned int)’ specified bound 32 equals destination size [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ g++ -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/share/locale\" -I/usr/include/libnl3 -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/riscv64-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/riscv64-linux-gnu -pthread -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -c -o process/powertop-processdevice.o `test -f 'process/processdevice.cpp' || echo './'`process/processdevice.cpp g++ -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/share/locale\" -I/usr/include/libnl3 -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/riscv64-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/riscv64-linux-gnu -pthread -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -c -o process/powertop-timer.o `test -f 'process/timer.cpp' || echo './'`process/timer.cpp In file included from /usr/include/string.h:495, from process/process.cpp:29: In function ‘char* strncpy(char*, const char*, size_t)’, inlined from ‘void pt_strcpy(char (&)[N], const char*) [with long unsigned int N = 16]’ at process/../lib.h:78:9, inlined from ‘process::process(const char*, int, int)’ at process/process.cpp:94:11: /usr/include/riscv64-linux-gnu/bits/string_fortified.h:106:34: warning: ‘char* __builtin_strncpy(char*, const char*, long unsigned int)’ specified bound 16 equals destination size [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function ‘char* strncpy(char*, const char*, size_t)’, inlined from ‘process::process(const char*, int, int)’ at process/process.cpp:147:11: /usr/include/riscv64-linux-gnu/bits/string_fortified.h:106:34: warning: ‘char* __builtin_strncpy(char*, const char*, long unsigned int)’ output may be truncated copying between 237 and 247 bytes from a string of length 4096 [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ g++ -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/share/locale\" -I/usr/include/libnl3 -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/riscv64-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/riscv64-linux-gnu -pthread -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -c -o process/powertop-work.o `test -f 'process/work.cpp' || echo './'`process/work.cpp g++ -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/share/locale\" -I/usr/include/libnl3 -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/riscv64-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/riscv64-linux-gnu -pthread -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -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 /usr/include/string.h:495, from process/timer.cpp:29: In function ‘char* strncpy(char*, const char*, size_t)’, inlined from ‘void pt_strcpy(char (&)[N], const char*) [with long unsigned int N = 32]’ at process/../lib.h:78:9, inlined from ‘timer::timer(long unsigned int)’ at process/timer.cpp:64:11: /usr/include/riscv64-linux-gnu/bits/string_fortified.h:106:34: warning: ‘char* __builtin_strncpy(char*, const char*, long unsigned int)’ specified bound 32 equals destination size [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ g++ -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/share/locale\" -I/usr/include/libnl3 -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/riscv64-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/riscv64-linux-gnu -pthread -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -c -o report/powertop-report-formatter-base.o `test -f 'report/report-formatter-base.cpp' || echo './'`report/report-formatter-base.cpp g++ -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/share/locale\" -I/usr/include/libnl3 -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/riscv64-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/riscv64-linux-gnu -pthread -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -c -o report/powertop-report-formatter-csv.o `test -f 'report/report-formatter-csv.cpp' || echo './'`report/report-formatter-csv.cpp g++ -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/share/locale\" -I/usr/include/libnl3 -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/riscv64-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/riscv64-linux-gnu -pthread -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -c -o report/powertop-report-formatter-html.o `test -f 'report/report-formatter-html.cpp' || echo './'`report/report-formatter-html.cpp In file included from /usr/include/string.h:495, from process/work.cpp:29: In function ‘char* strncpy(char*, const char*, size_t)’, inlined from ‘void pt_strcpy(char (&)[N], const char*) [with long unsigned int N = 32]’ at process/../lib.h:78:9, inlined from ‘work::work(long unsigned int)’ at process/work.cpp:41:11: /usr/include/riscv64-linux-gnu/bits/string_fortified.h:106:34: warning: ‘char* __builtin_strncpy(char*, const char*, long unsigned int)’ specified bound 32 equals destination size [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ g++ -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/share/locale\" -I/usr/include/libnl3 -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/riscv64-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/riscv64-linux-gnu -pthread -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -c -o report/powertop-report-maker.o `test -f 'report/report-maker.cpp' || echo './'`report/report-maker.cpp g++ -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/share/locale\" -I/usr/include/libnl3 -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/riscv64-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/riscv64-linux-gnu -pthread -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -c -o report/powertop-report.o `test -f 'report/report.cpp' || echo './'`report/report.cpp g++ -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/share/locale\" -I/usr/include/libnl3 -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/riscv64-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/riscv64-linux-gnu -pthread -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -c -o tuning/powertop-bluetooth.o `test -f 'tuning/bluetooth.cpp' || echo './'`tuning/bluetooth.cpp g++ -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/share/locale\" -I/usr/include/libnl3 -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/riscv64-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/riscv64-linux-gnu -pthread -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -c -o tuning/powertop-ethernet.o `test -f 'tuning/ethernet.cpp' || echo './'`tuning/ethernet.cpp gcc -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/share/locale\" -I/usr/include/libnl3 -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/riscv64-linux-gnu -pthread -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -pthread -c -o tuning/powertop-iw.o `test -f 'tuning/iw.c' || echo './'`tuning/iw.c g++ -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/share/locale\" -I/usr/include/libnl3 -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/riscv64-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/riscv64-linux-gnu -pthread -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -c -o tuning/powertop-runtime.o `test -f 'tuning/runtime.cpp' || echo './'`tuning/runtime.cpp g++ -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/share/locale\" -I/usr/include/libnl3 -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/riscv64-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/riscv64-linux-gnu -pthread -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -c -o tuning/powertop-tunable.o `test -f 'tuning/tunable.cpp' || echo './'`tuning/tunable.cpp g++ -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/share/locale\" -I/usr/include/libnl3 -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/riscv64-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/riscv64-linux-gnu -pthread -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -c -o tuning/powertop-tuning.o `test -f 'tuning/tuning.cpp' || echo './'`tuning/tuning.cpp g++ -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/share/locale\" -I/usr/include/libnl3 -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/riscv64-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/riscv64-linux-gnu -pthread -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -c -o tuning/powertop-tuningsysfs.o `test -f 'tuning/tuningsysfs.cpp' || echo './'`tuning/tuningsysfs.cpp In file included from /usr/include/string.h:495, from /usr/include/c++/9/cstring:42, from tuning/../lib.h:31, from tuning/tunable.h:30, from tuning/tunable.cpp:27: In function ‘char* strncpy(char*, const char*, size_t)’, inlined from ‘void pt_strcpy(char (&)[N], const char*) [with long unsigned int N = 4096]’ at tuning/../lib.h:78:9, inlined from ‘tunable::tunable(const char*, double, const char*, const char*, const char*)’ at tuning/tunable.cpp:38:11: /usr/include/riscv64-linux-gnu/bits/string_fortified.h:106:34: warning: ‘char* __builtin_strncpy(char*, const char*, long unsigned int)’ specified bound 4096 equals destination size [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function ‘char* strncpy(char*, const char*, size_t)’, inlined from ‘void pt_strcpy(char (&)[N], const char*) [with long unsigned int N = 128]’ at tuning/../lib.h:78:9, inlined from ‘tunable::tunable(const char*, double, const char*, const char*, const char*)’ at tuning/tunable.cpp:39:11: /usr/include/riscv64-linux-gnu/bits/string_fortified.h:106:34: warning: ‘char* __builtin_strncpy(char*, const char*, long unsigned int)’ specified bound 128 equals destination size [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function ‘char* strncpy(char*, const char*, size_t)’, inlined from ‘void pt_strcpy(char (&)[N], const char*) [with long unsigned int N = 128]’ at tuning/../lib.h:78:9, inlined from ‘tunable::tunable(const char*, double, const char*, const char*, const char*)’ at tuning/tunable.cpp:40:11: /usr/include/riscv64-linux-gnu/bits/string_fortified.h:106:34: warning: ‘char* __builtin_strncpy(char*, const char*, long unsigned int)’ specified bound 128 equals destination size [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function ‘char* strncpy(char*, const char*, size_t)’, inlined from ‘void pt_strcpy(char (&)[N], const char*) [with long unsigned int N = 128]’ at tuning/../lib.h:78:9, inlined from ‘tunable::tunable(const char*, double, const char*, const char*, const char*)’ at tuning/tunable.cpp:41:11: /usr/include/riscv64-linux-gnu/bits/string_fortified.h:106:34: warning: ‘char* __builtin_strncpy(char*, const char*, long unsigned int)’ specified bound 128 equals destination size [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function ‘char* strncpy(char*, const char*, size_t)’, inlined from ‘void pt_strcpy(char (&)[N], const char*) [with long unsigned int N = 128]’ at tuning/../lib.h:78:9, inlined from ‘tunable::tunable()’ at tuning/tunable.cpp:49:11: /usr/include/riscv64-linux-gnu/bits/string_fortified.h:106:34: warning: ‘char* __builtin_strncpy(char*, const char*, long unsigned int)’ specified bound 128 equals destination size [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function ‘char* strncpy(char*, const char*, size_t)’, inlined from ‘void pt_strcpy(char (&)[N], const char*) [with long unsigned int N = 128]’ at tuning/../lib.h:78:9, inlined from ‘tunable::tunable()’ at tuning/tunable.cpp:50:11: /usr/include/riscv64-linux-gnu/bits/string_fortified.h:106:34: warning: ‘char* __builtin_strncpy(char*, const char*, long unsigned int)’ specified bound 128 equals destination size [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function ‘char* strncpy(char*, const char*, size_t)’, inlined from ‘void pt_strcpy(char (&)[N], const char*) [with long unsigned int N = 128]’ at tuning/../lib.h:78:9, inlined from ‘tunable::tunable()’ at tuning/tunable.cpp:51:11: /usr/include/riscv64-linux-gnu/bits/string_fortified.h:106:34: warning: ‘char* __builtin_strncpy(char*, const char*, long unsigned int)’ specified bound 128 equals destination size [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ g++ -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/share/locale\" -I/usr/include/libnl3 -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/riscv64-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/riscv64-linux-gnu -pthread -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -c -o tuning/powertop-tuningusb.o `test -f 'tuning/tuningusb.cpp' || echo './'`tuning/tuningusb.cpp tuning/runtime.cpp: In constructor ‘runtime_tunable::runtime_tunable(const char*, const char*, const char*, const char*)’: tuning/runtime.cpp:86:61: 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:867, from /usr/include/c++/9/cstdio:42, from /usr/include/c++/9/ext/string_conversions.h:43, from /usr/include/c++/9/bits/basic_string.h:6493, from /usr/include/c++/9/string:55, from tuning/../lib.h:58, from tuning/tunable.h:30, from tuning/runtime.cpp:27: /usr/include/riscv64-linux-gnu/bits/stdio2.h:67:35: note: ‘__builtin___snprintf_chk’ output between 18 and 4113 bytes into a destination of size 4096 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 68 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tuning/runtime.cpp:87:57: 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 file included from /usr/include/stdio.h:867, from /usr/include/c++/9/cstdio:42, from /usr/include/c++/9/ext/string_conversions.h:43, from /usr/include/c++/9/bits/basic_string.h:6493, from /usr/include/c++/9/string:55, from tuning/../lib.h:58, from tuning/tunable.h:30, from tuning/runtime.cpp:27: /usr/include/riscv64-linux-gnu/bits/stdio2.h:67:35: note: ‘__builtin___snprintf_chk’ output between 16 and 4111 bytes into a destination of size 4096 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 68 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tuning/runtime.cpp: In function ‘void add_runtime_tunables(const char*)’: tuning/runtime.cpp:166:65: 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 file included from /usr/include/stdio.h:867, from /usr/include/c++/9/cstdio:42, from /usr/include/c++/9/ext/string_conversions.h:43, from /usr/include/c++/9/bits/basic_string.h:6493, from /usr/include/c++/9/string:55, from tuning/../lib.h:58, from tuning/tunable.h:30, from tuning/runtime.cpp:27: /usr/include/riscv64-linux-gnu/bits/stdio2.h:67:35: note: ‘__builtin___snprintf_chk’ output 34 or more bytes (assuming 4384) into a destination of size 4096 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 68 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tuning/runtime.cpp:171:65: 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 file included from /usr/include/stdio.h:867, from /usr/include/c++/9/cstdio:42, from /usr/include/c++/9/ext/string_conversions.h:43, from /usr/include/c++/9/bits/basic_string.h:6493, from /usr/include/c++/9/string:55, from tuning/../lib.h:58, from tuning/tunable.h:30, from tuning/runtime.cpp:27: /usr/include/riscv64-linux-gnu/bits/stdio2.h:67:35: note: ‘__builtin___snprintf_chk’ output 20 or more bytes (assuming 4370) into a destination of size 4096 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 68 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tuning/runtime.cpp:192:53: warning: ‘%s’ directive output may be truncated writing up to 4095 bytes into a region of size 4085 [-Wformat-truncation=] 192 | snprintf(filename, sizeof(filename), "/sys/block/%s/device", port); | ^~ ~~~~ In file included from /usr/include/stdio.h:867, from /usr/include/c++/9/cstdio:42, from /usr/include/c++/9/ext/string_conversions.h:43, from /usr/include/c++/9/bits/basic_string.h:6493, from /usr/include/c++/9/string:55, from tuning/../lib.h:58, from tuning/tunable.h:30, from tuning/runtime.cpp:27: /usr/include/riscv64-linux-gnu/bits/stdio2.h:67:35: note: ‘__builtin___snprintf_chk’ output between 19 and 4114 bytes into a destination of size 4096 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 68 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ g++ -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/share/locale\" -I/usr/include/libnl3 -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/riscv64-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/riscv64-linux-gnu -pthread -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -c -o tuning/powertop-tuningi2c.o `test -f 'tuning/tuningi2c.cpp' || echo './'`tuning/tuningi2c.cpp tuning/tuningsysfs.cpp: In constructor ‘sysfs_tunable::sysfs_tunable(const char*, const char*, const char*)’: tuning/tuningsysfs.cpp:50:52: 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:867, from /usr/include/c++/9/cstdio:42, from /usr/include/c++/9/ext/string_conversions.h:43, from /usr/include/c++/9/bits/basic_string.h:6493, from /usr/include/c++/9/string:55, from tuning/../lib.h:58, from tuning/tunable.h:30, from tuning/tuningsysfs.cpp:27: /usr/include/riscv64-linux-gnu/bits/stdio2.h:67:35: note: ‘__builtin___snprintf_chk’ output between 14 and 8204 bytes into a destination of size 4096 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 68 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tuning/tuningsysfs.cpp:51:50: 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 file included from /usr/include/stdio.h:867, from /usr/include/c++/9/cstdio:42, from /usr/include/c++/9/ext/string_conversions.h:43, from /usr/include/c++/9/bits/basic_string.h:6493, from /usr/include/c++/9/string:55, from tuning/../lib.h:58, from tuning/tunable.h:30, from tuning/tuningsysfs.cpp:27: /usr/include/riscv64-linux-gnu/bits/stdio2.h:67:35: note: ‘__builtin___snprintf_chk’ output between 14 and 8204 bytes into a destination of size 4096 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 68 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/string.h:495, from /usr/include/c++/9/cstring:42, from tuning/../lib.h:31, from tuning/tunable.h:30, from tuning/tuningsysfs.cpp:27: In function ‘char* strncpy(char*, const char*, size_t)’, inlined from ‘void pt_strcpy(char (&)[N], const char*) [with long unsigned int N = 4096]’ at tuning/../lib.h:78:9, inlined from ‘sysfs_tunable::sysfs_tunable(const char*, const char*, const char*)’ at tuning/tuningsysfs.cpp:47:11: /usr/include/riscv64-linux-gnu/bits/string_fortified.h:106:34: warning: ‘char* __builtin_strncpy(char*, const char*, long unsigned int)’ specified bound 4096 equals destination size [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function ‘char* strncpy(char*, const char*, size_t)’, inlined from ‘void pt_strcpy(char (&)[N], const char*) [with long unsigned int N = 4096]’ at tuning/../lib.h:78:9, inlined from ‘sysfs_tunable::sysfs_tunable(const char*, const char*, const char*)’ at tuning/tuningsysfs.cpp:48:11: /usr/include/riscv64-linux-gnu/bits/string_fortified.h:106:34: warning: ‘char* __builtin_strncpy(char*, const char*, long unsigned int)’ specified bound 4096 equals destination size [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ g++ -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/share/locale\" -I/usr/include/libnl3 -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/riscv64-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/riscv64-linux-gnu -pthread -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -c -o tuning/powertop-wifi.o `test -f 'tuning/wifi.cpp' || echo './'`tuning/wifi.cpp tuning/tuningusb.cpp: In constructor ‘usb_tunable::usb_tunable(const char*, const char*)’: tuning/tuningusb.cpp:77:61: 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:867, from /usr/include/c++/9/cstdio:42, from /usr/include/c++/9/ext/string_conversions.h:43, from /usr/include/c++/9/bits/basic_string.h:6493, from /usr/include/c++/9/string:55, from tuning/../lib.h:58, from tuning/tunable.h:30, from tuning/tuningusb.cpp:27: /usr/include/riscv64-linux-gnu/bits/stdio2.h:67:35: note: ‘__builtin___snprintf_chk’ output between 18 and 4113 bytes into a destination of size 4096 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 68 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tuning/tuningusb.cpp:78:57: 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 file included from /usr/include/stdio.h:867, from /usr/include/c++/9/cstdio:42, from /usr/include/c++/9/ext/string_conversions.h:43, from /usr/include/c++/9/bits/basic_string.h:6493, from /usr/include/c++/9/string:55, from tuning/../lib.h:58, from tuning/tunable.h:30, from tuning/tuningusb.cpp:27: /usr/include/riscv64-linux-gnu/bits/stdio2.h:67:35: note: ‘__builtin___snprintf_chk’ output between 16 and 4111 bytes into a destination of size 4096 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 68 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ g++ -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/share/locale\" -I/usr/include/libnl3 -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/riscv64-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/riscv64-linux-gnu -pthread -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -c -o wakeup/powertop-wakeup.o `test -f 'wakeup/wakeup.cpp' || echo './'`wakeup/wakeup.cpp tuning/tuningi2c.cpp: In constructor ‘i2c_tunable::i2c_tunable(const char*, const char*, bool)’: tuning/tuningi2c.cpp:61:61: 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:867, from /usr/include/c++/9/cstdio:42, from /usr/include/c++/9/ext/string_conversions.h:43, from /usr/include/c++/9/bits/basic_string.h:6493, from /usr/include/c++/9/string:55, from tuning/../lib.h:58, from tuning/tunable.h:30, from tuning/tuningi2c.cpp:21: /usr/include/riscv64-linux-gnu/bits/stdio2.h:67:35: note: ‘__builtin___snprintf_chk’ output between 18 and 4113 bytes into a destination of size 4096 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 68 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tuning/tuningi2c.cpp:62:57: 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 file included from /usr/include/stdio.h:867, from /usr/include/c++/9/cstdio:42, from /usr/include/c++/9/ext/string_conversions.h:43, from /usr/include/c++/9/bits/basic_string.h:6493, from /usr/include/c++/9/string:55, from tuning/../lib.h:58, from tuning/tunable.h:30, from tuning/tuningi2c.cpp:21: /usr/include/riscv64-linux-gnu/bits/stdio2.h:67:35: note: ‘__builtin___snprintf_chk’ output between 16 and 4111 bytes into a destination of size 4096 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 68 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ g++ -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/share/locale\" -I/usr/include/libnl3 -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/riscv64-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/riscv64-linux-gnu -pthread -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -c -o wakeup/powertop-waketab.o `test -f 'wakeup/waketab.cpp' || echo './'`wakeup/waketab.cpp g++ -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/share/locale\" -I/usr/include/libnl3 -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/riscv64-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/riscv64-linux-gnu -pthread -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -c -o wakeup/powertop-wakeup_ethernet.o `test -f 'wakeup/wakeup_ethernet.cpp' || echo './'`wakeup/wakeup_ethernet.cpp tuning/wifi.cpp: In constructor ‘wifi_tunable::wifi_tunable(const char*)’: tuning/wifi.cpp:50:53: 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:867, from /usr/include/c++/9/cstdio:42, from /usr/include/c++/9/ext/string_conversions.h:43, from /usr/include/c++/9/bits/basic_string.h:6493, from /usr/include/c++/9/string:55, from tuning/../lib.h:58, from tuning/tunable.h:30, from tuning/wifi.cpp:27: /usr/include/riscv64-linux-gnu/bits/stdio2.h:67:35: note: ‘__builtin___snprintf_chk’ output between 26 and 4121 bytes into a destination of size 4096 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 68 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tuning/wifi.cpp:51:51: 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 file included from /usr/include/stdio.h:867, from /usr/include/c++/9/cstdio:42, from /usr/include/c++/9/ext/string_conversions.h:43, from /usr/include/c++/9/bits/basic_string.h:6493, from /usr/include/c++/9/string:55, from tuning/../lib.h:58, from tuning/tunable.h:30, from tuning/wifi.cpp:27: /usr/include/riscv64-linux-gnu/bits/stdio2.h:67:35: note: ‘__builtin___snprintf_chk’ output between 27 and 4122 bytes into a destination of size 4096 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 68 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ g++ -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/share/locale\" -I/usr/include/libnl3 -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/riscv64-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/riscv64-linux-gnu -pthread -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -c -o wakeup/powertop-wakeup_usb.o `test -f 'wakeup/wakeup_usb.cpp' || echo './'`wakeup/wakeup_usb.cpp In file included from /usr/include/string.h:495, from wakeup/wakeup.cpp:26: In function ‘char* strncpy(char*, const char*, size_t)’, inlined from ‘void pt_strcpy(char (&)[N], const char*) [with long unsigned int N = 4096]’ at wakeup/../lib.h:78:9, inlined from ‘wakeup::wakeup(const char*, double, const char*, const char*)’ at wakeup/wakeup.cpp:39:18: /usr/include/riscv64-linux-gnu/bits/string_fortified.h:106:34: warning: ‘char* __builtin_strncpy(char*, const char*, long unsigned int)’ specified bound 4096 equals destination size [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function ‘char* strncpy(char*, const char*, size_t)’, inlined from ‘void pt_strcpy(char (&)[N], const char*) [with long unsigned int N = 128]’ at wakeup/../lib.h:78:9, inlined from ‘wakeup::wakeup(const char*, double, const char*, const char*)’ at wakeup/wakeup.cpp:40:18: /usr/include/riscv64-linux-gnu/bits/string_fortified.h:106:34: warning: ‘char* __builtin_strncpy(char*, const char*, long unsigned int)’ specified bound 128 equals destination size [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function ‘char* strncpy(char*, const char*, size_t)’, inlined from ‘void pt_strcpy(char (&)[N], const char*) [with long unsigned int N = 128]’ at wakeup/../lib.h:78:9, inlined from ‘wakeup::wakeup(const char*, double, const char*, const char*)’ at wakeup/wakeup.cpp:41:18: /usr/include/riscv64-linux-gnu/bits/string_fortified.h:106:34: warning: ‘char* __builtin_strncpy(char*, const char*, long unsigned int)’ specified bound 128 equals destination size [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function ‘char* strncpy(char*, const char*, size_t)’, inlined from ‘void pt_strcpy(char (&)[N], const char*) [with long unsigned int N = 128]’ at wakeup/../lib.h:78:9, inlined from ‘wakeup::wakeup()’ at wakeup/wakeup.cpp:48:18: /usr/include/riscv64-linux-gnu/bits/string_fortified.h:106:34: warning: ‘char* __builtin_strncpy(char*, const char*, long unsigned int)’ specified bound 128 equals destination size [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function ‘char* strncpy(char*, const char*, size_t)’, inlined from ‘void pt_strcpy(char (&)[N], const char*) [with long unsigned int N = 128]’ at wakeup/../lib.h:78:9, inlined from ‘wakeup::wakeup()’ at wakeup/wakeup.cpp:49:18: /usr/include/riscv64-linux-gnu/bits/string_fortified.h:106:34: warning: ‘char* __builtin_strncpy(char*, const char*, long unsigned int)’ specified bound 128 equals destination size [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function ‘char* strncpy(char*, const char*, size_t)’, inlined from ‘void pt_strcpy(char (&)[N], const char*) [with long unsigned int N = 128]’ at wakeup/../lib.h:78:9, inlined from ‘wakeup::wakeup()’ at wakeup/wakeup.cpp:50:11: /usr/include/riscv64-linux-gnu/bits/string_fortified.h:106:34: warning: ‘char* __builtin_strncpy(char*, const char*, long unsigned int)’ specified bound 128 equals destination size [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ wakeup/wakeup_ethernet.cpp: In constructor ‘ethernet_wakeup::ethernet_wakeup(const char*, const char*)’: wakeup/wakeup_ethernet.cpp:53:68: 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:867, from wakeup/wakeup_ethernet.cpp:29: /usr/include/riscv64-linux-gnu/bits/stdio2.h:67:35: note: ‘__builtin___snprintf_chk’ output between 21 and 4116 bytes into a destination of size 4096 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 68 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ wakeup/wakeup_ethernet.cpp:54:71: 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 file included from /usr/include/stdio.h:867, from wakeup/wakeup_ethernet.cpp:29: /usr/include/riscv64-linux-gnu/bits/stdio2.h:67:35: note: ‘__builtin___snprintf_chk’ output between 22 and 4117 bytes into a destination of size 4096 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 68 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ wakeup/wakeup_usb.cpp: In constructor ‘usb_wakeup::usb_wakeup(const char*, const char*)’: wakeup/wakeup_usb.cpp:53:68: 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:867, from wakeup/wakeup_usb.cpp:29: /usr/include/riscv64-linux-gnu/bits/stdio2.h:67:35: note: ‘__builtin___snprintf_chk’ output between 21 and 4116 bytes into a destination of size 4096 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 68 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ wakeup/wakeup_usb.cpp:54:71: 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 file included from /usr/include/stdio.h:867, from wakeup/wakeup_usb.cpp:29: /usr/include/riscv64-linux-gnu/bits/stdio2.h:67:35: note: ‘__builtin___snprintf_chk’ output between 22 and 4117 bytes into a destination of size 4096 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 68 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /bin/bash ../libtool --tag=CXX --mode=link g++ -Wall -Wformat -Wshadow -fno-omit-frame-pointer -fstack-protector -I/usr/include/libnl3 -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/riscv64-linux-gnu -pthread -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -lnl-genl-3 -lnl-3 -Wl,-Bsymbolic-functions -lncursesw -ltinfo -lpci -Wl,-Bsymbolic-functions -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 libtool: link: g++ -Wall -Wformat -Wshadow -fno-omit-frame-pointer -fstack-protector -I/usr/include/libnl3 -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/riscv64-linux-gnu -pthread -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wl,-Bsymbolic-functions -Wl,-Bsymbolic-functions -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 -pthread make[4]: Leaving directory '/<>/src' make[3]: Leaving directory '/<>/src' Making all in po make[3]: Entering directory '/<>/po' make[3]: Nothing to be done for 'all'. make[3]: Leaving directory '/<>/po' Making all in doc make[3]: Entering directory '/<>/doc' make[3]: Nothing to be done for 'all'. make[3]: Leaving directory '/<>/doc' Making all in scripts/bash-completion make[3]: Entering directory '/<>/scripts/bash-completion' make[3]: Nothing to be done for 'all'. make[3]: Leaving directory '/<>/scripts/bash-completion' make[3]: Entering directory '/<>' make[3]: Leaving directory '/<>' make[2]: Leaving directory '/<>' make[1]: Leaving directory '/<>' dh_auto_test -a make -j4 check VERBOSE=1 make[1]: Entering directory '/<>' Making check in traceevent make[2]: Entering directory '/<>/traceevent' make[2]: Nothing to be done for 'check'. make[2]: Leaving directory '/<>/traceevent' Making check in src make[2]: Entering directory '/<>/src' make check-am make[3]: Entering directory '/<>/src' make[3]: Nothing to be done for 'check-am'. make[3]: Leaving directory '/<>/src' make[2]: Leaving directory '/<>/src' Making check in po make[2]: Entering directory '/<>/po' make[2]: Nothing to be done for 'check'. make[2]: Leaving directory '/<>/po' Making check in doc make[2]: Entering directory '/<>/doc' make[2]: Nothing to be done for 'check'. make[2]: Leaving directory '/<>/doc' Making check in scripts/bash-completion make[2]: Entering directory '/<>/scripts/bash-completion' make[2]: Nothing to be done for 'check'. make[2]: Leaving directory '/<>/scripts/bash-completion' make[2]: Entering directory '/<>' make[2]: Leaving directory '/<>' make[1]: Leaving directory '/<>' create-stamp debian/debhelper-build-stamp dh_testroot -a dh_prep -a dh_auto_install -a make -j1 install DESTDIR=/<>/debian/powertop AM_UPDATE_INFO_DIR=no make[1]: Entering directory '/<>' Making install in traceevent make[2]: Entering directory '/<>/traceevent' make[3]: Entering directory '/<>/traceevent' make[3]: Nothing to be done for 'install-exec-am'. make[3]: Nothing to be done for 'install-data-am'. make[3]: Leaving directory '/<>/traceevent' make[2]: Leaving directory '/<>/traceevent' Making install in src make[2]: Entering directory '/<>/src' make install-am make[3]: Entering directory '/<>/src' make[4]: Entering directory '/<>/src' /bin/mkdir -p '/<>/debian/powertop/usr/sbin' /bin/bash ../libtool --mode=install /usr/bin/install -c powertop '/<>/debian/powertop/usr/sbin' libtool: install: /usr/bin/install -c powertop /<>/debian/powertop/usr/sbin/powertop make[4]: Nothing to be done for 'install-data-am'. make[4]: Leaving directory '/<>/src' make[3]: Leaving directory '/<>/src' make[2]: Leaving directory '/<>/src' Making install in po make[2]: Entering directory '/<>/po' installing ca.gmo as /<>/debian/powertop/usr/share/locale/ca/LC_MESSAGES/powertop.mo installing cs_CZ.gmo as /<>/debian/powertop/usr/share/locale/cs_CZ/LC_MESSAGES/powertop.mo installing de_DE.gmo as /<>/debian/powertop/usr/share/locale/de_DE/LC_MESSAGES/powertop.mo installing en_GB.gmo as /<>/debian/powertop/usr/share/locale/en_GB/LC_MESSAGES/powertop.mo installing en_US.gmo as /<>/debian/powertop/usr/share/locale/en_US/LC_MESSAGES/powertop.mo installing es_ES.gmo as /<>/debian/powertop/usr/share/locale/es_ES/LC_MESSAGES/powertop.mo installing hu_HU.gmo as /<>/debian/powertop/usr/share/locale/hu_HU/LC_MESSAGES/powertop.mo installing id_ID.gmo as /<>/debian/powertop/usr/share/locale/id_ID/LC_MESSAGES/powertop.mo installing nl_NL.gmo as /<>/debian/powertop/usr/share/locale/nl_NL/LC_MESSAGES/powertop.mo installing zh_TW.gmo as /<>/debian/powertop/usr/share/locale/zh_TW/LC_MESSAGES/powertop.mo if test "powertop" = "gettext-tools"; then \ /bin/mkdir -p /<>/debian/powertop/usr/share/gettext/po; \ for file in Makefile.in.in remove-potcdate.sin quot.sed boldquot.sed en@quot.header en@boldquot.header insert-header.sin Rules-quot Makevars.template; do \ /usr/bin/install -c -m 644 ./$file \ /<>/debian/powertop/usr/share/gettext/po/$file; \ done; \ for file in Makevars; do \ rm -f /<>/debian/powertop/usr/share/gettext/po/$file; \ done; \ else \ : ; \ fi make[2]: Leaving directory '/<>/po' Making install in doc make[2]: Entering directory '/<>/doc' make[3]: Entering directory '/<>/doc' make[3]: Nothing to be done for 'install-exec-am'. /bin/mkdir -p '/<>/debian/powertop/usr/share/man/man8' /usr/bin/install -c -m 644 powertop.8 '/<>/debian/powertop/usr/share/man/man8' make[3]: Leaving directory '/<>/doc' make[2]: Leaving directory '/<>/doc' Making install in scripts/bash-completion make[2]: Entering directory '/<>/scripts/bash-completion' make[3]: Entering directory '/<>/scripts/bash-completion' make[3]: Nothing to be done for 'install-exec-am'. /bin/mkdir -p '/<>/debian/powertop/usr/share/bash-completion/completions' /usr/bin/install -c -m 644 powertop '/<>/debian/powertop/usr/share/bash-completion/completions' make[3]: Leaving directory '/<>/scripts/bash-completion' make[2]: Leaving directory '/<>/scripts/bash-completion' make[2]: Entering directory '/<>' make[3]: Entering directory '/<>' make[3]: Nothing to be done for 'install-exec-am'. make[3]: Nothing to be done for 'install-data-am'. make[3]: Leaving directory '/<>' make[2]: Leaving directory '/<>' make[1]: Leaving directory '/<>' dh_installdocs -a dh_installchangelogs -a dh_installman -a dh_perl -a dh_link -a dh_strip_nondeterminism -a Normalized debian/powertop/usr/share/locale/ca/LC_MESSAGES/powertop.mo Normalized debian/powertop/usr/share/locale/cs_CZ/LC_MESSAGES/powertop.mo Normalized debian/powertop/usr/share/locale/hu_HU/LC_MESSAGES/powertop.mo Normalized debian/powertop/usr/share/locale/en_US/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/zh_TW/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/nl_NL/LC_MESSAGES/powertop.mo dh_compress -a dh_fixperms -a dh_missing -a dh_strip -a dh_makeshlibs -a dh_shlibdeps -a dh_installdeb -a dh_gencontrol -a dh_md5sums -a dh_builddeb -a INFO: pkgstriptranslations version 144 INFO: pkgstriptranslations version 144 pkgstriptranslations: processing powertop (in debian/powertop); do_strip: 1, oemstrip: pkgstriptranslations: processing powertop-dbgsym (in debian/.debhelper/powertop/dbgsym-root); do_strip: 1, oemstrip: pkgstriptranslations: preparing translation tarball powertop_2.11-1build1_riscv64_translations.tar.gz...done pkgmaintainermangler: Maintainer field overridden to "Ubuntu Developers " pkgstriptranslations: powertop-dbgsym does not contain translations, skipping pkgstriptranslations: no translation files, not creating tarball pkgstripfiles: processing control file: debian/powertop/DEBIAN/control, package powertop, directory debian/powertop pkgstripfiles: Truncating usr/share/doc/powertop/changelog.Debian.gz to topmost ten records pkgstripfiles: Running PNG optimization (using 4 cpus) for package powertop ... pkgstripfiles: No PNG files. dpkg-deb: building package 'powertop' in '../powertop_2.11-1build1_riscv64.deb'. pkgmaintainermangler: Maintainer field overridden to "Ubuntu Developers " pkgstripfiles: processing control file: debian/.debhelper/powertop/dbgsym-root/DEBIAN/control, package powertop-dbgsym, directory debian/.debhelper/powertop/dbgsym-root dpkg-deb: building package 'powertop-dbgsym' in 'debian/.debhelper/scratch-space/build-powertop/powertop-dbgsym_2.11-1build1_riscv64.deb'. Renaming powertop-dbgsym_2.11-1build1_riscv64.deb to powertop-dbgsym_2.11-1build1_riscv64.ddeb dpkg-genbuildinfo --build=any dpkg-genchanges --build=any -mLaunchpad Build Daemon >../powertop_2.11-1build1_riscv64.changes dpkg-genchanges: info: binary-only arch-specific upload (source code and arch-indep packages not included) dpkg-source --after-build . dpkg-buildpackage: info: binary-only upload (no source included) -------------------------------------------------------------------------------- Build finished at 2020-04-02T21:55:18Z Finished -------- I: Built successfully +------------------------------------------------------------------------------+ | Changes | +------------------------------------------------------------------------------+ powertop_2.11-1build1_riscv64.changes: -------------------------------------- Format: 1.8 Date: Sat, 21 Mar 2020 13:29:06 +0100 Source: powertop Binary: powertop Architecture: riscv64 riscv64_translations Version: 2.11-1build1 Distribution: focal Urgency: medium Maintainer: Launchpad Build Daemon Changed-By: Matthias Klose Description: powertop - diagnose issues with power consumption and management Changes: powertop (2.11-1build1) focal; urgency=medium . * No-change rebuild for libgcc-s1 package name change. Checksums-Sha1: a62e7ce35b6983b78e0da5213b7f12a50e975202 2543624 powertop-dbgsym_2.11-1build1_riscv64.ddeb 8d2b49e4264e3e7f1544194840a7cb739eb71146 5781 powertop_2.11-1build1_riscv64.buildinfo 861d6dd3ffb346a8251633b1ba05c456a112f5ee 189200 powertop_2.11-1build1_riscv64.deb 22040ebb93515e3aeb9d171a2f0048961f4b9292 37954 powertop_2.11-1build1_riscv64_translations.tar.gz Checksums-Sha256: acfb8be3ed5007d4da8a563cd19d73d438ad8cb21fc01c09fa8ff1d6058008b3 2543624 powertop-dbgsym_2.11-1build1_riscv64.ddeb 39d3e59c3b878e5173e73455d4d21647c2a7dc26932a9355ba84ee796c49d82d 5781 powertop_2.11-1build1_riscv64.buildinfo ee349f028c520b68b43e26331c582bdfd3cc4c0d3795d46a4dc8a8b08750b6d8 189200 powertop_2.11-1build1_riscv64.deb 89310b1354c82606ff5f1a1a90803ba1d0f1cfa7464f8f0940ea5b60e537e2e1 37954 powertop_2.11-1build1_riscv64_translations.tar.gz Files: 301ba4fb9da33253ce31ff28033f422e 2543624 debug optional powertop-dbgsym_2.11-1build1_riscv64.ddeb 0384b958a502337d34d21c9f294564bf 5781 utils optional powertop_2.11-1build1_riscv64.buildinfo 70cf05c5fe7b9e54e448454a9dc3ef74 189200 utils optional powertop_2.11-1build1_riscv64.deb 4bbf1600ca49584df4a914de4e7a453f 37954 raw-translations - powertop_2.11-1build1_riscv64_translations.tar.gz /<>/powertop_2.11-1build1_riscv64.changes.new could not be renamed to /<>/powertop_2.11-1build1_riscv64.changes: Illegal seek Distribution field may be wrong!!! +------------------------------------------------------------------------------+ | Buildinfo | +------------------------------------------------------------------------------+ Format: 1.0 Source: powertop Binary: powertop Architecture: riscv64 Version: 2.11-1build1 Checksums-Md5: 301ba4fb9da33253ce31ff28033f422e 2543624 powertop-dbgsym_2.11-1build1_riscv64.ddeb 70cf05c5fe7b9e54e448454a9dc3ef74 189200 powertop_2.11-1build1_riscv64.deb 4bbf1600ca49584df4a914de4e7a453f 37954 powertop_2.11-1build1_riscv64_translations.tar.gz Checksums-Sha1: a62e7ce35b6983b78e0da5213b7f12a50e975202 2543624 powertop-dbgsym_2.11-1build1_riscv64.ddeb 861d6dd3ffb346a8251633b1ba05c456a112f5ee 189200 powertop_2.11-1build1_riscv64.deb 22040ebb93515e3aeb9d171a2f0048961f4b9292 37954 powertop_2.11-1build1_riscv64_translations.tar.gz Checksums-Sha256: acfb8be3ed5007d4da8a563cd19d73d438ad8cb21fc01c09fa8ff1d6058008b3 2543624 powertop-dbgsym_2.11-1build1_riscv64.ddeb ee349f028c520b68b43e26331c582bdfd3cc4c0d3795d46a4dc8a8b08750b6d8 189200 powertop_2.11-1build1_riscv64.deb 89310b1354c82606ff5f1a1a90803ba1d0f1cfa7464f8f0940ea5b60e537e2e1 37954 powertop_2.11-1build1_riscv64_translations.tar.gz Build-Origin: Ubuntu Build-Architecture: riscv64 Build-Date: Thu, 02 Apr 2020 21:55:11 +0000 Build-Path: /<> Build-Tainted-By: usr-local-has-programs Installed-Build-Depends: autoconf (= 2.69-11.1), automake (= 1:1.16.1-4ubuntu6), autopoint (= 0.19.8.1-10build1), autotools-dev (= 20180224.1), base-files (= 11ubuntu4), base-passwd (= 3.5.47), bash (= 5.0-6ubuntu1), binutils (= 2.34-5ubuntu1), binutils-common (= 2.34-5ubuntu1), binutils-riscv64-linux-gnu (= 2.34-5ubuntu1), bsdmainutils (= 11.1.2ubuntu3), bsdutils (= 1:2.34-0.1ubuntu8), build-essential (= 12.8ubuntu1), bzip2 (= 1.0.8-2), coreutils (= 8.30-3ubuntu2), cpp (= 4:9.3.0-1ubuntu2), cpp-9 (= 9.3.0-8ubuntu1), dash (= 0.5.10.2-6), debconf (= 1.5.73), debhelper (= 12.10ubuntu1), debianutils (= 4.9.1), dh-autoreconf (= 19), dh-strip-nondeterminism (= 1.6.3-2), diffutils (= 1:3.7-3), dpkg (= 1.19.7ubuntu3), dpkg-dev (= 1.19.7ubuntu3), dwz (= 0.13-5), file (= 1:5.38-4), findutils (= 4.7.0-1ubuntu1), g++ (= 4:9.3.0-1ubuntu2), g++-9 (= 9.3.0-8ubuntu1), gcc (= 4:9.3.0-1ubuntu2), gcc-10-base (= 10-20200324-1ubuntu1), gcc-9 (= 9.3.0-8ubuntu1), gcc-9-base (= 9.3.0-8ubuntu1), gettext (= 0.19.8.1-10build1), gettext-base (= 0.19.8.1-10build1), grep (= 3.4-1), groff-base (= 1.22.4-4build1), gzip (= 1.10-0ubuntu4), hostname (= 3.23), init-system-helpers (= 1.57), intltool-debian (= 0.35.0+20060710.5), libacl1 (= 2.2.53-6), libarchive-zip-perl (= 1.67-2), libatomic1 (= 10-20200324-1ubuntu1), libattr1 (= 1:2.4.48-5), libaudit-common (= 1:2.8.5-2ubuntu6), libaudit1 (= 1:2.8.5-2ubuntu6), libbinutils (= 2.34-5ubuntu1), libblkid1 (= 2.34-0.1ubuntu8), libbsd0 (= 0.10.0-1), libbz2-1.0 (= 1.0.8-2), libc-bin (= 2.31-0ubuntu6~riscv64.1), libc-dev-bin (= 2.31-0ubuntu6~riscv64.1), libc6 (= 2.31-0ubuntu6~riscv64.1), libc6-dev (= 2.31-0ubuntu6~riscv64.1), libcap-ng0 (= 0.7.9-2.1build1), libcc1-0 (= 10-20200324-1ubuntu1), libcroco3 (= 0.6.13-1), libcrypt-dev (= 1:4.4.10-10ubuntu4), libcrypt1 (= 1:4.4.10-10ubuntu4), libctf-nobfd0 (= 2.34-5ubuntu1), libctf0 (= 2.34-5ubuntu1), libdb5.3 (= 5.3.28+dfsg1-0.6ubuntu2), libdebconfclient0 (= 0.251ubuntu1), libdebhelper-perl (= 12.10ubuntu1), libdpkg-perl (= 1.19.7ubuntu3), libelf1 (= 0.176-1.1build1), libffi7 (= 3.3-4), libfile-stripnondeterminism-perl (= 1.6.3-2), libgcc-9-dev (= 9.3.0-8ubuntu1), libgcc-s1 (= 10-20200324-1ubuntu1), libgcc1 (= 1:10-20200324-1ubuntu1), libgcrypt20 (= 1.8.5-5ubuntu1), libgdbm-compat4 (= 1.18.1-5), libgdbm6 (= 1.18.1-5), libglib2.0-0 (= 2.64.1-1), libgmp10 (= 2:6.2.0+dfsg-4), libgomp1 (= 10-20200324-1ubuntu1), libgpg-error0 (= 1.37-1), libicu66 (= 66.1-2ubuntu2), libisl22 (= 0.22.1-1), liblz4-1 (= 1.9.2-2), liblzma5 (= 5.2.4-1), libmagic-mgc (= 1:5.38-4), libmagic1 (= 1:5.38-4), libmount1 (= 2.34-0.1ubuntu8), libmpc3 (= 1.1.0-1), libmpfr6 (= 4.0.2-1), libncurses-dev (= 6.2-0ubuntu2), libncurses6 (= 6.2-0ubuntu2), libncursesw6 (= 6.2-0ubuntu2), libnl-3-200 (= 3.4.0-1), libnl-3-dev (= 3.4.0-1), libnl-genl-3-200 (= 3.4.0-1), libnl-genl-3-dev (= 3.4.0-1), libpam-modules (= 1.3.1-5ubuntu4), libpam-modules-bin (= 1.3.1-5ubuntu4), libpam-runtime (= 1.3.1-5ubuntu4), libpam0g (= 1.3.1-5ubuntu4), libpci-dev (= 1:3.6.4-1), libpci3 (= 1:3.6.4-1), libpcre2-8-0 (= 10.34-7), libpcre3 (= 2:8.39-12build1), libperl5.30 (= 5.30.0-9build1), libpipeline1 (= 1.5.2-2build1), libselinux1 (= 3.0-1build2), libsigsegv2 (= 2.12-2), libsmartcols1 (= 2.34-0.1ubuntu8), libstdc++-9-dev (= 9.3.0-8ubuntu1), libstdc++6 (= 10-20200324-1ubuntu1), libsub-override-perl (= 0.09-2), libsystemd0 (= 244.3-1ubuntu1), libtinfo6 (= 6.2-0ubuntu2), libtool (= 2.4.6-13), libuchardet0 (= 0.0.6-3build1), libudev-dev (= 244.3-1ubuntu1), libudev1 (= 244.3-1ubuntu1), libunistring2 (= 0.9.10-2), libuuid1 (= 2.34-0.1ubuntu8), libxml2 (= 2.9.10+dfsg-4build1), libzstd1 (= 1.4.4+dfsg-3), linux-libc-dev (= 5.4.0-21.25), login (= 1:4.8.1-1ubuntu3), lsb-base (= 11.1.0ubuntu2), m4 (= 1.4.18-4), make (= 4.2.1-1.2), man-db (= 2.9.1-1), mawk (= 1.3.4.20200120-2), ncurses-base (= 6.2-0ubuntu2), ncurses-bin (= 6.2-0ubuntu2), patch (= 2.7.6-6), pci.ids (= 0.0~2020.03.20-1), perl (= 5.30.0-9build1), perl-base (= 5.30.0-9build1), perl-modules-5.30 (= 5.30.0-9build1), pkg-config (= 0.29.1-0ubuntu4), po-debconf (= 1.0.21), sed (= 4.7-1), sensible-utils (= 0.0.12+nmu1), sysvinit-utils (= 2.96-2.1ubuntu1), tar (= 1.30+dfsg-7), tzdata (= 2019c-3ubuntu1), util-linux (= 2.34-0.1ubuntu8), xz-utils (= 5.2.4-1), zlib1g (= 1:1.2.11.dfsg-2ubuntu1), zlib1g-dev (= 1:1.2.11.dfsg-2ubuntu1) Environment: DEB_BUILD_OPTIONS="parallel=4" LANG="C.UTF-8" LC_ALL="C.UTF-8" SOURCE_DATE_EPOCH="1584793746" +------------------------------------------------------------------------------+ | Package contents | +------------------------------------------------------------------------------+ powertop_2.11-1build1_riscv64.deb --------------------------------- new Debian package, version 2.0. size 189200 bytes: control archive=1316 bytes. 1172 bytes, 22 lines control 415 bytes, 6 lines md5sums 246 bytes, 15 lines * postrm #!/bin/sh Package: powertop Version: 2.11-1build1 Architecture: riscv64 Maintainer: Ubuntu Developers Original-Maintainer: Kan-Ru Chen (陳侃如) Installed-Size: 560 Depends: libc6 (>= 2.27), libgcc-s1 (>= 3.4), libncursesw6 (>= 6), libnl-3-200 (>= 3.2.7), libnl-genl-3-200 (>= 3.2.7), libpci3 (>= 1:3.5.1), libstdc++6 (>= 5.2), libtinfo6 (>= 6) Suggests: cpufrequtils, laptop-mode-tools Section: utils Priority: optional Homepage: https://01.org/powertop/ Description: diagnose issues with power consumption and management PowerTOP is a Linux tool to diagnose issues with power consumption and power management. In addition to being a diagnostic tool, PowerTOP also has an interactive mode you can use to experiment with various power management settings, for cases where the Linux distribution has not enabled those settings. . PowerTOP reports which components in the system are most likely to blame for higher-than-needed power consumption, ranging from software applications to active components in the system. Detailed screens are available for CPU C and P states, device activity, and software activity. drwxr-xr-x root/root 0 2020-03-21 12:29 ./ drwxr-xr-x root/root 0 2020-03-21 12:29 ./usr/ drwxr-xr-x root/root 0 2020-03-21 12:29 ./usr/sbin/ -rwxr-xr-x root/root 483960 2020-03-21 12:29 ./usr/sbin/powertop drwxr-xr-x root/root 0 2020-03-21 12:29 ./usr/share/ drwxr-xr-x root/root 0 2020-03-21 12:29 ./usr/share/bash-completion/ drwxr-xr-x root/root 0 2020-03-21 12:29 ./usr/share/bash-completion/completions/ -rw-r--r-- root/root 1180 2020-03-21 12:29 ./usr/share/bash-completion/completions/powertop drwxr-xr-x root/root 0 2020-03-21 12:29 ./usr/share/doc/ drwxr-xr-x root/root 0 2020-03-21 12:29 ./usr/share/doc/powertop/ -rw-r--r-- root/root 972 2020-01-03 14:28 ./usr/share/doc/powertop/README.Debian -rw-r--r-- root/root 2058 2020-03-21 12:29 ./usr/share/doc/powertop/changelog.Debian.gz -rw-r--r-- root/root 5341 2019-07-07 14:41 ./usr/share/doc/powertop/copyright drwxr-xr-x root/root 0 2020-03-21 12:29 ./usr/share/man/ drwxr-xr-x root/root 0 2020-03-21 12:29 ./usr/share/man/man8/ -rw-r--r-- root/root 1399 2020-03-21 12:29 ./usr/share/man/man8/powertop.8.gz +------------------------------------------------------------------------------+ | Post Build | +------------------------------------------------------------------------------+ +------------------------------------------------------------------------------+ | Cleanup | +------------------------------------------------------------------------------+ Purging /<> Not removing build depends: as requested +------------------------------------------------------------------------------+ | Summary | +------------------------------------------------------------------------------+ Build Architecture: riscv64 Build Type: any Build-Space: 61528 Build-Time: 937 Distribution: focal Host Architecture: riscv64 Install-Time: 112 Job: powertop_2.11-1build1.dsc Machine Architecture: riscv64 Package: powertop Package-Time: 1084 Source-Version: 2.11-1build1 Space: 61528 Status: successful Version: 2.11-1build1 -------------------------------------------------------------------------------- Finished at 2020-04-02T21:55:18Z Build needed 00:18:04, 61528k disk space RUN: /usr/share/launchpad-buildd/bin/in-target scan-for-processes --backend=chroot --series=focal --arch=riscv64 PACKAGEBUILD-19109293 Scanning for processes to kill in build PACKAGEBUILD-19109293 RUN: /usr/share/launchpad-buildd/bin/in-target umount-chroot --backend=chroot --series=focal --arch=riscv64 PACKAGEBUILD-19109293 Stopping target for build PACKAGEBUILD-19109293 RUN: /usr/share/launchpad-buildd/bin/in-target remove-build --backend=chroot --series=focal --arch=riscv64 PACKAGEBUILD-19109293 Removing build PACKAGEBUILD-19109293