Mock Version: 3.0 Mock Version: 3.0 Mock Version: 3.0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target aarch64 --nodeps /builddir/build/SPECS/powertop.spec'], chrootPath='/var/lib/mock/dist-circle9-build-94449-40942/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': 'C.UTF-8'}shell=Falselogger=timeout=86400uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target aarch64 --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': 'C.UTF-8'} and shell False Building target platforms: aarch64 Building for target aarch64 setting SOURCE_DATE_EPOCH=1667865600 Wrote: /builddir/build/SRPMS/powertop-2.15-1.el9.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target aarch64 --nodeps --nocheck /builddir/build/SPECS/powertop.spec'], chrootPath='/var/lib/mock/dist-circle9-build-94449-40942/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': 'C.UTF-8'}shell=Falselogger=timeout=86400uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target aarch64 --nodeps --nocheck /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': 'C.UTF-8'} and shell False Building target platforms: aarch64 Building for target aarch64 setting SOURCE_DATE_EPOCH=1667865600 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.FrWmXT + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf powertop-2.15 + /usr/bin/gzip -dc /builddir/build/SOURCES/powertop-2.15.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd powertop-2.15 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/bin/cat /builddir/build/SOURCES/powertop-2.7-always-create-params.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + echo v2.15 + echo '"v2.15"' + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.9v7AVd + umask 022 + cd /builddir/build/BUILD + cd powertop-2.15 + 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_pthread.m4' from '/usr/share/aclocal/ax_pthread.m4' aclocal: installing 'm4/ax_require_defined.m4' from '/usr/share/aclocal/ax_require_defined.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' 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 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + '[' '-flto=auto -ffat-lto-objectsx' '!=' x ']' ++ find . -type f -name configure -print + for file in $(find . -type f -name configure -print) + /usr/bin/sed -r --in-place=.backup 's/^char \(\*f\) \(\) = /__attribute__ ((used)) char (*f) () = /g' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed -r --in-place=.backup 's/^char \(\*f\) \(\);/__attribute__ ((used)) char (*f) ();/g' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed -r --in-place=.backup 's/^char \$2 \(\);/__attribute__ ((used)) char \$2 ();/g' ./configure + diff -u ./configure.backup ./configure --- ./configure.backup 2023-05-10 10:35:46.797332588 +0000 +++ ./configure 2023-05-10 10:35:48.267333420 +0000 @@ -2079,7 +2079,7 @@ #ifdef __cplusplus extern "C" #endif -char $2 (); +__attribute__ ((used)) char $2 (); /* The GNU C library defines this for functions which it implements to always fail with ENOSYS. Some functions are actually named something starting with __ and the normal name is an alias. */ @@ -2330,7 +2330,7 @@ #ifdef __cplusplus extern "C" #endif -char $2 (); +__attribute__ ((used)) char $2 (); /* The GNU C library defines this for functions which it implements to always fail with ENOSYS. Some functions are actually named something starting with __ and the normal name is an alias. */ + /usr/bin/sed --in-place=.backup '1{$!N;$!N};$!N;s/int x = 1;\nint y = 0;\nint z;\nint nan;/volatile int x = 1; volatile int y = 0; volatile int z, nan;/;P;D' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed --in-place=.backup 's#^lt_cv_sys_global_symbol_to_cdecl=.*#lt_cv_sys_global_symbol_to_cdecl="sed -n -e '\''s/^T .* \\(.*\\)$/extern int \\1();/p'\'' -e '\''s/^$symcode* .* \\(.*\\)$/extern char \\1;/p'\''"#' ./configure + diff -u ./configure.backup ./configure --- ./configure.backup 2023-05-10 10:35:48.267333420 +0000 +++ ./configure 2023-05-10 10:35:48.297333437 +0000 @@ -10027,7 +10027,7 @@ # Transform an extracted symbol line into a proper C declaration. # Some systems (esp. on ia64) link data and code symbols differently, # so use this general approach. -lt_cv_sys_global_symbol_to_cdecl="sed -n"\ +lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'" $lt_cdecl_hook\ " -e 's/^T .* \(.*\)$/extern int \1();/p'"\ " -e 's/^$symcode$symcode* .* \(.*\)$/extern char \1;/p'" @@ -23631,7 +23631,7 @@ compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`' GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`' lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`' -lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`' +lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'" lt_cv_sys_global_symbol_to_import='`$ECHO "$lt_cv_sys_global_symbol_to_import" | $SED "$delay_single_quote_subst"`' lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`' lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $SED "$delay_single_quote_subst"`' + '[' 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=aarch64-redhat-linux-gnu --host=aarch64-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 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 aarch64-redhat-linux-gnu-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... aarch64-redhat-linux-gnu checking host system type... aarch64-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 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 aarch64-redhat-linux-gnu-ar... no checking for aarch64-redhat-linux-gnu-lib... no checking for aarch64-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 aarch64-redhat-linux-gnu file names to aarch64-redhat-linux-gnu format... func_convert_file_noop checking how to convert aarch64-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 aarch64-redhat-linux-gnu-objdump... no checking for objdump... objdump checking how to recognize dependent libraries... pass_all checking for aarch64-redhat-linux-gnu-dlltool... no checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for aarch64-redhat-linux-gnu-ar... ar checking for archiver @FILE support... @ checking for aarch64-redhat-linux-gnu-strip... no checking for strip... strip checking for aarch64-redhat-linux-gnu-ranlib... no checking for ranlib... ranlib checking command to parse /usr/bin/nm -B output from gcc object... ./configure: line 10033: -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^[ABCDGIRSTW][ABCDGIRSTW]* .* \(.*\)$/extern char \1;/p': No such file or directory 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 aarch64-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 aarch64-redhat-linux-gnu-gcc... (cached) gcc checking whether we are using the GNU C compiler... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to accept ISO C89... (cached) none needed checking whether gcc understands -c and -o together... (cached) yes checking dependency style of gcc... (cached) none checking whether to add -D_FORTIFY_SOURCE=2 to CPPFLAGS... no checking whether g++ supports C++11 features with -std=c++11... yes checking for aarch64-redhat-linux-gnu-pkg-config... /usr/bin/aarch64-redhat-linux-gnu-pkg-config checking pkg-config is at least version 0.9.0... 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 whether strerror_r is declared... yes checking for strerror_r... yes checking whether strerror_r returns char *... yes checking for working strtod... yes checking for clock_gettime... 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 strrchr... 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 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 -j16 'CFLAGS=-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' V=1 make all-recursive make[1]: Entering directory '/builddir/build/BUILD/powertop-2.15' Making all in traceevent make[2]: Entering directory '/builddir/build/BUILD/powertop-2.15/traceevent' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o event-parse.lo event-parse.c /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o parse-filter.lo parse-filter.c /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o parse-utils.lo parse-utils.c /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o trace-seq.lo trace-seq.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c event-parse.c -fPIC -DPIC -o .libs/event-parse.o libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c parse-filter.c -fPIC -DPIC -o .libs/parse-filter.o libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c trace-seq.c -fPIC -DPIC -o .libs/trace-seq.o libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c parse-utils.c -fPIC -DPIC -o .libs/parse-utils.o libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c parse-utils.c -o parse-utils.o >/dev/null 2>&1 libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c trace-seq.c -o trace-seq.o >/dev/null 2>&1 parse-filter.c: In function 'arg_to_str.isra.0': parse-filter.c:2078:15: warning: 'op' may be used uninitialized [-Wmaybe-uninitialized] 2078 | len = strlen(op) + strlen(lstr) + strlen(rstr) + 4; | ^~~~~~~~~~ parse-filter.c:2034:15: note: 'op' was declared here 2034 | char *op; | ^~ parse-filter.c: In function 'reparent_op_arg': parse-filter.c:752:14: warning: 'ptr' may be used uninitialized in this function [-Wmaybe-uninitialized] 752 | *ptr = NULL; | ^ parse-filter.c:756:17: warning: 'other_child' may be used uninitialized in this function [-Wmaybe-uninitialized] 756 | free_arg(other_child); | ^~~~~~~~~~~~~~~~~~~~~ libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c parse-filter.c -o parse-filter.o >/dev/null 2>&1 event-parse.c: In function 'pevent_find_event_by_name': event-parse.c:3231:28: 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:25: warning: 'migrate_disable' may be used uninitialized in this function [-Wmaybe-uninitialized] 4358 | trace_seq_printf(s, "%d", migrate_disable); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ event-parse.c:4365:25: 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:4216:49: warning: 'len_arg' may be used uninitialized in this function [-Wmaybe-uninitialized] 4216 | trace_seq_printf(s, format, len_arg, (short)val); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ event-parse.c:4062:13: note: 'len_arg' was declared here 4062 | int len_arg; | ^~~~~~~ libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c event-parse.c -o event-parse.o >/dev/null 2>&1 /bin/sh ../libtool --tag=CC --mode=link gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -o libtraceevnet.la event-parse.lo parse-filter.lo parse-utils.lo trace-seq.lo libtool: link: ar cru .libs/libtraceevnet.a .libs/event-parse.o .libs/parse-filter.o .libs/parse-utils.o .libs/trace-seq.o libtool: link: ranlib .libs/libtraceevnet.a libtool: link: ( cd ".libs" && rm -f "libtraceevnet.la" && ln -s "../libtraceevnet.la" "libtraceevnet.la" ) make[2]: Leaving directory '/builddir/build/BUILD/powertop-2.15/traceevent' Making all in src make[2]: Entering directory '/builddir/build/BUILD/powertop-2.15/src' /bin/sh ./csstoh.sh ./powertop.css css.h make all-am make[3]: Entering directory '/builddir/build/BUILD/powertop-2.15/src' g++ -std=c++11 -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/share/locale\" -I/usr/include/libnl3 -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -pthread -Wall -Wformat -Wshadow -fno-omit-frame-pointer -fstack-protector -I/usr/include/libnl3 -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o powertop-devlist.o `test -f 'devlist.cpp' || echo './'`devlist.cpp g++ -std=c++11 -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/share/locale\" -I/usr/include/libnl3 -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -pthread -Wall -Wformat -Wshadow -fno-omit-frame-pointer -fstack-protector -I/usr/include/libnl3 -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o powertop-display.o `test -f 'display.cpp' || echo './'`display.cpp g++ -std=c++11 -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/share/locale\" -I/usr/include/libnl3 -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -pthread -Wall -Wformat -Wshadow -fno-omit-frame-pointer -fstack-protector -I/usr/include/libnl3 -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o powertop-lib.o `test -f 'lib.cpp' || echo './'`lib.cpp g++ -std=c++11 -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/share/locale\" -I/usr/include/libnl3 -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -pthread -Wall -Wformat -Wshadow -fno-omit-frame-pointer -fstack-protector -I/usr/include/libnl3 -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o powertop-main.o `test -f 'main.cpp' || echo './'`main.cpp g++ -std=c++11 -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/share/locale\" -I/usr/include/libnl3 -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -pthread -Wall -Wformat -Wshadow -fno-omit-frame-pointer -fstack-protector -I/usr/include/libnl3 -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o calibrate/powertop-calibrate.o `test -f 'calibrate/calibrate.cpp' || echo './'`calibrate/calibrate.cpp g++ -std=c++11 -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/share/locale\" -I/usr/include/libnl3 -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -pthread -Wall -Wformat -Wshadow -fno-omit-frame-pointer -fstack-protector -I/usr/include/libnl3 -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o cpu/powertop-abstract_cpu.o `test -f 'cpu/abstract_cpu.cpp' || echo './'`cpu/abstract_cpu.cpp g++ -std=c++11 -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/share/locale\" -I/usr/include/libnl3 -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -pthread -Wall -Wformat -Wshadow -fno-omit-frame-pointer -fstack-protector -I/usr/include/libnl3 -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o cpu/powertop-cpu.o `test -f 'cpu/cpu.cpp' || echo './'`cpu/cpu.cpp g++ -std=c++11 -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/share/locale\" -I/usr/include/libnl3 -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -pthread -Wall -Wformat -Wshadow -fno-omit-frame-pointer -fstack-protector -I/usr/include/libnl3 -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o cpu/powertop-cpu_core.o `test -f 'cpu/cpu_core.cpp' || echo './'`cpu/cpu_core.cpp g++ -std=c++11 -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/share/locale\" -I/usr/include/libnl3 -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -pthread -Wall -Wformat -Wshadow -fno-omit-frame-pointer -fstack-protector -I/usr/include/libnl3 -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o cpu/powertop-cpu_linux.o `test -f 'cpu/cpu_linux.cpp' || echo './'`cpu/cpu_linux.cpp g++ -std=c++11 -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/share/locale\" -I/usr/include/libnl3 -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -pthread -Wall -Wformat -Wshadow -fno-omit-frame-pointer -fstack-protector -I/usr/include/libnl3 -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o cpu/powertop-cpu_package.o `test -f 'cpu/cpu_package.cpp' || echo './'`cpu/cpu_package.cpp g++ -std=c++11 -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/share/locale\" -I/usr/include/libnl3 -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -pthread -Wall -Wformat -Wshadow -fno-omit-frame-pointer -fstack-protector -I/usr/include/libnl3 -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o cpu/powertop-cpu_rapl_device.o `test -f 'cpu/cpu_rapl_device.cpp' || echo './'`cpu/cpu_rapl_device.cpp g++ -std=c++11 -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/share/locale\" -I/usr/include/libnl3 -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -pthread -Wall -Wformat -Wshadow -fno-omit-frame-pointer -fstack-protector -I/usr/include/libnl3 -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o cpu/powertop-cpudevice.o `test -f 'cpu/cpudevice.cpp' || echo './'`cpu/cpudevice.cpp g++ -std=c++11 -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/share/locale\" -I/usr/include/libnl3 -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -pthread -Wall -Wformat -Wshadow -fno-omit-frame-pointer -fstack-protector -I/usr/include/libnl3 -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o cpu/powertop-dram_rapl_device.o `test -f 'cpu/dram_rapl_device.cpp' || echo './'`cpu/dram_rapl_device.cpp g++ -std=c++11 -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/share/locale\" -I/usr/include/libnl3 -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -pthread -Wall -Wformat -Wshadow -fno-omit-frame-pointer -fstack-protector -I/usr/include/libnl3 -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o cpu/powertop-intel_cpus.o `test -f 'cpu/intel_cpus.cpp' || echo './'`cpu/intel_cpus.cpp g++ -std=c++11 -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/share/locale\" -I/usr/include/libnl3 -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -pthread -Wall -Wformat -Wshadow -fno-omit-frame-pointer -fstack-protector -I/usr/include/libnl3 -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o cpu/powertop-intel_gpu.o `test -f 'cpu/intel_gpu.cpp' || echo './'`cpu/intel_gpu.cpp g++ -std=c++11 -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/share/locale\" -I/usr/include/libnl3 -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -pthread -Wall -Wformat -Wshadow -fno-omit-frame-pointer -fstack-protector -I/usr/include/libnl3 -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o cpu/rapl/powertop-rapl_interface.o `test -f 'cpu/rapl/rapl_interface.cpp' || echo './'`cpu/rapl/rapl_interface.cpp g++ -std=c++11 -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/share/locale\" -I/usr/include/libnl3 -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -pthread -Wall -Wformat -Wshadow -fno-omit-frame-pointer -fstack-protector -I/usr/include/libnl3 -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o devices/powertop-ahci.o `test -f 'devices/ahci.cpp' || echo './'`devices/ahci.cpp g++ -std=c++11 -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/share/locale\" -I/usr/include/libnl3 -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -pthread -Wall -Wformat -Wshadow -fno-omit-frame-pointer -fstack-protector -I/usr/include/libnl3 -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o devices/powertop-alsa.o `test -f 'devices/alsa.cpp' || echo './'`devices/alsa.cpp In file included from /usr/include/string.h:519, from cpu/cpudevice.cpp:28: In function 'strncpy', inlined from 'pt_strcpy<128ul>(char (&) [128ul], char const*)void' at cpu/../lib.h:78:9, inlined from 'cpudevice::cpudevice(char const*, char const*, abstract_cpu*)' at cpu/cpudevice.cpp:35:11: /usr/include/bits/string_fortified.h:95:34: warning: 'strncpy' specified bound 128 equals destination size [-Wstringop-truncation] 95 | return __builtin___strncpy_chk (__dest, __src, __len, | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ 96 | __glibc_objsize (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'strncpy', inlined from 'pt_strcpy<128ul>(char (&) [128ul], char const*)void' at cpu/../lib.h:78:9, inlined from 'cpudevice::cpudevice(char const*, char const*, abstract_cpu*)' at cpu/cpudevice.cpp:36:11: /usr/include/bits/string_fortified.h:95:34: warning: 'strncpy' specified bound 128 equals destination size [-Wstringop-truncation] 95 | return __builtin___strncpy_chk (__dest, __src, __len, | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ 96 | __glibc_objsize (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~ g++ -std=c++11 -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/share/locale\" -I/usr/include/libnl3 -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -pthread -Wall -Wformat -Wshadow -fno-omit-frame-pointer -fstack-protector -I/usr/include/libnl3 -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o devices/powertop-backlight.o `test -f 'devices/backlight.cpp' || echo './'`devices/backlight.cpp g++ -std=c++11 -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/share/locale\" -I/usr/include/libnl3 -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -pthread -Wall -Wformat -Wshadow -fno-omit-frame-pointer -fstack-protector -I/usr/include/libnl3 -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o devices/powertop-devfreq.o `test -f 'devices/devfreq.cpp' || echo './'`devices/devfreq.cpp g++ -std=c++11 -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/share/locale\" -I/usr/include/libnl3 -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -pthread -Wall -Wformat -Wshadow -fno-omit-frame-pointer -fstack-protector -I/usr/include/libnl3 -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o devices/powertop-device.o `test -f 'devices/device.cpp' || echo './'`devices/device.cpp g++ -std=c++11 -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/share/locale\" -I/usr/include/libnl3 -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -pthread -Wall -Wformat -Wshadow -fno-omit-frame-pointer -fstack-protector -I/usr/include/libnl3 -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o devices/powertop-gpu_rapl_device.o `test -f 'devices/gpu_rapl_device.cpp' || echo './'`devices/gpu_rapl_device.cpp g++ -std=c++11 -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/share/locale\" -I/usr/include/libnl3 -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -pthread -Wall -Wformat -Wshadow -fno-omit-frame-pointer -fstack-protector -I/usr/include/libnl3 -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o devices/powertop-i915-gpu.o `test -f 'devices/i915-gpu.cpp' || echo './'`devices/i915-gpu.cpp g++ -std=c++11 -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/share/locale\" -I/usr/include/libnl3 -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -pthread -Wall -Wformat -Wshadow -fno-omit-frame-pointer -fstack-protector -I/usr/include/libnl3 -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o devices/powertop-network.o `test -f 'devices/network.cpp' || echo './'`devices/network.cpp In file included from /usr/include/string.h:519, from cpu/abstract_cpu.cpp:27: In function 'strncpy', inlined from 'pt_strcpy<32ul>(char (&) [32ul], char const*)void' at cpu/../lib.h:78:9, inlined from 'abstract_cpu::insert_cstate(char const*, char const*, unsigned long, unsigned long, int, int)' at cpu/abstract_cpu.cpp:205:11: /usr/include/bits/string_fortified.h:95:34: warning: 'strncpy' specified bound 32 equals destination size [-Wstringop-truncation] 95 | return __builtin___strncpy_chk (__dest, __src, __len, | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ 96 | __glibc_objsize (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~ g++ -std=c++11 -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/share/locale\" -I/usr/include/libnl3 -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -pthread -Wall -Wformat -Wshadow -fno-omit-frame-pointer -fstack-protector -I/usr/include/libnl3 -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o devices/powertop-rfkill.o `test -f 'devices/rfkill.cpp' || echo './'`devices/rfkill.cpp g++ -std=c++11 -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/share/locale\" -I/usr/include/libnl3 -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -pthread -Wall -Wformat -Wshadow -fno-omit-frame-pointer -fstack-protector -I/usr/include/libnl3 -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o devices/powertop-runtime_pm.o `test -f 'devices/runtime_pm.cpp' || echo './'`devices/runtime_pm.cpp g++ -std=c++11 -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/share/locale\" -I/usr/include/libnl3 -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -pthread -Wall -Wformat -Wshadow -fno-omit-frame-pointer -fstack-protector -I/usr/include/libnl3 -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o devices/powertop-thinkpad-fan.o `test -f 'devices/thinkpad-fan.cpp' || echo './'`devices/thinkpad-fan.cpp g++ -std=c++11 -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/share/locale\" -I/usr/include/libnl3 -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -pthread -Wall -Wformat -Wshadow -fno-omit-frame-pointer -fstack-protector -I/usr/include/libnl3 -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o devices/powertop-thinkpad-light.o `test -f 'devices/thinkpad-light.cpp' || echo './'`devices/thinkpad-light.cpp devices/alsa.cpp: In member function 'alsa::human_name()': devices/alsa.cpp:205:57: warning: ' (' directive output may be truncated writing 2 bytes into a region of size between 1 and 4096 [-Wformat-truncation=] 205 | snprintf(temp_buf, sizeof(temp_buf), "%s (%s)", humanname, guilty); | ^~ In file included from /usr/include/stdio.h:888, from /usr/include/c++/11/cstdio:42, from /usr/include/c++/11/ext/string_conversions.h:43, from /usr/include/c++/11/bits/basic_string.h:6608, from /usr/include/c++/11/string:55, from /usr/include/c++/11/bits/locale_classes.h:40, from /usr/include/c++/11/bits/ios_base.h:41, from /usr/include/c++/11/ios:42, from /usr/include/c++/11/ostream:38, from /usr/include/c++/11/iostream:39, from devices/alsa.cpp:25: /usr/include/bits/stdio2.h:71:35: note: '__snprintf_chk' output between 4 and 8194 bytes into a destination of size 4096 71 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 72 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 73 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ devices/backlight.cpp: In member function 'backlight::power_usage(result_bundle*, parameter_bundle*)': devices/backlight.cpp:217:39: warning: '-power' directive writing 6 bytes into a region of size between 1 and 4096 [-Wformat-overflow=] 217 | sprintf(powername, "%s-power", name); | ^~~~~~ In file included from /usr/include/stdio.h:888, from /usr/include/c++/11/cstdio:42, from /usr/include/c++/11/ext/string_conversions.h:43, from /usr/include/c++/11/bits/basic_string.h:6608, from /usr/include/c++/11/string:55, from /usr/include/c++/11/bits/locale_classes.h:40, from /usr/include/c++/11/bits/ios_base.h:41, from /usr/include/c++/11/ios:42, from /usr/include/c++/11/ostream:38, from /usr/include/c++/11/iostream:39, from devices/backlight.cpp:25: /usr/include/bits/stdio2.h:38:34: note: '__sprintf_chk' output between 7 and 4102 bytes into a destination of size 4096 38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 39 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 40 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ In file included from /usr/include/string.h:519, from devices/../parameters/parameters.h:33, from devices/alsa.h:30, from devices/alsa.cpp:35: In function 'strncpy', inlined from 'pt_strcpy<4096ul>(char (&) [4096ul], char const*)void' at devices/../parameters/../lib.h:78:9, inlined from 'alsa::alsa(char const*, char const*)' at devices/alsa.cpp:54:11: /usr/include/bits/string_fortified.h:95:34: warning: 'strncpy' specified bound 4096 equals destination size [-Wstringop-truncation] 95 | return __builtin___strncpy_chk (__dest, __src, __len, | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ 96 | __glibc_objsize (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/string.h:519, from devices/../parameters/parameters.h:33, from devices/backlight.cpp:38: In function 'strncpy', inlined from 'pt_strcpy<4096ul>(char (&) [4096ul], char const*)void' at devices/../parameters/../lib.h:78:9, inlined from 'backlight::backlight(char const*, char const*)' at devices/backlight.cpp:49:11: /usr/include/bits/string_fortified.h:95:34: warning: 'strncpy' specified bound 4096 equals destination size [-Wstringop-truncation] 95 | return __builtin___strncpy_chk (__dest, __src, __len, | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ 96 | __glibc_objsize (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~ devices/backlight.cpp: In member function 'backlight::end_measurement()': devices/backlight.cpp:125:49: warning: '/actual_brightness' directive output may be truncated writing 18 bytes into a region of size between 1 and 4096 [-Wformat-truncation=] 125 | snprintf(filename, sizeof(filename), "%s/actual_brightness", sysfs_path); | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:888, from /usr/include/c++/11/cstdio:42, from /usr/include/c++/11/ext/string_conversions.h:43, from /usr/include/c++/11/bits/basic_string.h:6608, from /usr/include/c++/11/string:55, from /usr/include/c++/11/bits/locale_classes.h:40, from /usr/include/c++/11/bits/ios_base.h:41, from /usr/include/c++/11/ios:42, from /usr/include/c++/11/ostream:38, from /usr/include/c++/11/iostream:39, from devices/backlight.cpp:25: /usr/include/bits/stdio2.h:71:35: note: '__snprintf_chk' output between 19 and 4114 bytes into a destination of size 4096 71 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 72 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 73 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ devices/backlight.cpp:140:51: 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:888, from /usr/include/c++/11/cstdio:42, from /usr/include/c++/11/ext/string_conversions.h:43, from /usr/include/c++/11/bits/basic_string.h:6608, from /usr/include/c++/11/string:55, from /usr/include/c++/11/bits/locale_classes.h:40, from /usr/include/c++/11/bits/ios_base.h:41, from /usr/include/c++/11/ios:42, from /usr/include/c++/11/ostream:38, from /usr/include/c++/11/iostream:39, from devices/backlight.cpp:25: /usr/include/bits/stdio2.h:71:35: note: '__snprintf_chk' output between 7 and 4102 bytes into a destination of size 4096 71 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 72 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 73 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ devices/alsa.cpp: In member function 'alsa::start_measurement()': devices/alsa.cpp:89:49: warning: '/power_off_acct' directive output may be truncated writing 15 bytes into a region of size between 1 and 4096 [-Wformat-truncation=] 89 | snprintf(filename, sizeof(filename), "%s/power_off_acct", sysfs_path); | ^~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:888, from /usr/include/c++/11/cstdio:42, from /usr/include/c++/11/ext/string_conversions.h:43, from /usr/include/c++/11/bits/basic_string.h:6608, from /usr/include/c++/11/string:55, from /usr/include/c++/11/bits/locale_classes.h:40, from /usr/include/c++/11/bits/ios_base.h:41, from /usr/include/c++/11/ios:42, from /usr/include/c++/11/ostream:38, from /usr/include/c++/11/iostream:39, from devices/alsa.cpp:25: /usr/include/bits/stdio2.h:71:35: note: '__snprintf_chk' output between 16 and 4111 bytes into a destination of size 4096 71 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 72 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 73 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ devices/alsa.cpp:96:57: warning: '/power_on_acct' directive output may be truncated writing 14 bytes into a region of size between 1 and 4096 [-Wformat-truncation=] 96 | snprintf(filename, sizeof(filename), "%s/power_on_acct", sysfs_path); | ^~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:888, from /usr/include/c++/11/cstdio:42, from /usr/include/c++/11/ext/string_conversions.h:43, from /usr/include/c++/11/bits/basic_string.h:6608, from /usr/include/c++/11/string:55, from /usr/include/c++/11/bits/locale_classes.h:40, from /usr/include/c++/11/bits/ios_base.h:41, from /usr/include/c++/11/ios:42, from /usr/include/c++/11/ostream:38, from /usr/include/c++/11/iostream:39, from devices/alsa.cpp:25: /usr/include/bits/stdio2.h:71:35: note: '__snprintf_chk' output between 15 and 4110 bytes into a destination of size 4096 71 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 72 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 73 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ devices/ahci.cpp: In member function 'ahci::end_measurement()': devices/ahci.cpp:206:57: warning: '/ahci_alpm_active' directive output may be truncated writing 17 bytes into a region of size between 1 and 4096 [-Wformat-truncation=] 206 | snprintf(filename, sizeof(filename), "%s/ahci_alpm_active", sysfs_path); | ^~~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:888, from /usr/include/c++/11/cstdio:42, from /usr/include/c++/11/ext/string_conversions.h:43, from /usr/include/c++/11/bits/basic_string.h:6608, from /usr/include/c++/11/string:55, from /usr/include/c++/11/bits/locale_classes.h:40, from /usr/include/c++/11/bits/ios_base.h:41, from /usr/include/c++/11/ios:42, from /usr/include/c++/11/ostream:38, from /usr/include/c++/11/iostream:39, from devices/ahci.cpp:25: /usr/include/bits/stdio2.h:71:35: note: '__snprintf_chk' output between 18 and 4113 bytes into a destination of size 4096 71 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 72 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 73 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ devices/ahci.cpp:212:57: 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:888, from /usr/include/c++/11/cstdio:42, from /usr/include/c++/11/ext/string_conversions.h:43, from /usr/include/c++/11/bits/basic_string.h:6608, from /usr/include/c++/11/string:55, from /usr/include/c++/11/bits/locale_classes.h:40, from /usr/include/c++/11/bits/ios_base.h:41, from /usr/include/c++/11/ios:42, from /usr/include/c++/11/ostream:38, from /usr/include/c++/11/iostream:39, from devices/ahci.cpp:25: /usr/include/bits/stdio2.h:71:35: note: '__snprintf_chk' output between 19 and 4114 bytes into a destination of size 4096 71 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 72 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 73 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ devices/ahci.cpp:218:57: 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:888, from /usr/include/c++/11/cstdio:42, from /usr/include/c++/11/ext/string_conversions.h:43, from /usr/include/c++/11/bits/basic_string.h:6608, from /usr/include/c++/11/string:55, from /usr/include/c++/11/bits/locale_classes.h:40, from /usr/include/c++/11/bits/ios_base.h:41, from /usr/include/c++/11/ios:42, from /usr/include/c++/11/ostream:38, from /usr/include/c++/11/iostream:39, from devices/ahci.cpp:25: /usr/include/bits/stdio2.h:71:35: note: '__snprintf_chk' output between 19 and 4114 bytes into a destination of size 4096 71 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 72 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 73 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ devices/ahci.cpp:224:57: 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:888, from /usr/include/c++/11/cstdio:42, from /usr/include/c++/11/ext/string_conversions.h:43, from /usr/include/c++/11/bits/basic_string.h:6608, from /usr/include/c++/11/string:55, from /usr/include/c++/11/bits/locale_classes.h:40, from /usr/include/c++/11/bits/ios_base.h:41, from /usr/include/c++/11/ios:42, from /usr/include/c++/11/ostream:38, from /usr/include/c++/11/iostream:39, from devices/ahci.cpp:25: /usr/include/bits/stdio2.h:71:35: note: '__snprintf_chk' output between 18 and 4113 bytes into a destination of size 4096 71 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 72 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 73 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ devices/ahci.cpp:248:51: 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:888, from /usr/include/c++/11/cstdio:42, from /usr/include/c++/11/ext/string_conversions.h:43, from /usr/include/c++/11/bits/basic_string.h:6608, from /usr/include/c++/11/string:55, from /usr/include/c++/11/bits/locale_classes.h:40, from /usr/include/c++/11/bits/ios_base.h:41, from /usr/include/c++/11/ios:42, from /usr/include/c++/11/ostream:38, from /usr/include/c++/11/iostream:39, from devices/ahci.cpp:25: /usr/include/bits/stdio2.h:71:35: note: '__snprintf_chk' output between 8 and 4103 bytes into a destination of size 4096 71 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 72 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 73 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ devices/ahci.cpp:255:51: 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:888, from /usr/include/c++/11/cstdio:42, from /usr/include/c++/11/ext/string_conversions.h:43, from /usr/include/c++/11/bits/basic_string.h:6608, from /usr/include/c++/11/string:55, from /usr/include/c++/11/bits/locale_classes.h:40, from /usr/include/c++/11/bits/ios_base.h:41, from /usr/include/c++/11/ios:42, from /usr/include/c++/11/ostream:38, from /usr/include/c++/11/iostream:39, from devices/ahci.cpp:25: /usr/include/bits/stdio2.h:71:35: note: '__snprintf_chk' output between 9 and 4104 bytes into a destination of size 4096 71 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 72 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 73 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ devices/ahci.cpp:262:51: 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:888, from /usr/include/c++/11/cstdio:42, from /usr/include/c++/11/ext/string_conversions.h:43, from /usr/include/c++/11/bits/basic_string.h:6608, from /usr/include/c++/11/string:55, from /usr/include/c++/11/bits/locale_classes.h:40, from /usr/include/c++/11/bits/ios_base.h:41, from /usr/include/c++/11/ios:42, from /usr/include/c++/11/ostream:38, from /usr/include/c++/11/iostream:39, from devices/ahci.cpp:25: /usr/include/bits/stdio2.h:71:35: note: '__snprintf_chk' output between 9 and 4104 bytes into a destination of size 4096 71 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 72 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 73 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ devices/ahci.cpp:269:51: 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:888, from /usr/include/c++/11/cstdio:42, from /usr/include/c++/11/ext/string_conversions.h:43, from /usr/include/c++/11/bits/basic_string.h:6608, from /usr/include/c++/11/string:55, from /usr/include/c++/11/bits/locale_classes.h:40, from /usr/include/c++/11/bits/ios_base.h:41, from /usr/include/c++/11/ios:42, from /usr/include/c++/11/ostream:38, from /usr/include/c++/11/iostream:39, from devices/ahci.cpp:25: /usr/include/bits/stdio2.h:71:35: note: '__snprintf_chk' output between 8 and 4103 bytes into a destination of size 4096 71 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 72 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 73 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ devices/alsa.cpp: In member function 'alsa::end_measurement()': devices/alsa.cpp:115:49: warning: '/power_off_acct' directive output may be truncated writing 15 bytes into a region of size between 1 and 4096 [-Wformat-truncation=] 115 | snprintf(filename, sizeof(filename), "%s/power_off_acct", sysfs_path); | ^~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:888, from /usr/include/c++/11/cstdio:42, from /usr/include/c++/11/ext/string_conversions.h:43, from /usr/include/c++/11/bits/basic_string.h:6608, from /usr/include/c++/11/string:55, from /usr/include/c++/11/bits/locale_classes.h:40, from /usr/include/c++/11/bits/ios_base.h:41, from /usr/include/c++/11/ios:42, from /usr/include/c++/11/ostream:38, from /usr/include/c++/11/iostream:39, from devices/alsa.cpp:25: /usr/include/bits/stdio2.h:71:35: note: '__snprintf_chk' output between 16 and 4111 bytes into a destination of size 4096 71 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 72 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 73 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ devices/alsa.cpp:122:57: warning: '/power_on_acct' directive output may be truncated writing 14 bytes into a region of size between 1 and 4096 [-Wformat-truncation=] 122 | snprintf(filename, sizeof(filename), "%s/power_on_acct", sysfs_path); | ^~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:888, from /usr/include/c++/11/cstdio:42, from /usr/include/c++/11/ext/string_conversions.h:43, from /usr/include/c++/11/bits/basic_string.h:6608, from /usr/include/c++/11/string:55, from /usr/include/c++/11/bits/locale_classes.h:40, from /usr/include/c++/11/bits/ios_base.h:41, from /usr/include/c++/11/ios:42, from /usr/include/c++/11/ostream:38, from /usr/include/c++/11/iostream:39, from devices/alsa.cpp:25: /usr/include/bits/stdio2.h:71:35: note: '__snprintf_chk' output between 15 and 4110 bytes into a destination of size 4096 71 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 72 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 73 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ g++ -std=c++11 -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/share/locale\" -I/usr/include/libnl3 -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -pthread -Wall -Wformat -Wshadow -fno-omit-frame-pointer -fstack-protector -I/usr/include/libnl3 -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o devices/powertop-usb.o `test -f 'devices/usb.cpp' || echo './'`devices/usb.cpp devices/ahci.cpp: In member function 'ahci::start_measurement()': devices/ahci.cpp:164:49: warning: '/ahci_alpm_active' directive output may be truncated writing 17 bytes into a region of size between 1 and 4096 [-Wformat-truncation=] 164 | snprintf(filename, sizeof(filename), "%s/ahci_alpm_active", sysfs_path); | ^~~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:888, from /usr/include/c++/11/cstdio:42, from /usr/include/c++/11/ext/string_conversions.h:43, from /usr/include/c++/11/bits/basic_string.h:6608, from /usr/include/c++/11/string:55, from /usr/include/c++/11/bits/locale_classes.h:40, from /usr/include/c++/11/bits/ios_base.h:41, from /usr/include/c++/11/ios:42, from /usr/include/c++/11/ostream:38, from /usr/include/c++/11/iostream:39, from devices/ahci.cpp:25: /usr/include/bits/stdio2.h:71:35: note: '__snprintf_chk' output between 18 and 4113 bytes into a destination of size 4096 71 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 72 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 73 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ devices/ahci.cpp:171:57: warning: '/ahci_alpm_partial' directive output may be truncated writing 18 bytes into a region of size between 1 and 4096 [-Wformat-truncation=] 171 | snprintf(filename, sizeof(filename), "%s/ahci_alpm_partial", sysfs_path); | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:888, from /usr/include/c++/11/cstdio:42, from /usr/include/c++/11/ext/string_conversions.h:43, from /usr/include/c++/11/bits/basic_string.h:6608, from /usr/include/c++/11/string:55, from /usr/include/c++/11/bits/locale_classes.h:40, from /usr/include/c++/11/bits/ios_base.h:41, from /usr/include/c++/11/ios:42, from /usr/include/c++/11/ostream:38, from /usr/include/c++/11/iostream:39, from devices/ahci.cpp:25: /usr/include/bits/stdio2.h:71:35: note: '__snprintf_chk' output between 19 and 4114 bytes into a destination of size 4096 71 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 72 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 73 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ devices/ahci.cpp:178:57: 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:888, from /usr/include/c++/11/cstdio:42, from /usr/include/c++/11/ext/string_conversions.h:43, from /usr/include/c++/11/bits/basic_string.h:6608, from /usr/include/c++/11/string:55, from /usr/include/c++/11/bits/locale_classes.h:40, from /usr/include/c++/11/bits/ios_base.h:41, from /usr/include/c++/11/ios:42, from /usr/include/c++/11/ostream:38, from /usr/include/c++/11/iostream:39, from devices/ahci.cpp:25: /usr/include/bits/stdio2.h:71:35: note: '__snprintf_chk' output between 19 and 4114 bytes into a destination of size 4096 71 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 72 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 73 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ devices/ahci.cpp:184:57: 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:888, from /usr/include/c++/11/cstdio:42, from /usr/include/c++/11/ext/string_conversions.h:43, from /usr/include/c++/11/bits/basic_string.h:6608, from /usr/include/c++/11/string:55, from /usr/include/c++/11/bits/locale_classes.h:40, from /usr/include/c++/11/bits/ios_base.h:41, from /usr/include/c++/11/ios:42, from /usr/include/c++/11/ostream:38, from /usr/include/c++/11/iostream:39, from devices/ahci.cpp:25: /usr/include/bits/stdio2.h:71:35: note: '__snprintf_chk' output between 18 and 4113 bytes into a destination of size 4096 71 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 72 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 73 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ devices/backlight.cpp: In member function 'backlight::start_measurement()': devices/backlight.cpp:61:49: warning: '/max_brightness' directive output may be truncated writing 15 bytes into a region of size between 1 and 4096 [-Wformat-truncation=] 61 | snprintf(filename, sizeof(filename), "%s/max_brightness", sysfs_path); | ^~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:888, from /usr/include/c++/11/cstdio:42, from /usr/include/c++/11/ext/string_conversions.h:43, from /usr/include/c++/11/bits/basic_string.h:6608, from /usr/include/c++/11/string:55, from /usr/include/c++/11/bits/locale_classes.h:40, from /usr/include/c++/11/bits/ios_base.h:41, from /usr/include/c++/11/ios:42, from /usr/include/c++/11/ostream:38, from /usr/include/c++/11/iostream:39, from devices/backlight.cpp:25: /usr/include/bits/stdio2.h:71:35: note: '__snprintf_chk' output between 16 and 4111 bytes into a destination of size 4096 71 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 72 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 73 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ devices/backlight.cpp:68:49: 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:888, from /usr/include/c++/11/cstdio:42, from /usr/include/c++/11/ext/string_conversions.h:43, from /usr/include/c++/11/bits/basic_string.h:6608, from /usr/include/c++/11/string:55, from /usr/include/c++/11/bits/locale_classes.h:40, from /usr/include/c++/11/bits/ios_base.h:41, from /usr/include/c++/11/ios:42, from /usr/include/c++/11/ostream:38, from /usr/include/c++/11/iostream:39, from devices/backlight.cpp:25: /usr/include/bits/stdio2.h:71:35: note: '__snprintf_chk' output between 19 and 4114 bytes into a destination of size 4096 71 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 72 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 73 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ devices/device.cpp: In member function 'device::register_sysfs_path(char const*)': devices/device.cpp:75:59: warning: '/device' directive output may be truncated writing 7 bytes into a region of size between 1 and 4097 [-Wformat-truncation=] 75 | snprintf(test_path, sizeof(test_path), "%s/device", current_path); | ^~~~~~~ In file included from /usr/include/stdio.h:888, from devices/device.cpp:29: /usr/include/bits/stdio2.h:71:35: note: '__snprintf_chk' output between 8 and 4104 bytes into a destination of size 4097 71 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 72 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 73 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ In file included from /usr/include/string.h:519, from devices/../parameters/parameters.h:33, from devices/devfreq.h:29, from devices/devfreq.cpp:35: In function 'strncpy', inlined from 'pt_strcpy<128ul>(char (&) [128ul], char const*)void' at devices/../parameters/../lib.h:78:9, inlined from 'devfreq::devfreq(char const*)' at devices/devfreq.cpp:48:11: /usr/include/bits/string_fortified.h:95:34: warning: 'strncpy' specified bound 128 equals destination size [-Wstringop-truncation] 95 | return __builtin___strncpy_chk (__dest, __src, __len, | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ 96 | __glibc_objsize (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~ g++ -std=c++11 -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/share/locale\" -I/usr/include/libnl3 -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -pthread -Wall -Wformat -Wshadow -fno-omit-frame-pointer -fstack-protector -I/usr/include/libnl3 -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o measurement/powertop-acpi.o `test -f 'measurement/acpi.cpp' || echo './'`measurement/acpi.cpp g++ -std=c++11 -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/share/locale\" -I/usr/include/libnl3 -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -pthread -Wall -Wformat -Wshadow -fno-omit-frame-pointer -fstack-protector -I/usr/include/libnl3 -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o measurement/powertop-extech.o `test -f 'measurement/extech.cpp' || echo './'`measurement/extech.cpp In file included from /usr/include/string.h:519, from devices/../parameters/parameters.h:33, from devices/ahci.h:32, from devices/ahci.cpp:39: In function 'strncpy', inlined from 'pt_strcpy<4096ul>(char (&) [4096ul], char const*)void' 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:95:34: warning: 'strncpy' specified bound 4096 equals destination size [-Wstringop-truncation] 95 | return __builtin___strncpy_chk (__dest, __src, __len, | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ 96 | __glibc_objsize (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~ devices/ahci.cpp: In member function 'ahci::ahci(char*, char*)': devices/ahci.cpp:139:45: 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:888, from /usr/include/c++/11/cstdio:42, from /usr/include/c++/11/ext/string_conversions.h:43, from /usr/include/c++/11/bits/basic_string.h:6608, from /usr/include/c++/11/string:55, from /usr/include/c++/11/bits/locale_classes.h:40, from /usr/include/c++/11/bits/ios_base.h:41, from /usr/include/c++/11/ios:42, from /usr/include/c++/11/ostream:38, from /usr/include/c++/11/iostream:39, from devices/ahci.cpp:25: /usr/include/bits/stdio2.h:71:35: note: '__snprintf_chk' output between 8 and 4103 bytes into a destination of size 4096 71 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 72 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 73 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ devices/ahci.cpp:142:45: 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:888, from /usr/include/c++/11/cstdio:42, from /usr/include/c++/11/ext/string_conversions.h:43, from /usr/include/c++/11/bits/basic_string.h:6608, from /usr/include/c++/11/string:55, from /usr/include/c++/11/bits/locale_classes.h:40, from /usr/include/c++/11/bits/ios_base.h:41, from /usr/include/c++/11/ios:42, from /usr/include/c++/11/ostream:38, from /usr/include/c++/11/iostream:39, from devices/ahci.cpp:25: /usr/include/bits/stdio2.h:71:35: note: '__snprintf_chk' output between 9 and 4104 bytes into a destination of size 4096 71 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 72 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 73 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ devices/ahci.cpp:145:45: 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:888, from /usr/include/c++/11/cstdio:42, from /usr/include/c++/11/ext/string_conversions.h:43, from /usr/include/c++/11/bits/basic_string.h:6608, from /usr/include/c++/11/string:55, from /usr/include/c++/11/bits/locale_classes.h:40, from /usr/include/c++/11/bits/ios_base.h:41, from /usr/include/c++/11/ios:42, from /usr/include/c++/11/ostream:38, from /usr/include/c++/11/iostream:39, from devices/ahci.cpp:25: /usr/include/bits/stdio2.h:71:35: note: '__snprintf_chk' output between 9 and 4104 bytes into a destination of size 4096 71 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 72 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 73 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ devices/ahci.cpp:148:45: 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:888, from /usr/include/c++/11/cstdio:42, from /usr/include/c++/11/ext/string_conversions.h:43, from /usr/include/c++/11/bits/basic_string.h:6608, from /usr/include/c++/11/string:55, from /usr/include/c++/11/bits/locale_classes.h:40, from /usr/include/c++/11/bits/ios_base.h:41, from /usr/include/c++/11/ios:42, from /usr/include/c++/11/ostream:38, from /usr/include/c++/11/iostream:39, from devices/ahci.cpp:25: /usr/include/bits/stdio2.h:71:35: note: '__snprintf_chk' output between 8 and 4103 bytes into a destination of size 4096 71 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 72 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 73 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ devices/ahci.cpp:54:50: 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:888, from /usr/include/c++/11/cstdio:42, from /usr/include/c++/11/ext/string_conversions.h:43, from /usr/include/c++/11/bits/basic_string.h:6608, from /usr/include/c++/11/string:55, from /usr/include/c++/11/bits/locale_classes.h:40, from /usr/include/c++/11/bits/ios_base.h:41, from /usr/include/c++/11/ios:42, from /usr/include/c++/11/ostream:38, from /usr/include/c++/11/iostream:39, from devices/ahci.cpp:25: /usr/include/bits/stdio2.h:71:35: note: '__snprintf_chk' output between 2 and 4352 bytes into a destination of size 4096 71 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 72 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 73 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ devices/ahci.cpp:68:50: 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:888, from /usr/include/c++/11/cstdio:42, from /usr/include/c++/11/ext/string_conversions.h:43, from /usr/include/c++/11/bits/basic_string.h:6608, from /usr/include/c++/11/string:55, from /usr/include/c++/11/bits/locale_classes.h:40, from /usr/include/c++/11/bits/ios_base.h:41, from /usr/include/c++/11/ios:42, from /usr/include/c++/11/ostream:38, from /usr/include/c++/11/iostream:39, from devices/ahci.cpp:25: /usr/include/bits/stdio2.h:71:35: note: '__snprintf_chk' output between 8 and 4358 bytes into a destination of size 4096 71 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 72 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 73 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ g++ -std=c++11 -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/share/locale\" -I/usr/include/libnl3 -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -pthread -Wall -Wformat -Wshadow -fno-omit-frame-pointer -fstack-protector -I/usr/include/libnl3 -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o measurement/powertop-measurement.o `test -f 'measurement/measurement.cpp' || echo './'`measurement/measurement.cpp g++ -std=c++11 -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/share/locale\" -I/usr/include/libnl3 -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -pthread -Wall -Wformat -Wshadow -fno-omit-frame-pointer -fstack-protector -I/usr/include/libnl3 -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o measurement/powertop-sysfs.o `test -f 'measurement/sysfs.cpp' || echo './'`measurement/sysfs.cpp g++ -std=c++11 -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/share/locale\" -I/usr/include/libnl3 -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -pthread -Wall -Wformat -Wshadow -fno-omit-frame-pointer -fstack-protector -I/usr/include/libnl3 -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o measurement/powertop-opal-sensors.o `test -f 'measurement/opal-sensors.cpp' || echo './'`measurement/opal-sensors.cpp In function 'strncpy', inlined from 'pt_strcpy<128ul>(char (&) [128ul], char const*)void' at devices/../parameters/../lib.h:78:9, inlined from 'devfreq::devfreq(char const*)' at devices/devfreq.cpp:48:11, inlined from 'devfreq_dev_callback(char const*)' at devices/devfreq.cpp:225:54: /usr/include/bits/string_fortified.h:95:34: warning: 'strncpy' specified bound 128 equals destination size [-Wstringop-truncation] 95 | return __builtin___strncpy_chk (__dest, __src, __len, | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ 96 | __glibc_objsize (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/string.h:519, from devices/../parameters/parameters.h:33, from devices/rfkill.h:31, from devices/rfkill.cpp:38: In function 'strncpy', inlined from 'pt_strcpy<4096ul>(char (&) [4096ul], char const*)void' at devices/../parameters/../lib.h:78:9, inlined from 'rfkill::rfkill(char*, char*)' at devices/rfkill.cpp:53:11: g++ -std=c++11 -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/share/locale\" -I/usr/include/libnl3 -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -pthread -Wall -Wformat -Wshadow -fno-omit-frame-pointer -fstack-protector -I/usr/include/libnl3 -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o parameters/powertop-learn.o `test -f 'parameters/learn.cpp' || echo './'`parameters/learn.cpp /usr/include/bits/string_fortified.h:95:34: warning: 'strncpy' specified bound 4096 equals destination size [-Wstringop-truncation] 95 | return __builtin___strncpy_chk (__dest, __src, __len, | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ 96 | __glibc_objsize (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/string.h:519, from devices/../parameters/parameters.h:33, from devices/runtime_pm.h:31, from devices/runtime_pm.cpp:25: In function 'strncpy', inlined from 'pt_strcpy<4096ul>(char (&) [4096ul], char const*)void' at devices/../parameters/../lib.h:78:9, inlined from 'runtime_pmdevice::runtime_pmdevice(char const*, char const*)' at devices/runtime_pm.cpp:43:11: /usr/include/bits/string_fortified.h:95:34: warning: 'strncpy' specified bound 4096 equals destination size [-Wstringop-truncation] 95 | return __builtin___strncpy_chk (__dest, __src, __len, | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ 96 | __glibc_objsize (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'strncpy', inlined from 'pt_strcpy<4096ul>(char (&) [4096ul], char const*)void' at devices/../parameters/../lib.h:78:9, inlined from 'runtime_pmdevice::runtime_pmdevice(char const*, char const*)' at devices/runtime_pm.cpp:45:11: /usr/include/bits/string_fortified.h:95:34: warning: 'strncpy' specified bound 4096 equals destination size [-Wstringop-truncation] 95 | return __builtin___strncpy_chk (__dest, __src, __len, | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ 96 | __glibc_objsize (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~ devices/rfkill.cpp: In member function 'rfkill::end_measurement()': devices/rfkill.cpp:103:49: warning: '/hard' directive output may be truncated writing 5 bytes into a region of size between 1 and 4096 [-Wformat-truncation=] 103 | snprintf(filename, sizeof(filename), "%s/hard", sysfs_path); | ^~~~~ In file included from /usr/include/stdio.h:888, from /usr/include/c++/11/cstdio:42, from /usr/include/c++/11/ext/string_conversions.h:43, from /usr/include/c++/11/bits/basic_string.h:6608, from /usr/include/c++/11/string:55, from /usr/include/c++/11/bits/locale_classes.h:40, from /usr/include/c++/11/bits/ios_base.h:41, from /usr/include/c++/11/ios:42, from /usr/include/c++/11/ostream:38, from /usr/include/c++/11/iostream:39, from devices/rfkill.cpp:25: /usr/include/bits/stdio2.h:71:35: note: '__snprintf_chk' output between 6 and 4101 bytes into a destination of size 4096 71 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 72 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 73 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ devices/rfkill.cpp:109:49: warning: '/soft' directive output may be truncated writing 5 bytes into a region of size between 1 and 4096 [-Wformat-truncation=] 109 | snprintf(filename, sizeof(filename), "%s/soft", sysfs_path); | ^~~~~ In file included from /usr/include/stdio.h:888, from /usr/include/c++/11/cstdio:42, from /usr/include/c++/11/ext/string_conversions.h:43, from /usr/include/c++/11/bits/basic_string.h:6608, from /usr/include/c++/11/string:55, from /usr/include/c++/11/bits/locale_classes.h:40, from /usr/include/c++/11/bits/ios_base.h:41, from /usr/include/c++/11/ios:42, from /usr/include/c++/11/ostream:38, from /usr/include/c++/11/iostream:39, from devices/rfkill.cpp:25: /usr/include/bits/stdio2.h:71:35: note: '__snprintf_chk' output between 6 and 4101 bytes into a destination of size 4096 71 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 72 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 73 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ In function 'strncpy', inlined from 'pt_strcpy<4096ul>(char (&) [4096ul], char const*)void' at devices/../parameters/../lib.h:78:9, inlined from 'runtime_pmdevice::set_human_name(char*)' at devices/runtime_pm.cpp:144:11: /usr/include/bits/string_fortified.h:95:34: warning: 'strncpy' specified bound 4096 equals destination size [-Wstringop-truncation] 95 | return __builtin___strncpy_chk (__dest, __src, __len, | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ 96 | __glibc_objsize (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~ devices/runtime_pm.cpp: In member function 'runtime_pmdevice::start_measurement()': devices/runtime_pm.cpp:69:49: warning: '/power/runtime_suspended_time' directive output may be truncated writing 29 bytes into a region of size between 1 and 4096 [-Wformat-truncation=] 69 | snprintf(filename, sizeof(filename), "%s/power/runtime_suspended_time", sysfs_path); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:888, from /usr/include/c++/11/cstdio:42, from /usr/include/c++/11/ext/string_conversions.h:43, from /usr/include/c++/11/bits/basic_string.h:6608, from /usr/include/c++/11/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:71:35: note: '__snprintf_chk' output between 30 and 4125 bytes into a destination of size 4096 71 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 72 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 73 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ devices/runtime_pm.cpp:76:49: warning: '/power/runtime_active_time' directive output may be truncated writing 26 bytes into a region of size between 1 and 4096 [-Wformat-truncation=] 76 | snprintf(filename, sizeof(filename), "%s/power/runtime_active_time", sysfs_path); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:888, from /usr/include/c++/11/cstdio:42, from /usr/include/c++/11/ext/string_conversions.h:43, from /usr/include/c++/11/bits/basic_string.h:6608, from /usr/include/c++/11/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:71:35: note: '__snprintf_chk' output between 27 and 4122 bytes into a destination of size 4096 71 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 72 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 73 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ g++ -std=c++11 -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/share/locale\" -I/usr/include/libnl3 -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -pthread -Wall -Wformat -Wshadow -fno-omit-frame-pointer -fstack-protector -I/usr/include/libnl3 -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o parameters/powertop-parameters.o `test -f 'parameters/parameters.cpp' || echo './'`parameters/parameters.cpp devices/rfkill.cpp: In member function 'rfkill::start_measurement()': devices/rfkill.cpp:83:49: warning: '/hard' directive output may be truncated writing 5 bytes into a region of size between 1 and 4096 [-Wformat-truncation=] 83 | snprintf(filename, sizeof(filename), "%s/hard", sysfs_path); | ^~~~~ In file included from /usr/include/stdio.h:888, from /usr/include/c++/11/cstdio:42, from /usr/include/c++/11/ext/string_conversions.h:43, from /usr/include/c++/11/bits/basic_string.h:6608, from /usr/include/c++/11/string:55, from /usr/include/c++/11/bits/locale_classes.h:40, from /usr/include/c++/11/bits/ios_base.h:41, from /usr/include/c++/11/ios:42, from /usr/include/c++/11/ostream:38, from /usr/include/c++/11/iostream:39, from devices/rfkill.cpp:25: /usr/include/bits/stdio2.h:71:35: note: '__snprintf_chk' output between 6 and 4101 bytes into a destination of size 4096 71 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 72 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 73 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ devices/rfkill.cpp:90:49: warning: '/soft' directive output may be truncated writing 5 bytes into a region of size between 1 and 4096 [-Wformat-truncation=] 90 | snprintf(filename, sizeof(filename), "%s/soft", sysfs_path); | ^~~~~ In file included from /usr/include/stdio.h:888, from /usr/include/c++/11/cstdio:42, from /usr/include/c++/11/ext/string_conversions.h:43, from /usr/include/c++/11/bits/basic_string.h:6608, from /usr/include/c++/11/string:55, from /usr/include/c++/11/bits/locale_classes.h:40, from /usr/include/c++/11/bits/ios_base.h:41, from /usr/include/c++/11/ios:42, from /usr/include/c++/11/ostream:38, from /usr/include/c++/11/iostream:39, from devices/rfkill.cpp:25: /usr/include/bits/stdio2.h:71:35: note: '__snprintf_chk' output between 6 and 4101 bytes into a destination of size 4096 71 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 72 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 73 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ g++ -std=c++11 -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/share/locale\" -I/usr/include/libnl3 -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -pthread -Wall -Wformat -Wshadow -fno-omit-frame-pointer -fstack-protector -I/usr/include/libnl3 -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o parameters/powertop-persistent.o `test -f 'parameters/persistent.cpp' || echo './'`parameters/persistent.cpp devices/runtime_pm.cpp: In member function 'runtime_pmdevice::end_measurement()': devices/runtime_pm.cpp:89:49: warning: '/power/runtime_suspended_time' directive output may be truncated writing 29 bytes into a region of size between 1 and 4096 [-Wformat-truncation=] 89 | snprintf(filename, sizeof(filename), "%s/power/runtime_suspended_time", sysfs_path); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:888, from /usr/include/c++/11/cstdio:42, from /usr/include/c++/11/ext/string_conversions.h:43, from /usr/include/c++/11/bits/basic_string.h:6608, from /usr/include/c++/11/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:71:35: note: '__snprintf_chk' output between 30 and 4125 bytes into a destination of size 4096 71 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 72 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 73 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ devices/runtime_pm.cpp:96:49: warning: '/power/runtime_active_time' directive output may be truncated writing 26 bytes into a region of size between 1 and 4096 [-Wformat-truncation=] 96 | snprintf(filename, sizeof(filename), "%s/power/runtime_active_time", sysfs_path); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:888, from /usr/include/c++/11/cstdio:42, from /usr/include/c++/11/ext/string_conversions.h:43, from /usr/include/c++/11/bits/basic_string.h:6608, from /usr/include/c++/11/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:71:35: note: '__snprintf_chk' output between 27 and 4122 bytes into a destination of size 4096 71 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 72 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 73 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ In file included from /usr/include/string.h:519, from devices/../parameters/parameters.h:33, from devices/network.h:32, from devices/network.cpp:42: In function 'strncpy', inlined from 'pt_strcpy<4096ul>(char (&) [4096ul], char const*)void' at devices/../parameters/../lib.h:78:9, inlined from 'network::network(char const*, char const*)' at devices/network.cpp:144:11: /usr/include/bits/string_fortified.h:95:34: warning: 'strncpy' specified bound 4096 equals destination size [-Wstringop-truncation] 95 | return __builtin___strncpy_chk (__dest, __src, __len, | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ 96 | __glibc_objsize (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~ g++ -std=c++11 -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/share/locale\" -I/usr/include/libnl3 -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -pthread -Wall -Wformat -Wshadow -fno-omit-frame-pointer -fstack-protector -I/usr/include/libnl3 -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o perf/powertop-perf.o `test -f 'perf/perf.cpp' || echo './'`perf/perf.cpp In file included from /usr/include/string.h:519, from measurement/acpi.cpp:29: In function 'strncpy', inlined from 'pt_strcpy<256ul>(char (&) [256ul], char const*)void' at measurement/../lib.h:78:9, inlined from 'acpi_power_meter::acpi_power_meter(char const*)' at measurement/acpi.cpp:42:11: /usr/include/bits/string_fortified.h:95:34: warning: 'strncpy' specified bound 256 equals destination size [-Wstringop-truncation] 95 | return __builtin___strncpy_chk (__dest, __src, __len, | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ 96 | __glibc_objsize (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~ g++ -std=c++11 -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/share/locale\" -I/usr/include/libnl3 -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -pthread -Wall -Wformat -Wshadow -fno-omit-frame-pointer -fstack-protector -I/usr/include/libnl3 -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o perf/powertop-perf_bundle.o `test -f 'perf/perf_bundle.cpp' || echo './'`perf/perf_bundle.cpp In file included from /usr/include/string.h:519, from /usr/include/c++/11/cstring:42, from measurement/../lib.h:31, from measurement/sysfs.cpp:27: In function 'strncpy', inlined from 'pt_strcpy<256ul>(char (&) [256ul], char const*)void' at measurement/../lib.h:78:9, inlined from 'sysfs_power_meter::sysfs_power_meter(char const*)' at measurement/sysfs.cpp:36:11: /usr/include/bits/string_fortified.h:95:34: warning: 'strncpy' specified bound 256 equals destination size [-Wstringop-truncation] 95 | return __builtin___strncpy_chk (__dest, __src, __len, | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ 96 | __glibc_objsize (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~ g++ -std=c++11 -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/share/locale\" -I/usr/include/libnl3 -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -pthread -Wall -Wformat -Wshadow -fno-omit-frame-pointer -fstack-protector -I/usr/include/libnl3 -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o process/powertop-do_process.o `test -f 'process/do_process.cpp' || echo './'`process/do_process.cpp In file included from /usr/include/string.h:519, from /usr/include/c++/11/cstring:42, from measurement/../lib.h:31, from measurement/opal-sensors.cpp:27: In function 'strncpy', inlined from 'opal_sensors_power_meter::opal_sensors_power_meter(char const*)' at measurement/opal-sensors.cpp:34:9: /usr/include/bits/string_fortified.h:95:34: warning: 'strncpy' specified bound 4096 equals destination size [-Wstringop-truncation] 95 | return __builtin___strncpy_chk (__dest, __src, __len, | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ 96 | __glibc_objsize (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/string.h:519, from devices/../parameters/parameters.h:33, from devices/usb.h:31, from devices/usb.cpp:25: In function 'strncpy', inlined from 'pt_strcpy<4096ul>(char (&) [4096ul], char const*)void' at devices/../parameters/../lib.h:78:9, inlined from 'usbdevice::usbdevice(char const*, char const*, char const*)' at devices/usb.cpp:47:11: /usr/include/bits/string_fortified.h:95:34: warning: 'strncpy' specified bound 4096 equals destination size [-Wstringop-truncation] 95 | return __builtin___strncpy_chk (__dest, __src, __len, | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ 96 | __glibc_objsize (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'strncpy', inlined from 'pt_strcpy<4096ul>(char (&) [4096ul], char const*)void' at devices/../parameters/../lib.h:78:9, inlined from 'usbdevice::usbdevice(char const*, char const*, char const*)' at devices/usb.cpp:49:11: /usr/include/bits/string_fortified.h:95:34: warning: 'strncpy' specified bound 4096 equals destination size [-Wstringop-truncation] 95 | return __builtin___strncpy_chk (__dest, __src, __len, | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ 96 | __glibc_objsize (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'strncpy', inlined from 'pt_strcpy<4096ul>(char (&) [4096ul], char const*)void' at devices/../parameters/../lib.h:78:9, inlined from 'usbdevice::usbdevice(char const*, char const*, char const*)' at devices/usb.cpp:50:11: /usr/include/bits/string_fortified.h:95:34: warning: 'strncpy' specified bound 4096 equals destination size [-Wstringop-truncation] 95 | return __builtin___strncpy_chk (__dest, __src, __len, | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ 96 | __glibc_objsize (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/string.h:519, from measurement/extech.cpp:40: In function 'strncpy', inlined from 'pt_strcpy<256ul>(char (&) [256ul], char const*)void' at measurement/../lib.h:78:9, inlined from 'extech_power_meter::extech_power_meter(char const*)' at measurement/extech.cpp:272:11: /usr/include/bits/string_fortified.h:95:34: warning: 'strncpy' specified bound 256 equals destination size [-Wstringop-truncation] 95 | return __builtin___strncpy_chk (__dest, __src, __len, | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ 96 | __glibc_objsize (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~ g++ -std=c++11 -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/share/locale\" -I/usr/include/libnl3 -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -pthread -Wall -Wformat -Wshadow -fno-omit-frame-pointer -fstack-protector -I/usr/include/libnl3 -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o process/powertop-interrupt.o `test -f 'process/interrupt.cpp' || echo './'`process/interrupt.cpp g++ -std=c++11 -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/share/locale\" -I/usr/include/libnl3 -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -pthread -Wall -Wformat -Wshadow -fno-omit-frame-pointer -fstack-protector -I/usr/include/libnl3 -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o process/powertop-powerconsumer.o `test -f 'process/powerconsumer.cpp' || echo './'`process/powerconsumer.cpp g++ -std=c++11 -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/share/locale\" -I/usr/include/libnl3 -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -pthread -Wall -Wformat -Wshadow -fno-omit-frame-pointer -fstack-protector -I/usr/include/libnl3 -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o process/powertop-process.o `test -f 'process/process.cpp' || echo './'`process/process.cpp g++ -std=c++11 -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/share/locale\" -I/usr/include/libnl3 -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -pthread -Wall -Wformat -Wshadow -fno-omit-frame-pointer -fstack-protector -I/usr/include/libnl3 -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o process/powertop-processdevice.o `test -f 'process/processdevice.cpp' || echo './'`process/processdevice.cpp g++ -std=c++11 -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/share/locale\" -I/usr/include/libnl3 -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -pthread -Wall -Wformat -Wshadow -fno-omit-frame-pointer -fstack-protector -I/usr/include/libnl3 -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o process/powertop-timer.o `test -f 'process/timer.cpp' || echo './'`process/timer.cpp g++ -std=c++11 -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/share/locale\" -I/usr/include/libnl3 -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -pthread -Wall -Wformat -Wshadow -fno-omit-frame-pointer -fstack-protector -I/usr/include/libnl3 -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o process/powertop-work.o `test -f 'process/work.cpp' || echo './'`process/work.cpp devices/usb.cpp: In member function 'usbdevice::start_measurement()': devices/usb.cpp:129:49: warning: '/power/active_duration' directive output may be truncated writing 22 bytes into a region of size between 1 and 4096 [-Wformat-truncation=] 129 | snprintf(fullpath, sizeof(fullpath), "%s/power/active_duration", sysfs_path); | ^~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:888, from /usr/include/c++/11/cstdio:42, from /usr/include/c++/11/ext/string_conversions.h:43, from /usr/include/c++/11/bits/basic_string.h:6608, from /usr/include/c++/11/string:55, from devices/../parameters/parameters.h:31, from devices/usb.h:31, from devices/usb.cpp:25: /usr/include/bits/stdio2.h:71:35: note: '__snprintf_chk' output between 23 and 4118 bytes into a destination of size 4096 71 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 72 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 73 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ devices/usb.cpp:136:49: warning: '/power/connected_duration' directive output may be truncated writing 25 bytes into a region of size between 1 and 4096 [-Wformat-truncation=] 136 | snprintf(fullpath, sizeof(fullpath), "%s/power/connected_duration", sysfs_path); | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:888, from /usr/include/c++/11/cstdio:42, from /usr/include/c++/11/ext/string_conversions.h:43, from /usr/include/c++/11/bits/basic_string.h:6608, from /usr/include/c++/11/string:55, from devices/../parameters/parameters.h:31, from devices/usb.h:31, from devices/usb.cpp:25: /usr/include/bits/stdio2.h:71:35: note: '__snprintf_chk' output between 26 and 4121 bytes into a destination of size 4096 71 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 72 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 73 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ devices/usb.cpp: In member function 'usbdevice::end_measurement()': devices/usb.cpp:149:49: warning: '/power/active_duration' directive output may be truncated writing 22 bytes into a region of size between 1 and 4096 [-Wformat-truncation=] 149 | snprintf(fullpath, sizeof(fullpath), "%s/power/active_duration", sysfs_path); | ^~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:888, from /usr/include/c++/11/cstdio:42, from /usr/include/c++/11/ext/string_conversions.h:43, from /usr/include/c++/11/bits/basic_string.h:6608, from /usr/include/c++/11/string:55, from devices/../parameters/parameters.h:31, from devices/usb.h:31, from devices/usb.cpp:25: /usr/include/bits/stdio2.h:71:35: note: '__snprintf_chk' output between 23 and 4118 bytes into a destination of size 4096 71 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 72 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 73 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ devices/usb.cpp:156:49: 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:888, from /usr/include/c++/11/cstdio:42, from /usr/include/c++/11/ext/string_conversions.h:43, from /usr/include/c++/11/bits/basic_string.h:6608, from /usr/include/c++/11/string:55, from devices/../parameters/parameters.h:31, from devices/usb.h:31, from devices/usb.cpp:25: /usr/include/bits/stdio2.h:71:35: note: '__snprintf_chk' output between 26 and 4121 bytes into a destination of size 4096 71 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 72 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 73 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ devices/usb.cpp: In function 'create_all_usb_devices_callback(char const*)': devices/usb.cpp:226:55: warning: '/power/active_duration' directive output may be truncated writing 22 bytes into a region of size between 1 and 4096 [-Wformat-truncation=] 226 | snprintf(device_name, sizeof(device_name), "%s/power/active_duration", filename); | ^~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:888, from /usr/include/c++/11/cstdio:42, from /usr/include/c++/11/ext/string_conversions.h:43, from /usr/include/c++/11/bits/basic_string.h:6608, from /usr/include/c++/11/string:55, from devices/../parameters/parameters.h:31, from devices/usb.h:31, from devices/usb.cpp:25: /usr/include/bits/stdio2.h:71:35: note: '__snprintf_chk' output between 23 and 4118 bytes into a destination of size 4096 71 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 72 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 73 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ devices/usb.cpp:230:55: 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:888, from /usr/include/c++/11/cstdio:42, from /usr/include/c++/11/ext/string_conversions.h:43, from /usr/include/c++/11/bits/basic_string.h:6608, from /usr/include/c++/11/string:55, from devices/../parameters/parameters.h:31, from devices/usb.h:31, from devices/usb.cpp:25: /usr/include/bits/stdio2.h:71:35: note: '__snprintf_chk' output between 10 and 4105 bytes into a destination of size 4096 71 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 72 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 73 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ devices/usb.cpp:235:55: 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:888, from /usr/include/c++/11/cstdio:42, from /usr/include/c++/11/ext/string_conversions.h:43, from /usr/include/c++/11/bits/basic_string.h:6608, from /usr/include/c++/11/string:55, from devices/../parameters/parameters.h:31, from devices/usb.h:31, from devices/usb.cpp:25: /usr/include/bits/stdio2.h:71:35: note: '__snprintf_chk' output between 11 and 4106 bytes into a destination of size 4096 71 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 72 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 73 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ g++ -std=c++11 -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/share/locale\" -I/usr/include/libnl3 -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -pthread -Wall -Wformat -Wshadow -fno-omit-frame-pointer -fstack-protector -I/usr/include/libnl3 -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o report/powertop-report-data-html.o `test -f 'report/report-data-html.cpp' || echo './'`report/report-data-html.cpp g++ -std=c++11 -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/share/locale\" -I/usr/include/libnl3 -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -pthread -Wall -Wformat -Wshadow -fno-omit-frame-pointer -fstack-protector -I/usr/include/libnl3 -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o report/powertop-report-formatter-base.o `test -f 'report/report-formatter-base.cpp' || echo './'`report/report-formatter-base.cpp g++ -std=c++11 -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/share/locale\" -I/usr/include/libnl3 -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -pthread -Wall -Wformat -Wshadow -fno-omit-frame-pointer -fstack-protector -I/usr/include/libnl3 -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o report/powertop-report-formatter-csv.o `test -f 'report/report-formatter-csv.cpp' || echo './'`report/report-formatter-csv.cpp g++ -std=c++11 -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/share/locale\" -I/usr/include/libnl3 -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -pthread -Wall -Wformat -Wshadow -fno-omit-frame-pointer -fstack-protector -I/usr/include/libnl3 -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o report/powertop-report-formatter-html.o `test -f 'report/report-formatter-html.cpp' || echo './'`report/report-formatter-html.cpp In file included from /usr/include/string.h:519, from process/interrupt.cpp:26: In function 'strncpy', inlined from 'pt_strcpy<32ul>(char (&) [32ul], char const*)void' at process/../lib.h:78:9, inlined from 'interrupt::interrupt(char const*, int)' at process/interrupt.cpp:52:11: g++ -std=c++11 -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/share/locale\" -I/usr/include/libnl3 -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -pthread -Wall -Wformat -Wshadow -fno-omit-frame-pointer -fstack-protector -I/usr/include/libnl3 -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o report/powertop-report-maker.o `test -f 'report/report-maker.cpp' || echo './'`report/report-maker.cpp /usr/include/bits/string_fortified.h:95:34: warning: 'strncpy' specified bound 32 equals destination size [-Wstringop-truncation] 95 | return __builtin___strncpy_chk (__dest, __src, __len, | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ 96 | __glibc_objsize (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~ g++ -std=c++11 -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/share/locale\" -I/usr/include/libnl3 -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -pthread -Wall -Wformat -Wshadow -fno-omit-frame-pointer -fstack-protector -I/usr/include/libnl3 -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o report/powertop-report.o `test -f 'report/report.cpp' || echo './'`report/report.cpp g++ -std=c++11 -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/share/locale\" -I/usr/include/libnl3 -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -pthread -Wall -Wformat -Wshadow -fno-omit-frame-pointer -fstack-protector -I/usr/include/libnl3 -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o tuning/powertop-bluetooth.o `test -f 'tuning/bluetooth.cpp' || echo './'`tuning/bluetooth.cpp g++ -std=c++11 -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/share/locale\" -I/usr/include/libnl3 -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -pthread -Wall -Wformat -Wshadow -fno-omit-frame-pointer -fstack-protector -I/usr/include/libnl3 -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o tuning/powertop-ethernet.o `test -f 'tuning/ethernet.cpp' || echo './'`tuning/ethernet.cpp In file included from /usr/include/string.h:519, from process/timer.cpp:29: In function 'strncpy', inlined from 'pt_strcpy<32ul>(char (&) [32ul], char const*)void' at process/../lib.h:78:9, inlined from 'timer::timer(unsigned long)' at process/timer.cpp:64:11: /usr/include/bits/string_fortified.h:95:34: warning: 'strncpy' specified bound 32 equals destination size [-Wstringop-truncation] 95 | return __builtin___strncpy_chk (__dest, __src, __len, | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ 96 | __glibc_objsize (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/string.h:519, from process/work.cpp:29: In function 'strncpy', inlined from 'pt_strcpy<32ul>(char (&) [32ul], char const*)void' at process/../lib.h:78:9, inlined from 'work::work(unsigned long)' at process/work.cpp:41:11: /usr/include/bits/string_fortified.h:95:34: warning: 'strncpy' specified bound 32 equals destination size [-Wstringop-truncation] 95 | return __builtin___strncpy_chk (__dest, __src, __len, | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ 96 | __glibc_objsize (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/share/locale\" -I/usr/include/libnl3 -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o tuning/powertop-iw.o `test -f 'tuning/iw.c' || echo './'`tuning/iw.c In file included from /usr/include/string.h:519, from process/process.cpp:29: In function 'strncpy', inlined from 'pt_strcpy<16ul>(char (&) [16ul], char const*)void' at process/../lib.h:78:9, inlined from 'process::process(char const*, int, int)' at process/process.cpp:88:11: /usr/include/bits/string_fortified.h:95:34: warning: 'strncpy' specified bound 16 equals destination size [-Wstringop-truncation] 95 | return __builtin___strncpy_chk (__dest, __src, __len, | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ 96 | __glibc_objsize (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'strncpy', inlined from 'pt_strcpy<32ul>(char (&) [32ul], char const*)void' at process/../lib.h:78:9, inlined from 'timer::timer(unsigned long)' at process/timer.cpp:64:11, inlined from 'find_create_timer(unsigned long)' at process/timer.cpp:139:30: /usr/include/bits/string_fortified.h:95:34: warning: 'strncpy' specified bound 32 equals destination size [-Wstringop-truncation] 95 | return __builtin___strncpy_chk (__dest, __src, __len, | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ 96 | __glibc_objsize (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~ g++ -std=c++11 -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/share/locale\" -I/usr/include/libnl3 -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -pthread -Wall -Wformat -Wshadow -fno-omit-frame-pointer -fstack-protector -I/usr/include/libnl3 -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o tuning/powertop-runtime.o `test -f 'tuning/runtime.cpp' || echo './'`tuning/runtime.cpp g++ -std=c++11 -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/share/locale\" -I/usr/include/libnl3 -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -pthread -Wall -Wformat -Wshadow -fno-omit-frame-pointer -fstack-protector -I/usr/include/libnl3 -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o tuning/powertop-tunable.o `test -f 'tuning/tunable.cpp' || echo './'`tuning/tunable.cpp g++ -std=c++11 -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/share/locale\" -I/usr/include/libnl3 -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -pthread -Wall -Wformat -Wshadow -fno-omit-frame-pointer -fstack-protector -I/usr/include/libnl3 -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o tuning/powertop-tuning.o `test -f 'tuning/tuning.cpp' || echo './'`tuning/tuning.cpp g++ -std=c++11 -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/share/locale\" -I/usr/include/libnl3 -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -pthread -Wall -Wformat -Wshadow -fno-omit-frame-pointer -fstack-protector -I/usr/include/libnl3 -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o tuning/powertop-tuningsysfs.o `test -f 'tuning/tuningsysfs.cpp' || echo './'`tuning/tuningsysfs.cpp g++ -std=c++11 -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/share/locale\" -I/usr/include/libnl3 -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -pthread -Wall -Wformat -Wshadow -fno-omit-frame-pointer -fstack-protector -I/usr/include/libnl3 -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o tuning/powertop-tuningusb.o `test -f 'tuning/tuningusb.cpp' || echo './'`tuning/tuningusb.cpp g++ -std=c++11 -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/share/locale\" -I/usr/include/libnl3 -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -pthread -Wall -Wformat -Wshadow -fno-omit-frame-pointer -fstack-protector -I/usr/include/libnl3 -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o tuning/powertop-tuningi2c.o `test -f 'tuning/tuningi2c.cpp' || echo './'`tuning/tuningi2c.cpp g++ -std=c++11 -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/share/locale\" -I/usr/include/libnl3 -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -pthread -Wall -Wformat -Wshadow -fno-omit-frame-pointer -fstack-protector -I/usr/include/libnl3 -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o tuning/powertop-wifi.o `test -f 'tuning/wifi.cpp' || echo './'`tuning/wifi.cpp g++ -std=c++11 -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/share/locale\" -I/usr/include/libnl3 -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -pthread -Wall -Wformat -Wshadow -fno-omit-frame-pointer -fstack-protector -I/usr/include/libnl3 -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o wakeup/powertop-wakeup.o `test -f 'wakeup/wakeup.cpp' || echo './'`wakeup/wakeup.cpp g++ -std=c++11 -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/share/locale\" -I/usr/include/libnl3 -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -pthread -Wall -Wformat -Wshadow -fno-omit-frame-pointer -fstack-protector -I/usr/include/libnl3 -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o wakeup/powertop-waketab.o `test -f 'wakeup/waketab.cpp' || echo './'`wakeup/waketab.cpp g++ -std=c++11 -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/share/locale\" -I/usr/include/libnl3 -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -pthread -Wall -Wformat -Wshadow -fno-omit-frame-pointer -fstack-protector -I/usr/include/libnl3 -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o wakeup/powertop-wakeup_ethernet.o `test -f 'wakeup/wakeup_ethernet.cpp' || echo './'`wakeup/wakeup_ethernet.cpp In file included from /usr/include/string.h:519, from /usr/include/c++/11/cstring:42, from tuning/../lib.h:31, from tuning/tunable.h:30, from tuning/ethernet.cpp:27: In function 'strncpy', inlined from 'pt_strcpy<4096ul>(char (&) [4096ul], char const*)void' at tuning/../lib.h:78:9, inlined from 'ethernet_tunable::ethernet_tunable(char const*)' at tuning/ethernet.cpp:53:11: /usr/include/bits/string_fortified.h:95:34: warning: 'strncpy' specified bound 4096 equals destination size [-Wstringop-truncation] 95 | return __builtin___strncpy_chk (__dest, __src, __len, | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ 96 | __glibc_objsize (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/string.h:519, from /usr/include/c++/11/cstring:42, from tuning/../lib.h:31, from tuning/tunable.h:30, from tuning/tunable.cpp:27: In function 'strncpy', inlined from 'pt_strcpy<4096ul>(char (&) [4096ul], char const*)void' at tuning/../lib.h:78:9, inlined from 'tunable::tunable(char const*, double, char const*, char const*, char const*)' at tuning/tunable.cpp:38:11: g++ -std=c++11 -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/share/locale\" -I/usr/include/libnl3 -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -pthread -Wall -Wformat -Wshadow -fno-omit-frame-pointer -fstack-protector -I/usr/include/libnl3 -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o wakeup/powertop-wakeup_usb.o `test -f 'wakeup/wakeup_usb.cpp' || echo './'`wakeup/wakeup_usb.cpp /usr/include/bits/string_fortified.h:95:34: warning: 'strncpy' specified bound 4096 equals destination size [-Wstringop-truncation] 95 | return __builtin___strncpy_chk (__dest, __src, __len, | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ 96 | __glibc_objsize (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'strncpy', inlined from 'pt_strcpy<128ul>(char (&) [128ul], char const*)void' at tuning/../lib.h:78:9, inlined from 'tunable::tunable(char const*, double, char const*, char const*, char const*)' at tuning/tunable.cpp:39:11: /usr/include/bits/string_fortified.h:95:34: warning: 'strncpy' specified bound 128 equals destination size [-Wstringop-truncation] 95 | return __builtin___strncpy_chk (__dest, __src, __len, | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ 96 | __glibc_objsize (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'strncpy', inlined from 'pt_strcpy<128ul>(char (&) [128ul], char const*)void' at tuning/../lib.h:78:9, inlined from 'tunable::tunable(char const*, double, char const*, char const*, char const*)' at tuning/tunable.cpp:40:11: /usr/include/bits/string_fortified.h:95:34: warning: 'strncpy' specified bound 128 equals destination size [-Wstringop-truncation] 95 | return __builtin___strncpy_chk (__dest, __src, __len, | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ 96 | __glibc_objsize (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'strncpy', inlined from 'pt_strcpy<128ul>(char (&) [128ul], char const*)void' at tuning/../lib.h:78:9, inlined from 'tunable::tunable(char const*, double, char const*, char const*, char const*)' at tuning/tunable.cpp:41:11: /usr/include/bits/string_fortified.h:95:34: warning: 'strncpy' specified bound 128 equals destination size [-Wstringop-truncation] 95 | return __builtin___strncpy_chk (__dest, __src, __len, | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ 96 | __glibc_objsize (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'strncpy', inlined from 'pt_strcpy<128ul>(char (&) [128ul], char const*)void' at tuning/../lib.h:78:9, inlined from 'tunable::tunable()' at tuning/tunable.cpp:49:11: /usr/include/bits/string_fortified.h:95:34: warning: 'strncpy' specified bound 128 equals destination size [-Wstringop-truncation] 95 | return __builtin___strncpy_chk (__dest, __src, __len, | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ 96 | __glibc_objsize (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'strncpy', inlined from 'pt_strcpy<128ul>(char (&) [128ul], char const*)void' at tuning/../lib.h:78:9, inlined from 'tunable::tunable()' at tuning/tunable.cpp:50:11: /usr/include/bits/string_fortified.h:95:34: warning: 'strncpy' specified bound 128 equals destination size [-Wstringop-truncation] 95 | return __builtin___strncpy_chk (__dest, __src, __len, | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ 96 | __glibc_objsize (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'strncpy', inlined from 'pt_strcpy<128ul>(char (&) [128ul], char const*)void' at tuning/../lib.h:78:9, inlined from 'tunable::tunable()' at tuning/tunable.cpp:51:11: /usr/include/bits/string_fortified.h:95:34: warning: 'strncpy' specified bound 128 equals destination size [-Wstringop-truncation] 95 | return __builtin___strncpy_chk (__dest, __src, __len, | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ 96 | __glibc_objsize (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/string.h:519, from wakeup/wakeup.cpp:26: In function 'strncpy', inlined from 'pt_strcpy<4096ul>(char (&) [4096ul], char const*)void' at wakeup/../lib.h:78:9, inlined from 'wakeup::wakeup(char const*, double, char const*, char const*)' at wakeup/wakeup.cpp:39:18: /usr/include/bits/string_fortified.h:95:34: warning: 'strncpy' specified bound 4096 equals destination size [-Wstringop-truncation] 95 | return __builtin___strncpy_chk (__dest, __src, __len, | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ 96 | __glibc_objsize (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'strncpy', inlined from 'pt_strcpy<128ul>(char (&) [128ul], char const*)void' at wakeup/../lib.h:78:9, inlined from 'wakeup::wakeup(char const*, double, char const*, char const*)' at wakeup/wakeup.cpp:40:18: /usr/include/bits/string_fortified.h:95:34: warning: 'strncpy' specified bound 128 equals destination size [-Wstringop-truncation] 95 | return __builtin___strncpy_chk (__dest, __src, __len, | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ 96 | __glibc_objsize (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'strncpy', inlined from 'pt_strcpy<128ul>(char (&) [128ul], char const*)void' at wakeup/../lib.h:78:9, inlined from 'wakeup::wakeup(char const*, double, char const*, char const*)' at wakeup/wakeup.cpp:41:18: /usr/include/bits/string_fortified.h:95:34: warning: 'strncpy' specified bound 128 equals destination size [-Wstringop-truncation] 95 | return __builtin___strncpy_chk (__dest, __src, __len, | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ 96 | __glibc_objsize (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'strncpy', inlined from 'pt_strcpy<128ul>(char (&) [128ul], char const*)void' at wakeup/../lib.h:78:9, inlined from 'wakeup::wakeup()' at wakeup/wakeup.cpp:48:18: /usr/include/bits/string_fortified.h:95:34: warning: 'strncpy' specified bound 128 equals destination size [-Wstringop-truncation] 95 | return __builtin___strncpy_chk (__dest, __src, __len, | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ 96 | __glibc_objsize (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'strncpy', inlined from 'pt_strcpy<128ul>(char (&) [128ul], char const*)void' at wakeup/../lib.h:78:9, inlined from 'wakeup::wakeup()' at wakeup/wakeup.cpp:49:18: /usr/include/bits/string_fortified.h:95:34: warning: 'strncpy' specified bound 128 equals destination size [-Wstringop-truncation] 95 | return __builtin___strncpy_chk (__dest, __src, __len, | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ 96 | __glibc_objsize (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'strncpy', inlined from 'pt_strcpy<128ul>(char (&) [128ul], char const*)void' at wakeup/../lib.h:78:9, inlined from 'wakeup::wakeup()' at wakeup/wakeup.cpp:50:11: /usr/include/bits/string_fortified.h:95:34: warning: 'strncpy' specified bound 128 equals destination size [-Wstringop-truncation] 95 | return __builtin___strncpy_chk (__dest, __src, __len, | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ 96 | __glibc_objsize (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/string.h:519, from /usr/include/c++/11/cstring:42, from tuning/../lib.h:31, from tuning/tunable.h:30, from tuning/wifi.cpp:27: In function 'strncpy', inlined from 'pt_strcpy<4096ul>(char (&) [4096ul], char const*)void' at tuning/../lib.h:78:9, inlined from 'wifi_tunable::wifi_tunable(char const*)' at tuning/wifi.cpp:47:11: /usr/include/bits/string_fortified.h:95:34: warning: 'strncpy' specified bound 4096 equals destination size [-Wstringop-truncation] 95 | return __builtin___strncpy_chk (__dest, __src, __len, | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ 96 | __glibc_objsize (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~ tuning/wifi.cpp: In member function 'wifi_tunable::wifi_tunable(char const*)': tuning/wifi.cpp:50:60: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size 4089 [-Wformat-truncation=] 50 | snprintf(toggle_good, sizeof(toggle_good), "iw dev %s set power_save on", iface); | ^~ In file included from /usr/include/stdio.h:888, from /usr/include/c++/11/cstdio:42, from /usr/include/c++/11/ext/string_conversions.h:43, from /usr/include/c++/11/bits/basic_string.h:6608, from /usr/include/c++/11/string:55, from tuning/../lib.h:58, from tuning/tunable.h:30, from tuning/wifi.cpp:27: /usr/include/bits/stdio2.h:71:35: note: '__snprintf_chk' output between 26 and 4121 bytes into a destination of size 4096 71 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 72 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 73 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ tuning/wifi.cpp:51:58: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size 4089 [-Wformat-truncation=] 51 | snprintf(toggle_bad, sizeof(toggle_bad), "iw dev %s set power_save off", iface); | ^~ In file included from /usr/include/stdio.h:888, from /usr/include/c++/11/cstdio:42, from /usr/include/c++/11/ext/string_conversions.h:43, from /usr/include/c++/11/bits/basic_string.h:6608, from /usr/include/c++/11/string:55, from tuning/../lib.h:58, from tuning/tunable.h:30, from tuning/wifi.cpp:27: /usr/include/bits/stdio2.h:71:35: note: '__snprintf_chk' output between 27 and 4122 bytes into a destination of size 4096 71 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 72 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 73 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ In file included from /usr/include/string.h:519, from /usr/include/c++/11/cstring:42, from tuning/../lib.h:31, from tuning/tunable.h:30, from tuning/tuningsysfs.cpp:27: In function 'strncpy', inlined from 'pt_strcpy<4096ul>(char (&) [4096ul], char const*)void' at tuning/../lib.h:78:9, inlined from 'sysfs_tunable::sysfs_tunable(char const*, char const*, char const*)' at tuning/tuningsysfs.cpp:47:11: /usr/include/bits/string_fortified.h:95:34: warning: 'strncpy' specified bound 4096 equals destination size [-Wstringop-truncation] 95 | return __builtin___strncpy_chk (__dest, __src, __len, | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ 96 | __glibc_objsize (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'strncpy', inlined from 'pt_strcpy<4096ul>(char (&) [4096ul], char const*)void' at tuning/../lib.h:78:9, inlined from 'sysfs_tunable::sysfs_tunable(char const*, char const*, char const*)' at tuning/tuningsysfs.cpp:48:11: /usr/include/bits/string_fortified.h:95:34: warning: 'strncpy' specified bound 4096 equals destination size [-Wstringop-truncation] 95 | return __builtin___strncpy_chk (__dest, __src, __len, | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ 96 | __glibc_objsize (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~ tuning/tuningsysfs.cpp: In member function 'sysfs_tunable::sysfs_tunable(char const*, char const*, char const*)': tuning/tuningsysfs.cpp:50:59: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size 4090 [-Wformat-truncation=] 50 | snprintf(toggle_good, sizeof(toggle_good), "echo '%s' > '%s';", target_value, sysfs_path); | ^~ In file included from /usr/include/stdio.h:888, from /usr/include/c++/11/cstdio:42, from /usr/include/c++/11/ext/string_conversions.h:43, from /usr/include/c++/11/bits/basic_string.h:6608, from /usr/include/c++/11/string:55, from tuning/../lib.h:58, from tuning/tunable.h:30, from tuning/tuningsysfs.cpp:27: /usr/include/bits/stdio2.h:71:35: note: '__snprintf_chk' output between 14 and 8204 bytes into a destination of size 4096 71 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 72 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 73 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ tuning/tuningsysfs.cpp:51:57: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size 4090 [-Wformat-truncation=] 51 | snprintf(toggle_bad, sizeof(toggle_bad), "echo '%s' > '%s';", bad_value, sysfs_path); | ^~ In file included from /usr/include/stdio.h:888, from /usr/include/c++/11/cstdio:42, from /usr/include/c++/11/ext/string_conversions.h:43, from /usr/include/c++/11/bits/basic_string.h:6608, from /usr/include/c++/11/string:55, from tuning/../lib.h:58, from tuning/tunable.h:30, from tuning/tuningsysfs.cpp:27: /usr/include/bits/stdio2.h:71:35: note: '__snprintf_chk' output between 14 and 8204 bytes into a destination of size 4096 71 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 72 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 73 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ tuning/runtime.cpp: In member function 'runtime_tunable::runtime_tunable(char const*, char const*, char const*, char const*)': tuning/runtime.cpp:86:68: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size 4081 [-Wformat-truncation=] 86 | snprintf(toggle_good, sizeof(toggle_good), "echo 'auto' > '%s';", runtime_path); | ^~ In file included from /usr/include/stdio.h:888, from /usr/include/c++/11/cstdio:42, from /usr/include/c++/11/ext/string_conversions.h:43, from /usr/include/c++/11/bits/basic_string.h:6608, from /usr/include/c++/11/string:55, from tuning/../lib.h:58, from tuning/tunable.h:30, from tuning/runtime.cpp:27: /usr/include/bits/stdio2.h:71:35: note: '__snprintf_chk' output between 18 and 4113 bytes into a destination of size 4096 71 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 72 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 73 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ tuning/runtime.cpp:87:64: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size 4083 [-Wformat-truncation=] 87 | snprintf(toggle_bad, sizeof(toggle_bad), "echo 'on' > '%s';", runtime_path); | ^~ In file included from /usr/include/stdio.h:888, from /usr/include/c++/11/cstdio:42, from /usr/include/c++/11/ext/string_conversions.h:43, from /usr/include/c++/11/bits/basic_string.h:6608, from /usr/include/c++/11/string:55, from tuning/../lib.h:58, from tuning/tunable.h:30, from tuning/runtime.cpp:27: /usr/include/bits/stdio2.h:71:35: note: '__snprintf_chk' output between 16 and 4111 bytes into a destination of size 4096 71 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 72 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 73 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ tuning/tuningusb.cpp: In member function 'usb_tunable::usb_tunable(char const*, char const*)': tuning/tuningusb.cpp:77:68: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size 4081 [-Wformat-truncation=] 77 | snprintf(toggle_good, sizeof(toggle_good), "echo 'auto' > '%s';", usb_path); | ^~ In file included from /usr/include/stdio.h:888, from /usr/include/c++/11/cstdio:42, from /usr/include/c++/11/ext/string_conversions.h:43, from /usr/include/c++/11/bits/basic_string.h:6608, from /usr/include/c++/11/string:55, from tuning/../lib.h:58, from tuning/tunable.h:30, from tuning/tuningusb.cpp:27: /usr/include/bits/stdio2.h:71:35: note: '__snprintf_chk' output between 18 and 4113 bytes into a destination of size 4096 71 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 72 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 73 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ tuning/tuningusb.cpp:78:64: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size 4083 [-Wformat-truncation=] 78 | snprintf(toggle_bad, sizeof(toggle_bad), "echo 'on' > '%s';", usb_path); | ^~ In file included from /usr/include/stdio.h:888, from /usr/include/c++/11/cstdio:42, from /usr/include/c++/11/ext/string_conversions.h:43, from /usr/include/c++/11/bits/basic_string.h:6608, from /usr/include/c++/11/string:55, from tuning/../lib.h:58, from tuning/tunable.h:30, from tuning/tuningusb.cpp:27: /usr/include/bits/stdio2.h:71:35: note: '__snprintf_chk' output between 16 and 4111 bytes into a destination of size 4096 71 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 72 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 73 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ tuning/tuningi2c.cpp: In member function 'i2c_tunable::i2c_tunable(char const*, char const*, bool)': tuning/tuningi2c.cpp:61:68: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size 4081 [-Wformat-truncation=] 61 | snprintf(toggle_good, sizeof(toggle_good), "echo 'auto' > '%s';", i2c_path); | ^~ In file included from /usr/include/stdio.h:888, from /usr/include/c++/11/cstdio:42, from /usr/include/c++/11/ext/string_conversions.h:43, from /usr/include/c++/11/bits/basic_string.h:6608, from /usr/include/c++/11/string:55, from tuning/../lib.h:58, from tuning/tunable.h:30, from tuning/tuningi2c.cpp:21: /usr/include/bits/stdio2.h:71:35: note: '__snprintf_chk' output between 18 and 4113 bytes into a destination of size 4096 71 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 72 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 73 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ tuning/tuningi2c.cpp:62:64: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size 4083 [-Wformat-truncation=] 62 | snprintf(toggle_bad, sizeof(toggle_bad), "echo 'on' > '%s';", i2c_path); | ^~ In file included from /usr/include/stdio.h:888, from /usr/include/c++/11/cstdio:42, from /usr/include/c++/11/ext/string_conversions.h:43, from /usr/include/c++/11/bits/basic_string.h:6608, from /usr/include/c++/11/string:55, from tuning/../lib.h:58, from tuning/tunable.h:30, from tuning/tuningi2c.cpp:21: /usr/include/bits/stdio2.h:71:35: note: '__snprintf_chk' output between 16 and 4111 bytes into a destination of size 4096 71 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 72 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 73 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ tuning/runtime.cpp: In function 'add_runtime_tunables(char const*)': tuning/runtime.cpp:166:86: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size between 3822 and 4077 [-Wformat-truncation=] 166 | snprintf(filename, sizeof(filename), "/sys/bus/%s/devices/%s/%s/power/control", bus, entry->d_name, port); | ^~ ~~~~ In file included from /usr/include/stdio.h:888, from /usr/include/c++/11/cstdio:42, from /usr/include/c++/11/ext/string_conversions.h:43, from /usr/include/c++/11/bits/basic_string.h:6608, from /usr/include/c++/11/string:55, from tuning/../lib.h:58, from tuning/tunable.h:30, from tuning/runtime.cpp:27: /usr/include/bits/stdio2.h:71:35: note: '__snprintf_chk' output 34 or more bytes (assuming 4384) into a destination of size 4096 71 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 72 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 73 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ tuning/runtime.cpp:171:86: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size between 3822 and 4077 [-Wformat-truncation=] 171 | snprintf(filename, sizeof(filename), "/sys/bus/%s/devices/%s/%s", bus, entry->d_name, port); | ^~ ~~~~ In file included from /usr/include/stdio.h:888, from /usr/include/c++/11/cstdio:42, from /usr/include/c++/11/ext/string_conversions.h:43, from /usr/include/c++/11/bits/basic_string.h:6608, from /usr/include/c++/11/string:55, from tuning/../lib.h:58, from tuning/tunable.h:30, from tuning/runtime.cpp:27: /usr/include/bits/stdio2.h:71:35: note: '__snprintf_chk' output 20 or more bytes (assuming 4370) into a destination of size 4096 71 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 72 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 73 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ tuning/runtime.cpp:191:74: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size 4085 [-Wformat-truncation=] 191 | snprintf(filename, sizeof(filename), "/sys/block/%s/device", port); | ^~ ~~~~ In file included from /usr/include/stdio.h:888, from /usr/include/c++/11/cstdio:42, from /usr/include/c++/11/ext/string_conversions.h:43, from /usr/include/c++/11/bits/basic_string.h:6608, from /usr/include/c++/11/string:55, from tuning/../lib.h:58, from tuning/tunable.h:30, from tuning/runtime.cpp:27: /usr/include/bits/stdio2.h:71:35: note: '__snprintf_chk' output between 19 and 4114 bytes into a destination of size 4096 71 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 72 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 73 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ In file included from /usr/include/string.h:519, from wakeup/wakeup_ethernet.cpp:31: In function 'strncpy', inlined from 'pt_strcpy<4096ul>(char (&) [4096ul], char const*)void' at wakeup/../lib.h:78:9, inlined from 'ethernet_wakeup::ethernet_wakeup(char const*, char const*)' at wakeup/wakeup_ethernet.cpp:50:11: /usr/include/bits/string_fortified.h:95:34: warning: 'strncpy' specified bound 4096 equals destination size [-Wstringop-truncation] 95 | return __builtin___strncpy_chk (__dest, __src, __len, | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ 96 | __glibc_objsize (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~ wakeup/wakeup_ethernet.cpp: In member function 'ethernet_wakeup::ethernet_wakeup(char const*, char const*)': wakeup/wakeup_ethernet.cpp:53:75: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size 4078 [-Wformat-truncation=] 53 | snprintf(toggle_enable, sizeof(toggle_enable), "echo 'enabled' > '%s';", eth_path); | ^~ In file included from /usr/include/stdio.h:888, from wakeup/wakeup_ethernet.cpp:29: /usr/include/bits/stdio2.h:71:35: note: '__snprintf_chk' output between 21 and 4116 bytes into a destination of size 4096 71 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 72 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 73 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ wakeup/wakeup_ethernet.cpp:54:78: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size 4077 [-Wformat-truncation=] 54 | snprintf(toggle_disable, sizeof(toggle_disable), "echo 'disabled' > '%s';", eth_path); | ^~ In file included from /usr/include/stdio.h:888, from wakeup/wakeup_ethernet.cpp:29: /usr/include/bits/stdio2.h:71:35: note: '__snprintf_chk' output between 22 and 4117 bytes into a destination of size 4096 71 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 72 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 73 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ In file included from /usr/include/string.h:519, from wakeup/wakeup_usb.cpp:31: In function 'strncpy', inlined from 'pt_strcpy<4096ul>(char (&) [4096ul], char const*)void' at wakeup/../lib.h:78:9, inlined from 'usb_wakeup::usb_wakeup(char const*, char const*)' at wakeup/wakeup_usb.cpp:50:11: /usr/include/bits/string_fortified.h:95:34: warning: 'strncpy' specified bound 4096 equals destination size [-Wstringop-truncation] 95 | return __builtin___strncpy_chk (__dest, __src, __len, | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ 96 | __glibc_objsize (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~ wakeup/wakeup_usb.cpp: In member function 'usb_wakeup::usb_wakeup(char const*, char const*)': wakeup/wakeup_usb.cpp:53:75: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size 4078 [-Wformat-truncation=] 53 | snprintf(toggle_enable, sizeof(toggle_enable), "echo 'enabled' > '%s';", usb_path); | ^~ In file included from /usr/include/stdio.h:888, from wakeup/wakeup_usb.cpp:29: /usr/include/bits/stdio2.h:71:35: note: '__snprintf_chk' output between 21 and 4116 bytes into a destination of size 4096 71 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 72 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 73 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ wakeup/wakeup_usb.cpp:54:78: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size 4077 [-Wformat-truncation=] 54 | snprintf(toggle_disable, sizeof(toggle_disable), "echo 'disabled' > '%s';", usb_path); | ^~ In file included from /usr/include/stdio.h:888, from wakeup/wakeup_usb.cpp:29: /usr/include/bits/stdio2.h:71:35: note: '__snprintf_chk' output between 22 and 4117 bytes into a destination of size 4096 71 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 72 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 73 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ /bin/sh ../libtool --tag=CXX --mode=link g++ -std=c++11 -Wall -Wformat -Wshadow -fno-omit-frame-pointer -fstack-protector -I/usr/include/libnl3 -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -lnl-genl-3 -lnl-3 -lncursesw -lncurses -ltinfo -lpci -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -o powertop powertop-devlist.o powertop-display.o powertop-lib.o powertop-main.o calibrate/powertop-calibrate.o cpu/powertop-abstract_cpu.o cpu/powertop-cpu.o cpu/powertop-cpu_core.o cpu/powertop-cpu_linux.o cpu/powertop-cpu_package.o cpu/powertop-cpu_rapl_device.o cpu/powertop-cpudevice.o cpu/powertop-dram_rapl_device.o cpu/powertop-intel_cpus.o cpu/powertop-intel_gpu.o cpu/rapl/powertop-rapl_interface.o devices/powertop-ahci.o devices/powertop-alsa.o devices/powertop-backlight.o devices/powertop-devfreq.o devices/powertop-device.o devices/powertop-gpu_rapl_device.o devices/powertop-i915-gpu.o devices/powertop-network.o devices/powertop-rfkill.o devices/powertop-runtime_pm.o devices/powertop-thinkpad-fan.o devices/powertop-thinkpad-light.o devices/powertop-usb.o measurement/powertop-acpi.o measurement/powertop-extech.o measurement/powertop-measurement.o measurement/powertop-sysfs.o measurement/powertop-opal-sensors.o parameters/powertop-learn.o parameters/powertop-parameters.o parameters/powertop-persistent.o perf/powertop-perf.o perf/powertop-perf_bundle.o process/powertop-do_process.o process/powertop-interrupt.o process/powertop-powerconsumer.o process/powertop-process.o process/powertop-processdevice.o process/powertop-timer.o process/powertop-work.o report/powertop-report-data-html.o report/powertop-report-formatter-base.o report/powertop-report-formatter-csv.o report/powertop-report-formatter-html.o report/powertop-report-maker.o report/powertop-report.o tuning/powertop-bluetooth.o tuning/powertop-ethernet.o tuning/powertop-iw.o tuning/powertop-runtime.o tuning/powertop-tunable.o tuning/powertop-tuning.o tuning/powertop-tuningsysfs.o tuning/powertop-tuningusb.o tuning/powertop-tuningi2c.o tuning/powertop-wifi.o wakeup/powertop-wakeup.o wakeup/powertop-waketab.o wakeup/powertop-wakeup_ethernet.o wakeup/powertop-wakeup_usb.o ../traceevent/libtraceevnet.la libtool: link: g++ -std=c++11 -Wall -Wformat -Wshadow -fno-omit-frame-pointer -fstack-protector -I/usr/include/libnl3 -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -o powertop powertop-devlist.o powertop-display.o powertop-lib.o powertop-main.o calibrate/powertop-calibrate.o cpu/powertop-abstract_cpu.o cpu/powertop-cpu.o cpu/powertop-cpu_core.o cpu/powertop-cpu_linux.o cpu/powertop-cpu_package.o cpu/powertop-cpu_rapl_device.o cpu/powertop-cpudevice.o cpu/powertop-dram_rapl_device.o cpu/powertop-intel_cpus.o cpu/powertop-intel_gpu.o cpu/rapl/powertop-rapl_interface.o devices/powertop-ahci.o devices/powertop-alsa.o devices/powertop-backlight.o devices/powertop-devfreq.o devices/powertop-device.o devices/powertop-gpu_rapl_device.o devices/powertop-i915-gpu.o devices/powertop-network.o devices/powertop-rfkill.o devices/powertop-runtime_pm.o devices/powertop-thinkpad-fan.o devices/powertop-thinkpad-light.o devices/powertop-usb.o measurement/powertop-acpi.o measurement/powertop-extech.o measurement/powertop-measurement.o measurement/powertop-sysfs.o measurement/powertop-opal-sensors.o parameters/powertop-learn.o parameters/powertop-parameters.o parameters/powertop-persistent.o perf/powertop-perf.o perf/powertop-perf_bundle.o process/powertop-do_process.o process/powertop-interrupt.o process/powertop-powerconsumer.o process/powertop-process.o process/powertop-processdevice.o process/powertop-timer.o process/powertop-work.o report/powertop-report-data-html.o report/powertop-report-formatter-base.o report/powertop-report-formatter-csv.o report/powertop-report-formatter-html.o report/powertop-report-maker.o report/powertop-report.o tuning/powertop-bluetooth.o tuning/powertop-ethernet.o tuning/powertop-iw.o tuning/powertop-runtime.o tuning/powertop-tunable.o tuning/powertop-tuning.o tuning/powertop-tuningsysfs.o tuning/powertop-tuningusb.o tuning/powertop-tuningi2c.o tuning/powertop-wifi.o wakeup/powertop-wakeup.o wakeup/powertop-waketab.o wakeup/powertop-wakeup_ethernet.o wakeup/powertop-wakeup_usb.o -lnl-genl-3 -lnl-3 -lncursesw -lncurses -ltinfo -lpci ../traceevent/.libs/libtraceevnet.a -pthread make[3]: Leaving directory '/builddir/build/BUILD/powertop-2.15/src' make[2]: Leaving directory '/builddir/build/BUILD/powertop-2.15/src' Making all in po make[2]: Entering directory '/builddir/build/BUILD/powertop-2.15/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.15/po' rm -f ca.gmo && /usr/bin/msgfmt -c --statistics --verbose -o ca.gmo ca.po rm -f cs_CZ.gmo && /usr/bin/msgfmt -c --statistics --verbose -o cs_CZ.gmo cs_CZ.po rm -f de_DE.gmo && /usr/bin/msgfmt -c --statistics --verbose -o de_DE.gmo de_DE.po rm -f en_GB.gmo && /usr/bin/msgfmt -c --statistics --verbose -o en_GB.gmo en_GB.po rm -f es_ES.gmo && /usr/bin/msgfmt -c --statistics --verbose -o es_ES.gmo es_ES.po rm -f en_US.gmo && /usr/bin/msgfmt -c --statistics --verbose -o en_US.gmo en_US.po rm -f hu_HU.gmo && /usr/bin/msgfmt -c --statistics --verbose -o hu_HU.gmo hu_HU.po rm -f nl_NL.gmo && /usr/bin/msgfmt -c --statistics --verbose -o nl_NL.gmo nl_NL.po rm -f id_ID.gmo && /usr/bin/msgfmt -c --statistics --verbose -o id_ID.gmo id_ID.po en_GB.po: 21 translated messages, 8 fuzzy translations, 175 untranslated messages. cs_CZ.po: 109 translated messages, 38 fuzzy translations, 57 untranslated messages. ca.po: 64 translated messages, 19 fuzzy translations, 121 untranslated messages. en_US.po: 61 translated messages, 18 fuzzy translations, 125 untranslated messages. de_DE.po: 111 translated messages, 37 fuzzy translations, 56 untranslated messages. rm -f zh_TW.gmo && /usr/bin/msgfmt -c --statistics --verbose -o zh_TW.gmo zh_TW.po es_ES.po: 65 translated messages, 23 fuzzy translations, 116 untranslated messages. nl_NL.po: 22 translated messages, 8 fuzzy translations, 174 untranslated messages. hu_HU.po: 104 translated messages, 33 fuzzy translations, 67 untranslated messages. id_ID.po: 110 translated messages, 38 fuzzy translations, 56 untranslated messages. zh_TW.po: 110 translated messages, 38 fuzzy translations, 56 untranslated messages. make[3]: Leaving directory '/builddir/build/BUILD/powertop-2.15/po' touch stamp-po make[2]: Leaving directory '/builddir/build/BUILD/powertop-2.15/po' Making all in doc make[2]: Entering directory '/builddir/build/BUILD/powertop-2.15/doc' make[2]: Nothing to be done for 'all'. make[2]: Leaving directory '/builddir/build/BUILD/powertop-2.15/doc' Making all in scripts/bash-completion make[2]: Entering directory '/builddir/build/BUILD/powertop-2.15/scripts/bash-completion' make[2]: Nothing to be done for 'all'. make[2]: Leaving directory '/builddir/build/BUILD/powertop-2.15/scripts/bash-completion' make[2]: Entering directory '/builddir/build/BUILD/powertop-2.15' make[2]: Nothing to be done for 'all-am'. make[2]: Leaving directory '/builddir/build/BUILD/powertop-2.15' make[1]: Leaving directory '/builddir/build/BUILD/powertop-2.15' + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.LcivyB + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/powertop-2.15-1.el9.aarch64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/powertop-2.15-1.el9.aarch64 ++ dirname /builddir/build/BUILDROOT/powertop-2.15-1.el9.aarch64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/powertop-2.15-1.el9.aarch64 + cd powertop-2.15 + rm -rf /builddir/build/BUILDROOT/powertop-2.15-1.el9.aarch64 + make install DESTDIR=/builddir/build/BUILDROOT/powertop-2.15-1.el9.aarch64 Making install in traceevent make[1]: Entering directory '/builddir/build/BUILD/powertop-2.15/traceevent' make[2]: Entering directory '/builddir/build/BUILD/powertop-2.15/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.15/traceevent' make[1]: Leaving directory '/builddir/build/BUILD/powertop-2.15/traceevent' Making install in src make[1]: Entering directory '/builddir/build/BUILD/powertop-2.15/src' make install-am make[2]: Entering directory '/builddir/build/BUILD/powertop-2.15/src' make[3]: Entering directory '/builddir/build/BUILD/powertop-2.15/src' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/powertop-2.15-1.el9.aarch64/usr/sbin' /bin/sh ../libtool --mode=install /usr/bin/install -c powertop '/builddir/build/BUILDROOT/powertop-2.15-1.el9.aarch64/usr/sbin' libtool: install: /usr/bin/install -c powertop /builddir/build/BUILDROOT/powertop-2.15-1.el9.aarch64/usr/sbin/powertop make[3]: Nothing to be done for 'install-data-am'. make[3]: Leaving directory '/builddir/build/BUILD/powertop-2.15/src' make[2]: Leaving directory '/builddir/build/BUILD/powertop-2.15/src' make[1]: Leaving directory '/builddir/build/BUILD/powertop-2.15/src' Making install in po make[1]: Entering directory '/builddir/build/BUILD/powertop-2.15/po' installing ca.gmo as /builddir/build/BUILDROOT/powertop-2.15-1.el9.aarch64/usr/share/locale/ca/LC_MESSAGES/powertop.mo installing cs_CZ.gmo as /builddir/build/BUILDROOT/powertop-2.15-1.el9.aarch64/usr/share/locale/cs_CZ/LC_MESSAGES/powertop.mo installing de_DE.gmo as /builddir/build/BUILDROOT/powertop-2.15-1.el9.aarch64/usr/share/locale/de_DE/LC_MESSAGES/powertop.mo installing en_GB.gmo as /builddir/build/BUILDROOT/powertop-2.15-1.el9.aarch64/usr/share/locale/en_GB/LC_MESSAGES/powertop.mo installing en_US.gmo as /builddir/build/BUILDROOT/powertop-2.15-1.el9.aarch64/usr/share/locale/en_US/LC_MESSAGES/powertop.mo installing es_ES.gmo as /builddir/build/BUILDROOT/powertop-2.15-1.el9.aarch64/usr/share/locale/es_ES/LC_MESSAGES/powertop.mo installing hu_HU.gmo as /builddir/build/BUILDROOT/powertop-2.15-1.el9.aarch64/usr/share/locale/hu_HU/LC_MESSAGES/powertop.mo installing id_ID.gmo as /builddir/build/BUILDROOT/powertop-2.15-1.el9.aarch64/usr/share/locale/id_ID/LC_MESSAGES/powertop.mo installing nl_NL.gmo as /builddir/build/BUILDROOT/powertop-2.15-1.el9.aarch64/usr/share/locale/nl_NL/LC_MESSAGES/powertop.mo installing zh_TW.gmo as /builddir/build/BUILDROOT/powertop-2.15-1.el9.aarch64/usr/share/locale/zh_TW/LC_MESSAGES/powertop.mo if test "powertop" = "gettext-tools"; then \ /usr/bin/mkdir -p /builddir/build/BUILDROOT/powertop-2.15-1.el9.aarch64/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.15-1.el9.aarch64/usr/share/gettext/po/$file; \ done; \ for file in Makevars; do \ rm -f /builddir/build/BUILDROOT/powertop-2.15-1.el9.aarch64/usr/share/gettext/po/$file; \ done; \ else \ : ; \ fi make[1]: Leaving directory '/builddir/build/BUILD/powertop-2.15/po' Making install in doc make[1]: Entering directory '/builddir/build/BUILD/powertop-2.15/doc' make[2]: Entering directory '/builddir/build/BUILD/powertop-2.15/doc' make[2]: Nothing to be done for 'install-exec-am'. /usr/bin/mkdir -p '/builddir/build/BUILDROOT/powertop-2.15-1.el9.aarch64/usr/share/man/man8' /usr/bin/install -c -m 644 powertop.8 '/builddir/build/BUILDROOT/powertop-2.15-1.el9.aarch64/usr/share/man/man8' make[2]: Leaving directory '/builddir/build/BUILD/powertop-2.15/doc' make[1]: Leaving directory '/builddir/build/BUILD/powertop-2.15/doc' Making install in scripts/bash-completion make[1]: Entering directory '/builddir/build/BUILD/powertop-2.15/scripts/bash-completion' make[2]: Entering directory '/builddir/build/BUILD/powertop-2.15/scripts/bash-completion' make[2]: Nothing to be done for 'install-exec-am'. /usr/bin/mkdir -p '/builddir/build/BUILDROOT/powertop-2.15-1.el9.aarch64/usr/share/bash-completion/completions' /usr/bin/install -c -m 644 powertop '/builddir/build/BUILDROOT/powertop-2.15-1.el9.aarch64/usr/share/bash-completion/completions' make[2]: Leaving directory '/builddir/build/BUILD/powertop-2.15/scripts/bash-completion' make[1]: Leaving directory '/builddir/build/BUILD/powertop-2.15/scripts/bash-completion' make[1]: Entering directory '/builddir/build/BUILD/powertop-2.15' make[2]: Entering directory '/builddir/build/BUILD/powertop-2.15' 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.15' make[1]: Leaving directory '/builddir/build/BUILD/powertop-2.15' + install -Dd /builddir/build/BUILDROOT/powertop-2.15-1.el9.aarch64/var/cache/powertop + touch /builddir/build/BUILDROOT/powertop-2.15-1.el9.aarch64/var/cache/powertop/saved_parameters.powertop /builddir/build/BUILDROOT/powertop-2.15-1.el9.aarch64/var/cache/powertop/saved_results.powertop + /usr/lib/rpm/find-lang.sh /builddir/build/BUILDROOT/powertop-2.15-1.el9.aarch64 powertop + install -Dpm 644 /builddir/build/SOURCES/powertop.service /builddir/build/BUILDROOT/powertop-2.15-1.el9.aarch64/usr/lib/systemd/system/powertop.service + /usr/lib/rpm/find-debuginfo.sh -j16 --strict-build-id -m -i --build-id-seed 2.15-1.el9 --unique-debug-suffix -2.15-1.el9.aarch64 --unique-debug-src-base powertop-2.15-1.el9.aarch64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 --remove-section .gnu.build.attributes -S debugsourcefiles.list /builddir/build/BUILD/powertop-2.15 explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/powertop-2.15-1.el9.aarch64/usr/sbin/powertop extracting debug info from /builddir/build/BUILDROOT/powertop-2.15-1.el9.aarch64/usr/sbin/powertop original debug info size: 7324kB, size after compression: 5540kB /usr/lib/rpm/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. 1515 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 '' 1 0 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs Processing files: powertop-2.15-1.el9.aarch64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.ILgDsK + umask 022 + cd /builddir/build/BUILD + cd powertop-2.15 + DOCDIR=/builddir/build/BUILDROOT/powertop-2.15-1.el9.aarch64/usr/share/doc/powertop + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/powertop-2.15-1.el9.aarch64/usr/share/doc/powertop + cp -pr COPYING /builddir/build/BUILDROOT/powertop-2.15-1.el9.aarch64/usr/share/doc/powertop + cp -pr README.md /builddir/build/BUILDROOT/powertop-2.15-1.el9.aarch64/usr/share/doc/powertop + cp -pr README.traceevent /builddir/build/BUILDROOT/powertop-2.15-1.el9.aarch64/usr/share/doc/powertop + cp -pr CONTRIBUTE.md /builddir/build/BUILDROOT/powertop-2.15-1.el9.aarch64/usr/share/doc/powertop + cp -pr TODO /builddir/build/BUILDROOT/powertop-2.15-1.el9.aarch64/usr/share/doc/powertop + RPM_EC=0 ++ jobs -p + exit 0 Provides: bundled(kernel-event-lib) powertop = 2.15-1.el9 powertop(aarch-64) = 2.15-1.el9 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-aarch64.so.1()(64bit) ld-linux-aarch64.so.1(GLIBC_2.17)(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.17)(64bit) libc.so.6(GLIBC_2.27)(64bit) libc.so.6(GLIBC_2.33)(64bit) libc.so.6(GLIBC_2.34)(64bit) libgcc_s.so.1()(64bit) libgcc_s.so.1(GCC_3.0)(64bit) libgcc_s.so.1(GCC_3.3.1)(64bit) libm.so.6()(64bit) libm.so.6(GLIBC_2.17)(64bit) libm.so.6(GLIBC_2.29)(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) 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.29)(64bit) libstdc++.so.6(GLIBCXX_3.4.9)(64bit) libtinfo.so.6()(64bit) rtld(GNU_HASH) Processing files: powertop-debugsource-2.15-1.el9.aarch64 Provides: powertop-debugsource = 2.15-1.el9 powertop-debugsource(aarch-64) = 2.15-1.el9 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: powertop-debuginfo-2.15-1.el9.aarch64 Provides: debuginfo(build-id) = c5739239528f4785dc523cdede39acb64414e285 powertop-debuginfo = 2.15-1.el9 powertop-debuginfo(aarch-64) = 2.15-1.el9 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: powertop-debugsource(aarch-64) = 2.15-1.el9 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/powertop-2.15-1.el9.aarch64 Wrote: /builddir/build/RPMS/powertop-2.15-1.el9.aarch64.rpm Wrote: /builddir/build/RPMS/powertop-debugsource-2.15-1.el9.aarch64.rpm Wrote: /builddir/build/RPMS/powertop-debuginfo-2.15-1.el9.aarch64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.KRDDun + umask 022 + cd /builddir/build/BUILD + cd powertop-2.15 + /usr/bin/rm -rf /builddir/build/BUILDROOT/powertop-2.15-1.el9.aarch64 + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0