Mock Version: 1.4.21 Mock Version: 1.4.21 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/powertop.spec'], chrootPath='/var/lib/mock/f33-build-194633-47134/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'}shell=Falselogger=timeout=432000uid=987gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/powertop.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1587513600 Wrote: /builddir/build/SRPMS/powertop-2.12-1.fc33.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/powertop.spec'], chrootPath='/var/lib/mock/f33-build-194633-47134/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'}shell=Falselogger=timeout=432000uid=987gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/powertop.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1587513600 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.P0Z88s + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf powertop-2.12 + /usr/bin/gzip -dc /builddir/build/SOURCES/powertop-2.12.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd powertop-2.12 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (powertop-2.7-always-create-params.patch):' Patch #0 (powertop-2.7-always-create-params.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .always-create-params --fuzz=0 patching file src/parameters/persistent.cpp + echo v2.12 + echo '"v2.12"' + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.wXWNwr + umask 022 + cd /builddir/build/BUILD + cd powertop-2.12 + autoreconf -fi Copying file ABOUT-NLS Copying file config.rpath Copying file m4/codeset.m4 Copying file m4/fcntl-o.m4 Copying file m4/gettext.m4 Copying file m4/glibc2.m4 Copying file m4/glibc21.m4 Copying file m4/iconv.m4 Copying file m4/intdiv0.m4 Copying file m4/intl.m4 Copying file m4/intldir.m4 Copying file m4/intlmacosx.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/lib-ld.m4 Copying file m4/lib-link.m4 Copying file m4/lib-prefix.m4 Copying file m4/lock.m4 Copying file m4/longlong.m4 Copying file m4/nls.m4 Copying file m4/po.m4 Copying file m4/printf-posix.m4 Copying file m4/progtest.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 Copying file po/Rules-quot Copying file po/boldquot.sed Copying file po/en@boldquot.header Copying file po/en@quot.header Copying file po/insert-header.sin Copying file po/quot.sed Copying file po/remove-potcdate.sin aclocal: installing 'm4/ax_add_fortify_source.m4' from '/usr/share/aclocal/ax_add_fortify_source.m4' aclocal: installing 'm4/ax_cxx_compile_stdcxx.m4' from '/usr/share/aclocal/ax_cxx_compile_stdcxx.m4' aclocal: installing 'm4/ax_cxx_compile_stdcxx_11.m4' from '/usr/share/aclocal/ax_cxx_compile_stdcxx_11.m4' aclocal: installing 'm4/ax_pthread.m4' from '/usr/share/aclocal/ax_pthread.m4' aclocal: installing 'm4/libtool.m4' from '/usr/share/aclocal/libtool.m4' aclocal: installing 'm4/ltoptions.m4' from '/usr/share/aclocal/ltoptions.m4' aclocal: installing 'm4/ltsugar.m4' from '/usr/share/aclocal/ltsugar.m4' aclocal: installing 'm4/ltversion.m4' from '/usr/share/aclocal/ltversion.m4' aclocal: installing 'm4/lt~obsolete.m4' from '/usr/share/aclocal/lt~obsolete.m4' aclocal: installing 'm4/pkg.m4' from '/usr/share/aclocal/pkg.m4' aclocal: installing 'm4/ax_require_defined.m4' from '/usr/share/aclocal/ax_require_defined.m4' aclocal: error: too many loops aclocal: Please contact . at /usr/share/automake-1.16/Automake/Channels.pm line 662. Automake::Channels::msg("automake", "", "too many loops") called at /usr/share/automake-1.16/Automake/ChannelDefs.pm line 212 Automake::ChannelDefs::prog_error("too many loops") called at /usr/bin/aclocal line 1189 autoreconf: aclocal failed with exit status: 255 + autoreconf -fi 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:31: installing './ar-lib' configure.ac:28: installing './compile' configure.ac:28: installing './config.guess' configure.ac:28: installing './config.sub' configure.ac:6: installing './install-sh' configure.ac:6: installing './missing' src/Makefile.am: installing './depcomp' + CFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + '[' 1 = 1 ']' +++ dirname ./configure ++ find . -name config.guess -o -name config.sub + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./config.sub + '[' -f /usr/lib/rpm/redhat/config.sub ']' + /usr/bin/rm -f ./config.sub ++ basename ./config.sub + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.sub ./config.sub '/usr/lib/rpm/redhat/config.sub' -> './config.sub' + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./config.guess + '[' -f /usr/lib/rpm/redhat/config.guess ']' + /usr/bin/rm -f ./config.guess ++ basename ./config.guess + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.guess ./config.guess '/usr/lib/rpm/redhat/config.guess' -> './config.guess' + '[' 1 = 1 ']' + '[' x '!=' 'x-Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' ']' ++ find . -name ltmain.sh + for i in $(find . -name ltmain.sh) + /usr/bin/sed -i.backup -e 's~compiler_flags=$~compiler_flags="-Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld"~' ./ltmain.sh + ./configure --build=riscv64-redhat-linux-gnu --host=riscv64-redhat-linux-gnu --program-prefix= --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /usr/bin/mkdir -p checking for gawk... gawk 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 riscv64-redhat-linux-gnu-g++... no checking for riscv64-redhat-linux-gnu-c++... no checking for riscv64-redhat-linux-gnu-gpp... no checking for riscv64-redhat-linux-gnu-aCC... no checking for riscv64-redhat-linux-gnu-CC... no checking for riscv64-redhat-linux-gnu-cxx... no checking for riscv64-redhat-linux-gnu-cc++... no checking for riscv64-redhat-linux-gnu-cl.exe... no checking for riscv64-redhat-linux-gnu-FCC... no checking for riscv64-redhat-linux-gnu-KCC... no checking for riscv64-redhat-linux-gnu-RCC... no checking for riscv64-redhat-linux-gnu-xlC_r... no checking for riscv64-redhat-linux-gnu-xlC... no 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... /usr/bin/grep checking for egrep... /usr/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 riscv64-redhat-linux-gnu-gcc... no 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-redhat-linux-gnu checking host system type... riscv64-redhat-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 ./configure: line 5801: cd: /lib64/lp64d/../lib64/lp64d/: No such file or directory ./configure: line 5801: cd: /usr/lib64/lp64d/../lib64/lp64d/: No such file or directory 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 riscv64-redhat-linux-gnu-ar... no checking for riscv64-redhat-linux-gnu-lib... no checking for riscv64-redhat-linux-gnu-link... no 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... /usr/bin/sed checking for fgrep... /usr/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-redhat-linux-gnu file names to riscv64-redhat-linux-gnu format... func_convert_file_noop checking how to convert riscv64-redhat-linux-gnu file names to toolchain format... func_convert_file_noop checking for /usr/bin/ld option to reload object files... -r checking for riscv64-redhat-linux-gnu-objdump... no checking for objdump... objdump checking how to recognize dependent libraries... pass_all checking for riscv64-redhat-linux-gnu-dlltool... no checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for riscv64-redhat-linux-gnu-ar... ar checking for archiver @FILE support... @ checking for riscv64-redhat-linux-gnu-strip... no checking for strip... strip checking for riscv64-redhat-linux-gnu-ranlib... no 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... /usr/bin/dd checking how to truncate binary pipes... /usr/bin/dd bs=4096 count=1 checking for riscv64-redhat-linux-gnu-mt... no 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... no 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... no 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 riscv64-redhat-linux-gnu-gcc... 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 whether to add -D_FORTIFY_SOURCE=2 to CPPFLAGS... no checking whether g++ supports C++11 features with -std=c++11... yes checking whether gcc is Clang... no checking whether pthreads work with -pthread... yes checking for joinable pthread attribute... PTHREAD_CREATE_JOINABLE checking whether 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 riscv64-redhat-linux-gnu-pkg-config... /usr/bin/riscv64-redhat-linux-gnu-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 + make -j4 'CFLAGS=-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' make all-recursive make[1]: Entering directory '/builddir/build/BUILD/powertop-2.12' Making all in traceevent make[2]: Entering directory '/builddir/build/BUILD/powertop-2.12/traceevent' CC event-parse.lo CC parse-filter.lo CC trace-seq.lo CC parse-utils.lo parse-filter.c: In function 'arg_to_str.isra': parse-filter.c:2078:8: warning: 'op' may be used uninitialized in this function [-Wmaybe-uninitialized] 2078 | len = strlen(op) + strlen(lstr) + strlen(rstr) + 4; | ^~~~~~~~~~ parse-filter.c:2034:8: note: 'op' was declared here 2034 | char *op; | ^~ parse-filter.c: In function 'reparent_op_arg': parse-filter.c:752:7: warning: 'ptr' may be used uninitialized in this function [-Wmaybe-uninitialized] 752 | *ptr = NULL; | ^ parse-filter.c:756:3: warning: 'other_child' may be used uninitialized in this function [-Wmaybe-uninitialized] 756 | free_arg(other_child); | ^~~~~~~~~~~~~~~~~~~~~ event-parse.c: In function 'pevent_find_event_by_name': event-parse.c:3231:21: warning: 'event' may be used uninitialized in this function [-Wmaybe-uninitialized] 3231 | pevent->last_event = event; | ~~~~~~~~~~~~~~~~~~~^~~~~~~ event-parse.c: In function 'pevent_data_lat_fmt': event-parse.c:4358:4: warning: 'migrate_disable' may be used uninitialized in this function [-Wmaybe-uninitialized] 4358 | trace_seq_printf(s, "%d", migrate_disable); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ event-parse.c:4365:4: warning: 'lock_depth' may be used uninitialized in this function [-Wmaybe-uninitialized] 4365 | trace_seq_printf(s, "%d", lock_depth); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ event-parse.c: In function 'pevent_event_info': event-parse.c:4210:7: warning: 'len_arg' may be used uninitialized in this function [-Wmaybe-uninitialized] 4210 | trace_seq_printf(s, format, len_arg, (char)val); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ event-parse.c:4062:6: note: 'len_arg' was declared here 4062 | int len_arg; | ^~~~~~~ CCLD libtraceevnet.la make[2]: Leaving directory '/builddir/build/BUILD/powertop-2.12/traceevent' Making all in src make[2]: Entering directory '/builddir/build/BUILD/powertop-2.12/src' /bin/sh ./csstoh.sh ./powertop.css css.h make all-am make[3]: Entering directory '/builddir/build/BUILD/powertop-2.12/src' CXX powertop-devlist.o CXX powertop-display.o CXX powertop-lib.o CXX powertop-main.o CXX calibrate/powertop-calibrate.o CXX cpu/powertop-abstract_cpu.o CXX cpu/powertop-cpu.o CXX cpu/powertop-cpu_core.o 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 'void abstract_cpu::insert_cstate(const char*, const char*, uint64_t, uint64_t, int, int)' at cpu/abstract_cpu.cpp:209:11: /usr/include/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)); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ CXX cpu/powertop-cpu_linux.o CXX cpu/powertop-cpu_package.o CXX cpu/powertop-cpu_rapl_device.o CXX cpu/powertop-cpudevice.o CXX cpu/powertop-dram_rapl_device.o CXX cpu/powertop-intel_cpus.o 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/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/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)); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ CXX cpu/powertop-intel_gpu.o CXX cpu/rapl/powertop-rapl_interface.o CXX devices/powertop-ahci.o CXX devices/powertop-alsa.o CXX devices/powertop-backlight.o CXX devices/powertop-devfreq.o 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:871, from /usr/include/c++/10/cstdio:42, from /usr/include/c++/10/ext/string_conversions.h:43, from /usr/include/c++/10/bits/basic_string.h:6535, from /usr/include/c++/10/string:55, from /usr/include/c++/10/bits/locale_classes.h:40, from /usr/include/c++/10/bits/ios_base.h:41, from /usr/include/c++/10/ios:42, from /usr/include/c++/10/ostream:38, from /usr/include/c++/10/iostream:39, from devices/ahci.cpp:25: /usr/include/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:871, from /usr/include/c++/10/cstdio:42, from /usr/include/c++/10/ext/string_conversions.h:43, from /usr/include/c++/10/bits/basic_string.h:6535, from /usr/include/c++/10/string:55, from /usr/include/c++/10/bits/locale_classes.h:40, from /usr/include/c++/10/bits/ios_base.h:41, from /usr/include/c++/10/ios:42, from /usr/include/c++/10/ostream:38, from /usr/include/c++/10/iostream:39, from devices/ahci.cpp:25: /usr/include/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:871, from /usr/include/c++/10/cstdio:42, from /usr/include/c++/10/ext/string_conversions.h:43, from /usr/include/c++/10/bits/basic_string.h:6535, from /usr/include/c++/10/string:55, from /usr/include/c++/10/bits/locale_classes.h:40, from /usr/include/c++/10/bits/ios_base.h:41, from /usr/include/c++/10/ios:42, from /usr/include/c++/10/ostream:38, from /usr/include/c++/10/iostream:39, from devices/ahci.cpp:25: /usr/include/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:871, from /usr/include/c++/10/cstdio:42, from /usr/include/c++/10/ext/string_conversions.h:43, from /usr/include/c++/10/bits/basic_string.h:6535, from /usr/include/c++/10/string:55, from /usr/include/c++/10/bits/locale_classes.h:40, from /usr/include/c++/10/bits/ios_base.h:41, from /usr/include/c++/10/ios:42, from /usr/include/c++/10/ostream:38, from /usr/include/c++/10/iostream:39, from devices/ahci.cpp:25: /usr/include/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:871, from /usr/include/c++/10/cstdio:42, from /usr/include/c++/10/ext/string_conversions.h:43, from /usr/include/c++/10/bits/basic_string.h:6535, from /usr/include/c++/10/string:55, from /usr/include/c++/10/bits/locale_classes.h:40, from /usr/include/c++/10/bits/ios_base.h:41, from /usr/include/c++/10/ios:42, from /usr/include/c++/10/ostream:38, from /usr/include/c++/10/iostream:39, from devices/ahci.cpp:25: /usr/include/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:871, from /usr/include/c++/10/cstdio:42, from /usr/include/c++/10/ext/string_conversions.h:43, from /usr/include/c++/10/bits/basic_string.h:6535, from /usr/include/c++/10/string:55, from /usr/include/c++/10/bits/locale_classes.h:40, from /usr/include/c++/10/bits/ios_base.h:41, from /usr/include/c++/10/ios:42, from /usr/include/c++/10/ostream:38, from /usr/include/c++/10/iostream:39, from devices/ahci.cpp:25: /usr/include/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:871, from /usr/include/c++/10/cstdio:42, from /usr/include/c++/10/ext/string_conversions.h:43, from /usr/include/c++/10/bits/basic_string.h:6535, from /usr/include/c++/10/string:55, from /usr/include/c++/10/bits/locale_classes.h:40, from /usr/include/c++/10/bits/ios_base.h:41, from /usr/include/c++/10/ios:42, from /usr/include/c++/10/ostream:38, from /usr/include/c++/10/iostream:39, from devices/ahci.cpp:25: /usr/include/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:871, from /usr/include/c++/10/cstdio:42, from /usr/include/c++/10/ext/string_conversions.h:43, from /usr/include/c++/10/bits/basic_string.h:6535, from /usr/include/c++/10/string:55, from /usr/include/c++/10/bits/locale_classes.h:40, from /usr/include/c++/10/bits/ios_base.h:41, from /usr/include/c++/10/ios:42, from /usr/include/c++/10/ostream:38, from /usr/include/c++/10/iostream:39, from devices/ahci.cpp:25: /usr/include/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:871, from /usr/include/c++/10/cstdio:42, from /usr/include/c++/10/ext/string_conversions.h:43, from /usr/include/c++/10/bits/basic_string.h:6535, from /usr/include/c++/10/string:55, from /usr/include/c++/10/bits/locale_classes.h:40, from /usr/include/c++/10/bits/ios_base.h:41, from /usr/include/c++/10/ios:42, from /usr/include/c++/10/ostream:38, from /usr/include/c++/10/iostream:39, from devices/ahci.cpp:25: /usr/include/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:871, from /usr/include/c++/10/cstdio:42, from /usr/include/c++/10/ext/string_conversions.h:43, from /usr/include/c++/10/bits/basic_string.h:6535, from /usr/include/c++/10/string:55, from /usr/include/c++/10/bits/locale_classes.h:40, from /usr/include/c++/10/bits/ios_base.h:41, from /usr/include/c++/10/ios:42, from /usr/include/c++/10/ostream:38, from /usr/include/c++/10/iostream:39, from devices/ahci.cpp:25: /usr/include/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:871, from /usr/include/c++/10/cstdio:42, from /usr/include/c++/10/ext/string_conversions.h:43, from /usr/include/c++/10/bits/basic_string.h:6535, from /usr/include/c++/10/string:55, from /usr/include/c++/10/bits/locale_classes.h:40, from /usr/include/c++/10/bits/ios_base.h:41, from /usr/include/c++/10/ios:42, from /usr/include/c++/10/ostream:38, from /usr/include/c++/10/iostream:39, from devices/ahci.cpp:25: /usr/include/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:871, from /usr/include/c++/10/cstdio:42, from /usr/include/c++/10/ext/string_conversions.h:43, from /usr/include/c++/10/bits/basic_string.h:6535, from /usr/include/c++/10/string:55, from /usr/include/c++/10/bits/locale_classes.h:40, from /usr/include/c++/10/bits/ios_base.h:41, from /usr/include/c++/10/ios:42, from /usr/include/c++/10/ostream:38, from /usr/include/c++/10/iostream:39, from devices/ahci.cpp:25: /usr/include/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/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:871, from /usr/include/c++/10/cstdio:42, from /usr/include/c++/10/ext/string_conversions.h:43, from /usr/include/c++/10/bits/basic_string.h:6535, from /usr/include/c++/10/string:55, from /usr/include/c++/10/bits/locale_classes.h:40, from /usr/include/c++/10/bits/ios_base.h:41, from /usr/include/c++/10/ios:42, from /usr/include/c++/10/ostream:38, from /usr/include/c++/10/iostream:39, from devices/alsa.cpp:25: /usr/include/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 ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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:871, from /usr/include/c++/10/cstdio:42, from /usr/include/c++/10/ext/string_conversions.h:43, from /usr/include/c++/10/bits/basic_string.h:6535, from /usr/include/c++/10/string:55, from /usr/include/c++/10/bits/locale_classes.h:40, from /usr/include/c++/10/bits/ios_base.h:41, from /usr/include/c++/10/ios:42, from /usr/include/c++/10/ostream:38, from /usr/include/c++/10/iostream:39, from devices/backlight.cpp:25: /usr/include/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/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/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 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:871, from /usr/include/c++/10/cstdio:42, from /usr/include/c++/10/ext/string_conversions.h:43, from /usr/include/c++/10/bits/basic_string.h:6535, from /usr/include/c++/10/string:55, from /usr/include/c++/10/bits/locale_classes.h:40, from /usr/include/c++/10/bits/ios_base.h:41, from /usr/include/c++/10/ios:42, from /usr/include/c++/10/ostream:38, from /usr/include/c++/10/iostream:39, from devices/ahci.cpp:25: /usr/include/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:871, from /usr/include/c++/10/cstdio:42, from /usr/include/c++/10/ext/string_conversions.h:43, from /usr/include/c++/10/bits/basic_string.h:6535, from /usr/include/c++/10/string:55, from /usr/include/c++/10/bits/locale_classes.h:40, from /usr/include/c++/10/bits/ios_base.h:41, from /usr/include/c++/10/ios:42, from /usr/include/c++/10/ostream:38, from /usr/include/c++/10/iostream:39, from devices/ahci.cpp:25: /usr/include/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:871, from /usr/include/c++/10/cstdio:42, from /usr/include/c++/10/ext/string_conversions.h:43, from /usr/include/c++/10/bits/basic_string.h:6535, from /usr/include/c++/10/string:55, from /usr/include/c++/10/bits/locale_classes.h:40, from /usr/include/c++/10/bits/ios_base.h:41, from /usr/include/c++/10/ios:42, from /usr/include/c++/10/ostream:38, from /usr/include/c++/10/iostream:39, from devices/ahci.cpp:25: /usr/include/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:871, from /usr/include/c++/10/cstdio:42, from /usr/include/c++/10/ext/string_conversions.h:43, from /usr/include/c++/10/bits/basic_string.h:6535, from /usr/include/c++/10/string:55, from /usr/include/c++/10/bits/locale_classes.h:40, from /usr/include/c++/10/bits/ios_base.h:41, from /usr/include/c++/10/ios:42, from /usr/include/c++/10/ostream:38, from /usr/include/c++/10/iostream:39, from devices/ahci.cpp:25: /usr/include/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:871, from /usr/include/c++/10/cstdio:42, from /usr/include/c++/10/ext/string_conversions.h:43, from /usr/include/c++/10/bits/basic_string.h:6535, from /usr/include/c++/10/string:55, from /usr/include/c++/10/bits/locale_classes.h:40, from /usr/include/c++/10/bits/ios_base.h:41, from /usr/include/c++/10/ios:42, from /usr/include/c++/10/ostream:38, from /usr/include/c++/10/iostream:39, from devices/ahci.cpp:25: /usr/include/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:871, from /usr/include/c++/10/cstdio:42, from /usr/include/c++/10/ext/string_conversions.h:43, from /usr/include/c++/10/bits/basic_string.h:6535, from /usr/include/c++/10/string:55, from /usr/include/c++/10/bits/locale_classes.h:40, from /usr/include/c++/10/bits/ios_base.h:41, from /usr/include/c++/10/ios:42, from /usr/include/c++/10/ostream:38, from /usr/include/c++/10/iostream:39, from devices/ahci.cpp:25: /usr/include/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/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/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/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/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::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:871, from /usr/include/c++/10/cstdio:42, from /usr/include/c++/10/ext/string_conversions.h:43, from /usr/include/c++/10/bits/basic_string.h:6535, from /usr/include/c++/10/string:55, from /usr/include/c++/10/bits/locale_classes.h:40, from /usr/include/c++/10/bits/ios_base.h:41, from /usr/include/c++/10/ios:42, from /usr/include/c++/10/ostream:38, from /usr/include/c++/10/iostream:39, from devices/backlight.cpp:25: /usr/include/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:871, from /usr/include/c++/10/cstdio:42, from /usr/include/c++/10/ext/string_conversions.h:43, from /usr/include/c++/10/bits/basic_string.h:6535, from /usr/include/c++/10/string:55, from /usr/include/c++/10/bits/locale_classes.h:40, from /usr/include/c++/10/bits/ios_base.h:41, from /usr/include/c++/10/ios:42, from /usr/include/c++/10/ostream:38, from /usr/include/c++/10/iostream:39, from devices/backlight.cpp:25: /usr/include/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::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:871, from /usr/include/c++/10/cstdio:42, from /usr/include/c++/10/ext/string_conversions.h:43, from /usr/include/c++/10/bits/basic_string.h:6535, from /usr/include/c++/10/string:55, from /usr/include/c++/10/bits/locale_classes.h:40, from /usr/include/c++/10/bits/ios_base.h:41, from /usr/include/c++/10/ios:42, from /usr/include/c++/10/ostream:38, from /usr/include/c++/10/iostream:39, from devices/alsa.cpp:25: /usr/include/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:871, from /usr/include/c++/10/cstdio:42, from /usr/include/c++/10/ext/string_conversions.h:43, from /usr/include/c++/10/bits/basic_string.h:6535, from /usr/include/c++/10/string:55, from /usr/include/c++/10/bits/locale_classes.h:40, from /usr/include/c++/10/bits/ios_base.h:41, from /usr/include/c++/10/ios:42, from /usr/include/c++/10/ostream:38, from /usr/include/c++/10/iostream:39, from devices/alsa.cpp:25: /usr/include/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::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:871, from /usr/include/c++/10/cstdio:42, from /usr/include/c++/10/ext/string_conversions.h:43, from /usr/include/c++/10/bits/basic_string.h:6535, from /usr/include/c++/10/string:55, from /usr/include/c++/10/bits/locale_classes.h:40, from /usr/include/c++/10/bits/ios_base.h:41, from /usr/include/c++/10/ios:42, from /usr/include/c++/10/ostream:38, from /usr/include/c++/10/iostream:39, from devices/backlight.cpp:25: /usr/include/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:871, from /usr/include/c++/10/cstdio:42, from /usr/include/c++/10/ext/string_conversions.h:43, from /usr/include/c++/10/bits/basic_string.h:6535, from /usr/include/c++/10/string:55, from /usr/include/c++/10/bits/locale_classes.h:40, from /usr/include/c++/10/bits/ios_base.h:41, from /usr/include/c++/10/ios:42, from /usr/include/c++/10/ostream:38, from /usr/include/c++/10/iostream:39, from devices/backlight.cpp:25: /usr/include/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::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:871, from /usr/include/c++/10/cstdio:42, from /usr/include/c++/10/ext/string_conversions.h:43, from /usr/include/c++/10/bits/basic_string.h:6535, from /usr/include/c++/10/string:55, from /usr/include/c++/10/bits/locale_classes.h:40, from /usr/include/c++/10/bits/ios_base.h:41, from /usr/include/c++/10/ios:42, from /usr/include/c++/10/ostream:38, from /usr/include/c++/10/iostream:39, from devices/alsa.cpp:25: /usr/include/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:871, from /usr/include/c++/10/cstdio:42, from /usr/include/c++/10/ext/string_conversions.h:43, from /usr/include/c++/10/bits/basic_string.h:6535, from /usr/include/c++/10/string:55, from /usr/include/c++/10/bits/locale_classes.h:40, from /usr/include/c++/10/bits/ios_base.h:41, from /usr/include/c++/10/ios:42, from /usr/include/c++/10/ostream:38, from /usr/include/c++/10/iostream:39, from devices/alsa.cpp:25: /usr/include/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 ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ CXX devices/powertop-device.o CXX devices/powertop-gpu_rapl_device.o CXX devices/powertop-i915-gpu.o 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/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 devices/../parameters/../lib.h:78:9, inlined from 'devfreq::devfreq(const char*)' at devices/devfreq.cpp:48:11, inlined from 'void devfreq_dev_callback(const char*)' at devices/devfreq.cpp:225:54: /usr/include/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)); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ CXX devices/powertop-network.o CXX devices/powertop-rfkill.o 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:871, from devices/device.cpp:29: /usr/include/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 ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ CXX devices/powertop-runtime_pm.o CXX devices/powertop-thinkpad-fan.o 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/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::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:871, from /usr/include/c++/10/cstdio:42, from /usr/include/c++/10/ext/string_conversions.h:43, from /usr/include/c++/10/bits/basic_string.h:6535, from /usr/include/c++/10/string:55, from /usr/include/c++/10/bits/locale_classes.h:40, from /usr/include/c++/10/bits/ios_base.h:41, from /usr/include/c++/10/ios:42, from /usr/include/c++/10/ostream:38, from /usr/include/c++/10/iostream:39, from devices/rfkill.cpp:25: /usr/include/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:871, from /usr/include/c++/10/cstdio:42, from /usr/include/c++/10/ext/string_conversions.h:43, from /usr/include/c++/10/bits/basic_string.h:6535, from /usr/include/c++/10/string:55, from /usr/include/c++/10/bits/locale_classes.h:40, from /usr/include/c++/10/bits/ios_base.h:41, from /usr/include/c++/10/ios:42, from /usr/include/c++/10/ostream:38, from /usr/include/c++/10/iostream:39, from devices/rfkill.cpp:25: /usr/include/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::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:871, from /usr/include/c++/10/cstdio:42, from /usr/include/c++/10/ext/string_conversions.h:43, from /usr/include/c++/10/bits/basic_string.h:6535, from /usr/include/c++/10/string:55, from /usr/include/c++/10/bits/locale_classes.h:40, from /usr/include/c++/10/bits/ios_base.h:41, from /usr/include/c++/10/ios:42, from /usr/include/c++/10/ostream:38, from /usr/include/c++/10/iostream:39, from devices/rfkill.cpp:25: /usr/include/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:871, from /usr/include/c++/10/cstdio:42, from /usr/include/c++/10/ext/string_conversions.h:43, from /usr/include/c++/10/bits/basic_string.h:6535, from /usr/include/c++/10/string:55, from /usr/include/c++/10/bits/locale_classes.h:40, from /usr/include/c++/10/bits/ios_base.h:41, from /usr/include/c++/10/ios:42, from /usr/include/c++/10/ostream:38, from /usr/include/c++/10/iostream:39, from devices/rfkill.cpp:25: /usr/include/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 ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ CXX devices/powertop-thinkpad-light.o 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/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/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/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/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/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::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:871, from /usr/include/c++/10/cstdio:42, from /usr/include/c++/10/ext/string_conversions.h:43, from /usr/include/c++/10/bits/basic_string.h:6535, from /usr/include/c++/10/string:55, from devices/../parameters/parameters.h:31, from devices/runtime_pm.h:31, from devices/runtime_pm.cpp:25: /usr/include/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:871, from /usr/include/c++/10/cstdio:42, from /usr/include/c++/10/ext/string_conversions.h:43, from /usr/include/c++/10/bits/basic_string.h:6535, from /usr/include/c++/10/string:55, from devices/../parameters/parameters.h:31, from devices/runtime_pm.h:31, from devices/runtime_pm.cpp:25: /usr/include/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::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:871, from /usr/include/c++/10/cstdio:42, from /usr/include/c++/10/ext/string_conversions.h:43, from /usr/include/c++/10/bits/basic_string.h:6535, from /usr/include/c++/10/string:55, from devices/../parameters/parameters.h:31, from devices/runtime_pm.h:31, from devices/runtime_pm.cpp:25: /usr/include/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:871, from /usr/include/c++/10/cstdio:42, from /usr/include/c++/10/ext/string_conversions.h:43, from /usr/include/c++/10/bits/basic_string.h:6535, from /usr/include/c++/10/string:55, from devices/../parameters/parameters.h:31, from devices/runtime_pm.h:31, from devices/runtime_pm.cpp:25: /usr/include/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 ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ CXX devices/powertop-usb.o CXX measurement/powertop-acpi.o CXX measurement/powertop-extech.o CXX measurement/powertop-measurement.o 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/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)); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ CXX measurement/powertop-sysfs.o 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/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/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/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:871, from /usr/include/c++/10/cstdio:42, from /usr/include/c++/10/ext/string_conversions.h:43, from /usr/include/c++/10/bits/basic_string.h:6535, from /usr/include/c++/10/string:55, from devices/../parameters/parameters.h:31, from devices/usb.h:31, from devices/usb.cpp:25: /usr/include/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:871, from /usr/include/c++/10/cstdio:42, from /usr/include/c++/10/ext/string_conversions.h:43, from /usr/include/c++/10/bits/basic_string.h:6535, from /usr/include/c++/10/string:55, from devices/../parameters/parameters.h:31, from devices/usb.h:31, from devices/usb.cpp:25: /usr/include/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:871, from /usr/include/c++/10/cstdio:42, from /usr/include/c++/10/ext/string_conversions.h:43, from /usr/include/c++/10/bits/basic_string.h:6535, from /usr/include/c++/10/string:55, from devices/../parameters/parameters.h:31, from devices/usb.h:31, from devices/usb.cpp:25: /usr/include/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:871, from /usr/include/c++/10/cstdio:42, from /usr/include/c++/10/ext/string_conversions.h:43, from /usr/include/c++/10/bits/basic_string.h:6535, from /usr/include/c++/10/string:55, from devices/../parameters/parameters.h:31, from devices/usb.h:31, from devices/usb.cpp:25: /usr/include/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 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:871, from /usr/include/c++/10/cstdio:42, from /usr/include/c++/10/ext/string_conversions.h:43, from /usr/include/c++/10/bits/basic_string.h:6535, from /usr/include/c++/10/string:55, from devices/../parameters/parameters.h:31, from devices/usb.h:31, from devices/usb.cpp:25: /usr/include/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:871, from /usr/include/c++/10/cstdio:42, from /usr/include/c++/10/ext/string_conversions.h:43, from /usr/include/c++/10/bits/basic_string.h:6535, from /usr/include/c++/10/string:55, from devices/../parameters/parameters.h:31, from devices/usb.h:31, from devices/usb.cpp:25: /usr/include/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:871, from /usr/include/c++/10/cstdio:42, from /usr/include/c++/10/ext/string_conversions.h:43, from /usr/include/c++/10/bits/basic_string.h:6535, from /usr/include/c++/10/string:55, from devices/../parameters/parameters.h:31, from devices/usb.h:31, from devices/usb.cpp:25: /usr/include/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 ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ CXX measurement/powertop-opal-sensors.o 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/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)); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ CXX parameters/powertop-learn.o In file included from /usr/include/string.h:495, from /usr/include/c++/10/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/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)); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ CXX parameters/powertop-parameters.o In file included from /usr/include/string.h:495, from /usr/include/c++/10/cstring:42, from measurement/../lib.h:31, from measurement/opal-sensors.cpp:27: In function 'char* strncpy(char*, const char*, size_t)', inlined from 'opal_sensors_power_meter::opal_sensors_power_meter(const char*)' at measurement/opal-sensors.cpp:34:9: /usr/include/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)); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ CXX parameters/powertop-persistent.o CXX perf/powertop-perf.o CXX perf/powertop-perf_bundle.o CXX process/powertop-do_process.o CXX process/powertop-interrupt.o CXX process/powertop-powerconsumer.o CXX process/powertop-process.o 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/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)); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ CXX process/powertop-processdevice.o CXX process/powertop-timer.o 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/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/bits/string_fortified.h:106:34: warning: 'char* __builtin_strncpy(char*, const char*, long unsigned int)' output may be truncated copying between 0 and 255 bytes from a string of length 4096 [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ CXX process/powertop-work.o CXX report/powertop-report-data-html.o 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/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 process/../lib.h:78:9, inlined from 'timer::timer(long unsigned int)' at process/timer.cpp:64:11, inlined from 'timer* find_create_timer(uint64_t)' at process/timer.cpp:139:30: /usr/include/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)); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ CXX report/powertop-report-formatter-base.o CXX report/powertop-report-formatter-csv.o 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/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)); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ CXX report/powertop-report-formatter-html.o CXX report/powertop-report-maker.o CXX report/powertop-report.o CXX tuning/powertop-bluetooth.o CXX tuning/powertop-ethernet.o CC tuning/powertop-iw.o CXX tuning/powertop-runtime.o CXX tuning/powertop-tunable.o In file included from /usr/include/string.h:495, from /usr/include/c++/10/cstring:42, from tuning/../lib.h:31, from tuning/tunable.h:30, from tuning/ethernet.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 'ethernet_tunable::ethernet_tunable(const char*)' at tuning/ethernet.cpp:53:11: /usr/include/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)); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ CXX tuning/powertop-tuning.o CXX tuning/powertop-tuningsysfs.o In file included from /usr/include/string.h:495, from /usr/include/c++/10/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/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/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/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/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/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/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/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)); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ CXX tuning/powertop-tuningusb.o 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:871, from /usr/include/c++/10/cstdio:42, from /usr/include/c++/10/ext/string_conversions.h:43, from /usr/include/c++/10/bits/basic_string.h:6535, from /usr/include/c++/10/string:55, from tuning/../lib.h:58, from tuning/tunable.h:30, from tuning/runtime.cpp:27: /usr/include/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:871, from /usr/include/c++/10/cstdio:42, from /usr/include/c++/10/ext/string_conversions.h:43, from /usr/include/c++/10/bits/basic_string.h:6535, from /usr/include/c++/10/string:55, from tuning/../lib.h:58, from tuning/tunable.h:30, from tuning/runtime.cpp:27: /usr/include/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:871, from /usr/include/c++/10/cstdio:42, from /usr/include/c++/10/ext/string_conversions.h:43, from /usr/include/c++/10/bits/basic_string.h:6535, from /usr/include/c++/10/string:55, from tuning/../lib.h:58, from tuning/tunable.h:30, from tuning/runtime.cpp:27: /usr/include/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:871, from /usr/include/c++/10/cstdio:42, from /usr/include/c++/10/ext/string_conversions.h:43, from /usr/include/c++/10/bits/basic_string.h:6535, from /usr/include/c++/10/string:55, from tuning/../lib.h:58, from tuning/tunable.h:30, from tuning/runtime.cpp:27: /usr/include/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:871, from /usr/include/c++/10/cstdio:42, from /usr/include/c++/10/ext/string_conversions.h:43, from /usr/include/c++/10/bits/basic_string.h:6535, from /usr/include/c++/10/string:55, from tuning/../lib.h:58, from tuning/tunable.h:30, from tuning/runtime.cpp:27: /usr/include/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 ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ CXX tuning/powertop-tuningi2c.o In file included from /usr/include/string.h:495, from /usr/include/c++/10/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/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/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)); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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:871, from /usr/include/c++/10/cstdio:42, from /usr/include/c++/10/ext/string_conversions.h:43, from /usr/include/c++/10/bits/basic_string.h:6535, from /usr/include/c++/10/string:55, from tuning/../lib.h:58, from tuning/tunable.h:30, from tuning/tuningsysfs.cpp:27: /usr/include/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:871, from /usr/include/c++/10/cstdio:42, from /usr/include/c++/10/ext/string_conversions.h:43, from /usr/include/c++/10/bits/basic_string.h:6535, from /usr/include/c++/10/string:55, from tuning/../lib.h:58, from tuning/tunable.h:30, from tuning/tuningsysfs.cpp:27: /usr/include/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 ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ CXX tuning/powertop-wifi.o 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:871, from /usr/include/c++/10/cstdio:42, from /usr/include/c++/10/ext/string_conversions.h:43, from /usr/include/c++/10/bits/basic_string.h:6535, from /usr/include/c++/10/string:55, from tuning/../lib.h:58, from tuning/tunable.h:30, from tuning/tuningusb.cpp:27: /usr/include/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:871, from /usr/include/c++/10/cstdio:42, from /usr/include/c++/10/ext/string_conversions.h:43, from /usr/include/c++/10/bits/basic_string.h:6535, from /usr/include/c++/10/string:55, from tuning/../lib.h:58, from tuning/tunable.h:30, from tuning/tuningusb.cpp:27: /usr/include/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 ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ CXX wakeup/powertop-wakeup.o 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:871, from /usr/include/c++/10/cstdio:42, from /usr/include/c++/10/ext/string_conversions.h:43, from /usr/include/c++/10/bits/basic_string.h:6535, from /usr/include/c++/10/string:55, from tuning/../lib.h:58, from tuning/tunable.h:30, from tuning/tuningi2c.cpp:21: /usr/include/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:871, from /usr/include/c++/10/cstdio:42, from /usr/include/c++/10/ext/string_conversions.h:43, from /usr/include/c++/10/bits/basic_string.h:6535, from /usr/include/c++/10/string:55, from tuning/../lib.h:58, from tuning/tunable.h:30, from tuning/tuningi2c.cpp:21: /usr/include/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 ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ CXX wakeup/powertop-waketab.o CXX wakeup/powertop-wakeup_ethernet.o In file included from /usr/include/string.h:495, from /usr/include/c++/10/cstring:42, from tuning/../lib.h:31, from tuning/tunable.h:30, from tuning/wifi.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 'wifi_tunable::wifi_tunable(const char*)' at tuning/wifi.cpp:47:11: /usr/include/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)); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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:871, from /usr/include/c++/10/cstdio:42, from /usr/include/c++/10/ext/string_conversions.h:43, from /usr/include/c++/10/bits/basic_string.h:6535, from /usr/include/c++/10/string:55, from tuning/../lib.h:58, from tuning/tunable.h:30, from tuning/wifi.cpp:27: /usr/include/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:871, from /usr/include/c++/10/cstdio:42, from /usr/include/c++/10/ext/string_conversions.h:43, from /usr/include/c++/10/bits/basic_string.h:6535, from /usr/include/c++/10/string:55, from tuning/../lib.h:58, from tuning/tunable.h:30, from tuning/wifi.cpp:27: /usr/include/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 ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ CXX wakeup/powertop-wakeup_usb.o 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/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/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/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/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/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/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 file included from /usr/include/string.h:495, from wakeup/wakeup_ethernet.cpp:31: 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 'ethernet_wakeup::ethernet_wakeup(const char*, const char*)' at wakeup/wakeup_ethernet.cpp:50:11: /usr/include/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)); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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:871, from wakeup/wakeup_ethernet.cpp:29: /usr/include/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:871, from wakeup/wakeup_ethernet.cpp:29: /usr/include/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 ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/string.h:495, from wakeup/wakeup_usb.cpp:31: 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 'usb_wakeup::usb_wakeup(const char*, const char*)' at wakeup/wakeup_usb.cpp:50:11: /usr/include/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)); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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:871, from wakeup/wakeup_usb.cpp:29: /usr/include/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:871, from wakeup/wakeup_usb.cpp:29: /usr/include/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 ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ CXXLD powertop make[3]: Leaving directory '/builddir/build/BUILD/powertop-2.12/src' make[2]: Leaving directory '/builddir/build/BUILD/powertop-2.12/src' Making all in po make[2]: Entering directory '/builddir/build/BUILD/powertop-2.12/po' test ! -f ./powertop.pot || \ test -z "ca.gmo cs_CZ.gmo de_DE.gmo en_GB.gmo en_US.gmo es_ES.gmo hu_HU.gmo id_ID.gmo nl_NL.gmo zh_TW.gmo" || make ca.gmo cs_CZ.gmo de_DE.gmo en_GB.gmo en_US.gmo es_ES.gmo hu_HU.gmo id_ID.gmo nl_NL.gmo zh_TW.gmo make[3]: Entering directory '/builddir/build/BUILD/powertop-2.12/po' rm -f ca.gmo && /usr/bin/msgfmt -c --statistics --verbose -o ca.gmo ca.po rm -f de_DE.gmo && /usr/bin/msgfmt -c --statistics --verbose -o de_DE.gmo de_DE.po rm -f cs_CZ.gmo && /usr/bin/msgfmt -c --statistics --verbose -o cs_CZ.gmo cs_CZ.po rm -f en_GB.gmo && /usr/bin/msgfmt -c --statistics --verbose -o en_GB.gmo en_GB.po de_DE.po: 111 translated messages, 37 fuzzy translations, 56 untranslated messages. ca.po: 64 translated messages, 19 fuzzy translations, 121 untranslated messages. cs_CZ.po: 109 translated messages, 37 fuzzy translations, 58 untranslated messages. en_GB.po: 21 translated messages, 8 fuzzy translations, 175 untranslated messages. rm -f en_US.gmo && /usr/bin/msgfmt -c --statistics --verbose -o en_US.gmo en_US.po rm -f es_ES.gmo && /usr/bin/msgfmt -c --statistics --verbose -o es_ES.gmo es_ES.po rm -f hu_HU.gmo && /usr/bin/msgfmt -c --statistics --verbose -o hu_HU.gmo hu_HU.po rm -f id_ID.gmo && /usr/bin/msgfmt -c --statistics --verbose -o id_ID.gmo id_ID.po en_US.po: 61 translated messages, 18 fuzzy translations, 125 untranslated messages. es_ES.po: 65 translated messages, 23 fuzzy translations, 116 untranslated messages. hu_HU.po: 104 translated messages, 33 fuzzy translations, 67 untranslated messages. id_ID.po: 110 translated messages, 37 fuzzy translations, 57 untranslated messages. rm -f nl_NL.gmo && /usr/bin/msgfmt -c --statistics --verbose -o nl_NL.gmo nl_NL.po rm -f zh_TW.gmo && /usr/bin/msgfmt -c --statistics --verbose -o zh_TW.gmo zh_TW.po nl_NL.po: 22 translated messages, 8 fuzzy translations, 174 untranslated messages. zh_TW.po: 110 translated messages, 37 fuzzy translations, 57 untranslated messages. make[3]: Leaving directory '/builddir/build/BUILD/powertop-2.12/po' touch stamp-po make[2]: Leaving directory '/builddir/build/BUILD/powertop-2.12/po' Making all in doc make[2]: Entering directory '/builddir/build/BUILD/powertop-2.12/doc' make[2]: Nothing to be done for 'all'. make[2]: Leaving directory '/builddir/build/BUILD/powertop-2.12/doc' Making all in scripts/bash-completion make[2]: Entering directory '/builddir/build/BUILD/powertop-2.12/scripts/bash-completion' make[2]: Nothing to be done for 'all'. make[2]: Leaving directory '/builddir/build/BUILD/powertop-2.12/scripts/bash-completion' make[2]: Entering directory '/builddir/build/BUILD/powertop-2.12' make[2]: Leaving directory '/builddir/build/BUILD/powertop-2.12' make[1]: Leaving directory '/builddir/build/BUILD/powertop-2.12' + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.LP5ras + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/powertop-2.12-1.fc33.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/powertop-2.12-1.fc33.riscv64 ++ dirname /builddir/build/BUILDROOT/powertop-2.12-1.fc33.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/powertop-2.12-1.fc33.riscv64 + cd powertop-2.12 + rm -rf /builddir/build/BUILDROOT/powertop-2.12-1.fc33.riscv64 + make install DESTDIR=/builddir/build/BUILDROOT/powertop-2.12-1.fc33.riscv64 Making install in traceevent make[1]: Entering directory '/builddir/build/BUILD/powertop-2.12/traceevent' make[2]: Entering directory '/builddir/build/BUILD/powertop-2.12/traceevent' make[2]: Nothing to be done for 'install-exec-am'. make[2]: Nothing to be done for 'install-data-am'. make[2]: Leaving directory '/builddir/build/BUILD/powertop-2.12/traceevent' make[1]: Leaving directory '/builddir/build/BUILD/powertop-2.12/traceevent' Making install in src make[1]: Entering directory '/builddir/build/BUILD/powertop-2.12/src' make install-am make[2]: Entering directory '/builddir/build/BUILD/powertop-2.12/src' make[3]: Entering directory '/builddir/build/BUILD/powertop-2.12/src' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/powertop-2.12-1.fc33.riscv64/usr/sbin' /bin/sh ../libtool --mode=install /usr/bin/install -c powertop '/builddir/build/BUILDROOT/powertop-2.12-1.fc33.riscv64/usr/sbin' libtool: install: /usr/bin/install -c powertop /builddir/build/BUILDROOT/powertop-2.12-1.fc33.riscv64/usr/sbin/powertop make[3]: Nothing to be done for 'install-data-am'. make[3]: Leaving directory '/builddir/build/BUILD/powertop-2.12/src' make[2]: Leaving directory '/builddir/build/BUILD/powertop-2.12/src' make[1]: Leaving directory '/builddir/build/BUILD/powertop-2.12/src' Making install in po make[1]: Entering directory '/builddir/build/BUILD/powertop-2.12/po' installing ca.gmo as /builddir/build/BUILDROOT/powertop-2.12-1.fc33.riscv64/usr/share/locale/ca/LC_MESSAGES/powertop.mo installing cs_CZ.gmo as /builddir/build/BUILDROOT/powertop-2.12-1.fc33.riscv64/usr/share/locale/cs_CZ/LC_MESSAGES/powertop.mo installing de_DE.gmo as /builddir/build/BUILDROOT/powertop-2.12-1.fc33.riscv64/usr/share/locale/de_DE/LC_MESSAGES/powertop.mo installing en_GB.gmo as /builddir/build/BUILDROOT/powertop-2.12-1.fc33.riscv64/usr/share/locale/en_GB/LC_MESSAGES/powertop.mo installing en_US.gmo as /builddir/build/BUILDROOT/powertop-2.12-1.fc33.riscv64/usr/share/locale/en_US/LC_MESSAGES/powertop.mo installing es_ES.gmo as /builddir/build/BUILDROOT/powertop-2.12-1.fc33.riscv64/usr/share/locale/es_ES/LC_MESSAGES/powertop.mo installing hu_HU.gmo as /builddir/build/BUILDROOT/powertop-2.12-1.fc33.riscv64/usr/share/locale/hu_HU/LC_MESSAGES/powertop.mo installing id_ID.gmo as /builddir/build/BUILDROOT/powertop-2.12-1.fc33.riscv64/usr/share/locale/id_ID/LC_MESSAGES/powertop.mo installing nl_NL.gmo as /builddir/build/BUILDROOT/powertop-2.12-1.fc33.riscv64/usr/share/locale/nl_NL/LC_MESSAGES/powertop.mo installing zh_TW.gmo as /builddir/build/BUILDROOT/powertop-2.12-1.fc33.riscv64/usr/share/locale/zh_TW/LC_MESSAGES/powertop.mo if test "powertop" = "gettext-tools"; then \ /usr/bin/mkdir -p /builddir/build/BUILDROOT/powertop-2.12-1.fc33.riscv64/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 \ /builddir/build/BUILDROOT/powertop-2.12-1.fc33.riscv64/usr/share/gettext/po/$file; \ done; \ for file in Makevars; do \ rm -f /builddir/build/BUILDROOT/powertop-2.12-1.fc33.riscv64/usr/share/gettext/po/$file; \ done; \ else \ : ; \ fi make[1]: Leaving directory '/builddir/build/BUILD/powertop-2.12/po' Making install in doc make[1]: Entering directory '/builddir/build/BUILD/powertop-2.12/doc' make[2]: Entering directory '/builddir/build/BUILD/powertop-2.12/doc' make[2]: Nothing to be done for 'install-exec-am'. /usr/bin/mkdir -p '/builddir/build/BUILDROOT/powertop-2.12-1.fc33.riscv64/usr/share/man/man8' /usr/bin/install -c -m 644 powertop.8 '/builddir/build/BUILDROOT/powertop-2.12-1.fc33.riscv64/usr/share/man/man8' make[2]: Leaving directory '/builddir/build/BUILD/powertop-2.12/doc' make[1]: Leaving directory '/builddir/build/BUILD/powertop-2.12/doc' Making install in scripts/bash-completion make[1]: Entering directory '/builddir/build/BUILD/powertop-2.12/scripts/bash-completion' make[2]: Entering directory '/builddir/build/BUILD/powertop-2.12/scripts/bash-completion' make[2]: Nothing to be done for 'install-exec-am'. /usr/bin/mkdir -p '/builddir/build/BUILDROOT/powertop-2.12-1.fc33.riscv64/usr/share/bash-completion/completions' /usr/bin/install -c -m 644 powertop '/builddir/build/BUILDROOT/powertop-2.12-1.fc33.riscv64/usr/share/bash-completion/completions' make[2]: Leaving directory '/builddir/build/BUILD/powertop-2.12/scripts/bash-completion' make[1]: Leaving directory '/builddir/build/BUILD/powertop-2.12/scripts/bash-completion' make[1]: Entering directory '/builddir/build/BUILD/powertop-2.12' make[2]: Entering directory '/builddir/build/BUILD/powertop-2.12' make[2]: Nothing to be done for 'install-exec-am'. make[2]: Nothing to be done for 'install-data-am'. make[2]: Leaving directory '/builddir/build/BUILD/powertop-2.12' make[1]: Leaving directory '/builddir/build/BUILD/powertop-2.12' + install -Dd /builddir/build/BUILDROOT/powertop-2.12-1.fc33.riscv64/var/cache/powertop + touch /builddir/build/BUILDROOT/powertop-2.12-1.fc33.riscv64/var/cache/powertop/saved_parameters.powertop /builddir/build/BUILDROOT/powertop-2.12-1.fc33.riscv64/var/cache/powertop/saved_results.powertop + /usr/lib/rpm/find-lang.sh /builddir/build/BUILDROOT/powertop-2.12-1.fc33.riscv64 powertop + install -Dpm 644 /builddir/build/SOURCES/powertop.service /builddir/build/BUILDROOT/powertop-2.12-1.fc33.riscv64/usr/lib/systemd/system/powertop.service + /usr/lib/rpm/find-debuginfo.sh -j4 --strict-build-id -m -i --build-id-seed 2.12-1.fc33 --unique-debug-suffix -2.12-1.fc33.riscv64 --unique-debug-src-base powertop-2.12-1.fc33.riscv64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/powertop-2.12 explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/powertop-2.12-1.fc33.riscv64/usr/sbin/powertop extracting debug info from /builddir/build/BUILDROOT/powertop-2.12-1.fc33.riscv64/usr/sbin/powertop original debug info size: 8732kB, size after compression: 6604kB /usr/lib/rpm/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. 1513 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/redhat/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/redhat/brp-python-bytecompile /usr/bin/python 1 0 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs Processing files: powertop-2.12-1.fc33.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.8F9Kzt + umask 022 + cd /builddir/build/BUILD + cd powertop-2.12 + DOCDIR=/builddir/build/BUILDROOT/powertop-2.12-1.fc33.riscv64/usr/share/doc/powertop + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/powertop-2.12-1.fc33.riscv64/usr/share/doc/powertop + cp -pr COPYING /builddir/build/BUILDROOT/powertop-2.12-1.fc33.riscv64/usr/share/doc/powertop + cp -pr README /builddir/build/BUILDROOT/powertop-2.12-1.fc33.riscv64/usr/share/doc/powertop + cp -pr TODO /builddir/build/BUILDROOT/powertop-2.12-1.fc33.riscv64/usr/share/doc/powertop + RPM_EC=0 ++ jobs -p + exit 0 Provides: bundled(kernel-event-lib) powertop = 2.12-1.fc33 powertop(riscv-64) = 2.12-1.fc33 Requires(interp): /bin/sh /bin/sh /bin/sh Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires(post): /bin/sh coreutils systemd Requires(preun): /bin/sh systemd Requires(postun): /bin/sh systemd Requires: ld-linux-riscv64-lp64d.so.1()(64bit) ld-linux-riscv64-lp64d.so.1(GLIBC_2.27)(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.27)(64bit) libgcc_s.so.1()(64bit) libgcc_s.so.1(GCC_3.0)(64bit) libgcc_s.so.1(GCC_3.4)(64bit) libm.so.6()(64bit) libm.so.6(GLIBC_2.27)(64bit) libncursesw.so.6()(64bit) libnl-3.so.200()(64bit) libnl-3.so.200(libnl_3)(64bit) libnl-genl-3.so.200()(64bit) libnl-genl-3.so.200(libnl_3)(64bit) libpci.so.3()(64bit) libpci.so.3(LIBPCI_3.0)(64bit) libpci.so.3(LIBPCI_3.5)(64bit) libpthread.so.0()(64bit) libpthread.so.0(GLIBC_2.27)(64bit) libstdc++.so.6()(64bit) libstdc++.so.6(CXXABI_1.3)(64bit) libstdc++.so.6(GLIBCXX_3.4)(64bit) libstdc++.so.6(GLIBCXX_3.4.11)(64bit) libstdc++.so.6(GLIBCXX_3.4.20)(64bit) libstdc++.so.6(GLIBCXX_3.4.21)(64bit) libstdc++.so.6(GLIBCXX_3.4.9)(64bit) libtinfo.so.6()(64bit) rtld(GNU_HASH) Processing files: powertop-debugsource-2.12-1.fc33.riscv64 Provides: powertop-debugsource = 2.12-1.fc33 powertop-debugsource(riscv-64) = 2.12-1.fc33 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: powertop-debuginfo-2.12-1.fc33.riscv64 Provides: debuginfo(build-id) = 408a49a2f150d70acf27ff36513feedd139b1fa9 powertop-debuginfo = 2.12-1.fc33 powertop-debuginfo(riscv-64) = 2.12-1.fc33 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: powertop-debugsource(riscv-64) = 2.12-1.fc33 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/powertop-2.12-1.fc33.riscv64 Wrote: /builddir/build/RPMS/powertop-2.12-1.fc33.riscv64.rpm Wrote: /builddir/build/RPMS/powertop-debugsource-2.12-1.fc33.riscv64.rpm Wrote: /builddir/build/RPMS/powertop-debuginfo-2.12-1.fc33.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.StlmSu + umask 022 + cd /builddir/build/BUILD + cd powertop-2.12 + /usr/bin/rm -rf /builddir/build/BUILDROOT/powertop-2.12-1.fc33.riscv64 + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0