<86>Dec 4 18:26:59 userdel[726838]: delete user 'rooter' <86>Dec 4 18:26:59 userdel[726838]: removed group 'rooter' owned by 'rooter' <86>Dec 4 18:26:59 groupadd[726852]: group added to /etc/group: name=rooter, GID=627 <86>Dec 4 18:26:59 groupadd[726852]: group added to /etc/gshadow: name=rooter <86>Dec 4 18:26:59 groupadd[726852]: new group: name=rooter, GID=627 <86>Dec 4 18:26:59 useradd[726862]: new user: name=rooter, UID=627, GID=627, home=/root, shell=/bin/bash <86>Dec 4 18:26:59 userdel[726876]: delete user 'builder' <86>Dec 4 18:26:59 userdel[726876]: removed group 'builder' owned by 'builder' <86>Dec 4 18:26:59 userdel[726876]: removed shadow group 'builder' owned by 'builder' <86>Dec 4 18:27:00 groupadd[726894]: group added to /etc/group: name=builder, GID=628 <86>Dec 4 18:27:00 groupadd[726894]: group added to /etc/gshadow: name=builder <86>Dec 4 18:27:00 groupadd[726894]: new group: name=builder, GID=628 <86>Dec 4 18:27:00 useradd[726900]: new user: name=builder, UID=628, GID=628, home=/usr/src, shell=/bin/bash <13>Dec 4 18:27:01 rpmi: libpci-3.7.0-alt1 sisyphus+253474.100.1.1 1592227050 installed <13>Dec 4 18:27:01 rpmi: libnl3-3.5.0-alt1 sisyphus+237716.100.1.1 1568781468 installed <13>Dec 4 18:27:01 rpmi: libnl3-utils-3.5.0-alt1 sisyphus+237716.100.1.1 1568781468 installed <13>Dec 4 18:27:01 rpmi: libtinfo-devel-6.2.20201107-alt1 sisyphus+261749.100.1.1 1605292929 installed <13>Dec 4 18:27:01 rpmi: libncurses-devel-6.2.20201107-alt1 sisyphus+261749.100.1.1 1605292929 installed <13>Dec 4 18:27:01 rpmi: gcc-c++-common-1.4.26-alt1 icarus+262780.400.2.1 1606887104 installed <13>Dec 4 18:27:02 rpmi: libstdc++10-devel-10.2.1-alt2 icarus+262842.100.1.1 1606948274 installed <13>Dec 4 18:27:03 rpmi: gcc10-c++-10.2.1-alt2 icarus+262842.100.1.1 1606948274 installed <13>Dec 4 18:27:03 rpmi: gcc-c++-10-alt1 icarus+262780.300.2.1 1606888886 installed <13>Dec 4 18:27:03 rpmi: libncursesw-devel-6.2.20201107-alt1 sisyphus+261749.100.1.1 1605292929 installed <13>Dec 4 18:27:03 rpmi: libnl-devel-3.5.0-alt1 sisyphus+237716.100.1.1 1568781468 installed <13>Dec 4 18:27:03 rpmi: libpci-devel-3.7.0-alt1 sisyphus+253474.100.1.1 1592227050 installed <13>Dec 4 18:27:03 rpmi: zlib-devel-1.2.11-alt1 sisyphus+221902.6000.4.1 1550601058 installed <13>Dec 4 18:27:03 rpmi: autoconf-archive-2019.01.06-alt2 sisyphus+247282.100.1.2 1583840483 installed Building target platforms: i586 Building for target i586 Wrote: /usr/src/in/nosrpm/powertop-2.13-alt1.nosrc.rpm Installing powertop-2.13-alt1.src.rpm Building target platforms: i586 Building for target i586 Executing(%prep): /bin/sh -e /usr/src/tmp/rpm-tmp.57777 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + rm -rf powertop-2.13 + echo 'Source #0 (powertop-2.13.tar):' Source #0 (powertop-2.13.tar): + /bin/tar -xf /usr/src/RPM/SOURCES/powertop-2.13.tar + cd powertop-2.13 + /bin/chmod -c -Rf u+rwX,go-w . + exit 0 Executing(%build): /bin/sh -e /usr/src/tmp/rpm-tmp.17702 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd powertop-2.13 + ./autogen.sh autoreconf-default: Entering directory `.' autoreconf-default: running: autopoint Copying file ABOUT-NLS Copying file config.rpath Copying file m4/gettext.m4 Copying file m4/host-cpu-c-abi.m4 Copying file m4/iconv.m4 Copying file m4/intlmacosx.m4 Copying file m4/lib-ld.m4 Copying file m4/lib-link.m4 Copying file m4/lib-prefix.m4 Copying file m4/nls.m4 Copying file m4/po.m4 Copying file m4/progtest.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 autoreconf-default: running: aclocal --install -I m4 aclocal-default: installing 'm4/libtool.m4' from '/usr/share/libtool/aclocal/libtool.m4' aclocal-default: installing 'm4/ltoptions.m4' from '/usr/share/libtool/aclocal/ltoptions.m4' aclocal-default: installing 'm4/ltsugar.m4' from '/usr/share/libtool/aclocal/ltsugar.m4' aclocal-default: installing 'm4/ltversion.m4' from '/usr/share/libtool/aclocal/ltversion.m4' aclocal-default: installing 'm4/lt~obsolete.m4' from '/usr/share/libtool/aclocal/lt~obsolete.m4' aclocal-default: installing 'm4/ax_add_fortify_source.m4' from '/usr/share/aclocal/ax_add_fortify_source.m4' aclocal-default: installing 'm4/ax_cxx_compile_stdcxx.m4' from '/usr/share/aclocal/ax_cxx_compile_stdcxx.m4' aclocal-default: installing 'm4/ax_pthread.m4' from '/usr/share/aclocal/ax_pthread.m4' aclocal-default: installing 'm4/pkg.m4' from '/usr/share/aclocal/pkg.m4' autoreconf-default: configure.ac: tracing autoreconf-default: running: libtoolize --copy libtoolize-default: putting auxiliary files in '.'. libtoolize-default: copying file './ltmain.sh' autoreconf-default: configure.ac: not using Intltool autoreconf-default: configure.ac: not using gtk-doc autoreconf-default: running: /usr/bin/autoconf-2.60 autoreconf-default: running: /usr/bin/autoheader-2.60 autoreconf-default: running: automake --add-missing --copy --no-force 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' autoreconf-default: Leaving directory `.' + CFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic' + export CFLAGS + CXXFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic' + export CXXFLAGS + FFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic' + export FFLAGS + FCFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic' + export FCFLAGS + '[' -n '' ']' ++ printf %s '-pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic' ++ sed -r 's/(^|[[:space:]]+)-[^m][^[:space:]]*//g' + ASFLAGS=' -march=i586 -mtune=generic' + export ASFLAGS + export lt_cv_deplibs_check_method=pass_all + lt_cv_deplibs_check_method=pass_all + readlink -e -- ./configure + xargs -ri find '{}' -type f '(' -name config.sub -or -name config.guess ')' -printf '%h/\n' + xargs -ri dirname -- '{}' + sort -u + xargs -rn1 install -pm755 -- /usr/share/gnu-config/config.sub /usr/share/gnu-config/config.guess + ./configure --build=i586-alt-linux --host=i586-alt-linux --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib --libexecdir=/usr/lib --localstatedir=/var/lib --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --disable-dependency-tracking --disable-silent-rules --without-included-gettext configure: WARNING: unrecognized options: --without-included-gettext checking for a BSD-compatible install... /bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking whether make supports the include directive... yes (GNU style) checking for i586-alt-linux-g++... i586-alt-linux-g++ checking whether the C++ compiler works... yes checking for C++ compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C++ compiler... yes checking whether i586-alt-linux-g++ accepts -g... yes checking dependency style of i586-alt-linux-g++... none checking how to run the C++ preprocessor... i586-alt-linux-g++ -E checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking minix/config.h usability... no checking minix/config.h presence... no checking for minix/config.h... no checking whether it is safe to define __EXTENSIONS__... yes checking whether make supports nested variables... (cached) yes checking for a sed that does not truncate output... /bin/sed 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 i586-alt-linux-gcc... i586-alt-linux-gcc checking whether we are using the GNU C compiler... yes checking whether i586-alt-linux-gcc accepts -g... yes checking for i586-alt-linux-gcc option to accept ISO C89... none needed checking whether i586-alt-linux-gcc understands -c and -o together... yes checking dependency style of i586-alt-linux-gcc... none checking build system type... i586-alt-linux-gnu checking host system type... i586-alt-linux-gnu checking for ld used by i586-alt-linux-gcc... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for shared library run path origin... done checking 32-bit host C ABI... yes checking for ELF binary format... yes checking for the common suffixes of directories in the library search path... lib,lib,lib checking for CFPreferencesCopyAppValue... no checking for CFLocaleCopyPreferredLanguages... no checking for GNU gettext in libc... yes checking whether to use NLS... yes checking where the gettext function comes from... libc checking for i586-alt-linux-ar... no checking for i586-alt-linux-lib... no checking for i586-alt-linux-link... no checking for ar... ar checking the archiver (ar) interface... ar checking how to run the C preprocessor... i586-alt-linux-gcc -E checking whether we are using the GNU C++ compiler... (cached) yes checking whether i586-alt-linux-g++ accepts -g... (cached) yes checking dependency style of i586-alt-linux-g++... (cached) none checking how to print strings... printf checking for a sed that does not truncate output... (cached) /bin/sed checking for fgrep... /bin/grep -F checking for ld used by i586-alt-linux-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 i586-alt-linux-gnu file names to i586-alt-linux-gnu format... func_convert_file_noop checking how to convert i586-alt-linux-gnu file names to toolchain format... func_convert_file_noop checking for /usr/bin/ld option to reload object files... -r checking for i586-alt-linux-objdump... no checking for objdump... objdump checking how to recognize dependent libraries... (cached) pass_all checking for i586-alt-linux-dlltool... no checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for i586-alt-linux-ar... ar checking for archiver @FILE support... @ checking for i586-alt-linux-strip... no checking for strip... strip checking for i586-alt-linux-ranlib... no checking for ranlib... ranlib checking command to parse /usr/bin/nm -B output from i586-alt-linux-gcc object... ok checking for sysroot... no checking for a working dd... /bin/dd checking how to truncate binary pipes... /bin/dd bs=4096 count=1 checking for i586-alt-linux-mt... no checking for mt... no checking if : is a manifest tool... no checking for dlfcn.h... yes checking for objdir... .libs checking if i586-alt-linux-gcc supports -fno-rtti -fno-exceptions... no checking for i586-alt-linux-gcc option to produce PIC... -fPIC -DPIC checking if i586-alt-linux-gcc PIC flag -fPIC -DPIC works... yes checking if i586-alt-linux-gcc static flag -static works... no checking if i586-alt-linux-gcc supports -c -o file.o... yes checking if i586-alt-linux-gcc supports -c -o file.o... (cached) yes checking whether the i586-alt-linux-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... i586-alt-linux-g++ -E checking for ld used by i586-alt-linux-g++... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking whether the i586-alt-linux-g++ linker (/usr/bin/ld) supports shared libraries... yes checking for i586-alt-linux-g++ option to produce PIC... -fPIC -DPIC checking if i586-alt-linux-g++ PIC flag -fPIC -DPIC works... yes checking if i586-alt-linux-g++ static flag -static works... no checking if i586-alt-linux-g++ supports -c -o file.o... yes checking if i586-alt-linux-g++ supports -c -o file.o... (cached) yes checking whether the i586-alt-linux-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 i586-alt-linux-gcc... (cached) i586-alt-linux-gcc checking whether we are using the GNU C compiler... (cached) yes checking whether i586-alt-linux-gcc accepts -g... (cached) yes checking for i586-alt-linux-gcc option to accept ISO C89... (cached) none needed checking whether i586-alt-linux-gcc understands -c and -o together... (cached) yes checking dependency style of i586-alt-linux-gcc... (cached) none checking whether to add -D_FORTIFY_SOURCE=2 to CPPFLAGS... no checking whether i586-alt-linux-g++ supports C++11 features with -std=c++11... yes checking whether i586-alt-linux-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 i586-alt-linux-pkg-config... no checking for pkg-config... /usr/bin/pkg-config checking pkg-config is at least version 0.9.0... yes checking for ncursesw ncurses... yes checking for libpci... yes checking for libnl-3.0 >= 3.0 libnl-genl-3.0 >= 3.0... yes checking for library containing inet_aton... none required checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating Doxyfile config.status: creating src/Makefile config.status: creating traceevent/Makefile config.status: creating po/Makefile.in config.status: creating doc/Makefile config.status: creating scripts/bash-completion/Makefile config.status: creating config.h config.status: executing depfiles commands config.status: executing po-directories commands config.status: creating po/POTFILES config.status: creating po/Makefile config.status: executing libtool commands configure: WARNING: unrecognized options: --without-included-gettext + make -j8 make all-recursive Making all in traceevent make[2]: Entering directory '/usr/src/RPM/BUILD/powertop-2.13/traceevent' /bin/sh ../libtool --tag=CC --mode=compile i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -pthread -c -o parse-utils.lo parse-utils.c libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -pthread -c parse-utils.c -fPIC -DPIC -o .libs/parse-utils.o libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -pthread -c parse-utils.c -o parse-utils.o >/dev/null 2>&1 make[2]: Leaving directory '/usr/src/RPM/BUILD/powertop-2.13/traceevent' make[2]: Entering directory '/usr/src/RPM/BUILD/powertop-2.13/traceevent' /bin/sh ../libtool --tag=CC --mode=compile i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -pthread -c -o trace-seq.lo trace-seq.c libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -pthread -c trace-seq.c -fPIC -DPIC -o .libs/trace-seq.o libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -pthread -c trace-seq.c -o trace-seq.o >/dev/null 2>&1 make[2]: Leaving directory '/usr/src/RPM/BUILD/powertop-2.13/traceevent' make[2]: Entering directory '/usr/src/RPM/BUILD/powertop-2.13/traceevent' /bin/sh ../libtool --tag=CC --mode=compile i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -pthread -c -o parse-filter.lo parse-filter.c libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -pthread -c parse-filter.c -fPIC -DPIC -o .libs/parse-filter.o parse-filter.c: In function 'arg_to_str.isra': parse-filter.c:2078:8: warning: 'op' may be used uninitialized in this function [-Wmaybe-uninitialized] 2078 | len = strlen(op) + strlen(lstr) + strlen(rstr) + 4; | ^~~~~~~~~~ parse-filter.c:2034:8: note: 'op' was declared here 2034 | char *op; | ^~ parse-filter.c: In function 'reparent_op_arg': parse-filter.c:752:7: warning: 'ptr' may be used uninitialized in this function [-Wmaybe-uninitialized] 752 | *ptr = NULL; | ^ parse-filter.c:756:3: warning: 'other_child' may be used uninitialized in this function [-Wmaybe-uninitialized] 756 | free_arg(other_child); | ^~~~~~~~~~~~~~~~~~~~~ libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -pthread -c parse-filter.c -o parse-filter.o >/dev/null 2>&1 make[2]: Leaving directory '/usr/src/RPM/BUILD/powertop-2.13/traceevent' make[2]: Entering directory '/usr/src/RPM/BUILD/powertop-2.13/traceevent' /bin/sh ../libtool --tag=CC --mode=compile i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -pthread -c -o event-parse.lo event-parse.c libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -pthread -c event-parse.c -fPIC -DPIC -o .libs/event-parse.o event-parse.c: In function 'pevent_find_event_by_name': event-parse.c:3231:21: warning: 'event' may be used uninitialized in this function [-Wmaybe-uninitialized] 3231 | pevent->last_event = event; | ~~~~~~~~~~~~~~~~~~~^~~~~~~ event-parse.c: In function 'pevent_data_lat_fmt': event-parse.c:4358:4: warning: 'migrate_disable' may be used uninitialized in this function [-Wmaybe-uninitialized] 4358 | trace_seq_printf(s, "%d", migrate_disable); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ event-parse.c:4365:4: warning: 'lock_depth' may be used uninitialized in this function [-Wmaybe-uninitialized] 4365 | trace_seq_printf(s, "%d", lock_depth); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ event-parse.c: In function 'pevent_event_info': event-parse.c:4234:7: warning: 'len_arg' may be used uninitialized in this function [-Wmaybe-uninitialized] 4234 | trace_seq_printf(s, format, len_arg, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4235 | (long long)val); | ~~~~~~~~~~~~~~~ event-parse.c:4062:6: note: 'len_arg' was declared here 4062 | int len_arg; | ^~~~~~~ libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -pthread -c event-parse.c -o event-parse.o >/dev/null 2>&1 make[2]: Leaving directory '/usr/src/RPM/BUILD/powertop-2.13/traceevent' make[2]: Entering directory '/usr/src/RPM/BUILD/powertop-2.13/traceevent' /bin/sh ../libtool --tag=CC --mode=link i586-alt-linux-gcc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -pthread -o libtraceevnet.la event-parse.lo parse-filter.lo parse-utils.lo trace-seq.lo libtool: link: ar cr .libs/libtraceevnet.a .libs/event-parse.o .libs/parse-filter.o .libs/parse-utils.o .libs/trace-seq.o libtool: link: ranlib .libs/libtraceevnet.a libtool: link: ( cd ".libs" && rm -f "libtraceevnet.la" && ln -s "../libtraceevnet.la" "libtraceevnet.la" ) make[2]: Leaving directory '/usr/src/RPM/BUILD/powertop-2.13/traceevent' Making all in src make[2]: Entering directory '/usr/src/RPM/BUILD/powertop-2.13/src' /bin/sh ./csstoh.sh ./powertop.css css.h make[2]: Leaving directory '/usr/src/RPM/BUILD/powertop-2.13/src' make all-am make[3]: Entering directory '/usr/src/RPM/BUILD/powertop-2.13/src' i586-alt-linux-g++ -std=c++11 -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/share/locale\" -I/usr/include/libnl3 -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -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 -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -pthread -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c -o cpu/powertop-cpu_core.o `test -f 'cpu/cpu_core.cpp' || echo './'`cpu/cpu_core.cpp make[3]: Leaving directory '/usr/src/RPM/BUILD/powertop-2.13/src' make[3]: Entering directory '/usr/src/RPM/BUILD/powertop-2.13/src' i586-alt-linux-g++ -std=c++11 -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/share/locale\" -I/usr/include/libnl3 -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -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 -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -pthread -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c -o powertop-main.o `test -f 'main.cpp' || echo './'`main.cpp make[3]: Leaving directory '/usr/src/RPM/BUILD/powertop-2.13/src' make[3]: Entering directory '/usr/src/RPM/BUILD/powertop-2.13/src' i586-alt-linux-g++ -std=c++11 -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/share/locale\" -I/usr/include/libnl3 -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -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 -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -pthread -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c -o powertop-devlist.o `test -f 'devlist.cpp' || echo './'`devlist.cpp make[3]: Leaving directory '/usr/src/RPM/BUILD/powertop-2.13/src' make[3]: Entering directory '/usr/src/RPM/BUILD/powertop-2.13/src' i586-alt-linux-g++ -std=c++11 -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/share/locale\" -I/usr/include/libnl3 -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -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 -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -pthread -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c -o cpu/powertop-abstract_cpu.o `test -f 'cpu/abstract_cpu.cpp' || echo './'`cpu/abstract_cpu.cpp In file included from /usr/include/string.h:508, from cpu/abstract_cpu.cpp:27: In function 'char* strncpy(char*, const char*, size_t)', inlined from 'void pt_strcpy(char (&)[N], const char*) [with unsigned int N = 32]' at cpu/../lib.h:78:9, inlined from 'void abstract_cpu::insert_cstate(const char*, const char*, uint64_t, uint64_t, int, int)' at cpu/abstract_cpu.cpp:209:11: /usr/include/bits/string_fortified.h:106:34: warning: 'char* __builtin_strncpy(char*, const char*, unsigned int)' specified bound 32 equals destination size [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/powertop-2.13/src' make[3]: Entering directory '/usr/src/RPM/BUILD/powertop-2.13/src' i586-alt-linux-g++ -std=c++11 -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/share/locale\" -I/usr/include/libnl3 -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -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 -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -pthread -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c -o cpu/powertop-cpu_package.o `test -f 'cpu/cpu_package.cpp' || echo './'`cpu/cpu_package.cpp make[3]: Leaving directory '/usr/src/RPM/BUILD/powertop-2.13/src' make[3]: Entering directory '/usr/src/RPM/BUILD/powertop-2.13/src' i586-alt-linux-g++ -std=c++11 -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/share/locale\" -I/usr/include/libnl3 -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -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 -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -pthread -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c -o calibrate/powertop-calibrate.o `test -f 'calibrate/calibrate.cpp' || echo './'`calibrate/calibrate.cpp make[3]: Leaving directory '/usr/src/RPM/BUILD/powertop-2.13/src' make[3]: Entering directory '/usr/src/RPM/BUILD/powertop-2.13/src' i586-alt-linux-g++ -std=c++11 -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/share/locale\" -I/usr/include/libnl3 -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -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 -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -pthread -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c -o cpu/powertop-cpudevice.o `test -f 'cpu/cpudevice.cpp' || echo './'`cpu/cpudevice.cpp In file included from /usr/include/string.h:508, from cpu/cpudevice.cpp:28: In function 'char* strncpy(char*, const char*, size_t)', inlined from 'void pt_strcpy(char (&)[N], const char*) [with unsigned int N = 128]' at cpu/../lib.h:78:9, inlined from 'cpudevice::cpudevice(const char*, const char*, abstract_cpu*)' at cpu/cpudevice.cpp:35:11: /usr/include/bits/string_fortified.h:106:34: warning: 'char* __builtin_strncpy(char*, const char*, unsigned int)' specified bound 128 equals destination size [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'char* strncpy(char*, const char*, size_t)', inlined from 'void pt_strcpy(char (&)[N], const char*) [with unsigned int N = 128]' at cpu/../lib.h:78:9, inlined from 'cpudevice::cpudevice(const char*, const char*, abstract_cpu*)' at cpu/cpudevice.cpp:36:11: /usr/include/bits/string_fortified.h:106:34: warning: 'char* __builtin_strncpy(char*, const char*, unsigned int)' specified bound 128 equals destination size [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/powertop-2.13/src' make[3]: Entering directory '/usr/src/RPM/BUILD/powertop-2.13/src' i586-alt-linux-g++ -std=c++11 -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/share/locale\" -I/usr/include/libnl3 -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -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 -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -pthread -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c -o cpu/powertop-cpu_rapl_device.o `test -f 'cpu/cpu_rapl_device.cpp' || echo './'`cpu/cpu_rapl_device.cpp make[3]: Leaving directory '/usr/src/RPM/BUILD/powertop-2.13/src' make[3]: Entering directory '/usr/src/RPM/BUILD/powertop-2.13/src' i586-alt-linux-g++ -std=c++11 -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/share/locale\" -I/usr/include/libnl3 -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -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 -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -pthread -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c -o powertop-lib.o `test -f 'lib.cpp' || echo './'`lib.cpp make[3]: Leaving directory '/usr/src/RPM/BUILD/powertop-2.13/src' make[3]: Entering directory '/usr/src/RPM/BUILD/powertop-2.13/src' i586-alt-linux-g++ -std=c++11 -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/share/locale\" -I/usr/include/libnl3 -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -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 -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -pthread -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c -o powertop-display.o `test -f 'display.cpp' || echo './'`display.cpp make[3]: Leaving directory '/usr/src/RPM/BUILD/powertop-2.13/src' make[3]: Entering directory '/usr/src/RPM/BUILD/powertop-2.13/src' i586-alt-linux-g++ -std=c++11 -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/share/locale\" -I/usr/include/libnl3 -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -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 -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -pthread -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c -o cpu/powertop-cpu_linux.o `test -f 'cpu/cpu_linux.cpp' || echo './'`cpu/cpu_linux.cpp make[3]: Leaving directory '/usr/src/RPM/BUILD/powertop-2.13/src' make[3]: Entering directory '/usr/src/RPM/BUILD/powertop-2.13/src' i586-alt-linux-g++ -std=c++11 -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/share/locale\" -I/usr/include/libnl3 -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -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 -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -pthread -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c -o cpu/powertop-dram_rapl_device.o `test -f 'cpu/dram_rapl_device.cpp' || echo './'`cpu/dram_rapl_device.cpp make[3]: Leaving directory '/usr/src/RPM/BUILD/powertop-2.13/src' make[3]: Entering directory '/usr/src/RPM/BUILD/powertop-2.13/src' i586-alt-linux-g++ -std=c++11 -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/share/locale\" -I/usr/include/libnl3 -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -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 -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -pthread -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c -o cpu/powertop-intel_gpu.o `test -f 'cpu/intel_gpu.cpp' || echo './'`cpu/intel_gpu.cpp make[3]: Leaving directory '/usr/src/RPM/BUILD/powertop-2.13/src' make[3]: Entering directory '/usr/src/RPM/BUILD/powertop-2.13/src' i586-alt-linux-g++ -std=c++11 -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/share/locale\" -I/usr/include/libnl3 -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -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 -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -pthread -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c -o devices/powertop-alsa.o `test -f 'devices/alsa.cpp' || echo './'`devices/alsa.cpp devices/alsa.cpp: In member function 'virtual const char* alsa::human_name()': devices/alsa.cpp:205:43: warning: ' (' directive output may be truncated writing 2 bytes into a region of size between 1 and 4096 [-Wformat-truncation=] 205 | snprintf(temp_buf, sizeof(temp_buf), "%s (%s)", humanname, guilty); | ^~ In file included from /usr/include/stdio.h:867, from /usr/include/c++/10/cstdio:42, from /usr/include/c++/10/ext/string_conversions.h:43, from /usr/include/c++/10/bits/basic_string.h:6545, from /usr/include/c++/10/string:55, from /usr/include/c++/10/bits/locale_classes.h:40, from /usr/include/c++/10/bits/ios_base.h:41, from /usr/include/c++/10/ios:42, from /usr/include/c++/10/ostream:38, from /usr/include/c++/10/iostream:39, from devices/alsa.cpp:25: /usr/include/bits/stdio2.h:67:35: note: '__builtin___snprintf_chk' output between 4 and 8194 bytes into a destination of size 4096 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 68 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/string.h:508, from devices/../parameters/parameters.h:33, from devices/alsa.h:30, from devices/alsa.cpp:35: In function 'char* strncpy(char*, const char*, size_t)', inlined from 'void pt_strcpy(char (&)[N], const char*) [with unsigned int N = 4096]' at devices/../parameters/../lib.h:78:9, inlined from 'alsa::alsa(const char*, const char*)' at devices/alsa.cpp:54:11: /usr/include/bits/string_fortified.h:106:34: warning: 'char* __builtin_strncpy(char*, const char*, unsigned int)' specified bound 4096 equals destination size [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ devices/alsa.cpp: In member function 'virtual void alsa::start_measurement()': devices/alsa.cpp:89:42: warning: '/power_off_acct' directive output may be truncated writing 15 bytes into a region of size between 1 and 4096 [-Wformat-truncation=] 89 | snprintf(filename, sizeof(filename), "%s/power_off_acct", sysfs_path); | ^~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:867, from /usr/include/c++/10/cstdio:42, from /usr/include/c++/10/ext/string_conversions.h:43, from /usr/include/c++/10/bits/basic_string.h:6545, from /usr/include/c++/10/string:55, from /usr/include/c++/10/bits/locale_classes.h:40, from /usr/include/c++/10/bits/ios_base.h:41, from /usr/include/c++/10/ios:42, from /usr/include/c++/10/ostream:38, from /usr/include/c++/10/iostream:39, from devices/alsa.cpp:25: /usr/include/bits/stdio2.h:67:35: note: '__builtin___snprintf_chk' output between 16 and 4111 bytes into a destination of size 4096 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 68 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ devices/alsa.cpp:96:43: warning: '/power_on_acct' directive output may be truncated writing 14 bytes into a region of size between 1 and 4096 [-Wformat-truncation=] 96 | snprintf(filename, sizeof(filename), "%s/power_on_acct", sysfs_path); | ^~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:867, from /usr/include/c++/10/cstdio:42, from /usr/include/c++/10/ext/string_conversions.h:43, from /usr/include/c++/10/bits/basic_string.h:6545, from /usr/include/c++/10/string:55, from /usr/include/c++/10/bits/locale_classes.h:40, from /usr/include/c++/10/bits/ios_base.h:41, from /usr/include/c++/10/ios:42, from /usr/include/c++/10/ostream:38, from /usr/include/c++/10/iostream:39, from devices/alsa.cpp:25: /usr/include/bits/stdio2.h:67:35: note: '__builtin___snprintf_chk' output between 15 and 4110 bytes into a destination of size 4096 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 68 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ devices/alsa.cpp: In member function 'virtual void alsa::end_measurement()': devices/alsa.cpp:115:42: warning: '/power_off_acct' directive output may be truncated writing 15 bytes into a region of size between 1 and 4096 [-Wformat-truncation=] 115 | snprintf(filename, sizeof(filename), "%s/power_off_acct", sysfs_path); | ^~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:867, from /usr/include/c++/10/cstdio:42, from /usr/include/c++/10/ext/string_conversions.h:43, from /usr/include/c++/10/bits/basic_string.h:6545, from /usr/include/c++/10/string:55, from /usr/include/c++/10/bits/locale_classes.h:40, from /usr/include/c++/10/bits/ios_base.h:41, from /usr/include/c++/10/ios:42, from /usr/include/c++/10/ostream:38, from /usr/include/c++/10/iostream:39, from devices/alsa.cpp:25: /usr/include/bits/stdio2.h:67:35: note: '__builtin___snprintf_chk' output between 16 and 4111 bytes into a destination of size 4096 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 68 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ devices/alsa.cpp:122:43: warning: '/power_on_acct' directive output may be truncated writing 14 bytes into a region of size between 1 and 4096 [-Wformat-truncation=] 122 | snprintf(filename, sizeof(filename), "%s/power_on_acct", sysfs_path); | ^~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:867, from /usr/include/c++/10/cstdio:42, from /usr/include/c++/10/ext/string_conversions.h:43, from /usr/include/c++/10/bits/basic_string.h:6545, from /usr/include/c++/10/string:55, from /usr/include/c++/10/bits/locale_classes.h:40, from /usr/include/c++/10/bits/ios_base.h:41, from /usr/include/c++/10/ios:42, from /usr/include/c++/10/ostream:38, from /usr/include/c++/10/iostream:39, from devices/alsa.cpp:25: /usr/include/bits/stdio2.h:67:35: note: '__builtin___snprintf_chk' output between 15 and 4110 bytes into a destination of size 4096 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 68 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/powertop-2.13/src' make[3]: Entering directory '/usr/src/RPM/BUILD/powertop-2.13/src' i586-alt-linux-g++ -std=c++11 -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/share/locale\" -I/usr/include/libnl3 -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -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 -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -pthread -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c -o cpu/rapl/powertop-rapl_interface.o `test -f 'cpu/rapl/rapl_interface.cpp' || echo './'`cpu/rapl/rapl_interface.cpp make[3]: Leaving directory '/usr/src/RPM/BUILD/powertop-2.13/src' make[3]: Entering directory '/usr/src/RPM/BUILD/powertop-2.13/src' i586-alt-linux-g++ -std=c++11 -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/share/locale\" -I/usr/include/libnl3 -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -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 -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -pthread -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c -o cpu/powertop-intel_cpus.o `test -f 'cpu/intel_cpus.cpp' || echo './'`cpu/intel_cpus.cpp make[3]: Leaving directory '/usr/src/RPM/BUILD/powertop-2.13/src' make[3]: Entering directory '/usr/src/RPM/BUILD/powertop-2.13/src' i586-alt-linux-g++ -std=c++11 -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/share/locale\" -I/usr/include/libnl3 -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -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 -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -pthread -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c -o devices/powertop-ahci.o `test -f 'devices/ahci.cpp' || echo './'`devices/ahci.cpp In file included from /usr/include/string.h:508, from devices/../parameters/parameters.h:33, from devices/ahci.h:32, from devices/ahci.cpp:39: In function 'char* strncpy(char*, const char*, size_t)', inlined from 'void pt_strcpy(char (&)[N], const char*) [with unsigned int N = 4096]' at devices/../parameters/../lib.h:78:9, inlined from 'ahci::ahci(char*, char*)' at devices/ahci.cpp:130:11: /usr/include/bits/string_fortified.h:106:34: warning: 'char* __builtin_strncpy(char*, const char*, unsigned int)' specified bound 4096 equals destination size [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ devices/ahci.cpp: In constructor 'ahci::ahci(char*, char*)': devices/ahci.cpp:139:38: warning: '-active' directive output may be truncated writing 7 bytes into a region of size between 1 and 4096 [-Wformat-truncation=] 139 | snprintf(buffer, sizeof(buffer), "%s-active", name); | ^~~~~~~ In file included from /usr/include/stdio.h:867, from /usr/include/c++/10/cstdio:42, from /usr/include/c++/10/ext/string_conversions.h:43, from /usr/include/c++/10/bits/basic_string.h:6545, from /usr/include/c++/10/string:55, from /usr/include/c++/10/bits/locale_classes.h:40, from /usr/include/c++/10/bits/ios_base.h:41, from /usr/include/c++/10/ios:42, from /usr/include/c++/10/ostream:38, from /usr/include/c++/10/iostream:39, from devices/ahci.cpp:25: /usr/include/bits/stdio2.h:67:35: note: '__builtin___snprintf_chk' output between 8 and 4103 bytes into a destination of size 4096 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 68 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ devices/ahci.cpp:142:38: warning: '-partial' directive output may be truncated writing 8 bytes into a region of size between 1 and 4096 [-Wformat-truncation=] 142 | snprintf(buffer, sizeof(buffer), "%s-partial", name); | ^~~~~~~~ In file included from /usr/include/stdio.h:867, from /usr/include/c++/10/cstdio:42, from /usr/include/c++/10/ext/string_conversions.h:43, from /usr/include/c++/10/bits/basic_string.h:6545, from /usr/include/c++/10/string:55, from /usr/include/c++/10/bits/locale_classes.h:40, from /usr/include/c++/10/bits/ios_base.h:41, from /usr/include/c++/10/ios:42, from /usr/include/c++/10/ostream:38, from /usr/include/c++/10/iostream:39, from devices/ahci.cpp:25: /usr/include/bits/stdio2.h:67:35: note: '__builtin___snprintf_chk' output between 9 and 4104 bytes into a destination of size 4096 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 68 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ devices/ahci.cpp:145:38: warning: '-slumber' directive output may be truncated writing 8 bytes into a region of size between 1 and 4096 [-Wformat-truncation=] 145 | snprintf(buffer, sizeof(buffer), "%s-slumber", name); | ^~~~~~~~ In file included from /usr/include/stdio.h:867, from /usr/include/c++/10/cstdio:42, from /usr/include/c++/10/ext/string_conversions.h:43, from /usr/include/c++/10/bits/basic_string.h:6545, from /usr/include/c++/10/string:55, from /usr/include/c++/10/bits/locale_classes.h:40, from /usr/include/c++/10/bits/ios_base.h:41, from /usr/include/c++/10/ios:42, from /usr/include/c++/10/ostream:38, from /usr/include/c++/10/iostream:39, from devices/ahci.cpp:25: /usr/include/bits/stdio2.h:67:35: note: '__builtin___snprintf_chk' output between 9 and 4104 bytes into a destination of size 4096 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 68 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ devices/ahci.cpp:148:38: warning: '-devslp' directive output may be truncated writing 7 bytes into a region of size between 1 and 4096 [-Wformat-truncation=] 148 | snprintf(buffer, sizeof(buffer), "%s-devslp", name); | ^~~~~~~ In file included from /usr/include/stdio.h:867, from /usr/include/c++/10/cstdio:42, from /usr/include/c++/10/ext/string_conversions.h:43, from /usr/include/c++/10/bits/basic_string.h:6545, from /usr/include/c++/10/string:55, from /usr/include/c++/10/bits/locale_classes.h:40, from /usr/include/c++/10/bits/ios_base.h:41, from /usr/include/c++/10/ios:42, from /usr/include/c++/10/ostream:38, from /usr/include/c++/10/iostream:39, from devices/ahci.cpp:25: /usr/include/bits/stdio2.h:67:35: note: '__builtin___snprintf_chk' output between 8 and 4103 bytes into a destination of size 4096 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 68 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ devices/ahci.cpp:54:43: warning: '%s' directive output may be truncated writing up to 255 bytes into a region of size between 0 and 4095 [-Wformat-truncation=] 54 | snprintf(pathname, sizeof(pathname), "%s/%s", path, target); | ^~ In file included from /usr/include/stdio.h:867, from /usr/include/c++/10/cstdio:42, from /usr/include/c++/10/ext/string_conversions.h:43, from /usr/include/c++/10/bits/basic_string.h:6545, from /usr/include/c++/10/string:55, from /usr/include/c++/10/bits/locale_classes.h:40, from /usr/include/c++/10/bits/ios_base.h:41, from /usr/include/c++/10/ios:42, from /usr/include/c++/10/ostream:38, from /usr/include/c++/10/iostream:39, from devices/ahci.cpp:25: /usr/include/bits/stdio2.h:67:35: note: '__builtin___snprintf_chk' output between 2 and 4352 bytes into a destination of size 4096 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 68 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ devices/ahci.cpp:68:36: warning: '%s' directive output may be truncated writing up to 255 bytes into a region of size between 0 and 4095 [-Wformat-truncation=] 68 | snprintf(line, sizeof(line), "%s/%s/model", pathname, dirent->d_name); | ^~ In file included from /usr/include/stdio.h:867, from /usr/include/c++/10/cstdio:42, from /usr/include/c++/10/ext/string_conversions.h:43, from /usr/include/c++/10/bits/basic_string.h:6545, from /usr/include/c++/10/string:55, from /usr/include/c++/10/bits/locale_classes.h:40, from /usr/include/c++/10/bits/ios_base.h:41, from /usr/include/c++/10/ios:42, from /usr/include/c++/10/ostream:38, from /usr/include/c++/10/iostream:39, from devices/ahci.cpp:25: /usr/include/bits/stdio2.h:67:35: note: '__builtin___snprintf_chk' output between 8 and 4358 bytes into a destination of size 4096 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 68 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ devices/ahci.cpp: In member function 'virtual void ahci::end_measurement()': devices/ahci.cpp:206:43: warning: '/ahci_alpm_active' directive output may be truncated writing 17 bytes into a region of size between 1 and 4096 [-Wformat-truncation=] 206 | snprintf(filename, sizeof(filename), "%s/ahci_alpm_active", sysfs_path); | ^~~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:867, from /usr/include/c++/10/cstdio:42, from /usr/include/c++/10/ext/string_conversions.h:43, from /usr/include/c++/10/bits/basic_string.h:6545, from /usr/include/c++/10/string:55, from /usr/include/c++/10/bits/locale_classes.h:40, from /usr/include/c++/10/bits/ios_base.h:41, from /usr/include/c++/10/ios:42, from /usr/include/c++/10/ostream:38, from /usr/include/c++/10/iostream:39, from devices/ahci.cpp:25: /usr/include/bits/stdio2.h:67:35: note: '__builtin___snprintf_chk' output between 18 and 4113 bytes into a destination of size 4096 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 68 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ devices/ahci.cpp:212:43: warning: '/ahci_alpm_partial' directive output may be truncated writing 18 bytes into a region of size between 1 and 4096 [-Wformat-truncation=] 212 | snprintf(filename, sizeof(filename), "%s/ahci_alpm_partial", sysfs_path); | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:867, from /usr/include/c++/10/cstdio:42, from /usr/include/c++/10/ext/string_conversions.h:43, from /usr/include/c++/10/bits/basic_string.h:6545, from /usr/include/c++/10/string:55, from /usr/include/c++/10/bits/locale_classes.h:40, from /usr/include/c++/10/bits/ios_base.h:41, from /usr/include/c++/10/ios:42, from /usr/include/c++/10/ostream:38, from /usr/include/c++/10/iostream:39, from devices/ahci.cpp:25: /usr/include/bits/stdio2.h:67:35: note: '__builtin___snprintf_chk' output between 19 and 4114 bytes into a destination of size 4096 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 68 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ devices/ahci.cpp:218:43: warning: '/ahci_alpm_slumber' directive output may be truncated writing 18 bytes into a region of size between 1 and 4096 [-Wformat-truncation=] 218 | snprintf(filename, sizeof(filename), "%s/ahci_alpm_slumber", sysfs_path); | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:867, from /usr/include/c++/10/cstdio:42, from /usr/include/c++/10/ext/string_conversions.h:43, from /usr/include/c++/10/bits/basic_string.h:6545, from /usr/include/c++/10/string:55, from /usr/include/c++/10/bits/locale_classes.h:40, from /usr/include/c++/10/bits/ios_base.h:41, from /usr/include/c++/10/ios:42, from /usr/include/c++/10/ostream:38, from /usr/include/c++/10/iostream:39, from devices/ahci.cpp:25: /usr/include/bits/stdio2.h:67:35: note: '__builtin___snprintf_chk' output between 19 and 4114 bytes into a destination of size 4096 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 68 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ devices/ahci.cpp:224:43: warning: '/ahci_alpm_devslp' directive output may be truncated writing 17 bytes into a region of size between 1 and 4096 [-Wformat-truncation=] 224 | snprintf(filename, sizeof(filename), "%s/ahci_alpm_devslp", sysfs_path); | ^~~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:867, from /usr/include/c++/10/cstdio:42, from /usr/include/c++/10/ext/string_conversions.h:43, from /usr/include/c++/10/bits/basic_string.h:6545, from /usr/include/c++/10/string:55, from /usr/include/c++/10/bits/locale_classes.h:40, from /usr/include/c++/10/bits/ios_base.h:41, from /usr/include/c++/10/ios:42, from /usr/include/c++/10/ostream:38, from /usr/include/c++/10/iostream:39, from devices/ahci.cpp:25: /usr/include/bits/stdio2.h:67:35: note: '__builtin___snprintf_chk' output between 18 and 4113 bytes into a destination of size 4096 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 68 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ devices/ahci.cpp:248:44: warning: '-active' directive output may be truncated writing 7 bytes into a region of size between 1 and 4096 [-Wformat-truncation=] 248 | snprintf(powername, sizeof(powername), "%s-active", name); | ^~~~~~~ In file included from /usr/include/stdio.h:867, from /usr/include/c++/10/cstdio:42, from /usr/include/c++/10/ext/string_conversions.h:43, from /usr/include/c++/10/bits/basic_string.h:6545, from /usr/include/c++/10/string:55, from /usr/include/c++/10/bits/locale_classes.h:40, from /usr/include/c++/10/bits/ios_base.h:41, from /usr/include/c++/10/ios:42, from /usr/include/c++/10/ostream:38, from /usr/include/c++/10/iostream:39, from devices/ahci.cpp:25: /usr/include/bits/stdio2.h:67:35: note: '__builtin___snprintf_chk' output between 8 and 4103 bytes into a destination of size 4096 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 68 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ devices/ahci.cpp:255:44: warning: '-partial' directive output may be truncated writing 8 bytes into a region of size between 1 and 4096 [-Wformat-truncation=] 255 | snprintf(powername, sizeof(powername), "%s-partial", name); | ^~~~~~~~ In file included from /usr/include/stdio.h:867, from /usr/include/c++/10/cstdio:42, from /usr/include/c++/10/ext/string_conversions.h:43, from /usr/include/c++/10/bits/basic_string.h:6545, from /usr/include/c++/10/string:55, from /usr/include/c++/10/bits/locale_classes.h:40, from /usr/include/c++/10/bits/ios_base.h:41, from /usr/include/c++/10/ios:42, from /usr/include/c++/10/ostream:38, from /usr/include/c++/10/iostream:39, from devices/ahci.cpp:25: /usr/include/bits/stdio2.h:67:35: note: '__builtin___snprintf_chk' output between 9 and 4104 bytes into a destination of size 4096 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 68 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ devices/ahci.cpp:262:44: warning: '-slumber' directive output may be truncated writing 8 bytes into a region of size between 1 and 4096 [-Wformat-truncation=] 262 | snprintf(powername, sizeof(powername), "%s-slumber", name); | ^~~~~~~~ In file included from /usr/include/stdio.h:867, from /usr/include/c++/10/cstdio:42, from /usr/include/c++/10/ext/string_conversions.h:43, from /usr/include/c++/10/bits/basic_string.h:6545, from /usr/include/c++/10/string:55, from /usr/include/c++/10/bits/locale_classes.h:40, from /usr/include/c++/10/bits/ios_base.h:41, from /usr/include/c++/10/ios:42, from /usr/include/c++/10/ostream:38, from /usr/include/c++/10/iostream:39, from devices/ahci.cpp:25: /usr/include/bits/stdio2.h:67:35: note: '__builtin___snprintf_chk' output between 9 and 4104 bytes into a destination of size 4096 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 68 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ devices/ahci.cpp:269:44: warning: '-devslp' directive output may be truncated writing 7 bytes into a region of size between 1 and 4096 [-Wformat-truncation=] 269 | snprintf(powername, sizeof(powername), "%s-devslp", name); | ^~~~~~~ In file included from /usr/include/stdio.h:867, from /usr/include/c++/10/cstdio:42, from /usr/include/c++/10/ext/string_conversions.h:43, from /usr/include/c++/10/bits/basic_string.h:6545, from /usr/include/c++/10/string:55, from /usr/include/c++/10/bits/locale_classes.h:40, from /usr/include/c++/10/bits/ios_base.h:41, from /usr/include/c++/10/ios:42, from /usr/include/c++/10/ostream:38, from /usr/include/c++/10/iostream:39, from devices/ahci.cpp:25: /usr/include/bits/stdio2.h:67:35: note: '__builtin___snprintf_chk' output between 8 and 4103 bytes into a destination of size 4096 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 68 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ devices/ahci.cpp: In member function 'virtual void ahci::start_measurement()': devices/ahci.cpp:164:42: warning: '/ahci_alpm_active' directive output may be truncated writing 17 bytes into a region of size between 1 and 4096 [-Wformat-truncation=] 164 | snprintf(filename, sizeof(filename), "%s/ahci_alpm_active", sysfs_path); | ^~~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:867, from /usr/include/c++/10/cstdio:42, from /usr/include/c++/10/ext/string_conversions.h:43, from /usr/include/c++/10/bits/basic_string.h:6545, from /usr/include/c++/10/string:55, from /usr/include/c++/10/bits/locale_classes.h:40, from /usr/include/c++/10/bits/ios_base.h:41, from /usr/include/c++/10/ios:42, from /usr/include/c++/10/ostream:38, from /usr/include/c++/10/iostream:39, from devices/ahci.cpp:25: /usr/include/bits/stdio2.h:67:35: note: '__builtin___snprintf_chk' output between 18 and 4113 bytes into a destination of size 4096 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 68 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ devices/ahci.cpp:171:43: warning: '/ahci_alpm_partial' directive output may be truncated writing 18 bytes into a region of size between 1 and 4096 [-Wformat-truncation=] 171 | snprintf(filename, sizeof(filename), "%s/ahci_alpm_partial", sysfs_path); | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:867, from /usr/include/c++/10/cstdio:42, from /usr/include/c++/10/ext/string_conversions.h:43, from /usr/include/c++/10/bits/basic_string.h:6545, from /usr/include/c++/10/string:55, from /usr/include/c++/10/bits/locale_classes.h:40, from /usr/include/c++/10/bits/ios_base.h:41, from /usr/include/c++/10/ios:42, from /usr/include/c++/10/ostream:38, from /usr/include/c++/10/iostream:39, from devices/ahci.cpp:25: /usr/include/bits/stdio2.h:67:35: note: '__builtin___snprintf_chk' output between 19 and 4114 bytes into a destination of size 4096 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 68 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ devices/ahci.cpp:178:43: warning: '/ahci_alpm_slumber' directive output may be truncated writing 18 bytes into a region of size between 1 and 4096 [-Wformat-truncation=] 178 | snprintf(filename, sizeof(filename), "%s/ahci_alpm_slumber", sysfs_path); | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:867, from /usr/include/c++/10/cstdio:42, from /usr/include/c++/10/ext/string_conversions.h:43, from /usr/include/c++/10/bits/basic_string.h:6545, from /usr/include/c++/10/string:55, from /usr/include/c++/10/bits/locale_classes.h:40, from /usr/include/c++/10/bits/ios_base.h:41, from /usr/include/c++/10/ios:42, from /usr/include/c++/10/ostream:38, from /usr/include/c++/10/iostream:39, from devices/ahci.cpp:25: /usr/include/bits/stdio2.h:67:35: note: '__builtin___snprintf_chk' output between 19 and 4114 bytes into a destination of size 4096 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 68 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ devices/ahci.cpp:184:43: warning: '/ahci_alpm_devslp' directive output may be truncated writing 17 bytes into a region of size between 1 and 4096 [-Wformat-truncation=] 184 | snprintf(filename, sizeof(filename), "%s/ahci_alpm_devslp", sysfs_path); | ^~~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:867, from /usr/include/c++/10/cstdio:42, from /usr/include/c++/10/ext/string_conversions.h:43, from /usr/include/c++/10/bits/basic_string.h:6545, from /usr/include/c++/10/string:55, from /usr/include/c++/10/bits/locale_classes.h:40, from /usr/include/c++/10/bits/ios_base.h:41, from /usr/include/c++/10/ios:42, from /usr/include/c++/10/ostream:38, from /usr/include/c++/10/iostream:39, from devices/ahci.cpp:25: /usr/include/bits/stdio2.h:67:35: note: '__builtin___snprintf_chk' output between 18 and 4113 bytes into a destination of size 4096 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 68 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/powertop-2.13/src' make[3]: Entering directory '/usr/src/RPM/BUILD/powertop-2.13/src' i586-alt-linux-g++ -std=c++11 -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/share/locale\" -I/usr/include/libnl3 -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -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 -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -pthread -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c -o devices/powertop-backlight.o `test -f 'devices/backlight.cpp' || echo './'`devices/backlight.cpp devices/backlight.cpp: In member function 'virtual double backlight::power_usage(result_bundle*, parameter_bundle*)': devices/backlight.cpp:217:25: warning: '-power' directive writing 6 bytes into a region of size between 1 and 4096 [-Wformat-overflow=] 217 | sprintf(powername, "%s-power", name); | ^~~~~~ In file included from /usr/include/stdio.h:867, from /usr/include/c++/10/cstdio:42, from /usr/include/c++/10/ext/string_conversions.h:43, from /usr/include/c++/10/bits/basic_string.h:6545, from /usr/include/c++/10/string:55, from /usr/include/c++/10/bits/locale_classes.h:40, from /usr/include/c++/10/bits/ios_base.h:41, from /usr/include/c++/10/ios:42, from /usr/include/c++/10/ostream:38, from /usr/include/c++/10/iostream:39, from devices/backlight.cpp:25: /usr/include/bits/stdio2.h:36:34: note: '__builtin___sprintf_chk' output between 7 and 4102 bytes into a destination of size 4096 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/string.h:508, from devices/../parameters/parameters.h:33, from devices/backlight.cpp:38: In function 'char* strncpy(char*, const char*, size_t)', inlined from 'void pt_strcpy(char (&)[N], const char*) [with unsigned int N = 4096]' at devices/../parameters/../lib.h:78:9, inlined from 'backlight::backlight(const char*, const char*)' at devices/backlight.cpp:49:11: /usr/include/bits/string_fortified.h:106:34: warning: 'char* __builtin_strncpy(char*, const char*, unsigned int)' specified bound 4096 equals destination size [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ devices/backlight.cpp: In member function 'virtual void backlight::end_measurement()': devices/backlight.cpp:125:42: warning: '/actual_brightness' directive output may be truncated writing 18 bytes into a region of size between 1 and 4096 [-Wformat-truncation=] 125 | snprintf(filename, sizeof(filename), "%s/actual_brightness", sysfs_path); | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:867, from /usr/include/c++/10/cstdio:42, from /usr/include/c++/10/ext/string_conversions.h:43, from /usr/include/c++/10/bits/basic_string.h:6545, from /usr/include/c++/10/string:55, from /usr/include/c++/10/bits/locale_classes.h:40, from /usr/include/c++/10/bits/ios_base.h:41, from /usr/include/c++/10/ios:42, from /usr/include/c++/10/ostream:38, from /usr/include/c++/10/iostream:39, from devices/backlight.cpp:25: /usr/include/bits/stdio2.h:67:35: note: '__builtin___snprintf_chk' output between 19 and 4114 bytes into a destination of size 4096 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 68 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ devices/backlight.cpp:140:44: warning: '-power' directive output may be truncated writing 6 bytes into a region of size between 1 and 4096 [-Wformat-truncation=] 140 | snprintf(powername, sizeof(powername), "%s-power", name); | ^~~~~~ In file included from /usr/include/stdio.h:867, from /usr/include/c++/10/cstdio:42, from /usr/include/c++/10/ext/string_conversions.h:43, from /usr/include/c++/10/bits/basic_string.h:6545, from /usr/include/c++/10/string:55, from /usr/include/c++/10/bits/locale_classes.h:40, from /usr/include/c++/10/bits/ios_base.h:41, from /usr/include/c++/10/ios:42, from /usr/include/c++/10/ostream:38, from /usr/include/c++/10/iostream:39, from devices/backlight.cpp:25: /usr/include/bits/stdio2.h:67:35: note: '__builtin___snprintf_chk' output between 7 and 4102 bytes into a destination of size 4096 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 68 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ devices/backlight.cpp: In member function 'virtual void backlight::start_measurement()': devices/backlight.cpp:61:42: warning: '/max_brightness' directive output may be truncated writing 15 bytes into a region of size between 1 and 4096 [-Wformat-truncation=] 61 | snprintf(filename, sizeof(filename), "%s/max_brightness", sysfs_path); | ^~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:867, from /usr/include/c++/10/cstdio:42, from /usr/include/c++/10/ext/string_conversions.h:43, from /usr/include/c++/10/bits/basic_string.h:6545, from /usr/include/c++/10/string:55, from /usr/include/c++/10/bits/locale_classes.h:40, from /usr/include/c++/10/bits/ios_base.h:41, from /usr/include/c++/10/ios:42, from /usr/include/c++/10/ostream:38, from /usr/include/c++/10/iostream:39, from devices/backlight.cpp:25: /usr/include/bits/stdio2.h:67:35: note: '__builtin___snprintf_chk' output between 16 and 4111 bytes into a destination of size 4096 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 68 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ devices/backlight.cpp:68:42: warning: '/actual_brightness' directive output may be truncated writing 18 bytes into a region of size between 1 and 4096 [-Wformat-truncation=] 68 | snprintf(filename, sizeof(filename), "%s/actual_brightness", sysfs_path); | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:867, from /usr/include/c++/10/cstdio:42, from /usr/include/c++/10/ext/string_conversions.h:43, from /usr/include/c++/10/bits/basic_string.h:6545, from /usr/include/c++/10/string:55, from /usr/include/c++/10/bits/locale_classes.h:40, from /usr/include/c++/10/bits/ios_base.h:41, from /usr/include/c++/10/ios:42, from /usr/include/c++/10/ostream:38, from /usr/include/c++/10/iostream:39, from devices/backlight.cpp:25: /usr/include/bits/stdio2.h:67:35: note: '__builtin___snprintf_chk' output between 19 and 4114 bytes into a destination of size 4096 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 68 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/powertop-2.13/src' make[3]: Entering directory '/usr/src/RPM/BUILD/powertop-2.13/src' i586-alt-linux-g++ -std=c++11 -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/share/locale\" -I/usr/include/libnl3 -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -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 -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -pthread -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c -o devices/powertop-gpu_rapl_device.o `test -f 'devices/gpu_rapl_device.cpp' || echo './'`devices/gpu_rapl_device.cpp make[3]: Leaving directory '/usr/src/RPM/BUILD/powertop-2.13/src' make[3]: Entering directory '/usr/src/RPM/BUILD/powertop-2.13/src' i586-alt-linux-g++ -std=c++11 -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/share/locale\" -I/usr/include/libnl3 -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -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 -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -pthread -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c -o cpu/powertop-cpu.o `test -f 'cpu/cpu.cpp' || echo './'`cpu/cpu.cpp make[3]: Leaving directory '/usr/src/RPM/BUILD/powertop-2.13/src' make[3]: Entering directory '/usr/src/RPM/BUILD/powertop-2.13/src' i586-alt-linux-g++ -std=c++11 -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/share/locale\" -I/usr/include/libnl3 -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -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 -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -pthread -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c -o devices/powertop-device.o `test -f 'devices/device.cpp' || echo './'`devices/device.cpp devices/device.cpp: In member function 'void device::register_sysfs_path(const char*)': devices/device.cpp:75:45: warning: '/device' directive output may be truncated writing 7 bytes into a region of size between 1 and 4097 [-Wformat-truncation=] 75 | snprintf(test_path, sizeof(test_path), "%s/device", current_path); | ^~~~~~~ In file included from /usr/include/stdio.h:867, from devices/device.cpp:29: /usr/include/bits/stdio2.h:67:35: note: '__builtin___snprintf_chk' output between 8 and 4104 bytes into a destination of size 4097 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 68 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/powertop-2.13/src' make[3]: Entering directory '/usr/src/RPM/BUILD/powertop-2.13/src' i586-alt-linux-g++ -std=c++11 -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/share/locale\" -I/usr/include/libnl3 -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -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 -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -pthread -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c -o devices/powertop-rfkill.o `test -f 'devices/rfkill.cpp' || echo './'`devices/rfkill.cpp In file included from /usr/include/string.h:508, from devices/../parameters/parameters.h:33, from devices/rfkill.h:31, from devices/rfkill.cpp:38: In function 'char* strncpy(char*, const char*, size_t)', inlined from 'void pt_strcpy(char (&)[N], const char*) [with unsigned int N = 4096]' at devices/../parameters/../lib.h:78:9, inlined from 'rfkill::rfkill(char*, char*)' at devices/rfkill.cpp:53:11: /usr/include/bits/string_fortified.h:106:34: warning: 'char* __builtin_strncpy(char*, const char*, unsigned int)' specified bound 4096 equals destination size [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ devices/rfkill.cpp: In member function 'virtual void rfkill::end_measurement()': devices/rfkill.cpp:103:42: warning: '/hard' directive output may be truncated writing 5 bytes into a region of size between 1 and 4096 [-Wformat-truncation=] 103 | snprintf(filename, sizeof(filename), "%s/hard", sysfs_path); | ^~~~~ In file included from /usr/include/stdio.h:867, from /usr/include/c++/10/cstdio:42, from /usr/include/c++/10/ext/string_conversions.h:43, from /usr/include/c++/10/bits/basic_string.h:6545, from /usr/include/c++/10/string:55, from /usr/include/c++/10/bits/locale_classes.h:40, from /usr/include/c++/10/bits/ios_base.h:41, from /usr/include/c++/10/ios:42, from /usr/include/c++/10/ostream:38, from /usr/include/c++/10/iostream:39, from devices/rfkill.cpp:25: /usr/include/bits/stdio2.h:67:35: note: '__builtin___snprintf_chk' output between 6 and 4101 bytes into a destination of size 4096 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 68 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ devices/rfkill.cpp:109:42: warning: '/soft' directive output may be truncated writing 5 bytes into a region of size between 1 and 4096 [-Wformat-truncation=] 109 | snprintf(filename, sizeof(filename), "%s/soft", sysfs_path); | ^~~~~ In file included from /usr/include/stdio.h:867, from /usr/include/c++/10/cstdio:42, from /usr/include/c++/10/ext/string_conversions.h:43, from /usr/include/c++/10/bits/basic_string.h:6545, from /usr/include/c++/10/string:55, from /usr/include/c++/10/bits/locale_classes.h:40, from /usr/include/c++/10/bits/ios_base.h:41, from /usr/include/c++/10/ios:42, from /usr/include/c++/10/ostream:38, from /usr/include/c++/10/iostream:39, from devices/rfkill.cpp:25: /usr/include/bits/stdio2.h:67:35: note: '__builtin___snprintf_chk' output between 6 and 4101 bytes into a destination of size 4096 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 68 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ devices/rfkill.cpp: In member function 'virtual void rfkill::start_measurement()': devices/rfkill.cpp:83:42: warning: '/hard' directive output may be truncated writing 5 bytes into a region of size between 1 and 4096 [-Wformat-truncation=] 83 | snprintf(filename, sizeof(filename), "%s/hard", sysfs_path); | ^~~~~ In file included from /usr/include/stdio.h:867, from /usr/include/c++/10/cstdio:42, from /usr/include/c++/10/ext/string_conversions.h:43, from /usr/include/c++/10/bits/basic_string.h:6545, from /usr/include/c++/10/string:55, from /usr/include/c++/10/bits/locale_classes.h:40, from /usr/include/c++/10/bits/ios_base.h:41, from /usr/include/c++/10/ios:42, from /usr/include/c++/10/ostream:38, from /usr/include/c++/10/iostream:39, from devices/rfkill.cpp:25: /usr/include/bits/stdio2.h:67:35: note: '__builtin___snprintf_chk' output between 6 and 4101 bytes into a destination of size 4096 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 68 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ devices/rfkill.cpp:90:42: warning: '/soft' directive output may be truncated writing 5 bytes into a region of size between 1 and 4096 [-Wformat-truncation=] 90 | snprintf(filename, sizeof(filename), "%s/soft", sysfs_path); | ^~~~~ In file included from /usr/include/stdio.h:867, from /usr/include/c++/10/cstdio:42, from /usr/include/c++/10/ext/string_conversions.h:43, from /usr/include/c++/10/bits/basic_string.h:6545, from /usr/include/c++/10/string:55, from /usr/include/c++/10/bits/locale_classes.h:40, from /usr/include/c++/10/bits/ios_base.h:41, from /usr/include/c++/10/ios:42, from /usr/include/c++/10/ostream:38, from /usr/include/c++/10/iostream:39, from devices/rfkill.cpp:25: /usr/include/bits/stdio2.h:67:35: note: '__builtin___snprintf_chk' output between 6 and 4101 bytes into a destination of size 4096 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 68 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/powertop-2.13/src' make[3]: Entering directory '/usr/src/RPM/BUILD/powertop-2.13/src' i586-alt-linux-g++ -std=c++11 -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/share/locale\" -I/usr/include/libnl3 -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -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 -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -pthread -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c -o devices/powertop-i915-gpu.o `test -f 'devices/i915-gpu.cpp' || echo './'`devices/i915-gpu.cpp make[3]: Leaving directory '/usr/src/RPM/BUILD/powertop-2.13/src' make[3]: Entering directory '/usr/src/RPM/BUILD/powertop-2.13/src' i586-alt-linux-g++ -std=c++11 -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/share/locale\" -I/usr/include/libnl3 -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -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 -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -pthread -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c -o devices/powertop-runtime_pm.o `test -f 'devices/runtime_pm.cpp' || echo './'`devices/runtime_pm.cpp In file included from /usr/include/string.h:508, from devices/../parameters/parameters.h:33, from devices/runtime_pm.h:31, from devices/runtime_pm.cpp:25: In function 'char* strncpy(char*, const char*, size_t)', inlined from 'void pt_strcpy(char (&)[N], const char*) [with unsigned int N = 4096]' at devices/../parameters/../lib.h:78:9, inlined from 'runtime_pmdevice::runtime_pmdevice(const char*, const char*)' at devices/runtime_pm.cpp:43:11: /usr/include/bits/string_fortified.h:106:34: warning: 'char* __builtin_strncpy(char*, const char*, unsigned int)' specified bound 4096 equals destination size [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'char* strncpy(char*, const char*, size_t)', inlined from 'void pt_strcpy(char (&)[N], const char*) [with unsigned int N = 4096]' at devices/../parameters/../lib.h:78:9, inlined from 'runtime_pmdevice::runtime_pmdevice(const char*, const char*)' at devices/runtime_pm.cpp:45:11: /usr/include/bits/string_fortified.h:106:34: warning: 'char* __builtin_strncpy(char*, const char*, unsigned int)' specified bound 4096 equals destination size [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'char* strncpy(char*, const char*, size_t)', inlined from 'void pt_strcpy(char (&)[N], const char*) [with unsigned int N = 4096]' at devices/../parameters/../lib.h:78:9, inlined from 'void runtime_pmdevice::set_human_name(char*)' at devices/runtime_pm.cpp:144:11: /usr/include/bits/string_fortified.h:106:34: warning: 'char* __builtin_strncpy(char*, const char*, unsigned int)' specified bound 4096 equals destination size [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ devices/runtime_pm.cpp: In member function 'virtual void runtime_pmdevice::start_measurement()': devices/runtime_pm.cpp:69:42: warning: '/power/runtime_suspended_time' directive output may be truncated writing 29 bytes into a region of size between 1 and 4096 [-Wformat-truncation=] 69 | snprintf(filename, sizeof(filename), "%s/power/runtime_suspended_time", sysfs_path); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:867, from /usr/include/c++/10/cstdio:42, from /usr/include/c++/10/ext/string_conversions.h:43, from /usr/include/c++/10/bits/basic_string.h:6545, from /usr/include/c++/10/string:55, from devices/../parameters/parameters.h:31, from devices/runtime_pm.h:31, from devices/runtime_pm.cpp:25: /usr/include/bits/stdio2.h:67:35: note: '__builtin___snprintf_chk' output between 30 and 4125 bytes into a destination of size 4096 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 68 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ devices/runtime_pm.cpp:76:42: warning: '/power/runtime_active_time' directive output may be truncated writing 26 bytes into a region of size between 1 and 4096 [-Wformat-truncation=] 76 | snprintf(filename, sizeof(filename), "%s/power/runtime_active_time", sysfs_path); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:867, from /usr/include/c++/10/cstdio:42, from /usr/include/c++/10/ext/string_conversions.h:43, from /usr/include/c++/10/bits/basic_string.h:6545, from /usr/include/c++/10/string:55, from devices/../parameters/parameters.h:31, from devices/runtime_pm.h:31, from devices/runtime_pm.cpp:25: /usr/include/bits/stdio2.h:67:35: note: '__builtin___snprintf_chk' output between 27 and 4122 bytes into a destination of size 4096 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 68 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ devices/runtime_pm.cpp: In member function 'virtual void runtime_pmdevice::end_measurement()': devices/runtime_pm.cpp:89:42: warning: '/power/runtime_suspended_time' directive output may be truncated writing 29 bytes into a region of size between 1 and 4096 [-Wformat-truncation=] 89 | snprintf(filename, sizeof(filename), "%s/power/runtime_suspended_time", sysfs_path); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:867, from /usr/include/c++/10/cstdio:42, from /usr/include/c++/10/ext/string_conversions.h:43, from /usr/include/c++/10/bits/basic_string.h:6545, from /usr/include/c++/10/string:55, from devices/../parameters/parameters.h:31, from devices/runtime_pm.h:31, from devices/runtime_pm.cpp:25: /usr/include/bits/stdio2.h:67:35: note: '__builtin___snprintf_chk' output between 30 and 4125 bytes into a destination of size 4096 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 68 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ devices/runtime_pm.cpp:96:42: warning: '/power/runtime_active_time' directive output may be truncated writing 26 bytes into a region of size between 1 and 4096 [-Wformat-truncation=] 96 | snprintf(filename, sizeof(filename), "%s/power/runtime_active_time", sysfs_path); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:867, from /usr/include/c++/10/cstdio:42, from /usr/include/c++/10/ext/string_conversions.h:43, from /usr/include/c++/10/bits/basic_string.h:6545, from /usr/include/c++/10/string:55, from devices/../parameters/parameters.h:31, from devices/runtime_pm.h:31, from devices/runtime_pm.cpp:25: /usr/include/bits/stdio2.h:67:35: note: '__builtin___snprintf_chk' output between 27 and 4122 bytes into a destination of size 4096 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 68 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/powertop-2.13/src' make[3]: Entering directory '/usr/src/RPM/BUILD/powertop-2.13/src' i586-alt-linux-g++ -std=c++11 -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/share/locale\" -I/usr/include/libnl3 -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -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 -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -pthread -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c -o devices/powertop-network.o `test -f 'devices/network.cpp' || echo './'`devices/network.cpp In file included from /usr/include/string.h:508, from devices/../parameters/parameters.h:33, from devices/network.h:32, from devices/network.cpp:42: In function 'char* strncpy(char*, const char*, size_t)', inlined from 'void pt_strcpy(char (&)[N], const char*) [with unsigned int N = 4096]' at devices/../parameters/../lib.h:78:9, inlined from 'network::network(const char*, const char*)' at devices/network.cpp:144:11: /usr/include/bits/string_fortified.h:106:34: warning: 'char* __builtin_strncpy(char*, const char*, unsigned int)' specified bound 4096 equals destination size [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/powertop-2.13/src' make[3]: Entering directory '/usr/src/RPM/BUILD/powertop-2.13/src' i586-alt-linux-g++ -std=c++11 -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/share/locale\" -I/usr/include/libnl3 -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -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 -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -pthread -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c -o devices/powertop-devfreq.o `test -f 'devices/devfreq.cpp' || echo './'`devices/devfreq.cpp In file included from /usr/include/string.h:508, from devices/../parameters/parameters.h:33, from devices/devfreq.h:29, from devices/devfreq.cpp:35: In function 'char* strncpy(char*, const char*, size_t)', inlined from 'void pt_strcpy(char (&)[N], const char*) [with unsigned int N = 128]' at devices/../parameters/../lib.h:78:9, inlined from 'devfreq::devfreq(const char*)' at devices/devfreq.cpp:48:11: /usr/include/bits/string_fortified.h:106:34: warning: 'char* __builtin_strncpy(char*, const char*, unsigned int)' specified bound 128 equals destination size [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'char* strncpy(char*, const char*, size_t)', inlined from 'void pt_strcpy(char (&)[N], const char*) [with unsigned int N = 128]' at devices/../parameters/../lib.h:78:9, inlined from 'devfreq::devfreq(const char*)' at devices/devfreq.cpp:48:11, inlined from 'void devfreq_dev_callback(const char*)' at devices/devfreq.cpp:225:54: /usr/include/bits/string_fortified.h:106:34: warning: 'char* __builtin_strncpy(char*, const char*, unsigned int)' specified bound 128 equals destination size [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/powertop-2.13/src' make[3]: Entering directory '/usr/src/RPM/BUILD/powertop-2.13/src' i586-alt-linux-g++ -std=c++11 -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/share/locale\" -I/usr/include/libnl3 -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -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 -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -pthread -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c -o devices/powertop-usb.o `test -f 'devices/usb.cpp' || echo './'`devices/usb.cpp In file included from /usr/include/string.h:508, from devices/../parameters/parameters.h:33, from devices/usb.h:31, from devices/usb.cpp:25: In function 'char* strncpy(char*, const char*, size_t)', inlined from 'void pt_strcpy(char (&)[N], const char*) [with unsigned int N = 4096]' at devices/../parameters/../lib.h:78:9, inlined from 'usbdevice::usbdevice(const char*, const char*, const char*)' at devices/usb.cpp:47:11: /usr/include/bits/string_fortified.h:106:34: warning: 'char* __builtin_strncpy(char*, const char*, unsigned int)' specified bound 4096 equals destination size [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'char* strncpy(char*, const char*, size_t)', inlined from 'void pt_strcpy(char (&)[N], const char*) [with unsigned int N = 4096]' at devices/../parameters/../lib.h:78:9, inlined from 'usbdevice::usbdevice(const char*, const char*, const char*)' at devices/usb.cpp:49:11: /usr/include/bits/string_fortified.h:106:34: warning: 'char* __builtin_strncpy(char*, const char*, unsigned int)' specified bound 4096 equals destination size [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'char* strncpy(char*, const char*, size_t)', inlined from 'void pt_strcpy(char (&)[N], const char*) [with unsigned int N = 4096]' at devices/../parameters/../lib.h:78:9, inlined from 'usbdevice::usbdevice(const char*, const char*, const char*)' at devices/usb.cpp:50:11: /usr/include/bits/string_fortified.h:106:34: warning: 'char* __builtin_strncpy(char*, const char*, unsigned int)' specified bound 4096 equals destination size [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ devices/usb.cpp: In member function 'virtual void usbdevice::start_measurement()': devices/usb.cpp:129:42: warning: '/power/active_duration' directive output may be truncated writing 22 bytes into a region of size between 1 and 4096 [-Wformat-truncation=] 129 | snprintf(fullpath, sizeof(fullpath), "%s/power/active_duration", sysfs_path); | ^~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:867, from /usr/include/c++/10/cstdio:42, from /usr/include/c++/10/ext/string_conversions.h:43, from /usr/include/c++/10/bits/basic_string.h:6545, from /usr/include/c++/10/string:55, from devices/../parameters/parameters.h:31, from devices/usb.h:31, from devices/usb.cpp:25: /usr/include/bits/stdio2.h:67:35: note: '__builtin___snprintf_chk' output between 23 and 4118 bytes into a destination of size 4096 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 68 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ devices/usb.cpp:136:42: warning: '/power/connected_duration' directive output may be truncated writing 25 bytes into a region of size between 1 and 4096 [-Wformat-truncation=] 136 | snprintf(fullpath, sizeof(fullpath), "%s/power/connected_duration", sysfs_path); | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:867, from /usr/include/c++/10/cstdio:42, from /usr/include/c++/10/ext/string_conversions.h:43, from /usr/include/c++/10/bits/basic_string.h:6545, from /usr/include/c++/10/string:55, from devices/../parameters/parameters.h:31, from devices/usb.h:31, from devices/usb.cpp:25: /usr/include/bits/stdio2.h:67:35: note: '__builtin___snprintf_chk' output between 26 and 4121 bytes into a destination of size 4096 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 68 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ devices/usb.cpp: In member function 'virtual void usbdevice::end_measurement()': devices/usb.cpp:149:42: warning: '/power/active_duration' directive output may be truncated writing 22 bytes into a region of size between 1 and 4096 [-Wformat-truncation=] 149 | snprintf(fullpath, sizeof(fullpath), "%s/power/active_duration", sysfs_path); | ^~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:867, from /usr/include/c++/10/cstdio:42, from /usr/include/c++/10/ext/string_conversions.h:43, from /usr/include/c++/10/bits/basic_string.h:6545, from /usr/include/c++/10/string:55, from devices/../parameters/parameters.h:31, from devices/usb.h:31, from devices/usb.cpp:25: /usr/include/bits/stdio2.h:67:35: note: '__builtin___snprintf_chk' output between 23 and 4118 bytes into a destination of size 4096 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 68 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ devices/usb.cpp:156:42: warning: '/power/connected_duration' directive output may be truncated writing 25 bytes into a region of size between 1 and 4096 [-Wformat-truncation=] 156 | snprintf(fullpath, sizeof(fullpath), "%s/power/connected_duration", sysfs_path); | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:867, from /usr/include/c++/10/cstdio:42, from /usr/include/c++/10/ext/string_conversions.h:43, from /usr/include/c++/10/bits/basic_string.h:6545, from /usr/include/c++/10/string:55, from devices/../parameters/parameters.h:31, from devices/usb.h:31, from devices/usb.cpp:25: /usr/include/bits/stdio2.h:67:35: note: '__builtin___snprintf_chk' output between 26 and 4121 bytes into a destination of size 4096 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 68 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ devices/usb.cpp: In function 'void create_all_usb_devices_callback(const char*)': devices/usb.cpp:226:48: warning: '/power/active_duration' directive output may be truncated writing 22 bytes into a region of size between 1 and 4096 [-Wformat-truncation=] 226 | snprintf(device_name, sizeof(device_name), "%s/power/active_duration", filename); | ^~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:867, from /usr/include/c++/10/cstdio:42, from /usr/include/c++/10/ext/string_conversions.h:43, from /usr/include/c++/10/bits/basic_string.h:6545, from /usr/include/c++/10/string:55, from devices/../parameters/parameters.h:31, from devices/usb.h:31, from devices/usb.cpp:25: /usr/include/bits/stdio2.h:67:35: note: '__builtin___snprintf_chk' output between 23 and 4118 bytes into a destination of size 4096 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 68 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ devices/usb.cpp:230:48: warning: '/idVendor' directive output may be truncated writing 9 bytes into a region of size between 1 and 4096 [-Wformat-truncation=] 230 | snprintf(device_name, sizeof(device_name), "%s/idVendor", filename); | ^~~~~~~~~ In file included from /usr/include/stdio.h:867, from /usr/include/c++/10/cstdio:42, from /usr/include/c++/10/ext/string_conversions.h:43, from /usr/include/c++/10/bits/basic_string.h:6545, from /usr/include/c++/10/string:55, from devices/../parameters/parameters.h:31, from devices/usb.h:31, from devices/usb.cpp:25: /usr/include/bits/stdio2.h:67:35: note: '__builtin___snprintf_chk' output between 10 and 4105 bytes into a destination of size 4096 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 68 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ devices/usb.cpp:235:48: warning: '/idProduct' directive output may be truncated writing 10 bytes into a region of size between 1 and 4096 [-Wformat-truncation=] 235 | snprintf(device_name, sizeof(device_name), "%s/idProduct", filename); | ^~~~~~~~~~ In file included from /usr/include/stdio.h:867, from /usr/include/c++/10/cstdio:42, from /usr/include/c++/10/ext/string_conversions.h:43, from /usr/include/c++/10/bits/basic_string.h:6545, from /usr/include/c++/10/string:55, from devices/../parameters/parameters.h:31, from devices/usb.h:31, from devices/usb.cpp:25: /usr/include/bits/stdio2.h:67:35: note: '__builtin___snprintf_chk' output between 11 and 4106 bytes into a destination of size 4096 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 68 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/powertop-2.13/src' make[3]: Entering directory '/usr/src/RPM/BUILD/powertop-2.13/src' i586-alt-linux-g++ -std=c++11 -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/share/locale\" -I/usr/include/libnl3 -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -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 -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -pthread -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c -o devices/powertop-thinkpad-fan.o `test -f 'devices/thinkpad-fan.cpp' || echo './'`devices/thinkpad-fan.cpp make[3]: Leaving directory '/usr/src/RPM/BUILD/powertop-2.13/src' make[3]: Entering directory '/usr/src/RPM/BUILD/powertop-2.13/src' i586-alt-linux-g++ -std=c++11 -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/share/locale\" -I/usr/include/libnl3 -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -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 -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -pthread -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c -o devices/powertop-thinkpad-light.o `test -f 'devices/thinkpad-light.cpp' || echo './'`devices/thinkpad-light.cpp make[3]: Leaving directory '/usr/src/RPM/BUILD/powertop-2.13/src' make[3]: Entering directory '/usr/src/RPM/BUILD/powertop-2.13/src' i586-alt-linux-g++ -std=c++11 -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/share/locale\" -I/usr/include/libnl3 -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -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 -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -pthread -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c -o measurement/powertop-opal-sensors.o `test -f 'measurement/opal-sensors.cpp' || echo './'`measurement/opal-sensors.cpp In file included from /usr/include/string.h:508, from /usr/include/c++/10/cstring:42, from measurement/../lib.h:31, from measurement/opal-sensors.cpp:27: In function 'char* strncpy(char*, const char*, size_t)', inlined from 'opal_sensors_power_meter::opal_sensors_power_meter(const char*)' at measurement/opal-sensors.cpp:34:9: /usr/include/bits/string_fortified.h:106:34: warning: 'char* __builtin_strncpy(char*, const char*, unsigned int)' specified bound 4096 equals destination size [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/powertop-2.13/src' make[3]: Entering directory '/usr/src/RPM/BUILD/powertop-2.13/src' i586-alt-linux-g++ -std=c++11 -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/share/locale\" -I/usr/include/libnl3 -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -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 -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -pthread -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c -o measurement/powertop-acpi.o `test -f 'measurement/acpi.cpp' || echo './'`measurement/acpi.cpp In file included from /usr/include/string.h:508, from measurement/acpi.cpp:29: In function 'char* strncpy(char*, const char*, size_t)', inlined from 'void pt_strcpy(char (&)[N], const char*) [with unsigned int N = 256]' at measurement/../lib.h:78:9, inlined from 'acpi_power_meter::acpi_power_meter(const char*)' at measurement/acpi.cpp:42:11: /usr/include/bits/string_fortified.h:106:34: warning: 'char* __builtin_strncpy(char*, const char*, unsigned int)' specified bound 256 equals destination size [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/powertop-2.13/src' make[3]: Entering directory '/usr/src/RPM/BUILD/powertop-2.13/src' i586-alt-linux-g++ -std=c++11 -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/share/locale\" -I/usr/include/libnl3 -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -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 -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -pthread -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c -o parameters/powertop-learn.o `test -f 'parameters/learn.cpp' || echo './'`parameters/learn.cpp make[3]: Leaving directory '/usr/src/RPM/BUILD/powertop-2.13/src' make[3]: Entering directory '/usr/src/RPM/BUILD/powertop-2.13/src' i586-alt-linux-g++ -std=c++11 -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/share/locale\" -I/usr/include/libnl3 -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -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 -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -pthread -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c -o measurement/powertop-extech.o `test -f 'measurement/extech.cpp' || echo './'`measurement/extech.cpp In file included from /usr/include/string.h:508, from measurement/extech.cpp:40: In function 'char* strncpy(char*, const char*, size_t)', inlined from 'void pt_strcpy(char (&)[N], const char*) [with unsigned int N = 256]' at measurement/../lib.h:78:9, inlined from 'extech_power_meter::extech_power_meter(const char*)' at measurement/extech.cpp:272:11: /usr/include/bits/string_fortified.h:106:34: warning: 'char* __builtin_strncpy(char*, const char*, unsigned int)' specified bound 256 equals destination size [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/powertop-2.13/src' make[3]: Entering directory '/usr/src/RPM/BUILD/powertop-2.13/src' i586-alt-linux-g++ -std=c++11 -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/share/locale\" -I/usr/include/libnl3 -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -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 -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -pthread -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c -o measurement/powertop-sysfs.o `test -f 'measurement/sysfs.cpp' || echo './'`measurement/sysfs.cpp In file included from /usr/include/string.h:508, from /usr/include/c++/10/cstring:42, from measurement/../lib.h:31, from measurement/sysfs.cpp:27: In function 'char* strncpy(char*, const char*, size_t)', inlined from 'void pt_strcpy(char (&)[N], const char*) [with unsigned int N = 256]' at measurement/../lib.h:78:9, inlined from 'sysfs_power_meter::sysfs_power_meter(const char*)' at measurement/sysfs.cpp:36:11: /usr/include/bits/string_fortified.h:106:34: warning: 'char* __builtin_strncpy(char*, const char*, unsigned int)' specified bound 256 equals destination size [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/powertop-2.13/src' make[3]: Entering directory '/usr/src/RPM/BUILD/powertop-2.13/src' i586-alt-linux-g++ -std=c++11 -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/share/locale\" -I/usr/include/libnl3 -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -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 -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -pthread -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c -o measurement/powertop-measurement.o `test -f 'measurement/measurement.cpp' || echo './'`measurement/measurement.cpp make[3]: Leaving directory '/usr/src/RPM/BUILD/powertop-2.13/src' make[3]: Entering directory '/usr/src/RPM/BUILD/powertop-2.13/src' i586-alt-linux-g++ -std=c++11 -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/share/locale\" -I/usr/include/libnl3 -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -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 -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -pthread -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c -o process/powertop-powerconsumer.o `test -f 'process/powerconsumer.cpp' || echo './'`process/powerconsumer.cpp make[3]: Leaving directory '/usr/src/RPM/BUILD/powertop-2.13/src' make[3]: Entering directory '/usr/src/RPM/BUILD/powertop-2.13/src' i586-alt-linux-g++ -std=c++11 -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/share/locale\" -I/usr/include/libnl3 -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -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 -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -pthread -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c -o perf/powertop-perf.o `test -f 'perf/perf.cpp' || echo './'`perf/perf.cpp make[3]: Leaving directory '/usr/src/RPM/BUILD/powertop-2.13/src' make[3]: Entering directory '/usr/src/RPM/BUILD/powertop-2.13/src' i586-alt-linux-g++ -std=c++11 -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/share/locale\" -I/usr/include/libnl3 -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -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 -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -pthread -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c -o process/powertop-interrupt.o `test -f 'process/interrupt.cpp' || echo './'`process/interrupt.cpp In file included from /usr/include/string.h:508, from process/interrupt.cpp:26: In function 'char* strncpy(char*, const char*, size_t)', inlined from 'void pt_strcpy(char (&)[N], const char*) [with unsigned int N = 32]' at process/../lib.h:78:9, inlined from 'interrupt::interrupt(const char*, int)' at process/interrupt.cpp:52:11: /usr/include/bits/string_fortified.h:106:34: warning: 'char* __builtin_strncpy(char*, const char*, unsigned int)' specified bound 32 equals destination size [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/powertop-2.13/src' make[3]: Entering directory '/usr/src/RPM/BUILD/powertop-2.13/src' i586-alt-linux-g++ -std=c++11 -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/share/locale\" -I/usr/include/libnl3 -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -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 -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -pthread -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c -o parameters/powertop-persistent.o `test -f 'parameters/persistent.cpp' || echo './'`parameters/persistent.cpp make[3]: Leaving directory '/usr/src/RPM/BUILD/powertop-2.13/src' make[3]: Entering directory '/usr/src/RPM/BUILD/powertop-2.13/src' i586-alt-linux-g++ -std=c++11 -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/share/locale\" -I/usr/include/libnl3 -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -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 -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -pthread -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c -o process/powertop-processdevice.o `test -f 'process/processdevice.cpp' || echo './'`process/processdevice.cpp make[3]: Leaving directory '/usr/src/RPM/BUILD/powertop-2.13/src' make[3]: Entering directory '/usr/src/RPM/BUILD/powertop-2.13/src' i586-alt-linux-g++ -std=c++11 -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/share/locale\" -I/usr/include/libnl3 -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -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 -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -pthread -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c -o report/powertop-report-formatter-base.o `test -f 'report/report-formatter-base.cpp' || echo './'`report/report-formatter-base.cpp make[3]: Leaving directory '/usr/src/RPM/BUILD/powertop-2.13/src' make[3]: Entering directory '/usr/src/RPM/BUILD/powertop-2.13/src' i586-alt-linux-g++ -std=c++11 -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/share/locale\" -I/usr/include/libnl3 -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -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 -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -pthread -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c -o perf/powertop-perf_bundle.o `test -f 'perf/perf_bundle.cpp' || echo './'`perf/perf_bundle.cpp make[3]: Leaving directory '/usr/src/RPM/BUILD/powertop-2.13/src' make[3]: Entering directory '/usr/src/RPM/BUILD/powertop-2.13/src' i586-alt-linux-g++ -std=c++11 -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/share/locale\" -I/usr/include/libnl3 -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -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 -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -pthread -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c -o process/powertop-process.o `test -f 'process/process.cpp' || echo './'`process/process.cpp In file included from /usr/include/string.h:508, from process/process.cpp:29: In function 'char* strncpy(char*, const char*, size_t)', inlined from 'void pt_strcpy(char (&)[N], const char*) [with unsigned int N = 16]' at process/../lib.h:78:9, inlined from 'process::process(const char*, int, int)' at process/process.cpp:94:11: /usr/include/bits/string_fortified.h:106:34: warning: 'char* __builtin_strncpy(char*, const char*, unsigned int)' specified bound 16 equals destination size [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'char* strncpy(char*, const char*, size_t)', inlined from 'process::process(const char*, int, int)' at process/process.cpp:147:11: /usr/include/bits/string_fortified.h:106:34: warning: 'char* __builtin_strncpy(char*, const char*, unsigned int)' output may be truncated copying between 0 and 255 bytes from a string of length 4096 [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/powertop-2.13/src' make[3]: Entering directory '/usr/src/RPM/BUILD/powertop-2.13/src' i586-alt-linux-g++ -std=c++11 -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/share/locale\" -I/usr/include/libnl3 -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -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 -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -pthread -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c -o process/powertop-work.o `test -f 'process/work.cpp' || echo './'`process/work.cpp In file included from /usr/include/string.h:508, from process/work.cpp:29: In function 'char* strncpy(char*, const char*, size_t)', inlined from 'void pt_strcpy(char (&)[N], const char*) [with unsigned int N = 32]' at process/../lib.h:78:9, inlined from 'work::work(long unsigned int)' at process/work.cpp:41:11: /usr/include/bits/string_fortified.h:106:34: warning: 'char* __builtin_strncpy(char*, const char*, unsigned int)' specified bound 32 equals destination size [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/powertop-2.13/src' make[3]: Entering directory '/usr/src/RPM/BUILD/powertop-2.13/src' i586-alt-linux-g++ -std=c++11 -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/share/locale\" -I/usr/include/libnl3 -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -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 -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -pthread -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c -o report/powertop-report-data-html.o `test -f 'report/report-data-html.cpp' || echo './'`report/report-data-html.cpp make[3]: Leaving directory '/usr/src/RPM/BUILD/powertop-2.13/src' make[3]: Entering directory '/usr/src/RPM/BUILD/powertop-2.13/src' i586-alt-linux-g++ -std=c++11 -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/share/locale\" -I/usr/include/libnl3 -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -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 -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -pthread -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c -o parameters/powertop-parameters.o `test -f 'parameters/parameters.cpp' || echo './'`parameters/parameters.cpp parameters/parameters.cpp: In function 'int global_power_valid()': parameters/parameters.cpp:443:40: warning: format '%ld' expects argument of type 'long int', but argument 2 has type 'std::vector::size_type' {aka 'unsigned int'} [-Wformat=] 443 | printf("To show power estimates do %ld measurement(s) connected to battery only\n", | ~~^ | | | long int | %d 444 | (3 * all_parameters.parameters.size()) - past_results.size()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | std::vector::size_type {aka unsigned int} make[3]: Leaving directory '/usr/src/RPM/BUILD/powertop-2.13/src' make[3]: Entering directory '/usr/src/RPM/BUILD/powertop-2.13/src' i586-alt-linux-g++ -std=c++11 -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/share/locale\" -I/usr/include/libnl3 -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -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 -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -pthread -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c -o report/powertop-report-formatter-csv.o `test -f 'report/report-formatter-csv.cpp' || echo './'`report/report-formatter-csv.cpp make[3]: Leaving directory '/usr/src/RPM/BUILD/powertop-2.13/src' make[3]: Entering directory '/usr/src/RPM/BUILD/powertop-2.13/src' i586-alt-linux-g++ -std=c++11 -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/share/locale\" -I/usr/include/libnl3 -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -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 -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -pthread -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c -o report/powertop-report-formatter-html.o `test -f 'report/report-formatter-html.cpp' || echo './'`report/report-formatter-html.cpp make[3]: Leaving directory '/usr/src/RPM/BUILD/powertop-2.13/src' make[3]: Entering directory '/usr/src/RPM/BUILD/powertop-2.13/src' i586-alt-linux-g++ -std=c++11 -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/share/locale\" -I/usr/include/libnl3 -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -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 -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -pthread -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c -o process/powertop-timer.o `test -f 'process/timer.cpp' || echo './'`process/timer.cpp In file included from /usr/include/string.h:508, from process/timer.cpp:29: In function 'char* strncpy(char*, const char*, size_t)', inlined from 'void pt_strcpy(char (&)[N], const char*) [with unsigned int N = 32]' at process/../lib.h:78:9, inlined from 'timer::timer(long unsigned int)' at process/timer.cpp:64:11: /usr/include/bits/string_fortified.h:106:34: warning: 'char* __builtin_strncpy(char*, const char*, unsigned int)' specified bound 32 equals destination size [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'char* strncpy(char*, const char*, size_t)', inlined from 'void pt_strcpy(char (&)[N], const char*) [with unsigned int N = 32]' at process/../lib.h:78:9, inlined from 'timer::timer(long unsigned int)' at process/timer.cpp:64:11, inlined from 'timer* find_create_timer(uint64_t)' at process/timer.cpp:139:30: /usr/include/bits/string_fortified.h:106:34: warning: 'char* __builtin_strncpy(char*, const char*, unsigned int)' specified bound 32 equals destination size [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/powertop-2.13/src' make[3]: Entering directory '/usr/src/RPM/BUILD/powertop-2.13/src' i586-alt-linux-g++ -std=c++11 -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/share/locale\" -I/usr/include/libnl3 -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -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 -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -pthread -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c -o process/powertop-do_process.o `test -f 'process/do_process.cpp' || echo './'`process/do_process.cpp make[3]: Leaving directory '/usr/src/RPM/BUILD/powertop-2.13/src' make[3]: Entering directory '/usr/src/RPM/BUILD/powertop-2.13/src' i586-alt-linux-g++ -std=c++11 -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/share/locale\" -I/usr/include/libnl3 -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -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 -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -pthread -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c -o report/powertop-report-maker.o `test -f 'report/report-maker.cpp' || echo './'`report/report-maker.cpp make[3]: Leaving directory '/usr/src/RPM/BUILD/powertop-2.13/src' make[3]: Entering directory '/usr/src/RPM/BUILD/powertop-2.13/src' i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/share/locale\" -I/usr/include/libnl3 -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -pthread -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -pthread -c -o tuning/powertop-iw.o `test -f 'tuning/iw.c' || echo './'`tuning/iw.c make[3]: Leaving directory '/usr/src/RPM/BUILD/powertop-2.13/src' make[3]: Entering directory '/usr/src/RPM/BUILD/powertop-2.13/src' i586-alt-linux-g++ -std=c++11 -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/share/locale\" -I/usr/include/libnl3 -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -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 -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -pthread -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c -o tuning/powertop-bluetooth.o `test -f 'tuning/bluetooth.cpp' || echo './'`tuning/bluetooth.cpp make[3]: Leaving directory '/usr/src/RPM/BUILD/powertop-2.13/src' make[3]: Entering directory '/usr/src/RPM/BUILD/powertop-2.13/src' i586-alt-linux-g++ -std=c++11 -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/share/locale\" -I/usr/include/libnl3 -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -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 -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -pthread -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c -o tuning/powertop-ethernet.o `test -f 'tuning/ethernet.cpp' || echo './'`tuning/ethernet.cpp In file included from /usr/include/string.h:508, from /usr/include/c++/10/cstring:42, from tuning/../lib.h:31, from tuning/tunable.h:30, from tuning/ethernet.cpp:27: In function 'char* strncpy(char*, const char*, size_t)', inlined from 'void pt_strcpy(char (&)[N], const char*) [with unsigned int N = 4096]' at tuning/../lib.h:78:9, inlined from 'ethernet_tunable::ethernet_tunable(const char*)' at tuning/ethernet.cpp:53:11: /usr/include/bits/string_fortified.h:106:34: warning: 'char* __builtin_strncpy(char*, const char*, unsigned int)' specified bound 4096 equals destination size [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/powertop-2.13/src' make[3]: Entering directory '/usr/src/RPM/BUILD/powertop-2.13/src' i586-alt-linux-g++ -std=c++11 -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/share/locale\" -I/usr/include/libnl3 -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -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 -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -pthread -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c -o tuning/powertop-tunable.o `test -f 'tuning/tunable.cpp' || echo './'`tuning/tunable.cpp In file included from /usr/include/string.h:508, from /usr/include/c++/10/cstring:42, from tuning/../lib.h:31, from tuning/tunable.h:30, from tuning/tunable.cpp:27: In function 'char* strncpy(char*, const char*, size_t)', inlined from 'void pt_strcpy(char (&)[N], const char*) [with unsigned int N = 4096]' at tuning/../lib.h:78:9, inlined from 'tunable::tunable(const char*, double, const char*, const char*, const char*)' at tuning/tunable.cpp:38:11: /usr/include/bits/string_fortified.h:106:34: warning: 'char* __builtin_strncpy(char*, const char*, unsigned int)' specified bound 4096 equals destination size [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'char* strncpy(char*, const char*, size_t)', inlined from 'void pt_strcpy(char (&)[N], const char*) [with unsigned int N = 128]' at tuning/../lib.h:78:9, inlined from 'tunable::tunable(const char*, double, const char*, const char*, const char*)' at tuning/tunable.cpp:39:11: /usr/include/bits/string_fortified.h:106:34: warning: 'char* __builtin_strncpy(char*, const char*, unsigned int)' specified bound 128 equals destination size [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'char* strncpy(char*, const char*, size_t)', inlined from 'void pt_strcpy(char (&)[N], const char*) [with unsigned int N = 128]' at tuning/../lib.h:78:9, inlined from 'tunable::tunable(const char*, double, const char*, const char*, const char*)' at tuning/tunable.cpp:40:11: /usr/include/bits/string_fortified.h:106:34: warning: 'char* __builtin_strncpy(char*, const char*, unsigned int)' specified bound 128 equals destination size [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'char* strncpy(char*, const char*, size_t)', inlined from 'void pt_strcpy(char (&)[N], const char*) [with unsigned int N = 128]' at tuning/../lib.h:78:9, inlined from 'tunable::tunable(const char*, double, const char*, const char*, const char*)' at tuning/tunable.cpp:41:11: /usr/include/bits/string_fortified.h:106:34: warning: 'char* __builtin_strncpy(char*, const char*, unsigned int)' specified bound 128 equals destination size [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'char* strncpy(char*, const char*, size_t)', inlined from 'void pt_strcpy(char (&)[N], const char*) [with unsigned int N = 128]' at tuning/../lib.h:78:9, inlined from 'tunable::tunable()' at tuning/tunable.cpp:49:11: /usr/include/bits/string_fortified.h:106:34: warning: 'char* __builtin_strncpy(char*, const char*, unsigned int)' specified bound 128 equals destination size [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'char* strncpy(char*, const char*, size_t)', inlined from 'void pt_strcpy(char (&)[N], const char*) [with unsigned int N = 128]' at tuning/../lib.h:78:9, inlined from 'tunable::tunable()' at tuning/tunable.cpp:50:11: /usr/include/bits/string_fortified.h:106:34: warning: 'char* __builtin_strncpy(char*, const char*, unsigned int)' specified bound 128 equals destination size [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'char* strncpy(char*, const char*, size_t)', inlined from 'void pt_strcpy(char (&)[N], const char*) [with unsigned int N = 128]' at tuning/../lib.h:78:9, inlined from 'tunable::tunable()' at tuning/tunable.cpp:51:11: /usr/include/bits/string_fortified.h:106:34: warning: 'char* __builtin_strncpy(char*, const char*, unsigned int)' specified bound 128 equals destination size [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/powertop-2.13/src' make[3]: Entering directory '/usr/src/RPM/BUILD/powertop-2.13/src' i586-alt-linux-g++ -std=c++11 -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/share/locale\" -I/usr/include/libnl3 -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -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 -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -pthread -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c -o report/powertop-report.o `test -f 'report/report.cpp' || echo './'`report/report.cpp make[3]: Leaving directory '/usr/src/RPM/BUILD/powertop-2.13/src' make[3]: Entering directory '/usr/src/RPM/BUILD/powertop-2.13/src' i586-alt-linux-g++ -std=c++11 -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/share/locale\" -I/usr/include/libnl3 -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -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 -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -pthread -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c -o tuning/powertop-tuningi2c.o `test -f 'tuning/tuningi2c.cpp' || echo './'`tuning/tuningi2c.cpp tuning/tuningi2c.cpp: In constructor 'i2c_tunable::i2c_tunable(const char*, const char*, bool)': tuning/tuningi2c.cpp:61:61: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size 4081 [-Wformat-truncation=] 61 | snprintf(toggle_good, sizeof(toggle_good), "echo 'auto' > '%s';", i2c_path); | ^~ In file included from /usr/include/stdio.h:867, from /usr/include/c++/10/cstdio:42, from /usr/include/c++/10/ext/string_conversions.h:43, from /usr/include/c++/10/bits/basic_string.h:6545, from /usr/include/c++/10/string:55, from tuning/../lib.h:58, from tuning/tunable.h:30, from tuning/tuningi2c.cpp:21: /usr/include/bits/stdio2.h:67:35: note: '__builtin___snprintf_chk' output between 18 and 4113 bytes into a destination of size 4096 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 68 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tuning/tuningi2c.cpp:62:57: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size 4083 [-Wformat-truncation=] 62 | snprintf(toggle_bad, sizeof(toggle_bad), "echo 'on' > '%s';", i2c_path); | ^~ In file included from /usr/include/stdio.h:867, from /usr/include/c++/10/cstdio:42, from /usr/include/c++/10/ext/string_conversions.h:43, from /usr/include/c++/10/bits/basic_string.h:6545, from /usr/include/c++/10/string:55, from tuning/../lib.h:58, from tuning/tunable.h:30, from tuning/tuningi2c.cpp:21: /usr/include/bits/stdio2.h:67:35: note: '__builtin___snprintf_chk' output between 16 and 4111 bytes into a destination of size 4096 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 68 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/powertop-2.13/src' make[3]: Entering directory '/usr/src/RPM/BUILD/powertop-2.13/src' i586-alt-linux-g++ -std=c++11 -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/share/locale\" -I/usr/include/libnl3 -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -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 -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -pthread -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c -o tuning/powertop-tuningsysfs.o `test -f 'tuning/tuningsysfs.cpp' || echo './'`tuning/tuningsysfs.cpp In file included from /usr/include/string.h:508, from /usr/include/c++/10/cstring:42, from tuning/../lib.h:31, from tuning/tunable.h:30, from tuning/tuningsysfs.cpp:27: In function 'char* strncpy(char*, const char*, size_t)', inlined from 'void pt_strcpy(char (&)[N], const char*) [with unsigned int N = 4096]' at tuning/../lib.h:78:9, inlined from 'sysfs_tunable::sysfs_tunable(const char*, const char*, const char*)' at tuning/tuningsysfs.cpp:47:11: /usr/include/bits/string_fortified.h:106:34: warning: 'char* __builtin_strncpy(char*, const char*, unsigned int)' specified bound 4096 equals destination size [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'char* strncpy(char*, const char*, size_t)', inlined from 'void pt_strcpy(char (&)[N], const char*) [with unsigned int N = 4096]' at tuning/../lib.h:78:9, inlined from 'sysfs_tunable::sysfs_tunable(const char*, const char*, const char*)' at tuning/tuningsysfs.cpp:48:11: /usr/include/bits/string_fortified.h:106:34: warning: 'char* __builtin_strncpy(char*, const char*, unsigned int)' specified bound 4096 equals destination size [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tuning/tuningsysfs.cpp: In constructor 'sysfs_tunable::sysfs_tunable(const char*, const char*, const char*)': tuning/tuningsysfs.cpp:50:52: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size 4090 [-Wformat-truncation=] 50 | snprintf(toggle_good, sizeof(toggle_good), "echo '%s' > '%s';", target_value, sysfs_path); | ^~ In file included from /usr/include/stdio.h:867, from /usr/include/c++/10/cstdio:42, from /usr/include/c++/10/ext/string_conversions.h:43, from /usr/include/c++/10/bits/basic_string.h:6545, from /usr/include/c++/10/string:55, from tuning/../lib.h:58, from tuning/tunable.h:30, from tuning/tuningsysfs.cpp:27: /usr/include/bits/stdio2.h:67:35: note: '__builtin___snprintf_chk' output between 14 and 8204 bytes into a destination of size 4096 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 68 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tuning/tuningsysfs.cpp:51:50: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size 4090 [-Wformat-truncation=] 51 | snprintf(toggle_bad, sizeof(toggle_bad), "echo '%s' > '%s';", bad_value, sysfs_path); | ^~ In file included from /usr/include/stdio.h:867, from /usr/include/c++/10/cstdio:42, from /usr/include/c++/10/ext/string_conversions.h:43, from /usr/include/c++/10/bits/basic_string.h:6545, from /usr/include/c++/10/string:55, from tuning/../lib.h:58, from tuning/tunable.h:30, from tuning/tuningsysfs.cpp:27: /usr/include/bits/stdio2.h:67:35: note: '__builtin___snprintf_chk' output between 14 and 8204 bytes into a destination of size 4096 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 68 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/powertop-2.13/src' make[3]: Entering directory '/usr/src/RPM/BUILD/powertop-2.13/src' i586-alt-linux-g++ -std=c++11 -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/share/locale\" -I/usr/include/libnl3 -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -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 -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -pthread -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c -o tuning/powertop-wifi.o `test -f 'tuning/wifi.cpp' || echo './'`tuning/wifi.cpp In file included from /usr/include/string.h:508, from /usr/include/c++/10/cstring:42, from tuning/../lib.h:31, from tuning/tunable.h:30, from tuning/wifi.cpp:27: In function 'char* strncpy(char*, const char*, size_t)', inlined from 'void pt_strcpy(char (&)[N], const char*) [with unsigned int N = 4096]' at tuning/../lib.h:78:9, inlined from 'wifi_tunable::wifi_tunable(const char*)' at tuning/wifi.cpp:47:11: /usr/include/bits/string_fortified.h:106:34: warning: 'char* __builtin_strncpy(char*, const char*, unsigned int)' specified bound 4096 equals destination size [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tuning/wifi.cpp: In constructor 'wifi_tunable::wifi_tunable(const char*)': tuning/wifi.cpp:50:53: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size 4089 [-Wformat-truncation=] 50 | snprintf(toggle_good, sizeof(toggle_good), "iw dev %s set power_save on", iface); | ^~ In file included from /usr/include/stdio.h:867, from /usr/include/c++/10/cstdio:42, from /usr/include/c++/10/ext/string_conversions.h:43, from /usr/include/c++/10/bits/basic_string.h:6545, from /usr/include/c++/10/string:55, from tuning/../lib.h:58, from tuning/tunable.h:30, from tuning/wifi.cpp:27: /usr/include/bits/stdio2.h:67:35: note: '__builtin___snprintf_chk' output between 26 and 4121 bytes into a destination of size 4096 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 68 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tuning/wifi.cpp:51:51: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size 4089 [-Wformat-truncation=] 51 | snprintf(toggle_bad, sizeof(toggle_bad), "iw dev %s set power_save off", iface); | ^~ In file included from /usr/include/stdio.h:867, from /usr/include/c++/10/cstdio:42, from /usr/include/c++/10/ext/string_conversions.h:43, from /usr/include/c++/10/bits/basic_string.h:6545, from /usr/include/c++/10/string:55, from tuning/../lib.h:58, from tuning/tunable.h:30, from tuning/wifi.cpp:27: /usr/include/bits/stdio2.h:67:35: note: '__builtin___snprintf_chk' output between 27 and 4122 bytes into a destination of size 4096 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 68 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/powertop-2.13/src' make[3]: Entering directory '/usr/src/RPM/BUILD/powertop-2.13/src' i586-alt-linux-g++ -std=c++11 -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/share/locale\" -I/usr/include/libnl3 -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -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 -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -pthread -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c -o wakeup/powertop-wakeup.o `test -f 'wakeup/wakeup.cpp' || echo './'`wakeup/wakeup.cpp In file included from /usr/include/string.h:508, from wakeup/wakeup.cpp:26: In function 'char* strncpy(char*, const char*, size_t)', inlined from 'void pt_strcpy(char (&)[N], const char*) [with unsigned int N = 4096]' at wakeup/../lib.h:78:9, inlined from 'wakeup::wakeup(const char*, double, const char*, const char*)' at wakeup/wakeup.cpp:39:18: /usr/include/bits/string_fortified.h:106:34: warning: 'char* __builtin_strncpy(char*, const char*, unsigned int)' specified bound 4096 equals destination size [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'char* strncpy(char*, const char*, size_t)', inlined from 'void pt_strcpy(char (&)[N], const char*) [with unsigned int N = 128]' at wakeup/../lib.h:78:9, inlined from 'wakeup::wakeup(const char*, double, const char*, const char*)' at wakeup/wakeup.cpp:40:18: /usr/include/bits/string_fortified.h:106:34: warning: 'char* __builtin_strncpy(char*, const char*, unsigned int)' specified bound 128 equals destination size [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'char* strncpy(char*, const char*, size_t)', inlined from 'void pt_strcpy(char (&)[N], const char*) [with unsigned int N = 128]' at wakeup/../lib.h:78:9, inlined from 'wakeup::wakeup(const char*, double, const char*, const char*)' at wakeup/wakeup.cpp:41:18: /usr/include/bits/string_fortified.h:106:34: warning: 'char* __builtin_strncpy(char*, const char*, unsigned int)' specified bound 128 equals destination size [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'char* strncpy(char*, const char*, size_t)', inlined from 'void pt_strcpy(char (&)[N], const char*) [with unsigned int N = 128]' at wakeup/../lib.h:78:9, inlined from 'wakeup::wakeup()' at wakeup/wakeup.cpp:48:18: /usr/include/bits/string_fortified.h:106:34: warning: 'char* __builtin_strncpy(char*, const char*, unsigned int)' specified bound 128 equals destination size [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'char* strncpy(char*, const char*, size_t)', inlined from 'void pt_strcpy(char (&)[N], const char*) [with unsigned int N = 128]' at wakeup/../lib.h:78:9, inlined from 'wakeup::wakeup()' at wakeup/wakeup.cpp:49:18: /usr/include/bits/string_fortified.h:106:34: warning: 'char* __builtin_strncpy(char*, const char*, unsigned int)' specified bound 128 equals destination size [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'char* strncpy(char*, const char*, size_t)', inlined from 'void pt_strcpy(char (&)[N], const char*) [with unsigned int N = 128]' at wakeup/../lib.h:78:9, inlined from 'wakeup::wakeup()' at wakeup/wakeup.cpp:50:11: /usr/include/bits/string_fortified.h:106:34: warning: 'char* __builtin_strncpy(char*, const char*, unsigned int)' specified bound 128 equals destination size [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/powertop-2.13/src' make[3]: Entering directory '/usr/src/RPM/BUILD/powertop-2.13/src' i586-alt-linux-g++ -std=c++11 -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/share/locale\" -I/usr/include/libnl3 -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -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 -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -pthread -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -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:508, from wakeup/wakeup_ethernet.cpp:31: In function 'char* strncpy(char*, const char*, size_t)', inlined from 'void pt_strcpy(char (&)[N], const char*) [with unsigned int N = 4096]' at wakeup/../lib.h:78:9, inlined from 'ethernet_wakeup::ethernet_wakeup(const char*, const char*)' at wakeup/wakeup_ethernet.cpp:50:11: /usr/include/bits/string_fortified.h:106:34: warning: 'char* __builtin_strncpy(char*, const char*, unsigned int)' specified bound 4096 equals destination size [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ wakeup/wakeup_ethernet.cpp: In constructor 'ethernet_wakeup::ethernet_wakeup(const char*, const char*)': wakeup/wakeup_ethernet.cpp:53:68: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size 4078 [-Wformat-truncation=] 53 | snprintf(toggle_enable, sizeof(toggle_enable), "echo 'enabled' > '%s';", eth_path); | ^~ In file included from /usr/include/stdio.h:867, from wakeup/wakeup_ethernet.cpp:29: /usr/include/bits/stdio2.h:67:35: note: '__builtin___snprintf_chk' output between 21 and 4116 bytes into a destination of size 4096 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 68 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ wakeup/wakeup_ethernet.cpp:54:71: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size 4077 [-Wformat-truncation=] 54 | snprintf(toggle_disable, sizeof(toggle_disable), "echo 'disabled' > '%s';", eth_path); | ^~ In file included from /usr/include/stdio.h:867, from wakeup/wakeup_ethernet.cpp:29: /usr/include/bits/stdio2.h:67:35: note: '__builtin___snprintf_chk' output between 22 and 4117 bytes into a destination of size 4096 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 68 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/powertop-2.13/src' make[3]: Entering directory '/usr/src/RPM/BUILD/powertop-2.13/src' i586-alt-linux-g++ -std=c++11 -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/share/locale\" -I/usr/include/libnl3 -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -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 -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -pthread -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c -o tuning/powertop-runtime.o `test -f 'tuning/runtime.cpp' || echo './'`tuning/runtime.cpp tuning/runtime.cpp: In constructor 'runtime_tunable::runtime_tunable(const char*, const char*, const char*, const char*)': tuning/runtime.cpp:86:61: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size 4081 [-Wformat-truncation=] 86 | snprintf(toggle_good, sizeof(toggle_good), "echo 'auto' > '%s';", runtime_path); | ^~ In file included from /usr/include/stdio.h:867, from /usr/include/c++/10/cstdio:42, from /usr/include/c++/10/ext/string_conversions.h:43, from /usr/include/c++/10/bits/basic_string.h:6545, from /usr/include/c++/10/string:55, from tuning/../lib.h:58, from tuning/tunable.h:30, from tuning/runtime.cpp:27: /usr/include/bits/stdio2.h:67:35: note: '__builtin___snprintf_chk' output between 18 and 4113 bytes into a destination of size 4096 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 68 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tuning/runtime.cpp:87:57: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size 4083 [-Wformat-truncation=] 87 | snprintf(toggle_bad, sizeof(toggle_bad), "echo 'on' > '%s';", runtime_path); | ^~ In file included from /usr/include/stdio.h:867, from /usr/include/c++/10/cstdio:42, from /usr/include/c++/10/ext/string_conversions.h:43, from /usr/include/c++/10/bits/basic_string.h:6545, from /usr/include/c++/10/string:55, from tuning/../lib.h:58, from tuning/tunable.h:30, from tuning/runtime.cpp:27: /usr/include/bits/stdio2.h:67:35: note: '__builtin___snprintf_chk' output between 16 and 4111 bytes into a destination of size 4096 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 68 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tuning/runtime.cpp: In function 'void add_runtime_tunables(const char*)': tuning/runtime.cpp:166:65: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size between 3822 and 4077 [-Wformat-truncation=] 166 | snprintf(filename, sizeof(filename), "/sys/bus/%s/devices/%s/%s/power/control", bus, entry->d_name, port); | ^~ ~~~~ In file included from /usr/include/stdio.h:867, from /usr/include/c++/10/cstdio:42, from /usr/include/c++/10/ext/string_conversions.h:43, from /usr/include/c++/10/bits/basic_string.h:6545, from /usr/include/c++/10/string:55, from tuning/../lib.h:58, from tuning/tunable.h:30, from tuning/runtime.cpp:27: /usr/include/bits/stdio2.h:67:35: note: '__builtin___snprintf_chk' output 34 or more bytes (assuming 4384) into a destination of size 4096 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 68 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tuning/runtime.cpp:171:65: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size between 3822 and 4077 [-Wformat-truncation=] 171 | snprintf(filename, sizeof(filename), "/sys/bus/%s/devices/%s/%s", bus, entry->d_name, port); | ^~ ~~~~ In file included from /usr/include/stdio.h:867, from /usr/include/c++/10/cstdio:42, from /usr/include/c++/10/ext/string_conversions.h:43, from /usr/include/c++/10/bits/basic_string.h:6545, from /usr/include/c++/10/string:55, from tuning/../lib.h:58, from tuning/tunable.h:30, from tuning/runtime.cpp:27: /usr/include/bits/stdio2.h:67:35: note: '__builtin___snprintf_chk' output 20 or more bytes (assuming 4370) into a destination of size 4096 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 68 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tuning/runtime.cpp:192:53: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size 4085 [-Wformat-truncation=] 192 | snprintf(filename, sizeof(filename), "/sys/block/%s/device", port); | ^~ ~~~~ In file included from /usr/include/stdio.h:867, from /usr/include/c++/10/cstdio:42, from /usr/include/c++/10/ext/string_conversions.h:43, from /usr/include/c++/10/bits/basic_string.h:6545, from /usr/include/c++/10/string:55, from tuning/../lib.h:58, from tuning/tunable.h:30, from tuning/runtime.cpp:27: /usr/include/bits/stdio2.h:67:35: note: '__builtin___snprintf_chk' output between 19 and 4114 bytes into a destination of size 4096 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 68 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/powertop-2.13/src' make[3]: Entering directory '/usr/src/RPM/BUILD/powertop-2.13/src' i586-alt-linux-g++ -std=c++11 -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/share/locale\" -I/usr/include/libnl3 -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -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 -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -pthread -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c -o tuning/powertop-tuningusb.o `test -f 'tuning/tuningusb.cpp' || echo './'`tuning/tuningusb.cpp tuning/tuningusb.cpp: In constructor 'usb_tunable::usb_tunable(const char*, const char*)': tuning/tuningusb.cpp:77:61: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size 4081 [-Wformat-truncation=] 77 | snprintf(toggle_good, sizeof(toggle_good), "echo 'auto' > '%s';", usb_path); | ^~ In file included from /usr/include/stdio.h:867, from /usr/include/c++/10/cstdio:42, from /usr/include/c++/10/ext/string_conversions.h:43, from /usr/include/c++/10/bits/basic_string.h:6545, from /usr/include/c++/10/string:55, from tuning/../lib.h:58, from tuning/tunable.h:30, from tuning/tuningusb.cpp:27: /usr/include/bits/stdio2.h:67:35: note: '__builtin___snprintf_chk' output between 18 and 4113 bytes into a destination of size 4096 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 68 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tuning/tuningusb.cpp:78:57: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size 4083 [-Wformat-truncation=] 78 | snprintf(toggle_bad, sizeof(toggle_bad), "echo 'on' > '%s';", usb_path); | ^~ In file included from /usr/include/stdio.h:867, from /usr/include/c++/10/cstdio:42, from /usr/include/c++/10/ext/string_conversions.h:43, from /usr/include/c++/10/bits/basic_string.h:6545, from /usr/include/c++/10/string:55, from tuning/../lib.h:58, from tuning/tunable.h:30, from tuning/tuningusb.cpp:27: /usr/include/bits/stdio2.h:67:35: note: '__builtin___snprintf_chk' output between 16 and 4111 bytes into a destination of size 4096 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 68 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/powertop-2.13/src' make[3]: Entering directory '/usr/src/RPM/BUILD/powertop-2.13/src' i586-alt-linux-g++ -std=c++11 -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/share/locale\" -I/usr/include/libnl3 -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -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 -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -pthread -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c -o wakeup/powertop-waketab.o `test -f 'wakeup/waketab.cpp' || echo './'`wakeup/waketab.cpp make[3]: Leaving directory '/usr/src/RPM/BUILD/powertop-2.13/src' make[3]: Entering directory '/usr/src/RPM/BUILD/powertop-2.13/src' i586-alt-linux-g++ -std=c++11 -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/share/locale\" -I/usr/include/libnl3 -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -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 -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -pthread -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c -o wakeup/powertop-wakeup_usb.o `test -f 'wakeup/wakeup_usb.cpp' || echo './'`wakeup/wakeup_usb.cpp In file included from /usr/include/string.h:508, from wakeup/wakeup_usb.cpp:31: In function 'char* strncpy(char*, const char*, size_t)', inlined from 'void pt_strcpy(char (&)[N], const char*) [with unsigned int N = 4096]' at wakeup/../lib.h:78:9, inlined from 'usb_wakeup::usb_wakeup(const char*, const char*)' at wakeup/wakeup_usb.cpp:50:11: /usr/include/bits/string_fortified.h:106:34: warning: 'char* __builtin_strncpy(char*, const char*, unsigned int)' specified bound 4096 equals destination size [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ wakeup/wakeup_usb.cpp: In constructor 'usb_wakeup::usb_wakeup(const char*, const char*)': wakeup/wakeup_usb.cpp:53:68: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size 4078 [-Wformat-truncation=] 53 | snprintf(toggle_enable, sizeof(toggle_enable), "echo 'enabled' > '%s';", usb_path); | ^~ In file included from /usr/include/stdio.h:867, from wakeup/wakeup_usb.cpp:29: /usr/include/bits/stdio2.h:67:35: note: '__builtin___snprintf_chk' output between 21 and 4116 bytes into a destination of size 4096 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 68 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ wakeup/wakeup_usb.cpp:54:71: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size 4077 [-Wformat-truncation=] 54 | snprintf(toggle_disable, sizeof(toggle_disable), "echo 'disabled' > '%s';", usb_path); | ^~ In file included from /usr/include/stdio.h:867, from wakeup/wakeup_usb.cpp:29: /usr/include/bits/stdio2.h:67:35: note: '__builtin___snprintf_chk' output between 22 and 4117 bytes into a destination of size 4096 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 68 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/powertop-2.13/src' make[3]: Entering directory '/usr/src/RPM/BUILD/powertop-2.13/src' i586-alt-linux-g++ -std=c++11 -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/share/locale\" -I/usr/include/libnl3 -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -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 -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -pthread -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c -o tuning/powertop-tuning.o `test -f 'tuning/tuning.cpp' || echo './'`tuning/tuning.cpp make[3]: Leaving directory '/usr/src/RPM/BUILD/powertop-2.13/src' make[3]: Entering directory '/usr/src/RPM/BUILD/powertop-2.13/src' /bin/sh ../libtool --tag=CXX --mode=link i586-alt-linux-g++ -std=c++11 -Wall -Wformat -Wshadow -fno-omit-frame-pointer -fstack-protector -I/usr/include/libnl3 -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -pthread -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -lnl-genl-3 -lnl-3 -lncursesw -ltinfo -lncurses -ltinfo -lpci -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: i586-alt-linux-g++ -std=c++11 -Wall -Wformat -Wshadow -fno-omit-frame-pointer -fstack-protector -I/usr/include/libnl3 -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -pthread -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -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 '/usr/src/RPM/BUILD/powertop-2.13/src' Making all in 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 '/usr/src/RPM/BUILD/powertop-2.13/po' rm -f cs_CZ.gmo && /usr/bin/msgmerge --for-msgfmt -o cs_CZ.1po cs_CZ.po powertop.pot && /usr/bin/msgfmt -c --statistics --verbose -o cs_CZ.gmo cs_CZ.1po && rm -f cs_CZ.1po cs_CZ.1po: 109 translated messages. make[3]: Leaving directory '/usr/src/RPM/BUILD/powertop-2.13/po' make[3]: Entering directory '/usr/src/RPM/BUILD/powertop-2.13/po' rm -f en_GB.gmo && /usr/bin/msgmerge --for-msgfmt -o en_GB.1po en_GB.po powertop.pot && /usr/bin/msgfmt -c --statistics --verbose -o en_GB.gmo en_GB.1po && rm -f en_GB.1po en_GB.1po: 21 translated messages. make[3]: Leaving directory '/usr/src/RPM/BUILD/powertop-2.13/po' make[3]: Entering directory '/usr/src/RPM/BUILD/powertop-2.13/po' rm -f ca.gmo && /usr/bin/msgmerge --for-msgfmt -o ca.1po ca.po powertop.pot && /usr/bin/msgfmt -c --statistics --verbose -o ca.gmo ca.1po && rm -f ca.1po ca.1po: 64 translated messages. make[3]: Leaving directory '/usr/src/RPM/BUILD/powertop-2.13/po' make[3]: Entering directory '/usr/src/RPM/BUILD/powertop-2.13/po' rm -f de_DE.gmo && /usr/bin/msgmerge --for-msgfmt -o de_DE.1po de_DE.po powertop.pot && /usr/bin/msgfmt -c --statistics --verbose -o de_DE.gmo de_DE.1po && rm -f de_DE.1po de_DE.1po: 111 translated messages. make[3]: Leaving directory '/usr/src/RPM/BUILD/powertop-2.13/po' make[3]: Entering directory '/usr/src/RPM/BUILD/powertop-2.13/po' rm -f es_ES.gmo && /usr/bin/msgmerge --for-msgfmt -o es_ES.1po es_ES.po powertop.pot && /usr/bin/msgfmt -c --statistics --verbose -o es_ES.gmo es_ES.1po && rm -f es_ES.1po es_ES.1po: 65 translated messages. make[3]: Leaving directory '/usr/src/RPM/BUILD/powertop-2.13/po' make[3]: Entering directory '/usr/src/RPM/BUILD/powertop-2.13/po' rm -f zh_TW.gmo && /usr/bin/msgmerge --for-msgfmt -o zh_TW.1po zh_TW.po powertop.pot && /usr/bin/msgfmt -c --statistics --verbose -o zh_TW.gmo zh_TW.1po && rm -f zh_TW.1po zh_TW.1po: 110 translated messages. make[3]: Leaving directory '/usr/src/RPM/BUILD/powertop-2.13/po' make[3]: Entering directory '/usr/src/RPM/BUILD/powertop-2.13/po' rm -f hu_HU.gmo && /usr/bin/msgmerge --for-msgfmt -o hu_HU.1po hu_HU.po powertop.pot && /usr/bin/msgfmt -c --statistics --verbose -o hu_HU.gmo hu_HU.1po && rm -f hu_HU.1po hu_HU.1po: 104 translated messages. make[3]: Leaving directory '/usr/src/RPM/BUILD/powertop-2.13/po' make[3]: Entering directory '/usr/src/RPM/BUILD/powertop-2.13/po' rm -f id_ID.gmo && /usr/bin/msgmerge --for-msgfmt -o id_ID.1po id_ID.po powertop.pot && /usr/bin/msgfmt -c --statistics --verbose -o id_ID.gmo id_ID.1po && rm -f id_ID.1po id_ID.1po: 110 translated messages. make[3]: Leaving directory '/usr/src/RPM/BUILD/powertop-2.13/po' make[3]: Entering directory '/usr/src/RPM/BUILD/powertop-2.13/po' rm -f en_US.gmo && /usr/bin/msgmerge --for-msgfmt -o en_US.1po en_US.po powertop.pot && /usr/bin/msgfmt -c --statistics --verbose -o en_US.gmo en_US.1po && rm -f en_US.1po en_US.1po: 61 translated messages. make[3]: Leaving directory '/usr/src/RPM/BUILD/powertop-2.13/po' make[3]: Entering directory '/usr/src/RPM/BUILD/powertop-2.13/po' rm -f nl_NL.gmo && /usr/bin/msgmerge --for-msgfmt -o nl_NL.1po nl_NL.po powertop.pot && /usr/bin/msgfmt -c --statistics --verbose -o nl_NL.gmo nl_NL.1po && rm -f nl_NL.1po nl_NL.1po: 22 translated messages. make[3]: Leaving directory '/usr/src/RPM/BUILD/powertop-2.13/po' make[2]: Entering directory '/usr/src/RPM/BUILD/powertop-2.13/po' touch ./stamp-po make[2]: Leaving directory '/usr/src/RPM/BUILD/powertop-2.13/po' Making all in doc make[2]: Nothing to be done for 'all'. Making all in scripts/bash-completion make[2]: Nothing to be done for 'all'. + exit 0 Executing(%install): /bin/sh -e /usr/src/tmp/rpm-tmp.50082 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + /bin/chmod -Rf u+rwX -- /usr/src/tmp/powertop-buildroot + : + /bin/rm -rf -- /usr/src/tmp/powertop-buildroot + cd powertop-2.13 + make 'INSTALL=/bin/install -p' install DESTDIR=/usr/src/tmp/powertop-buildroot make: Entering directory '/usr/src/RPM/BUILD/powertop-2.13' Making install in traceevent make[1]: Entering directory '/usr/src/RPM/BUILD/powertop-2.13/traceevent' make[2]: Entering directory '/usr/src/RPM/BUILD/powertop-2.13/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 '/usr/src/RPM/BUILD/powertop-2.13/traceevent' make[1]: Leaving directory '/usr/src/RPM/BUILD/powertop-2.13/traceevent' Making install in src make[1]: Entering directory '/usr/src/RPM/BUILD/powertop-2.13/src' make install-am make[2]: Entering directory '/usr/src/RPM/BUILD/powertop-2.13/src' make[3]: Entering directory '/usr/src/RPM/BUILD/powertop-2.13/src' /bin/mkdir -p '/usr/src/tmp/powertop-buildroot/usr/sbin' /bin/sh ../libtool --mode=install /bin/install -p powertop '/usr/src/tmp/powertop-buildroot/usr/sbin' libtool: install: /bin/install -p powertop /usr/src/tmp/powertop-buildroot/usr/sbin/powertop make[3]: Nothing to be done for 'install-data-am'. make[3]: Leaving directory '/usr/src/RPM/BUILD/powertop-2.13/src' make[2]: Leaving directory '/usr/src/RPM/BUILD/powertop-2.13/src' make[1]: Leaving directory '/usr/src/RPM/BUILD/powertop-2.13/src' Making install in po make[1]: Entering directory '/usr/src/RPM/BUILD/powertop-2.13/po' installing ca.gmo as /usr/src/tmp/powertop-buildroot/usr/share/locale/ca/LC_MESSAGES/powertop.mo installing cs_CZ.gmo as /usr/src/tmp/powertop-buildroot/usr/share/locale/cs_CZ/LC_MESSAGES/powertop.mo installing de_DE.gmo as /usr/src/tmp/powertop-buildroot/usr/share/locale/de_DE/LC_MESSAGES/powertop.mo installing en_GB.gmo as /usr/src/tmp/powertop-buildroot/usr/share/locale/en_GB/LC_MESSAGES/powertop.mo installing en_US.gmo as /usr/src/tmp/powertop-buildroot/usr/share/locale/en_US/LC_MESSAGES/powertop.mo installing es_ES.gmo as /usr/src/tmp/powertop-buildroot/usr/share/locale/es_ES/LC_MESSAGES/powertop.mo installing hu_HU.gmo as /usr/src/tmp/powertop-buildroot/usr/share/locale/hu_HU/LC_MESSAGES/powertop.mo installing id_ID.gmo as /usr/src/tmp/powertop-buildroot/usr/share/locale/id_ID/LC_MESSAGES/powertop.mo installing nl_NL.gmo as /usr/src/tmp/powertop-buildroot/usr/share/locale/nl_NL/LC_MESSAGES/powertop.mo installing zh_TW.gmo as /usr/src/tmp/powertop-buildroot/usr/share/locale/zh_TW/LC_MESSAGES/powertop.mo if test "powertop" = "gettext-tools"; then \ /bin/mkdir -p /usr/src/tmp/powertop-buildroot/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 \ /bin/install -p -m 644 ./$file \ /usr/src/tmp/powertop-buildroot/usr/share/gettext/po/$file; \ done; \ for file in Makevars; do \ rm -f /usr/src/tmp/powertop-buildroot/usr/share/gettext/po/$file; \ done; \ else \ : ; \ fi make[1]: Leaving directory '/usr/src/RPM/BUILD/powertop-2.13/po' Making install in doc make[1]: Entering directory '/usr/src/RPM/BUILD/powertop-2.13/doc' make[2]: Entering directory '/usr/src/RPM/BUILD/powertop-2.13/doc' make[2]: Nothing to be done for 'install-exec-am'. /bin/mkdir -p '/usr/src/tmp/powertop-buildroot/usr/share/man/man8' /bin/install -p -m 644 powertop.8 '/usr/src/tmp/powertop-buildroot/usr/share/man/man8' make[2]: Leaving directory '/usr/src/RPM/BUILD/powertop-2.13/doc' make[1]: Leaving directory '/usr/src/RPM/BUILD/powertop-2.13/doc' Making install in scripts/bash-completion make[1]: Entering directory '/usr/src/RPM/BUILD/powertop-2.13/scripts/bash-completion' make[2]: Entering directory '/usr/src/RPM/BUILD/powertop-2.13/scripts/bash-completion' make[2]: Nothing to be done for 'install-exec-am'. /bin/mkdir -p '/usr/src/tmp/powertop-buildroot/usr/share/bash-completion/completions' /bin/install -p -m 644 powertop '/usr/src/tmp/powertop-buildroot/usr/share/bash-completion/completions' make[2]: Leaving directory '/usr/src/RPM/BUILD/powertop-2.13/scripts/bash-completion' make[1]: Leaving directory '/usr/src/RPM/BUILD/powertop-2.13/scripts/bash-completion' make[1]: Entering directory '/usr/src/RPM/BUILD/powertop-2.13' make[2]: Entering directory '/usr/src/RPM/BUILD/powertop-2.13' make[2]: Nothing to be done for 'install-exec-am'. make[2]: Nothing to be done for 'install-data-am'. make[2]: Leaving directory '/usr/src/RPM/BUILD/powertop-2.13' make[1]: Leaving directory '/usr/src/RPM/BUILD/powertop-2.13' make: Leaving directory '/usr/src/RPM/BUILD/powertop-2.13' + /usr/lib/rpm/find-lang powertop + install -d /usr/src/tmp/powertop-buildroot/var/cache/powertop + touch /usr/src/tmp/powertop-buildroot/var/cache/powertop/saved_parameters.powertop /usr/src/tmp/powertop-buildroot/var/cache/powertop/saved_results.powertop + install -pDm644 /usr/src/RPM/SOURCES/powertop.service /usr/src/tmp/powertop-buildroot/lib/systemd/system/powertop.service + install -pDm755 /usr/src/RPM/SOURCES/powertop.init /usr/src/tmp/powertop-buildroot/etc/rc.d/init.d/powertop + /usr/lib/rpm/brp-alt Cleaning files in /usr/src/tmp/powertop-buildroot (auto) Verifying and fixing files in /usr/src/tmp/powertop-buildroot (binconfig,pkgconfig,libtool,desktop) Checking contents of files in /usr/src/tmp/powertop-buildroot/ (default) Compressing files in /usr/src/tmp/powertop-buildroot (auto) Adjusting library links in /usr/src/tmp/powertop-buildroot ./lib: Verifying ELF objects in /usr/src/tmp/powertop-buildroot (arch=normal,fhs=normal,lfs=relaxed,lint=relaxed,rpath=normal,stack=normal,textrel=normal,unresolved=normal) verify-elf: WARNING: ./usr/sbin/powertop: uses non-LFS functions: __xstat fcntl fopen freopen glob globfree lseek mkstemp mmap open pread pwrite readdir setrlimit statfs Hardlinking identical .pyc and .pyo files Processing files: powertop-2.13-alt1 Executing(%doc): /bin/sh -e /usr/src/tmp/rpm-tmp.57403 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd powertop-2.13 + DOCDIR=/usr/src/tmp/powertop-buildroot/usr/share/doc/powertop-2.13 + export DOCDIR + rm -rf /usr/src/tmp/powertop-buildroot/usr/share/doc/powertop-2.13 + /bin/mkdir -p /usr/src/tmp/powertop-buildroot/usr/share/doc/powertop-2.13 + cp -prL README.md /usr/src/tmp/powertop-buildroot/usr/share/doc/powertop-2.13 + chmod -R go-w /usr/src/tmp/powertop-buildroot/usr/share/doc/powertop-2.13 + chmod -R a+rX /usr/src/tmp/powertop-buildroot/usr/share/doc/powertop-2.13 + exit 0 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.HIEi2C find-provides: running scripts (debuginfo,lib,pam,perl,pkgconfig,python,shell) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.BRf3TA find-requires: running scripts (cpp,debuginfo,files,lib,pam,perl,pkgconfig,pkgconfiglib,python,rpmlib,shebang,shell,static,symlinks,systemd-services) shebang.req.files: executable script /usr/src/tmp/powertop-buildroot/usr/share/bash-completion/completions/powertop is not executable find-requires: FINDPACKAGE-COMMANDS: _filedir _init_completion Finding Requires(post) (using /usr/lib/rpm/find-scriptlet-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.HGzxtB find-scriptlet-requires: FINDPACKAGE-COMMANDS: touch Finding Requires(preun) (using /usr/lib/rpm/find-scriptlet-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.bpJ2dE Requires: /bin/sh, /etc/rc.d/init.d, /etc/rc.d/init.d(msg_usage), /etc/rc.d/init.d(start_daemon), /etc/rc.d/init.d/functions, /lib/ld-linux.so.2, libc.so.6(GLIBC_2.0), libc.so.6(GLIBC_2.1), libc.so.6(GLIBC_2.1.1), libc.so.6(GLIBC_2.1.3), libc.so.6(GLIBC_2.15), libc.so.6(GLIBC_2.17), libc.so.6(GLIBC_2.2), libc.so.6(GLIBC_2.27), libc.so.6(GLIBC_2.28), libc.so.6(GLIBC_2.3), libc.so.6(GLIBC_2.3.4), libc.so.6(GLIBC_2.4), libc.so.6(GLIBC_2.7), libc.so.6(GLIBC_2.8), libgcc_s.so.1(GCC_3.0), libgcc_s.so.1(GLIBC_2.0), libm.so.6(GLIBC_2.0), libm.so.6(GLIBC_2.29), libncursesw.so.5 >= set:mhWiBzDlR0BkeGEqIQJJgVwscuGWtRG19noj0TDjuEm8UtYknu8C5e6phn1, libnl-3.so.200 >= set:mhIv6GaeYZyZbIjKykC1dC1JZ2FKOnak0dbmuXDpTUKjYul, libnl-3.so.200(libnl_3), libnl-genl-3.so.200 >= set:jfZz1nzEbi28H6FTBtu5v1, libnl-genl-3.so.200(libnl_3), libpci.so.3 >= set:jgZLdI5T7PZrh, libpci.so.3(LIBPCI_3.0), libpci.so.3(LIBPCI_3.5), libpthread.so.0(GLIBC_2.0), libpthread.so.0(GLIBC_2.1), libpthread.so.0(GLIBC_2.2), libstdc++.so.6(CXXABI_1.3), libstdc++.so.6(GLIBCXX_3.4), libstdc++.so.6(GLIBCXX_3.4.11), libstdc++.so.6(GLIBCXX_3.4.20), libstdc++.so.6(GLIBCXX_3.4.21), libstdc++.so.6(GLIBCXX_3.4.9), libtinfo.so.5 >= set:lhZKHDmtvpPv79OpRuA4dQTo, rtld(GNU_HASH) Requires(interp): /bin/sh Requires(rpmlib): rpmlib(SetVersions) Requires(post): /bin/sh, /usr/sbin/post_service, coreutils Requires(preun): /bin/sh, /usr/sbin/preun_service Finding debuginfo files (using /usr/lib/rpm/find-debuginfo-files) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.h2T0zE Creating powertop-debuginfo package Processing files: powertop-debuginfo-2.13-alt1 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.nCgINA find-provides: running scripts (debuginfo) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.Wsmk1B find-requires: running scripts (debuginfo) Requires: powertop = 1:2.13-alt1, /usr/lib/debug/lib/ld-linux.so.2.debug, debug(libc.so.6), debug(libgcc_s.so.1), debug(libm.so.6), debug(libncursesw.so.5), debug(libnl-3.so.200), debug(libnl-genl-3.so.200), debug(libpci.so.3), debug(libpthread.so.0), debug(libstdc++.so.6), debug(libtinfo.so.5) Adding to powertop-debuginfo a strict dependency on powertop Wrote: /usr/src/RPM/RPMS/i586/powertop-2.13-alt1.i586.rpm Wrote: /usr/src/RPM/RPMS/i586/powertop-debuginfo-2.13-alt1.i586.rpm 74.88user 7.09system 0:52.21elapsed 157%CPU (0avgtext+0avgdata 99892maxresident)k 0inputs+0outputs (0major+2869974minor)pagefaults 0swaps 79.84user 9.74system 1:00.30elapsed 148%CPU (0avgtext+0avgdata 107900maxresident)k 64inputs+0outputs (0major+3179109minor)pagefaults 0swaps