request from: hawk checking if we should skip the build started at: Sun Dec 15 23:41:26 2019 fetching http://src.tld-linux.org/~builderti//srpms/7502395c-2b21-47b8-a842-6daf74f30f94/powertop-2.11-1.src.rpm fetched 314698 bytes, 3873.3 K/s installing srpm: powertop-2.11-1.src.rpm + install -d /tmp/B.uLdWPO/BUILD /tmp/B.uLdWPO/RPMS + LC_ALL=en_US.UTF-8 + rpm -qp --changelog powertop-2.11-1.src.rpm * Sun Dec 15 2019 TLD Linux - For complete changelog see: http://git.tld-linux.org/?p=packages/powertop.git;a=log;h=master * Mon Dec 02 2019 Jan Palus 3ef6f5b - up to 2.11 + rpm -Uhv --nodeps --define '_topdir /tmp/B.uLdWPO' --define '_specdir %{_topdir}' --define '_sourcedir %{_specdir}' --define '_rpmdir %{_topdir}/RPMS' --define '_builddir %{_topdir}/BUILD' powertop-2.11-1.src.rpm powertop ################################################## + rm -f powertop-2.11-1.src.rpm + install -m 700 -d /tmp/B.uLdWPO/BUILD/tmp + TMPDIR=/tmp/B.uLdWPO/BUILD/tmp + exec nice -n 19 rpmbuild -bp --short-circuit --nodeps --define '_topdir /tmp/B.uLdWPO' --define '_specdir %{_topdir}' --define '_sourcedir %{_specdir}' --define '_rpmdir %{_topdir}/RPMS' --define '_builddir %{_topdir}/BUILD' --target i686-tld-linux --define 'prep exit 0' /tmp/B.uLdWPO/powertop.spec Building target platforms: i686-tld-linux checking BuildConflict-ing packages no BuildConflicts found checking BR rpm: Building target platforms: i686-tld-linux no BR needed building RPM using: set -ex; : build-id: 7502395c-2b21-47b8-a842-6daf74f30f94; TMPDIR=/tmp/B.uLdWPO/BUILD/tmp exec nice -n 19 rpmbuild -bb --define '_smp_mflags -j4' --define '_tld_builder 1' --define '_topdir /tmp/B.uLdWPO' --define '_specdir %{_topdir}' --define '_sourcedir %{_specdir}' --define '_rpmdir %{_topdir}/RPMS' --define '_builddir %{_topdir}/BUILD' --target i686-tld-linux /tmp/B.uLdWPO/powertop.spec + : build-id: 7502395c-2b21-47b8-a842-6daf74f30f94 + TMPDIR=/tmp/B.uLdWPO/BUILD/tmp + exec nice -n 19 rpmbuild -bb --define '_smp_mflags -j4' --define '_tld_builder 1' --define '_topdir /tmp/B.uLdWPO' --define '_specdir %{_topdir}' --define '_sourcedir %{_specdir}' --define '_rpmdir %{_topdir}/RPMS' --define '_builddir %{_topdir}/BUILD' --target i686-tld-linux /tmp/B.uLdWPO/powertop.spec Building target platforms: i686-tld-linux Executing(%prep): env -i TMP=/home/users/builder/tmp HOME=/home/users/builder PATH=/usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin:/home/users/builder/bin TMPDIR=/tmp/B.uLdWPO/BUILD/tmp /bin/sh -e /tmp/B.uLdWPO/BUILD/tmp/rpm-tmp.44585 + umask 022 + cd /tmp/B.uLdWPO/BUILD + cd /tmp/B.uLdWPO/BUILD + rm -rf powertop-2.11 + /usr/bin/gzip -dc /tmp/B.uLdWPO/powertop-2.11.tar.gz + /bin/tar -xf - + STATUS=0 + '[' 0 -ne 0 ']' + cd powertop-2.11 + /bin/id -u + '[' 10001 '=' 0 ']' + true . + /bin/chmod -Rf -Rf a+rX,u+w,g-w,o-w . + >version-long + echo v2.11 + >version-short + echo '"v2.11"' + exit 0 Executing(%build): env -i TMP=/home/users/builder/tmp HOME=/home/users/builder PATH=/usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin:/home/users/builder/bin TMPDIR=/tmp/B.uLdWPO/BUILD/tmp /bin/sh -e /tmp/B.uLdWPO/BUILD/tmp/rpm-tmp.44585 TMP=/home/users/builder/tmp HOME=/home/users/builder PATH=/usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin:/home/users/builder/bin TMPDIR=/tmp/B.uLdWPO/BUILD/tmp + umask 022 + cd /tmp/B.uLdWPO/BUILD + cd powertop-2.11 + grep -qs 'AM_GNU_GETTEXT.*external' configure.ac configure.in + gettextize --copy --force --no-changelog Copying file ABOUT-NLS Copying file config.rpath Not copying intl/ directory. Copying file po/Makefile.in.in 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 Copying file m4/gettext.m4 Copying file m4/iconv.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 Updating Makefile.am (backup is in Makefile.am~) Updating configure.ac (backup is in configure.ac~) Please update po/Makevars so that it defines all the variables mentioned in po/Makevars.template. You can then remove po/Makevars.template. Please run 'aclocal -I m4' to regenerate the aclocal.m4 file. You need aclocal from GNU automake 1.9 (or newer) to do this. Then run 'autoconf' to regenerate the configure file. You will also need config.guess and config.sub, which you can get from the CVS of the 'config' project at http://savannah.gnu.org/. The commands to fetch them are $ wget 'http://savannah.gnu.org/cgi-bin/viewcvs/*checkout*/config/config/config.guess' $ wget 'http://savannah.gnu.org/cgi-bin/viewcvs/*checkout*/config/config/config.sub' You might also want to copy the convenience header file gettext.h from the /usr/share/gettext directory into your package. It is a wrapper around that implements the configure --disable-nls option. + '[' ! -f po/Makevars ']' + libtoolize --copy --force --install libtoolize: putting auxiliary files in '.'. libtoolize: copying file './config.guess' libtoolize: copying file './config.sub' libtoolize: copying file './install-sh' libtoolize: copying file './ltmain.sh' libtoolize: putting macros in AC_CONFIG_MACRO_DIRS, 'm4'. libtoolize: copying file 'm4/libtool.m4' libtoolize: copying file 'm4/ltoptions.m4' libtoolize: copying file 'm4/ltsugar.m4' libtoolize: copying file 'm4/ltversion.m4' libtoolize: copying file 'm4/lt~obsolete.m4' + aclocal -I m4 + autoconf + autoheader + automake -a -c -f --foreign configure.ac:32: installing './ar-lib' configure.ac:29: installing './compile' configure.ac:7: installing './missing' src/Makefile.am: installing './depcomp' + ./configure 'LDFLAGS=-Wl,--as-needed -Wl,--no-copy-dt-needed-entries -Wl,-z,relro -Wl,-z,combreloc ' 'CFLAGS=-O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 ' 'CXXFLAGS=-O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 ' 'FFLAGS=-O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 ' 'FCFLAGS=-O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 ' 'CPPFLAGS=' 'CC=i686-tld-linux-gcc' 'CXX=i686-tld-linux-g++' '--host=i686-tld-linux' '--build=i686-tld-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' '--sharedstatedir=/var/lib' '--mandir=/usr/share/man' '--infodir=/usr/share/info' '--x-libraries=/usr/lib' 'CPPFLAGS= -I/usr/include/ncurses' --disable-silent-rules checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /bin/mkdir -p checking for mawk... mawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking whether make supports the include directive... yes (GNU style) checking 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 i686-tld-linux-g++ accepts -g... yes checking dependency style of i686-tld-linux-g++... gcc3 checking how to run the C++ preprocessor... i686-tld-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 i686-tld-linux-gcc... i686-tld-linux-gcc checking whether we are using the GNU C compiler... yes checking whether i686-tld-linux-gcc accepts -g... yes checking for i686-tld-linux-gcc option to accept ISO C89... none needed checking whether i686-tld-linux-gcc understands -c and -o together... yes checking dependency style of i686-tld-linux-gcc... gcc3 checking build system type... i686-tld-linux-gnu checking host system type... i686-tld-linux-gnu checking for ld used by i686-tld-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 for CFPreferencesCopyAppValue... no checking for CFLocaleCopyCurrent... no checking for GNU gettext in libc... yes checking whether to use NLS... yes checking where the gettext function comes from... libc checking for i686-tld-linux-ar... no checking for i686-tld-linux-lib... no checking for i686-tld-linux-link... no checking for ar... ar checking the archiver (ar) interface... ar checking how to run the C preprocessor... i686-tld-linux-gcc -E checking whether we are using the GNU C++ compiler... (cached) yes checking whether i686-tld-linux-g++ accepts -g... (cached) yes checking dependency style of i686-tld-linux-g++... (cached) gcc3 checking how to print strings... print -r checking for a sed that does not truncate output... (cached) /bin/sed checking for fgrep... /bin/grep -F checking for ld used by i686-tld-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 i686-tld-linux-gnu file names to i686-tld-linux-gnu format... func_convert_file_noop checking how to convert i686-tld-linux-gnu file names to toolchain format... func_convert_file_noop checking for /usr/bin/ld option to reload object files... -r checking for i686-tld-linux-objdump... no checking for objdump... objdump checking how to recognize dependent libraries... pass_all checking for i686-tld-linux-dlltool... no checking for dlltool... no checking how to associate runtime and link libraries... print -r -- checking for i686-tld-linux-ar... ar checking for archiver @FILE support... @ checking for i686-tld-linux-strip... no checking for strip... strip checking for i686-tld-linux-ranlib... no checking for ranlib... ranlib checking command to parse /usr/bin/nm -B output from i686-tld-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 i686-tld-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 i686-tld-linux-gcc supports -fno-rtti -fno-exceptions... no checking for i686-tld-linux-gcc option to produce PIC... -fPIC -DPIC checking if i686-tld-linux-gcc PIC flag -fPIC -DPIC works... yes checking if i686-tld-linux-gcc static flag -static works... yes checking if i686-tld-linux-gcc supports -c -o file.o... yes checking if i686-tld-linux-gcc supports -c -o file.o... (cached) yes checking whether the i686-tld-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... i686-tld-linux-g++ -E checking for ld used by i686-tld-linux-g++... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking whether the i686-tld-linux-g++ linker (/usr/bin/ld) supports shared libraries... yes checking for i686-tld-linux-g++ option to produce PIC... -fPIC -DPIC checking if i686-tld-linux-g++ PIC flag -fPIC -DPIC works... yes checking if i686-tld-linux-g++ static flag -static works... yes checking if i686-tld-linux-g++ supports -c -o file.o... yes checking if i686-tld-linux-g++ supports -c -o file.o... (cached) yes checking whether the i686-tld-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 i686-tld-linux-gcc... (cached) i686-tld-linux-gcc checking whether we are using the GNU C compiler... (cached) yes checking whether i686-tld-linux-gcc accepts -g... (cached) yes checking for i686-tld-linux-gcc option to accept ISO C89... (cached) none needed checking whether i686-tld-linux-gcc understands -c and -o together... (cached) yes checking dependency style of i686-tld-linux-gcc... (cached) gcc3 checking for FORTIFY_SOURCE support... checking whether i686-tld-linux-g++ supports C++11 features by default... yes checking if compiler needs -Werror to reject unknown flags... no checking for the pthreads library -lpthreads... no checking whether pthreads work without any flags... no checking whether pthreads work with -Kthread... no checking whether pthreads work with -kthread... no checking for the pthreads library -llthread... no checking whether pthreads work with -pthread... yes checking for joinable pthread attribute... PTHREAD_CREATE_JOINABLE checking if more special flags are required for pthreads... no checking for PTHREAD_PRIO_INHERIT... yes checking fcntl.h usability... yes checking fcntl.h presence... yes checking for fcntl.h... yes checking libintl.h usability... yes checking libintl.h presence... yes checking for libintl.h... yes checking limits.h usability... yes checking limits.h presence... yes checking for limits.h... yes checking locale.h usability... yes checking locale.h presence... yes checking for locale.h... yes checking malloc.h usability... yes checking malloc.h presence... yes checking for malloc.h... yes checking ncurses.h usability... yes checking ncurses.h presence... yes checking for ncurses.h... yes checking for stdint.h... (cached) yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking sys/ioctl.h usability... yes checking sys/ioctl.h presence... yes checking for sys/ioctl.h... yes checking sys/socket.h usability... yes checking sys/socket.h presence... yes checking for sys/socket.h... yes checking sys/statfs.h usability... yes checking sys/statfs.h presence... yes checking for sys/statfs.h... yes checking sys/time.h usability... yes checking sys/time.h presence... yes checking for sys/time.h... yes checking termios.h usability... yes checking termios.h presence... yes checking for termios.h... yes checking for unistd.h... (cached) yes checking for stdbool.h that conforms to C99... no checking for _Bool... no checking for inline... inline checking for int64_t... yes checking for pid_t... yes checking for size_t... yes checking for ssize_t... yes checking for uint16_t... yes checking for uint32_t... yes checking for uint64_t... yes checking for stdlib.h... (cached) yes checking for GNU libc compatible malloc... yes checking for stdlib.h... (cached) yes checking for unistd.h... (cached) yes checking for sys/param.h... yes checking for getpagesize... yes checking for working mmap... yes checking for stdlib.h... (cached) yes checking for GNU libc compatible realloc... yes checking for working strtod... yes checking for fdatasync... yes checking for getpagesize... (cached) yes checking for gettimeofday... yes checking for memmove... yes checking for memset... yes checking for mkdir... yes checking for munmap... yes checking for pow... yes checking for realpath... yes checking for regcomp... yes checking for select... yes checking for setlocale... yes checking for socket... yes checking for sqrt... yes checking for strcasecmp... yes checking for strchr... yes checking for strdup... yes checking for strerror... yes checking for strncasecmp... yes checking for strstr... yes checking for strtoul... yes checking for strtoull... yes checking for library containing clock_gettime... none required checking for i686-tld-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 + /usr/bin/make -j4 /usr/bin/make all-recursive make[1]: Entering directory '/tmp/B.uLdWPO/BUILD/powertop-2.11' Making all in traceevent make[2]: Entering directory '/tmp/B.uLdWPO/BUILD/powertop-2.11/traceevent' /bin/sh ../libtool --tag=CC --mode=compile i686-tld-linux-gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/ncurses -O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -pthread -MT event-parse.lo -MD -MP -MF .deps/event-parse.Tpo -c -o event-parse.lo event-parse.c /bin/sh ../libtool --tag=CC --mode=compile i686-tld-linux-gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/ncurses -O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -pthread -MT parse-filter.lo -MD -MP -MF .deps/parse-filter.Tpo -c -o parse-filter.lo parse-filter.c /bin/sh ../libtool --tag=CC --mode=compile i686-tld-linux-gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/ncurses -O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -pthread -MT parse-utils.lo -MD -MP -MF .deps/parse-utils.Tpo -c -o parse-utils.lo parse-utils.c /bin/sh ../libtool --tag=CC --mode=compile i686-tld-linux-gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/ncurses -O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -pthread -MT trace-seq.lo -MD -MP -MF .deps/trace-seq.Tpo -c -o trace-seq.lo trace-seq.c libtool: compile: i686-tld-linux-gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/ncurses -O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -pthread -MT trace-seq.lo -MD -MP -MF .deps/trace-seq.Tpo -c trace-seq.c -fPIC -DPIC -o .libs/trace-seq.o libtool: compile: i686-tld-linux-gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/ncurses -O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -pthread -MT event-parse.lo -MD -MP -MF .deps/event-parse.Tpo -c event-parse.c -fPIC -DPIC -o .libs/event-parse.o libtool: compile: i686-tld-linux-gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/ncurses -O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -pthread -MT parse-utils.lo -MD -MP -MF .deps/parse-utils.Tpo -c parse-utils.c -fPIC -DPIC -o .libs/parse-utils.o libtool: compile: i686-tld-linux-gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/ncurses -O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -pthread -MT parse-filter.lo -MD -MP -MF .deps/parse-filter.Tpo -c parse-filter.c -fPIC -DPIC -o .libs/parse-filter.o libtool: compile: i686-tld-linux-gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/ncurses -O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -pthread -MT trace-seq.lo -MD -MP -MF .deps/trace-seq.Tpo -c trace-seq.c -o trace-seq.o >/dev/null 2>&1 libtool: compile: i686-tld-linux-gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/ncurses -O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -pthread -MT parse-utils.lo -MD -MP -MF .deps/parse-utils.Tpo -c parse-utils.c -o parse-utils.o >/dev/null 2>&1 mv -f .deps/trace-seq.Tpo .deps/trace-seq.Plo mv -f .deps/parse-utils.Tpo .deps/parse-utils.Plo libtool: compile: i686-tld-linux-gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/ncurses -O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -pthread -MT parse-filter.lo -MD -MP -MF .deps/parse-filter.Tpo -c parse-filter.c -o parse-filter.o >/dev/null 2>&1 mv -f .deps/parse-filter.Tpo .deps/parse-filter.Plo libtool: compile: i686-tld-linux-gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/ncurses -O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -pthread -MT event-parse.lo -MD -MP -MF .deps/event-parse.Tpo -c event-parse.c -o event-parse.o >/dev/null 2>&1 mv -f .deps/event-parse.Tpo .deps/event-parse.Plo /bin/sh ../libtool --tag=CC --mode=link i686-tld-linux-gcc -O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -pthread -Wl,--as-needed -Wl,--no-copy-dt-needed-entries -Wl,-z,relro -Wl,-z,combreloc -o libtraceevnet.la event-parse.lo parse-filter.lo parse-utils.lo trace-seq.lo libtool: link: ar cru .libs/libtraceevnet.a .libs/event-parse.o .libs/parse-filter.o .libs/parse-utils.o .libs/trace-seq.o libtool: link: ranlib .libs/libtraceevnet.a libtool: link: ( cd ".libs" && rm -f "libtraceevnet.la" && ln -s "../libtraceevnet.la" "libtraceevnet.la" ) make[2]: Leaving directory '/tmp/B.uLdWPO/BUILD/powertop-2.11/traceevent' Making all in src make[2]: Entering directory '/tmp/B.uLdWPO/BUILD/powertop-2.11/src' /bin/sh ./csstoh.sh ./powertop.css css.h /usr/bin/make all-am make[3]: Entering directory '/tmp/B.uLdWPO/BUILD/powertop-2.11/src' i686-tld-linux-g++ -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 -I/usr/include/ncursesw -I/usr/include/ncursesn -pthread -I/usr/include/ncurses -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 -I/usr/include/ncursesw -I/usr/include/ncursesn -pthread -O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -MT powertop-devlist.o -MD -MP -MF .deps/powertop-devlist.Tpo -c -o powertop-devlist.o `test -f 'devlist.cpp' || echo './'`devlist.cpp i686-tld-linux-g++ -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 -I/usr/include/ncursesw -I/usr/include/ncursesn -pthread -I/usr/include/ncurses -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 -I/usr/include/ncursesw -I/usr/include/ncursesn -pthread -O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -MT powertop-display.o -MD -MP -MF .deps/powertop-display.Tpo -c -o powertop-display.o `test -f 'display.cpp' || echo './'`display.cpp i686-tld-linux-g++ -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 -I/usr/include/ncursesw -I/usr/include/ncursesn -pthread -I/usr/include/ncurses -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 -I/usr/include/ncursesw -I/usr/include/ncursesn -pthread -O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -MT powertop-lib.o -MD -MP -MF .deps/powertop-lib.Tpo -c -o powertop-lib.o `test -f 'lib.cpp' || echo './'`lib.cpp i686-tld-linux-g++ -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 -I/usr/include/ncursesw -I/usr/include/ncursesn -pthread -I/usr/include/ncurses -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 -I/usr/include/ncursesw -I/usr/include/ncursesn -pthread -O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -MT powertop-main.o -MD -MP -MF .deps/powertop-main.Tpo -c -o powertop-main.o `test -f 'main.cpp' || echo './'`main.cpp In file included from /usr/include/string.h:494, from devlist.cpp:39: In function 'char* strncpy(char*, const char*, size_t)', inlined from 'void pt_strcpy(char (&)[N], const char*) [with unsigned int N = 252]' at lib.h:78:9, inlined from 'void register_devpower(const char*, double, device*)' at devlist.cpp:266:12: /usr/include/bits/string_fortified.h:106:34: warning: 'char* __builtin_strncpy(char*, const char*, unsigned int)' specified bound 252 equals destination size [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mv -f .deps/powertop-devlist.Tpo .deps/powertop-devlist.Po i686-tld-linux-g++ -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 -I/usr/include/ncursesw -I/usr/include/ncursesn -pthread -I/usr/include/ncurses -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 -I/usr/include/ncursesw -I/usr/include/ncursesn -pthread -O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -MT calibrate/powertop-calibrate.o -MD -MP -MF calibrate/.deps/powertop-calibrate.Tpo -c -o calibrate/powertop-calibrate.o `test -f 'calibrate/calibrate.cpp' || echo './'`calibrate/calibrate.cpp mv -f .deps/powertop-main.Tpo .deps/powertop-main.Po i686-tld-linux-g++ -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 -I/usr/include/ncursesw -I/usr/include/ncursesn -pthread -I/usr/include/ncurses -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 -I/usr/include/ncursesw -I/usr/include/ncursesn -pthread -O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -MT cpu/powertop-abstract_cpu.o -MD -MP -MF cpu/.deps/powertop-abstract_cpu.Tpo -c -o cpu/powertop-abstract_cpu.o `test -f 'cpu/abstract_cpu.cpp' || echo './'`cpu/abstract_cpu.cpp mv -f .deps/powertop-lib.Tpo .deps/powertop-lib.Po i686-tld-linux-g++ -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 -I/usr/include/ncursesw -I/usr/include/ncursesn -pthread -I/usr/include/ncurses -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 -I/usr/include/ncursesw -I/usr/include/ncursesn -pthread -O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -MT cpu/powertop-cpu.o -MD -MP -MF cpu/.deps/powertop-cpu.Tpo -c -o cpu/powertop-cpu.o `test -f 'cpu/cpu.cpp' || echo './'`cpu/cpu.cpp mv -f .deps/powertop-display.Tpo .deps/powertop-display.Po i686-tld-linux-g++ -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 -I/usr/include/ncursesw -I/usr/include/ncursesn -pthread -I/usr/include/ncurses -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 -I/usr/include/ncursesw -I/usr/include/ncursesn -pthread -O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -MT cpu/powertop-cpu_core.o -MD -MP -MF cpu/.deps/powertop-cpu_core.Tpo -c -o cpu/powertop-cpu_core.o `test -f 'cpu/cpu_core.cpp' || echo './'`cpu/cpu_core.cpp In file included from /usr/include/string.h:494, 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 'virtual void abstract_cpu::account_freq(uint64_t, uint64_t)' at cpu/abstract_cpu.cpp:74:13: /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 cpu/../lib.h:78:9, inlined from 'virtual void abstract_cpu::account_freq(uint64_t, uint64_t)' at cpu/abstract_cpu.cpp:76:13: /usr/include/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 cpu/../lib.h:78:9, inlined from 'void abstract_cpu::insert_pstate(uint64_t, const char*, uint64_t, int)' at cpu/abstract_cpu.cpp:351:11: /usr/include/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)); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mv -f calibrate/.deps/powertop-calibrate.Tpo calibrate/.deps/powertop-calibrate.Po i686-tld-linux-g++ -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 -I/usr/include/ncursesw -I/usr/include/ncursesn -pthread -I/usr/include/ncurses -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 -I/usr/include/ncursesw -I/usr/include/ncursesn -pthread -O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -MT cpu/powertop-cpu_linux.o -MD -MP -MF cpu/.deps/powertop-cpu_linux.Tpo -c -o cpu/powertop-cpu_linux.o `test -f 'cpu/cpu_linux.cpp' || echo './'`cpu/cpu_linux.cpp mv -f cpu/.deps/powertop-cpu_core.Tpo cpu/.deps/powertop-cpu_core.Po i686-tld-linux-g++ -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 -I/usr/include/ncursesw -I/usr/include/ncursesn -pthread -I/usr/include/ncurses -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 -I/usr/include/ncursesw -I/usr/include/ncursesn -pthread -O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -MT cpu/powertop-cpu_package.o -MD -MP -MF cpu/.deps/powertop-cpu_package.Tpo -c -o cpu/powertop-cpu_package.o `test -f 'cpu/cpu_package.cpp' || echo './'`cpu/cpu_package.cpp In function 'char* strncpy(char*, const char*, size_t)', inlined from 'void pt_strcpy(char (&)[N], const char*) [with unsigned int N = 16]' at cpu/../lib.h:78:9, inlined from 'void abstract_cpu::insert_cstate(const char*, const char*, uint64_t, uint64_t, int, int)' at cpu/abstract_cpu.cpp:208:11: /usr/include/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 '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)); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mv -f cpu/.deps/powertop-abstract_cpu.Tpo cpu/.deps/powertop-abstract_cpu.Po i686-tld-linux-g++ -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 -I/usr/include/ncursesw -I/usr/include/ncursesn -pthread -I/usr/include/ncurses -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 -I/usr/include/ncursesw -I/usr/include/ncursesn -pthread -O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -MT cpu/powertop-cpu_rapl_device.o -MD -MP -MF cpu/.deps/powertop-cpu_rapl_device.Tpo -c -o cpu/powertop-cpu_rapl_device.o `test -f 'cpu/cpu_rapl_device.cpp' || echo './'`cpu/cpu_rapl_device.cpp mv -f cpu/.deps/powertop-cpu_package.Tpo cpu/.deps/powertop-cpu_package.Po i686-tld-linux-g++ -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 -I/usr/include/ncursesw -I/usr/include/ncursesn -pthread -I/usr/include/ncurses -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 -I/usr/include/ncursesw -I/usr/include/ncursesn -pthread -O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -MT cpu/powertop-cpudevice.o -MD -MP -MF cpu/.deps/powertop-cpudevice.Tpo -c -o cpu/powertop-cpudevice.o `test -f 'cpu/cpudevice.cpp' || echo './'`cpu/cpudevice.cpp In file included from /usr/include/string.h:494, 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)); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mv -f cpu/.deps/powertop-cpudevice.Tpo cpu/.deps/powertop-cpudevice.Po i686-tld-linux-g++ -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 -I/usr/include/ncursesw -I/usr/include/ncursesn -pthread -I/usr/include/ncurses -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 -I/usr/include/ncursesw -I/usr/include/ncursesn -pthread -O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -MT cpu/powertop-dram_rapl_device.o -MD -MP -MF cpu/.deps/powertop-dram_rapl_device.Tpo -c -o cpu/powertop-dram_rapl_device.o `test -f 'cpu/dram_rapl_device.cpp' || echo './'`cpu/dram_rapl_device.cpp mv -f cpu/.deps/powertop-cpu_linux.Tpo cpu/.deps/powertop-cpu_linux.Po i686-tld-linux-g++ -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 -I/usr/include/ncursesw -I/usr/include/ncursesn -pthread -I/usr/include/ncurses -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 -I/usr/include/ncursesw -I/usr/include/ncursesn -pthread -O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -MT cpu/powertop-intel_cpus.o -MD -MP -MF cpu/.deps/powertop-intel_cpus.Tpo -c -o cpu/powertop-intel_cpus.o `test -f 'cpu/intel_cpus.cpp' || echo './'`cpu/intel_cpus.cpp mv -f cpu/.deps/powertop-cpu_rapl_device.Tpo cpu/.deps/powertop-cpu_rapl_device.Po i686-tld-linux-g++ -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 -I/usr/include/ncursesw -I/usr/include/ncursesn -pthread -I/usr/include/ncurses -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 -I/usr/include/ncursesw -I/usr/include/ncursesn -pthread -O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -MT cpu/powertop-intel_gpu.o -MD -MP -MF cpu/.deps/powertop-intel_gpu.Tpo -c -o cpu/powertop-intel_gpu.o `test -f 'cpu/intel_gpu.cpp' || echo './'`cpu/intel_gpu.cpp mv -f cpu/.deps/powertop-cpu.Tpo cpu/.deps/powertop-cpu.Po i686-tld-linux-g++ -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 -I/usr/include/ncursesw -I/usr/include/ncursesn -pthread -I/usr/include/ncurses -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 -I/usr/include/ncursesw -I/usr/include/ncursesn -pthread -O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -MT cpu/rapl/powertop-rapl_interface.o -MD -MP -MF cpu/rapl/.deps/powertop-rapl_interface.Tpo -c -o cpu/rapl/powertop-rapl_interface.o `test -f 'cpu/rapl/rapl_interface.cpp' || echo './'`cpu/rapl/rapl_interface.cpp mv -f cpu/.deps/powertop-dram_rapl_device.Tpo cpu/.deps/powertop-dram_rapl_device.Po i686-tld-linux-g++ -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 -I/usr/include/ncursesw -I/usr/include/ncursesn -pthread -I/usr/include/ncurses -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 -I/usr/include/ncursesw -I/usr/include/ncursesn -pthread -O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -MT devices/powertop-ahci.o -MD -MP -MF devices/.deps/powertop-ahci.Tpo -c -o devices/powertop-ahci.o `test -f 'devices/ahci.cpp' || echo './'`devices/ahci.cpp mv -f cpu/rapl/.deps/powertop-rapl_interface.Tpo cpu/rapl/.deps/powertop-rapl_interface.Po i686-tld-linux-g++ -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 -I/usr/include/ncursesw -I/usr/include/ncursesn -pthread -I/usr/include/ncurses -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 -I/usr/include/ncursesw -I/usr/include/ncursesn -pthread -O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -MT devices/powertop-alsa.o -MD -MP -MF devices/.deps/powertop-alsa.Tpo -c -o devices/powertop-alsa.o `test -f 'devices/alsa.cpp' || echo './'`devices/alsa.cpp mv -f cpu/.deps/powertop-intel_gpu.Tpo cpu/.deps/powertop-intel_gpu.Po i686-tld-linux-g++ -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 -I/usr/include/ncursesw -I/usr/include/ncursesn -pthread -I/usr/include/ncurses -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 -I/usr/include/ncursesw -I/usr/include/ncursesn -pthread -O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -MT devices/powertop-backlight.o -MD -MP -MF devices/.deps/powertop-backlight.Tpo -c -o devices/powertop-backlight.o `test -f 'devices/backlight.cpp' || echo './'`devices/backlight.cpp devices/ahci.cpp: In constructor 'ahci::ahci(char*, char*)': devices/ahci.cpp:139:38: warning: '-active' directive output may be truncated writing 7 bytes into a region of size between 1 and 4096 [-Wformat-truncation=] 139 | snprintf(buffer, sizeof(buffer), "%s-active", name); | ^~~~~~~ In file included from /usr/include/stdio.h:867, from /usr/include/c++/9.2.0/cstdio:42, from /usr/include/c++/9.2.0/ext/string_conversions.h:43, from /usr/include/c++/9.2.0/bits/basic_string.h:6493, from /usr/include/c++/9.2.0/string:55, from /usr/include/c++/9.2.0/bits/locale_classes.h:40, from /usr/include/c++/9.2.0/bits/ios_base.h:41, from /usr/include/c++/9.2.0/ios:42, from /usr/include/c++/9.2.0/ostream:38, from /usr/include/c++/9.2.0/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++/9.2.0/cstdio:42, from /usr/include/c++/9.2.0/ext/string_conversions.h:43, from /usr/include/c++/9.2.0/bits/basic_string.h:6493, from /usr/include/c++/9.2.0/string:55, from /usr/include/c++/9.2.0/bits/locale_classes.h:40, from /usr/include/c++/9.2.0/bits/ios_base.h:41, from /usr/include/c++/9.2.0/ios:42, from /usr/include/c++/9.2.0/ostream:38, from /usr/include/c++/9.2.0/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++/9.2.0/cstdio:42, from /usr/include/c++/9.2.0/ext/string_conversions.h:43, from /usr/include/c++/9.2.0/bits/basic_string.h:6493, from /usr/include/c++/9.2.0/string:55, from /usr/include/c++/9.2.0/bits/locale_classes.h:40, from /usr/include/c++/9.2.0/bits/ios_base.h:41, from /usr/include/c++/9.2.0/ios:42, from /usr/include/c++/9.2.0/ostream:38, from /usr/include/c++/9.2.0/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++/9.2.0/cstdio:42, from /usr/include/c++/9.2.0/ext/string_conversions.h:43, from /usr/include/c++/9.2.0/bits/basic_string.h:6493, from /usr/include/c++/9.2.0/string:55, from /usr/include/c++/9.2.0/bits/locale_classes.h:40, from /usr/include/c++/9.2.0/bits/ios_base.h:41, from /usr/include/c++/9.2.0/ios:42, from /usr/include/c++/9.2.0/ostream:38, from /usr/include/c++/9.2.0/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++/9.2.0/cstdio:42, from /usr/include/c++/9.2.0/ext/string_conversions.h:43, from /usr/include/c++/9.2.0/bits/basic_string.h:6493, from /usr/include/c++/9.2.0/string:55, from /usr/include/c++/9.2.0/bits/locale_classes.h:40, from /usr/include/c++/9.2.0/bits/ios_base.h:41, from /usr/include/c++/9.2.0/ios:42, from /usr/include/c++/9.2.0/ostream:38, from /usr/include/c++/9.2.0/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++/9.2.0/cstdio:42, from /usr/include/c++/9.2.0/ext/string_conversions.h:43, from /usr/include/c++/9.2.0/bits/basic_string.h:6493, from /usr/include/c++/9.2.0/string:55, from /usr/include/c++/9.2.0/bits/locale_classes.h:40, from /usr/include/c++/9.2.0/bits/ios_base.h:41, from /usr/include/c++/9.2.0/ios:42, from /usr/include/c++/9.2.0/ostream:38, from /usr/include/c++/9.2.0/iostream:39, from devices/ahci.cpp:25: /usr/include/bits/stdio2.h:67:35: note: '__builtin___snprintf_chk' output between 8 and 4358 bytes into a destination of size 4096 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 68 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/string.h:494, 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 member function 'virtual void ahci::end_measurement()': devices/ahci.cpp:206:43: warning: '/ahci_alpm_active' directive output may be truncated writing 17 bytes into a region of size between 1 and 4096 [-Wformat-truncation=] 206 | snprintf(filename, sizeof(filename), "%s/ahci_alpm_active", sysfs_path); | ^~~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:867, from /usr/include/c++/9.2.0/cstdio:42, from /usr/include/c++/9.2.0/ext/string_conversions.h:43, from /usr/include/c++/9.2.0/bits/basic_string.h:6493, from /usr/include/c++/9.2.0/string:55, from /usr/include/c++/9.2.0/bits/locale_classes.h:40, from /usr/include/c++/9.2.0/bits/ios_base.h:41, from /usr/include/c++/9.2.0/ios:42, from /usr/include/c++/9.2.0/ostream:38, from /usr/include/c++/9.2.0/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++/9.2.0/cstdio:42, from /usr/include/c++/9.2.0/ext/string_conversions.h:43, from /usr/include/c++/9.2.0/bits/basic_string.h:6493, from /usr/include/c++/9.2.0/string:55, from /usr/include/c++/9.2.0/bits/locale_classes.h:40, from /usr/include/c++/9.2.0/bits/ios_base.h:41, from /usr/include/c++/9.2.0/ios:42, from /usr/include/c++/9.2.0/ostream:38, from /usr/include/c++/9.2.0/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++/9.2.0/cstdio:42, from /usr/include/c++/9.2.0/ext/string_conversions.h:43, from /usr/include/c++/9.2.0/bits/basic_string.h:6493, from /usr/include/c++/9.2.0/string:55, from /usr/include/c++/9.2.0/bits/locale_classes.h:40, from /usr/include/c++/9.2.0/bits/ios_base.h:41, from /usr/include/c++/9.2.0/ios:42, from /usr/include/c++/9.2.0/ostream:38, from /usr/include/c++/9.2.0/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++/9.2.0/cstdio:42, from /usr/include/c++/9.2.0/ext/string_conversions.h:43, from /usr/include/c++/9.2.0/bits/basic_string.h:6493, from /usr/include/c++/9.2.0/string:55, from /usr/include/c++/9.2.0/bits/locale_classes.h:40, from /usr/include/c++/9.2.0/bits/ios_base.h:41, from /usr/include/c++/9.2.0/ios:42, from /usr/include/c++/9.2.0/ostream:38, from /usr/include/c++/9.2.0/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++/9.2.0/cstdio:42, from /usr/include/c++/9.2.0/ext/string_conversions.h:43, from /usr/include/c++/9.2.0/bits/basic_string.h:6493, from /usr/include/c++/9.2.0/string:55, from /usr/include/c++/9.2.0/bits/locale_classes.h:40, from /usr/include/c++/9.2.0/bits/ios_base.h:41, from /usr/include/c++/9.2.0/ios:42, from /usr/include/c++/9.2.0/ostream:38, from /usr/include/c++/9.2.0/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++/9.2.0/cstdio:42, from /usr/include/c++/9.2.0/ext/string_conversions.h:43, from /usr/include/c++/9.2.0/bits/basic_string.h:6493, from /usr/include/c++/9.2.0/string:55, from /usr/include/c++/9.2.0/bits/locale_classes.h:40, from /usr/include/c++/9.2.0/bits/ios_base.h:41, from /usr/include/c++/9.2.0/ios:42, from /usr/include/c++/9.2.0/ostream:38, from /usr/include/c++/9.2.0/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++/9.2.0/cstdio:42, from /usr/include/c++/9.2.0/ext/string_conversions.h:43, from /usr/include/c++/9.2.0/bits/basic_string.h:6493, from /usr/include/c++/9.2.0/string:55, from /usr/include/c++/9.2.0/bits/locale_classes.h:40, from /usr/include/c++/9.2.0/bits/ios_base.h:41, from /usr/include/c++/9.2.0/ios:42, from /usr/include/c++/9.2.0/ostream:38, from /usr/include/c++/9.2.0/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++/9.2.0/cstdio:42, from /usr/include/c++/9.2.0/ext/string_conversions.h:43, from /usr/include/c++/9.2.0/bits/basic_string.h:6493, from /usr/include/c++/9.2.0/string:55, from /usr/include/c++/9.2.0/bits/locale_classes.h:40, from /usr/include/c++/9.2.0/bits/ios_base.h:41, from /usr/include/c++/9.2.0/ios:42, from /usr/include/c++/9.2.0/ostream:38, from /usr/include/c++/9.2.0/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++/9.2.0/cstdio:42, from /usr/include/c++/9.2.0/ext/string_conversions.h:43, from /usr/include/c++/9.2.0/bits/basic_string.h:6493, from /usr/include/c++/9.2.0/string:55, from /usr/include/c++/9.2.0/bits/locale_classes.h:40, from /usr/include/c++/9.2.0/bits/ios_base.h:41, from /usr/include/c++/9.2.0/ios:42, from /usr/include/c++/9.2.0/ostream:38, from /usr/include/c++/9.2.0/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++/9.2.0/cstdio:42, from /usr/include/c++/9.2.0/ext/string_conversions.h:43, from /usr/include/c++/9.2.0/bits/basic_string.h:6493, from /usr/include/c++/9.2.0/string:55, from /usr/include/c++/9.2.0/bits/locale_classes.h:40, from /usr/include/c++/9.2.0/bits/ios_base.h:41, from /usr/include/c++/9.2.0/ios:42, from /usr/include/c++/9.2.0/ostream:38, from /usr/include/c++/9.2.0/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++/9.2.0/cstdio:42, from /usr/include/c++/9.2.0/ext/string_conversions.h:43, from /usr/include/c++/9.2.0/bits/basic_string.h:6493, from /usr/include/c++/9.2.0/string:55, from /usr/include/c++/9.2.0/bits/locale_classes.h:40, from /usr/include/c++/9.2.0/bits/ios_base.h:41, from /usr/include/c++/9.2.0/ios:42, from /usr/include/c++/9.2.0/ostream:38, from /usr/include/c++/9.2.0/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++/9.2.0/cstdio:42, from /usr/include/c++/9.2.0/ext/string_conversions.h:43, from /usr/include/c++/9.2.0/bits/basic_string.h:6493, from /usr/include/c++/9.2.0/string:55, from /usr/include/c++/9.2.0/bits/locale_classes.h:40, from /usr/include/c++/9.2.0/bits/ios_base.h:41, from /usr/include/c++/9.2.0/ios:42, from /usr/include/c++/9.2.0/ostream:38, from /usr/include/c++/9.2.0/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 ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mv -f cpu/.deps/powertop-intel_cpus.Tpo cpu/.deps/powertop-intel_cpus.Po i686-tld-linux-g++ -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 -I/usr/include/ncursesw -I/usr/include/ncursesn -pthread -I/usr/include/ncurses -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 -I/usr/include/ncursesw -I/usr/include/ncursesn -pthread -O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -MT devices/powertop-devfreq.o -MD -MP -MF devices/.deps/powertop-devfreq.Tpo -c -o devices/powertop-devfreq.o `test -f 'devices/devfreq.cpp' || echo './'`devices/devfreq.cpp mv -f devices/.deps/powertop-ahci.Tpo devices/.deps/powertop-ahci.Po i686-tld-linux-g++ -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 -I/usr/include/ncursesw -I/usr/include/ncursesn -pthread -I/usr/include/ncurses -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 -I/usr/include/ncursesw -I/usr/include/ncursesn -pthread -O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -MT devices/powertop-device.o -MD -MP -MF devices/.deps/powertop-device.Tpo -c -o devices/powertop-device.o `test -f 'devices/device.cpp' || echo './'`devices/device.cpp devices/alsa.cpp: In member function 'virtual const char* alsa::human_name()': devices/alsa.cpp:205:43: warning: ' (' directive output may be truncated writing 2 bytes into a region of size between 1 and 4096 [-Wformat-truncation=] 205 | snprintf(temp_buf, sizeof(temp_buf), "%s (%s)", humanname, guilty); | ^~ In file included from /usr/include/stdio.h:867, from /usr/include/c++/9.2.0/cstdio:42, from /usr/include/c++/9.2.0/ext/string_conversions.h:43, from /usr/include/c++/9.2.0/bits/basic_string.h:6493, from /usr/include/c++/9.2.0/string:55, from /usr/include/c++/9.2.0/bits/locale_classes.h:40, from /usr/include/c++/9.2.0/bits/ios_base.h:41, from /usr/include/c++/9.2.0/ios:42, from /usr/include/c++/9.2.0/ostream:38, from /usr/include/c++/9.2.0/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:494, 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++/9.2.0/cstdio:42, from /usr/include/c++/9.2.0/ext/string_conversions.h:43, from /usr/include/c++/9.2.0/bits/basic_string.h:6493, from /usr/include/c++/9.2.0/string:55, from /usr/include/c++/9.2.0/bits/locale_classes.h:40, from /usr/include/c++/9.2.0/bits/ios_base.h:41, from /usr/include/c++/9.2.0/ios:42, from /usr/include/c++/9.2.0/ostream:38, from /usr/include/c++/9.2.0/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++/9.2.0/cstdio:42, from /usr/include/c++/9.2.0/ext/string_conversions.h:43, from /usr/include/c++/9.2.0/bits/basic_string.h:6493, from /usr/include/c++/9.2.0/string:55, from /usr/include/c++/9.2.0/bits/locale_classes.h:40, from /usr/include/c++/9.2.0/bits/ios_base.h:41, from /usr/include/c++/9.2.0/ios:42, from /usr/include/c++/9.2.0/ostream:38, from /usr/include/c++/9.2.0/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++/9.2.0/cstdio:42, from /usr/include/c++/9.2.0/ext/string_conversions.h:43, from /usr/include/c++/9.2.0/bits/basic_string.h:6493, from /usr/include/c++/9.2.0/string:55, from /usr/include/c++/9.2.0/bits/locale_classes.h:40, from /usr/include/c++/9.2.0/bits/ios_base.h:41, from /usr/include/c++/9.2.0/ios:42, from /usr/include/c++/9.2.0/ostream:38, from /usr/include/c++/9.2.0/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++/9.2.0/cstdio:42, from /usr/include/c++/9.2.0/ext/string_conversions.h:43, from /usr/include/c++/9.2.0/bits/basic_string.h:6493, from /usr/include/c++/9.2.0/string:55, from /usr/include/c++/9.2.0/bits/locale_classes.h:40, from /usr/include/c++/9.2.0/bits/ios_base.h:41, from /usr/include/c++/9.2.0/ios:42, from /usr/include/c++/9.2.0/ostream:38, from /usr/include/c++/9.2.0/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 ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mv -f devices/.deps/powertop-alsa.Tpo devices/.deps/powertop-alsa.Po i686-tld-linux-g++ -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 -I/usr/include/ncursesw -I/usr/include/ncursesn -pthread -I/usr/include/ncurses -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 -I/usr/include/ncursesw -I/usr/include/ncursesn -pthread -O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -MT devices/powertop-gpu_rapl_device.o -MD -MP -MF devices/.deps/powertop-gpu_rapl_device.Tpo -c -o devices/powertop-gpu_rapl_device.o `test -f 'devices/gpu_rapl_device.cpp' || echo './'`devices/gpu_rapl_device.cpp devices/backlight.cpp: In member function 'virtual double backlight::power_usage(result_bundle*, parameter_bundle*)': devices/backlight.cpp:217:25: warning: '-power' directive writing 6 bytes into a region of size between 1 and 4096 [-Wformat-overflow=] 217 | sprintf(powername, "%s-power", name); | ^~~~~~ In file included from /usr/include/stdio.h:867, from /usr/include/c++/9.2.0/cstdio:42, from /usr/include/c++/9.2.0/ext/string_conversions.h:43, from /usr/include/c++/9.2.0/bits/basic_string.h:6493, from /usr/include/c++/9.2.0/string:55, from /usr/include/c++/9.2.0/bits/locale_classes.h:40, from /usr/include/c++/9.2.0/bits/ios_base.h:41, from /usr/include/c++/9.2.0/ios:42, from /usr/include/c++/9.2.0/ostream:38, from /usr/include/c++/9.2.0/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:494, 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::start_measurement()': devices/backlight.cpp:61:42: warning: '/max_brightness' directive output may be truncated writing 15 bytes into a region of size between 1 and 4096 [-Wformat-truncation=] 61 | snprintf(filename, sizeof(filename), "%s/max_brightness", sysfs_path); | ^~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:867, from /usr/include/c++/9.2.0/cstdio:42, from /usr/include/c++/9.2.0/ext/string_conversions.h:43, from /usr/include/c++/9.2.0/bits/basic_string.h:6493, from /usr/include/c++/9.2.0/string:55, from /usr/include/c++/9.2.0/bits/locale_classes.h:40, from /usr/include/c++/9.2.0/bits/ios_base.h:41, from /usr/include/c++/9.2.0/ios:42, from /usr/include/c++/9.2.0/ostream:38, from /usr/include/c++/9.2.0/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++/9.2.0/cstdio:42, from /usr/include/c++/9.2.0/ext/string_conversions.h:43, from /usr/include/c++/9.2.0/bits/basic_string.h:6493, from /usr/include/c++/9.2.0/string:55, from /usr/include/c++/9.2.0/bits/locale_classes.h:40, from /usr/include/c++/9.2.0/bits/ios_base.h:41, from /usr/include/c++/9.2.0/ios:42, from /usr/include/c++/9.2.0/ostream:38, from /usr/include/c++/9.2.0/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: In member function 'virtual void backlight::end_measurement()': devices/backlight.cpp:125:42: warning: '/actual_brightness' directive output may be truncated writing 18 bytes into a region of size between 1 and 4096 [-Wformat-truncation=] 125 | snprintf(filename, sizeof(filename), "%s/actual_brightness", sysfs_path); | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:867, from /usr/include/c++/9.2.0/cstdio:42, from /usr/include/c++/9.2.0/ext/string_conversions.h:43, from /usr/include/c++/9.2.0/bits/basic_string.h:6493, from /usr/include/c++/9.2.0/string:55, from /usr/include/c++/9.2.0/bits/locale_classes.h:40, from /usr/include/c++/9.2.0/bits/ios_base.h:41, from /usr/include/c++/9.2.0/ios:42, from /usr/include/c++/9.2.0/ostream:38, from /usr/include/c++/9.2.0/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++/9.2.0/cstdio:42, from /usr/include/c++/9.2.0/ext/string_conversions.h:43, from /usr/include/c++/9.2.0/bits/basic_string.h:6493, from /usr/include/c++/9.2.0/string:55, from /usr/include/c++/9.2.0/bits/locale_classes.h:40, from /usr/include/c++/9.2.0/bits/ios_base.h:41, from /usr/include/c++/9.2.0/ios:42, from /usr/include/c++/9.2.0/ostream:38, from /usr/include/c++/9.2.0/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 ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mv -f devices/.deps/powertop-backlight.Tpo devices/.deps/powertop-backlight.Po i686-tld-linux-g++ -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 -I/usr/include/ncursesw -I/usr/include/ncursesn -pthread -I/usr/include/ncurses -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 -I/usr/include/ncursesw -I/usr/include/ncursesn -pthread -O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -MT devices/powertop-i915-gpu.o -MD -MP -MF devices/.deps/powertop-i915-gpu.Tpo -c -o devices/powertop-i915-gpu.o `test -f 'devices/i915-gpu.cpp' || echo './'`devices/i915-gpu.cpp mv -f devices/.deps/powertop-gpu_rapl_device.Tpo devices/.deps/powertop-gpu_rapl_device.Po i686-tld-linux-g++ -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 -I/usr/include/ncursesw -I/usr/include/ncursesn -pthread -I/usr/include/ncurses -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 -I/usr/include/ncursesw -I/usr/include/ncursesn -pthread -O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -MT devices/powertop-network.o -MD -MP -MF devices/.deps/powertop-network.Tpo -c -o devices/powertop-network.o `test -f 'devices/network.cpp' || echo './'`devices/network.cpp In file included from /usr/include/string.h:494, 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)); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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 ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mv -f devices/.deps/powertop-devfreq.Tpo devices/.deps/powertop-devfreq.Po i686-tld-linux-g++ -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 -I/usr/include/ncursesw -I/usr/include/ncursesn -pthread -I/usr/include/ncurses -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 -I/usr/include/ncursesw -I/usr/include/ncursesn -pthread -O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -MT devices/powertop-rfkill.o -MD -MP -MF devices/.deps/powertop-rfkill.Tpo -c -o devices/powertop-rfkill.o `test -f 'devices/rfkill.cpp' || echo './'`devices/rfkill.cpp mv -f devices/.deps/powertop-device.Tpo devices/.deps/powertop-device.Po i686-tld-linux-g++ -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 -I/usr/include/ncursesw -I/usr/include/ncursesn -pthread -I/usr/include/ncurses -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 -I/usr/include/ncursesw -I/usr/include/ncursesn -pthread -O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -MT devices/powertop-runtime_pm.o -MD -MP -MF devices/.deps/powertop-runtime_pm.Tpo -c -o devices/powertop-runtime_pm.o `test -f 'devices/runtime_pm.cpp' || echo './'`devices/runtime_pm.cpp mv -f devices/.deps/powertop-i915-gpu.Tpo devices/.deps/powertop-i915-gpu.Po i686-tld-linux-g++ -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 -I/usr/include/ncursesw -I/usr/include/ncursesn -pthread -I/usr/include/ncurses -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 -I/usr/include/ncursesw -I/usr/include/ncursesn -pthread -O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -MT devices/powertop-thinkpad-fan.o -MD -MP -MF devices/.deps/powertop-thinkpad-fan.Tpo -c -o devices/powertop-thinkpad-fan.o `test -f 'devices/thinkpad-fan.cpp' || echo './'`devices/thinkpad-fan.cpp In file included from /usr/include/string.h:494, 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++/9.2.0/cstdio:42, from /usr/include/c++/9.2.0/ext/string_conversions.h:43, from /usr/include/c++/9.2.0/bits/basic_string.h:6493, from /usr/include/c++/9.2.0/string:55, from /usr/include/c++/9.2.0/bits/locale_classes.h:40, from /usr/include/c++/9.2.0/bits/ios_base.h:41, from /usr/include/c++/9.2.0/ios:42, from /usr/include/c++/9.2.0/ostream:38, from /usr/include/c++/9.2.0/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++/9.2.0/cstdio:42, from /usr/include/c++/9.2.0/ext/string_conversions.h:43, from /usr/include/c++/9.2.0/bits/basic_string.h:6493, from /usr/include/c++/9.2.0/string:55, from /usr/include/c++/9.2.0/bits/locale_classes.h:40, from /usr/include/c++/9.2.0/bits/ios_base.h:41, from /usr/include/c++/9.2.0/ios:42, from /usr/include/c++/9.2.0/ostream:38, from /usr/include/c++/9.2.0/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++/9.2.0/cstdio:42, from /usr/include/c++/9.2.0/ext/string_conversions.h:43, from /usr/include/c++/9.2.0/bits/basic_string.h:6493, from /usr/include/c++/9.2.0/string:55, from /usr/include/c++/9.2.0/bits/locale_classes.h:40, from /usr/include/c++/9.2.0/bits/ios_base.h:41, from /usr/include/c++/9.2.0/ios:42, from /usr/include/c++/9.2.0/ostream:38, from /usr/include/c++/9.2.0/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++/9.2.0/cstdio:42, from /usr/include/c++/9.2.0/ext/string_conversions.h:43, from /usr/include/c++/9.2.0/bits/basic_string.h:6493, from /usr/include/c++/9.2.0/string:55, from /usr/include/c++/9.2.0/bits/locale_classes.h:40, from /usr/include/c++/9.2.0/bits/ios_base.h:41, from /usr/include/c++/9.2.0/ios:42, from /usr/include/c++/9.2.0/ostream:38, from /usr/include/c++/9.2.0/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 ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mv -f devices/.deps/powertop-rfkill.Tpo devices/.deps/powertop-rfkill.Po i686-tld-linux-g++ -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 -I/usr/include/ncursesw -I/usr/include/ncursesn -pthread -I/usr/include/ncurses -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 -I/usr/include/ncursesw -I/usr/include/ncursesn -pthread -O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -MT devices/powertop-thinkpad-light.o -MD -MP -MF devices/.deps/powertop-thinkpad-light.Tpo -c -o devices/powertop-thinkpad-light.o `test -f 'devices/thinkpad-light.cpp' || echo './'`devices/thinkpad-light.cpp In file included from /usr/include/string.h:494, 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)); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/string.h:494, 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++/9.2.0/cstdio:42, from /usr/include/c++/9.2.0/ext/string_conversions.h:43, from /usr/include/c++/9.2.0/bits/basic_string.h:6493, from /usr/include/c++/9.2.0/string:55, from /usr/include/c++/9.2.0/stdexcept:39, from /usr/include/c++/9.2.0/array:39, from /usr/include/c++/9.2.0/tuple:39, from /usr/include/c++/9.2.0/bits/stl_map.h:63, from /usr/include/c++/9.2.0/map:61, from devices/../parameters/parameters.h:29, 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++/9.2.0/cstdio:42, from /usr/include/c++/9.2.0/ext/string_conversions.h:43, from /usr/include/c++/9.2.0/bits/basic_string.h:6493, from /usr/include/c++/9.2.0/string:55, from /usr/include/c++/9.2.0/stdexcept:39, from /usr/include/c++/9.2.0/array:39, from /usr/include/c++/9.2.0/tuple:39, from /usr/include/c++/9.2.0/bits/stl_map.h:63, from /usr/include/c++/9.2.0/map:61, from devices/../parameters/parameters.h:29, 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++/9.2.0/cstdio:42, from /usr/include/c++/9.2.0/ext/string_conversions.h:43, from /usr/include/c++/9.2.0/bits/basic_string.h:6493, from /usr/include/c++/9.2.0/string:55, from /usr/include/c++/9.2.0/stdexcept:39, from /usr/include/c++/9.2.0/array:39, from /usr/include/c++/9.2.0/tuple:39, from /usr/include/c++/9.2.0/bits/stl_map.h:63, from /usr/include/c++/9.2.0/map:61, from devices/../parameters/parameters.h:29, 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++/9.2.0/cstdio:42, from /usr/include/c++/9.2.0/ext/string_conversions.h:43, from /usr/include/c++/9.2.0/bits/basic_string.h:6493, from /usr/include/c++/9.2.0/string:55, from /usr/include/c++/9.2.0/stdexcept:39, from /usr/include/c++/9.2.0/array:39, from /usr/include/c++/9.2.0/tuple:39, from /usr/include/c++/9.2.0/bits/stl_map.h:63, from /usr/include/c++/9.2.0/map:61, from devices/../parameters/parameters.h:29, 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 ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mv -f devices/.deps/powertop-runtime_pm.Tpo devices/.deps/powertop-runtime_pm.Po i686-tld-linux-g++ -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 -I/usr/include/ncursesw -I/usr/include/ncursesn -pthread -I/usr/include/ncurses -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 -I/usr/include/ncursesw -I/usr/include/ncursesn -pthread -O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -MT devices/powertop-usb.o -MD -MP -MF devices/.deps/powertop-usb.Tpo -c -o devices/powertop-usb.o `test -f 'devices/usb.cpp' || echo './'`devices/usb.cpp mv -f devices/.deps/powertop-network.Tpo devices/.deps/powertop-network.Po i686-tld-linux-g++ -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 -I/usr/include/ncursesw -I/usr/include/ncursesn -pthread -I/usr/include/ncurses -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 -I/usr/include/ncursesw -I/usr/include/ncursesn -pthread -O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -MT measurement/powertop-acpi.o -MD -MP -MF measurement/.deps/powertop-acpi.Tpo -c -o measurement/powertop-acpi.o `test -f 'measurement/acpi.cpp' || echo './'`measurement/acpi.cpp mv -f devices/.deps/powertop-thinkpad-fan.Tpo devices/.deps/powertop-thinkpad-fan.Po i686-tld-linux-g++ -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 -I/usr/include/ncursesw -I/usr/include/ncursesn -pthread -I/usr/include/ncurses -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 -I/usr/include/ncursesw -I/usr/include/ncursesn -pthread -O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -MT measurement/powertop-extech.o -MD -MP -MF measurement/.deps/powertop-extech.Tpo -c -o measurement/powertop-extech.o `test -f 'measurement/extech.cpp' || echo './'`measurement/extech.cpp mv -f devices/.deps/powertop-thinkpad-light.Tpo devices/.deps/powertop-thinkpad-light.Po i686-tld-linux-g++ -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 -I/usr/include/ncursesw -I/usr/include/ncursesn -pthread -I/usr/include/ncurses -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 -I/usr/include/ncursesw -I/usr/include/ncursesn -pthread -O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -MT measurement/powertop-measurement.o -MD -MP -MF measurement/.deps/powertop-measurement.Tpo -c -o measurement/powertop-measurement.o `test -f 'measurement/measurement.cpp' || echo './'`measurement/measurement.cpp In file included from /usr/include/string.h:494, 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)); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/string.h:494, 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++/9.2.0/cstdio:42, from /usr/include/c++/9.2.0/ext/string_conversions.h:43, from /usr/include/c++/9.2.0/bits/basic_string.h:6493, from /usr/include/c++/9.2.0/string:55, from /usr/include/c++/9.2.0/stdexcept:39, from /usr/include/c++/9.2.0/array:39, from /usr/include/c++/9.2.0/tuple:39, from /usr/include/c++/9.2.0/bits/stl_map.h:63, from /usr/include/c++/9.2.0/map:61, from devices/../parameters/parameters.h:29, 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++/9.2.0/cstdio:42, from /usr/include/c++/9.2.0/ext/string_conversions.h:43, from /usr/include/c++/9.2.0/bits/basic_string.h:6493, from /usr/include/c++/9.2.0/string:55, from /usr/include/c++/9.2.0/stdexcept:39, from /usr/include/c++/9.2.0/array:39, from /usr/include/c++/9.2.0/tuple:39, from /usr/include/c++/9.2.0/bits/stl_map.h:63, from /usr/include/c++/9.2.0/map:61, from devices/../parameters/parameters.h:29, 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 ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mv -f measurement/.deps/powertop-acpi.Tpo measurement/.deps/powertop-acpi.Po i686-tld-linux-g++ -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 -I/usr/include/ncursesw -I/usr/include/ncursesn -pthread -I/usr/include/ncurses -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 -I/usr/include/ncursesw -I/usr/include/ncursesn -pthread -O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -MT measurement/powertop-sysfs.o -MD -MP -MF measurement/.deps/powertop-sysfs.Tpo -c -o measurement/powertop-sysfs.o `test -f 'measurement/sysfs.cpp' || echo './'`measurement/sysfs.cpp devices/usb.cpp: In member function 'virtual void usbdevice::end_measurement()': devices/usb.cpp:149:42: warning: '/power/active_duration' directive output may be truncated writing 22 bytes into a region of size between 1 and 4096 [-Wformat-truncation=] 149 | snprintf(fullpath, sizeof(fullpath), "%s/power/active_duration", sysfs_path); | ^~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:867, from /usr/include/c++/9.2.0/cstdio:42, from /usr/include/c++/9.2.0/ext/string_conversions.h:43, from /usr/include/c++/9.2.0/bits/basic_string.h:6493, from /usr/include/c++/9.2.0/string:55, from /usr/include/c++/9.2.0/stdexcept:39, from /usr/include/c++/9.2.0/array:39, from /usr/include/c++/9.2.0/tuple:39, from /usr/include/c++/9.2.0/bits/stl_map.h:63, from /usr/include/c++/9.2.0/map:61, from devices/../parameters/parameters.h:29, 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++/9.2.0/cstdio:42, from /usr/include/c++/9.2.0/ext/string_conversions.h:43, from /usr/include/c++/9.2.0/bits/basic_string.h:6493, from /usr/include/c++/9.2.0/string:55, from /usr/include/c++/9.2.0/stdexcept:39, from /usr/include/c++/9.2.0/array:39, from /usr/include/c++/9.2.0/tuple:39, from /usr/include/c++/9.2.0/bits/stl_map.h:63, from /usr/include/c++/9.2.0/map:61, from devices/../parameters/parameters.h:29, 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++/9.2.0/cstdio:42, from /usr/include/c++/9.2.0/ext/string_conversions.h:43, from /usr/include/c++/9.2.0/bits/basic_string.h:6493, from /usr/include/c++/9.2.0/string:55, from /usr/include/c++/9.2.0/stdexcept:39, from /usr/include/c++/9.2.0/array:39, from /usr/include/c++/9.2.0/tuple:39, from /usr/include/c++/9.2.0/bits/stl_map.h:63, from /usr/include/c++/9.2.0/map:61, from devices/../parameters/parameters.h:29, 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++/9.2.0/cstdio:42, from /usr/include/c++/9.2.0/ext/string_conversions.h:43, from /usr/include/c++/9.2.0/bits/basic_string.h:6493, from /usr/include/c++/9.2.0/string:55, from /usr/include/c++/9.2.0/stdexcept:39, from /usr/include/c++/9.2.0/array:39, from /usr/include/c++/9.2.0/tuple:39, from /usr/include/c++/9.2.0/bits/stl_map.h:63, from /usr/include/c++/9.2.0/map:61, from devices/../parameters/parameters.h:29, 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++/9.2.0/cstdio:42, from /usr/include/c++/9.2.0/ext/string_conversions.h:43, from /usr/include/c++/9.2.0/bits/basic_string.h:6493, from /usr/include/c++/9.2.0/string:55, from /usr/include/c++/9.2.0/stdexcept:39, from /usr/include/c++/9.2.0/array:39, from /usr/include/c++/9.2.0/tuple:39, from /usr/include/c++/9.2.0/bits/stl_map.h:63, from /usr/include/c++/9.2.0/map:61, from devices/../parameters/parameters.h:29, 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 ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mv -f devices/.deps/powertop-usb.Tpo devices/.deps/powertop-usb.Po i686-tld-linux-g++ -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 -I/usr/include/ncursesw -I/usr/include/ncursesn -pthread -I/usr/include/ncurses -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 -I/usr/include/ncursesw -I/usr/include/ncursesn -pthread -O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -MT measurement/powertop-opal-sensors.o -MD -MP -MF measurement/.deps/powertop-opal-sensors.Tpo -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:494, 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)); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mv -f measurement/.deps/powertop-extech.Tpo measurement/.deps/powertop-extech.Po i686-tld-linux-g++ -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 -I/usr/include/ncursesw -I/usr/include/ncursesn -pthread -I/usr/include/ncurses -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 -I/usr/include/ncursesw -I/usr/include/ncursesn -pthread -O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -MT parameters/powertop-learn.o -MD -MP -MF parameters/.deps/powertop-learn.Tpo -c -o parameters/powertop-learn.o `test -f 'parameters/learn.cpp' || echo './'`parameters/learn.cpp In file included from /usr/include/string.h:494, from /usr/include/c++/9.2.0/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)); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mv -f measurement/.deps/powertop-sysfs.Tpo measurement/.deps/powertop-sysfs.Po i686-tld-linux-g++ -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 -I/usr/include/ncursesw -I/usr/include/ncursesn -pthread -I/usr/include/ncurses -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 -I/usr/include/ncursesw -I/usr/include/ncursesn -pthread -O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -MT parameters/powertop-parameters.o -MD -MP -MF parameters/.deps/powertop-parameters.Tpo -c -o parameters/powertop-parameters.o `test -f 'parameters/parameters.cpp' || echo './'`parameters/parameters.cpp mv -f measurement/.deps/powertop-measurement.Tpo measurement/.deps/powertop-measurement.Po i686-tld-linux-g++ -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 -I/usr/include/ncursesw -I/usr/include/ncursesn -pthread -I/usr/include/ncurses -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 -I/usr/include/ncursesw -I/usr/include/ncursesn -pthread -O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -MT parameters/powertop-persistent.o -MD -MP -MF parameters/.deps/powertop-persistent.Tpo -c -o parameters/powertop-persistent.o `test -f 'parameters/persistent.cpp' || echo './'`parameters/persistent.cpp mv -f measurement/.deps/powertop-opal-sensors.Tpo measurement/.deps/powertop-opal-sensors.Po i686-tld-linux-g++ -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 -I/usr/include/ncursesw -I/usr/include/ncursesn -pthread -I/usr/include/ncurses -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 -I/usr/include/ncursesw -I/usr/include/ncursesn -pthread -O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -MT perf/powertop-perf.o -MD -MP -MF perf/.deps/powertop-perf.Tpo -c -o perf/powertop-perf.o `test -f 'perf/perf.cpp' || echo './'`perf/perf.cpp mv -f parameters/.deps/powertop-learn.Tpo parameters/.deps/powertop-learn.Po i686-tld-linux-g++ -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 -I/usr/include/ncursesw -I/usr/include/ncursesn -pthread -I/usr/include/ncurses -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 -I/usr/include/ncursesw -I/usr/include/ncursesn -pthread -O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -MT perf/powertop-perf_bundle.o -MD -MP -MF perf/.deps/powertop-perf_bundle.Tpo -c -o perf/powertop-perf_bundle.o `test -f 'perf/perf_bundle.cpp' || echo './'`perf/perf_bundle.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} mv -f perf/.deps/powertop-perf.Tpo perf/.deps/powertop-perf.Po i686-tld-linux-g++ -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 -I/usr/include/ncursesw -I/usr/include/ncursesn -pthread -I/usr/include/ncurses -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 -I/usr/include/ncursesw -I/usr/include/ncursesn -pthread -O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -MT process/powertop-do_process.o -MD -MP -MF process/.deps/powertop-do_process.Tpo -c -o process/powertop-do_process.o `test -f 'process/do_process.cpp' || echo './'`process/do_process.cpp mv -f parameters/.deps/powertop-persistent.Tpo parameters/.deps/powertop-persistent.Po i686-tld-linux-g++ -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 -I/usr/include/ncursesw -I/usr/include/ncursesn -pthread -I/usr/include/ncurses -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 -I/usr/include/ncursesw -I/usr/include/ncursesn -pthread -O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -MT process/powertop-interrupt.o -MD -MP -MF process/.deps/powertop-interrupt.Tpo -c -o process/powertop-interrupt.o `test -f 'process/interrupt.cpp' || echo './'`process/interrupt.cpp mv -f parameters/.deps/powertop-parameters.Tpo parameters/.deps/powertop-parameters.Po i686-tld-linux-g++ -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 -I/usr/include/ncursesw -I/usr/include/ncursesn -pthread -I/usr/include/ncurses -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 -I/usr/include/ncursesw -I/usr/include/ncursesn -pthread -O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -MT process/powertop-powerconsumer.o -MD -MP -MF process/.deps/powertop-powerconsumer.Tpo -c -o process/powertop-powerconsumer.o `test -f 'process/powerconsumer.cpp' || echo './'`process/powerconsumer.cpp mv -f perf/.deps/powertop-perf_bundle.Tpo perf/.deps/powertop-perf_bundle.Po i686-tld-linux-g++ -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 -I/usr/include/ncursesw -I/usr/include/ncursesn -pthread -I/usr/include/ncurses -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 -I/usr/include/ncursesw -I/usr/include/ncursesn -pthread -O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -MT process/powertop-process.o -MD -MP -MF process/.deps/powertop-process.Tpo -c -o process/powertop-process.o `test -f 'process/process.cpp' || echo './'`process/process.cpp In file included from /usr/include/string.h:494, 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)); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mv -f process/.deps/powertop-powerconsumer.Tpo process/.deps/powertop-powerconsumer.Po i686-tld-linux-g++ -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 -I/usr/include/ncursesw -I/usr/include/ncursesn -pthread -I/usr/include/ncurses -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 -I/usr/include/ncursesw -I/usr/include/ncursesn -pthread -O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -MT process/powertop-processdevice.o -MD -MP -MF process/.deps/powertop-processdevice.Tpo -c -o process/powertop-processdevice.o `test -f 'process/processdevice.cpp' || echo './'`process/processdevice.cpp mv -f process/.deps/powertop-interrupt.Tpo process/.deps/powertop-interrupt.Po i686-tld-linux-g++ -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 -I/usr/include/ncursesw -I/usr/include/ncursesn -pthread -I/usr/include/ncurses -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 -I/usr/include/ncursesw -I/usr/include/ncursesn -pthread -O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -MT process/powertop-timer.o -MD -MP -MF process/.deps/powertop-timer.Tpo -c -o process/powertop-timer.o `test -f 'process/timer.cpp' || echo './'`process/timer.cpp In file included from /usr/include/string.h:494, 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 237 and 247 bytes from a string of length 4096 [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mv -f process/.deps/powertop-processdevice.Tpo process/.deps/powertop-processdevice.Po i686-tld-linux-g++ -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 -I/usr/include/ncursesw -I/usr/include/ncursesn -pthread -I/usr/include/ncurses -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 -I/usr/include/ncursesw -I/usr/include/ncursesn -pthread -O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -MT process/powertop-work.o -MD -MP -MF process/.deps/powertop-work.Tpo -c -o process/powertop-work.o `test -f 'process/work.cpp' || echo './'`process/work.cpp mv -f process/.deps/powertop-process.Tpo process/.deps/powertop-process.Po i686-tld-linux-g++ -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 -I/usr/include/ncursesw -I/usr/include/ncursesn -pthread -I/usr/include/ncurses -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 -I/usr/include/ncursesw -I/usr/include/ncursesn -pthread -O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -MT report/powertop-report-data-html.o -MD -MP -MF report/.deps/powertop-report-data-html.Tpo -c -o report/powertop-report-data-html.o `test -f 'report/report-data-html.cpp' || echo './'`report/report-data-html.cpp In file included from /usr/include/string.h:494, 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)); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mv -f process/.deps/powertop-timer.Tpo process/.deps/powertop-timer.Po i686-tld-linux-g++ -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 -I/usr/include/ncursesw -I/usr/include/ncursesn -pthread -I/usr/include/ncurses -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 -I/usr/include/ncursesw -I/usr/include/ncursesn -pthread -O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -MT report/powertop-report-formatter-base.o -MD -MP -MF report/.deps/powertop-report-formatter-base.Tpo -c -o report/powertop-report-formatter-base.o `test -f 'report/report-formatter-base.cpp' || echo './'`report/report-formatter-base.cpp mv -f report/.deps/powertop-report-data-html.Tpo report/.deps/powertop-report-data-html.Po i686-tld-linux-g++ -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 -I/usr/include/ncursesw -I/usr/include/ncursesn -pthread -I/usr/include/ncurses -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 -I/usr/include/ncursesw -I/usr/include/ncursesn -pthread -O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -MT report/powertop-report-formatter-csv.o -MD -MP -MF report/.deps/powertop-report-formatter-csv.Tpo -c -o report/powertop-report-formatter-csv.o `test -f 'report/report-formatter-csv.cpp' || echo './'`report/report-formatter-csv.cpp In file included from /usr/include/string.h:494, 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)); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mv -f process/.deps/powertop-work.Tpo process/.deps/powertop-work.Po i686-tld-linux-g++ -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 -I/usr/include/ncursesw -I/usr/include/ncursesn -pthread -I/usr/include/ncurses -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 -I/usr/include/ncursesw -I/usr/include/ncursesn -pthread -O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -MT report/powertop-report-formatter-html.o -MD -MP -MF report/.deps/powertop-report-formatter-html.Tpo -c -o report/powertop-report-formatter-html.o `test -f 'report/report-formatter-html.cpp' || echo './'`report/report-formatter-html.cpp mv -f report/.deps/powertop-report-formatter-base.Tpo report/.deps/powertop-report-formatter-base.Po i686-tld-linux-g++ -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 -I/usr/include/ncursesw -I/usr/include/ncursesn -pthread -I/usr/include/ncurses -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 -I/usr/include/ncursesw -I/usr/include/ncursesn -pthread -O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -MT report/powertop-report-maker.o -MD -MP -MF report/.deps/powertop-report-maker.Tpo -c -o report/powertop-report-maker.o `test -f 'report/report-maker.cpp' || echo './'`report/report-maker.cpp mv -f report/.deps/powertop-report-formatter-csv.Tpo report/.deps/powertop-report-formatter-csv.Po i686-tld-linux-g++ -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 -I/usr/include/ncursesw -I/usr/include/ncursesn -pthread -I/usr/include/ncurses -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 -I/usr/include/ncursesw -I/usr/include/ncursesn -pthread -O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -MT report/powertop-report.o -MD -MP -MF report/.deps/powertop-report.Tpo -c -o report/powertop-report.o `test -f 'report/report.cpp' || echo './'`report/report.cpp mv -f process/.deps/powertop-do_process.Tpo process/.deps/powertop-do_process.Po i686-tld-linux-g++ -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 -I/usr/include/ncursesw -I/usr/include/ncursesn -pthread -I/usr/include/ncurses -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 -I/usr/include/ncursesw -I/usr/include/ncursesn -pthread -O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -MT tuning/powertop-bluetooth.o -MD -MP -MF tuning/.deps/powertop-bluetooth.Tpo -c -o tuning/powertop-bluetooth.o `test -f 'tuning/bluetooth.cpp' || echo './'`tuning/bluetooth.cpp mv -f report/.deps/powertop-report-formatter-html.Tpo report/.deps/powertop-report-formatter-html.Po i686-tld-linux-g++ -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 -I/usr/include/ncursesw -I/usr/include/ncursesn -pthread -I/usr/include/ncurses -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 -I/usr/include/ncursesw -I/usr/include/ncursesn -pthread -O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -MT tuning/powertop-ethernet.o -MD -MP -MF tuning/.deps/powertop-ethernet.Tpo -c -o tuning/powertop-ethernet.o `test -f 'tuning/ethernet.cpp' || echo './'`tuning/ethernet.cpp mv -f report/.deps/powertop-report-maker.Tpo report/.deps/powertop-report-maker.Po i686-tld-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 -I/usr/include/ncursesw -I/usr/include/ncursesn -pthread -I/usr/include/ncurses -O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -pthread -MT tuning/powertop-iw.o -MD -MP -MF tuning/.deps/powertop-iw.Tpo -c -o tuning/powertop-iw.o `test -f 'tuning/iw.c' || echo './'`tuning/iw.c mv -f tuning/.deps/powertop-bluetooth.Tpo tuning/.deps/powertop-bluetooth.Po i686-tld-linux-g++ -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 -I/usr/include/ncursesw -I/usr/include/ncursesn -pthread -I/usr/include/ncurses -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 -I/usr/include/ncursesw -I/usr/include/ncursesn -pthread -O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -MT tuning/powertop-runtime.o -MD -MP -MF tuning/.deps/powertop-runtime.Tpo -c -o tuning/powertop-runtime.o `test -f 'tuning/runtime.cpp' || echo './'`tuning/runtime.cpp mv -f tuning/.deps/powertop-ethernet.Tpo tuning/.deps/powertop-ethernet.Po i686-tld-linux-g++ -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 -I/usr/include/ncursesw -I/usr/include/ncursesn -pthread -I/usr/include/ncurses -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 -I/usr/include/ncursesw -I/usr/include/ncursesn -pthread -O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -MT tuning/powertop-tunable.o -MD -MP -MF tuning/.deps/powertop-tunable.Tpo -c -o tuning/powertop-tunable.o `test -f 'tuning/tunable.cpp' || echo './'`tuning/tunable.cpp mv -f tuning/.deps/powertop-iw.Tpo tuning/.deps/powertop-iw.Po i686-tld-linux-g++ -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 -I/usr/include/ncursesw -I/usr/include/ncursesn -pthread -I/usr/include/ncurses -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 -I/usr/include/ncursesw -I/usr/include/ncursesn -pthread -O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -MT tuning/powertop-tuning.o -MD -MP -MF tuning/.deps/powertop-tuning.Tpo -c -o tuning/powertop-tuning.o `test -f 'tuning/tuning.cpp' || echo './'`tuning/tuning.cpp In file included from /usr/include/string.h:494, from /usr/include/c++/9.2.0/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)); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mv -f tuning/.deps/powertop-tunable.Tpo tuning/.deps/powertop-tunable.Po i686-tld-linux-g++ -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 -I/usr/include/ncursesw -I/usr/include/ncursesn -pthread -I/usr/include/ncurses -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 -I/usr/include/ncursesw -I/usr/include/ncursesn -pthread -O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -MT tuning/powertop-tuningsysfs.o -MD -MP -MF tuning/.deps/powertop-tuningsysfs.Tpo -c -o tuning/powertop-tuningsysfs.o `test -f 'tuning/tuningsysfs.cpp' || echo './'`tuning/tuningsysfs.cpp tuning/runtime.cpp: In constructor 'runtime_tunable::runtime_tunable(const char*, const char*, const char*, const char*)': tuning/runtime.cpp:86:61: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size 4081 [-Wformat-truncation=] 86 | snprintf(toggle_good, sizeof(toggle_good), "echo 'auto' > '%s';", runtime_path); | ^~ In file included from /usr/include/stdio.h:867, from /usr/include/c++/9.2.0/cstdio:42, from /usr/include/c++/9.2.0/ext/string_conversions.h:43, from /usr/include/c++/9.2.0/bits/basic_string.h:6493, from /usr/include/c++/9.2.0/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++/9.2.0/cstdio:42, from /usr/include/c++/9.2.0/ext/string_conversions.h:43, from /usr/include/c++/9.2.0/bits/basic_string.h:6493, from /usr/include/c++/9.2.0/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 ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mv -f report/.deps/powertop-report.Tpo report/.deps/powertop-report.Po i686-tld-linux-g++ -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 -I/usr/include/ncursesw -I/usr/include/ncursesn -pthread -I/usr/include/ncurses -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 -I/usr/include/ncursesw -I/usr/include/ncursesn -pthread -O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -MT tuning/powertop-tuningusb.o -MD -MP -MF tuning/.deps/powertop-tuningusb.Tpo -c -o tuning/powertop-tuningusb.o `test -f 'tuning/tuningusb.cpp' || echo './'`tuning/tuningusb.cpp tuning/runtime.cpp: In function 'void add_runtime_tunables(const char*)': tuning/runtime.cpp:166:65: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size between 3822 and 4077 [-Wformat-truncation=] 166 | snprintf(filename, sizeof(filename), "/sys/bus/%s/devices/%s/%s/power/control", bus, entry->d_name, port); | ^~ ~~~~ In file included from /usr/include/stdio.h:867, from /usr/include/c++/9.2.0/cstdio:42, from /usr/include/c++/9.2.0/ext/string_conversions.h:43, from /usr/include/c++/9.2.0/bits/basic_string.h:6493, from /usr/include/c++/9.2.0/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++/9.2.0/cstdio:42, from /usr/include/c++/9.2.0/ext/string_conversions.h:43, from /usr/include/c++/9.2.0/bits/basic_string.h:6493, from /usr/include/c++/9.2.0/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++/9.2.0/cstdio:42, from /usr/include/c++/9.2.0/ext/string_conversions.h:43, from /usr/include/c++/9.2.0/bits/basic_string.h:6493, from /usr/include/c++/9.2.0/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 ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mv -f tuning/.deps/powertop-runtime.Tpo tuning/.deps/powertop-runtime.Po i686-tld-linux-g++ -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 -I/usr/include/ncursesw -I/usr/include/ncursesn -pthread -I/usr/include/ncurses -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 -I/usr/include/ncursesw -I/usr/include/ncursesn -pthread -O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -MT tuning/powertop-tuningi2c.o -MD -MP -MF tuning/.deps/powertop-tuningi2c.Tpo -c -o tuning/powertop-tuningi2c.o `test -f 'tuning/tuningi2c.cpp' || echo './'`tuning/tuningi2c.cpp tuning/tuningsysfs.cpp: In constructor 'sysfs_tunable::sysfs_tunable(const char*, const char*, const char*)': tuning/tuningsysfs.cpp:50:52: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size 4090 [-Wformat-truncation=] 50 | snprintf(toggle_good, sizeof(toggle_good), "echo '%s' > '%s';", target_value, sysfs_path); | ^~ In file included from /usr/include/stdio.h:867, from /usr/include/c++/9.2.0/cstdio:42, from /usr/include/c++/9.2.0/ext/string_conversions.h:43, from /usr/include/c++/9.2.0/bits/basic_string.h:6493, from /usr/include/c++/9.2.0/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++/9.2.0/cstdio:42, from /usr/include/c++/9.2.0/ext/string_conversions.h:43, from /usr/include/c++/9.2.0/bits/basic_string.h:6493, from /usr/include/c++/9.2.0/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 ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/string.h:494, from /usr/include/c++/9.2.0/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)); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mv -f tuning/.deps/powertop-tuningsysfs.Tpo tuning/.deps/powertop-tuningsysfs.Po i686-tld-linux-g++ -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 -I/usr/include/ncursesw -I/usr/include/ncursesn -pthread -I/usr/include/ncurses -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 -I/usr/include/ncursesw -I/usr/include/ncursesn -pthread -O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -MT tuning/powertop-wifi.o -MD -MP -MF tuning/.deps/powertop-wifi.Tpo -c -o tuning/powertop-wifi.o `test -f 'tuning/wifi.cpp' || echo './'`tuning/wifi.cpp mv -f tuning/.deps/powertop-tuning.Tpo tuning/.deps/powertop-tuning.Po i686-tld-linux-g++ -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 -I/usr/include/ncursesw -I/usr/include/ncursesn -pthread -I/usr/include/ncurses -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 -I/usr/include/ncursesw -I/usr/include/ncursesn -pthread -O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -MT wakeup/powertop-wakeup.o -MD -MP -MF wakeup/.deps/powertop-wakeup.Tpo -c -o wakeup/powertop-wakeup.o `test -f 'wakeup/wakeup.cpp' || echo './'`wakeup/wakeup.cpp tuning/tuningusb.cpp: In constructor 'usb_tunable::usb_tunable(const char*, const char*)': tuning/tuningusb.cpp:77:61: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size 4081 [-Wformat-truncation=] 77 | snprintf(toggle_good, sizeof(toggle_good), "echo 'auto' > '%s';", usb_path); | ^~ In file included from /usr/include/stdio.h:867, from /usr/include/c++/9.2.0/cstdio:42, from /usr/include/c++/9.2.0/ext/string_conversions.h:43, from /usr/include/c++/9.2.0/bits/basic_string.h:6493, from /usr/include/c++/9.2.0/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++/9.2.0/cstdio:42, from /usr/include/c++/9.2.0/ext/string_conversions.h:43, from /usr/include/c++/9.2.0/bits/basic_string.h:6493, from /usr/include/c++/9.2.0/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 ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tuning/tuningi2c.cpp: In constructor 'i2c_tunable::i2c_tunable(const char*, const char*, bool)': tuning/tuningi2c.cpp:61:61: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size 4081 [-Wformat-truncation=] 61 | snprintf(toggle_good, sizeof(toggle_good), "echo 'auto' > '%s';", i2c_path); | ^~ In file included from /usr/include/stdio.h:867, from /usr/include/c++/9.2.0/cstdio:42, from /usr/include/c++/9.2.0/ext/string_conversions.h:43, from /usr/include/c++/9.2.0/bits/basic_string.h:6493, from /usr/include/c++/9.2.0/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++/9.2.0/cstdio:42, from /usr/include/c++/9.2.0/ext/string_conversions.h:43, from /usr/include/c++/9.2.0/bits/basic_string.h:6493, from /usr/include/c++/9.2.0/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 ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mv -f tuning/.deps/powertop-tuningi2c.Tpo tuning/.deps/powertop-tuningi2c.Po i686-tld-linux-g++ -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 -I/usr/include/ncursesw -I/usr/include/ncursesn -pthread -I/usr/include/ncurses -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 -I/usr/include/ncursesw -I/usr/include/ncursesn -pthread -O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -MT wakeup/powertop-waketab.o -MD -MP -MF wakeup/.deps/powertop-waketab.Tpo -c -o wakeup/powertop-waketab.o `test -f 'wakeup/waketab.cpp' || echo './'`wakeup/waketab.cpp mv -f tuning/.deps/powertop-tuningusb.Tpo tuning/.deps/powertop-tuningusb.Po i686-tld-linux-g++ -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 -I/usr/include/ncursesw -I/usr/include/ncursesn -pthread -I/usr/include/ncurses -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 -I/usr/include/ncursesw -I/usr/include/ncursesn -pthread -O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -MT wakeup/powertop-wakeup_ethernet.o -MD -MP -MF wakeup/.deps/powertop-wakeup_ethernet.Tpo -c -o wakeup/powertop-wakeup_ethernet.o `test -f 'wakeup/wakeup_ethernet.cpp' || echo './'`wakeup/wakeup_ethernet.cpp tuning/wifi.cpp: In constructor 'wifi_tunable::wifi_tunable(const char*)': tuning/wifi.cpp:50:53: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size 4089 [-Wformat-truncation=] 50 | snprintf(toggle_good, sizeof(toggle_good), "iw dev %s set power_save on", iface); | ^~ In file included from /usr/include/stdio.h:867, from /usr/include/c++/9.2.0/cstdio:42, from /usr/include/c++/9.2.0/ext/string_conversions.h:43, from /usr/include/c++/9.2.0/bits/basic_string.h:6493, from /usr/include/c++/9.2.0/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++/9.2.0/cstdio:42, from /usr/include/c++/9.2.0/ext/string_conversions.h:43, from /usr/include/c++/9.2.0/bits/basic_string.h:6493, from /usr/include/c++/9.2.0/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 ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/string.h:494, 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)); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mv -f wakeup/.deps/powertop-wakeup.Tpo wakeup/.deps/powertop-wakeup.Po i686-tld-linux-g++ -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 -I/usr/include/ncursesw -I/usr/include/ncursesn -pthread -I/usr/include/ncurses -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 -I/usr/include/ncursesw -I/usr/include/ncursesn -pthread -O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -MT wakeup/powertop-wakeup_usb.o -MD -MP -MF wakeup/.deps/powertop-wakeup_usb.Tpo -c -o wakeup/powertop-wakeup_usb.o `test -f 'wakeup/wakeup_usb.cpp' || echo './'`wakeup/wakeup_usb.cpp mv -f tuning/.deps/powertop-wifi.Tpo tuning/.deps/powertop-wifi.Po 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 ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mv -f wakeup/.deps/powertop-wakeup_ethernet.Tpo wakeup/.deps/powertop-wakeup_ethernet.Po 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 ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mv -f wakeup/.deps/powertop-wakeup_usb.Tpo wakeup/.deps/powertop-wakeup_usb.Po mv -f wakeup/.deps/powertop-waketab.Tpo wakeup/.deps/powertop-waketab.Po /bin/sh ../libtool --tag=CXX --mode=link i686-tld-linux-g++ -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 -I/usr/include/ncursesw -I/usr/include/ncursesn -pthread -O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -lnl-genl-3 -lnl-3 -Wl,--as-needed -Wl,--no-copy-dt-needed-entries -lncursesw -Wl,--as-needed -Wl,--no-copy-dt-needed-entries -lncurses -lpci -Wl,--as-needed -Wl,--no-copy-dt-needed-entries -Wl,-z,relro -Wl,-z,combreloc -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: i686-tld-linux-g++ -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 -I/usr/include/ncursesw -I/usr/include/ncursesn -pthread -O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -Wl,--as-needed -Wl,--no-copy-dt-needed-entries -Wl,--as-needed -Wl,--no-copy-dt-needed-entries -Wl,--as-needed -Wl,--no-copy-dt-needed-entries -Wl,-z -Wl,relro -Wl,-z -Wl,combreloc -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 /usr/lib/libnl-genl-3.so /usr/lib/libnl-3.so -lpthread -lncursesw -lncurses -lpci ../traceevent/.libs/libtraceevnet.a -pthread make[3]: Leaving directory '/tmp/B.uLdWPO/BUILD/powertop-2.11/src' make[2]: Leaving directory '/tmp/B.uLdWPO/BUILD/powertop-2.11/src' Making all in po make[2]: Entering directory '/tmp/B.uLdWPO/BUILD/powertop-2.11/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" || /usr/bin/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 '/tmp/B.uLdWPO/BUILD/powertop-2.11/po' rm -f ca.gmo && /usr/bin/msgfmt -c --statistics --verbose -o ca.gmo ca.po rm -f cs_CZ.gmo && /usr/bin/msgfmt -c --statistics --verbose -o cs_CZ.gmo cs_CZ.po rm -f de_DE.gmo && /usr/bin/msgfmt -c --statistics --verbose -o de_DE.gmo de_DE.po rm -f en_GB.gmo && /usr/bin/msgfmt -c --statistics --verbose -o en_GB.gmo en_GB.po cs_CZ.po: ca.po: 109 translated messages64 translated messages, 37 fuzzy translations, 19 fuzzy translations, 58 untranslated messages, 121 untranslated messages. . de_DE.po: 111 translated messages, 37 fuzzy translationsen_GB.po: , 56 untranslated messages. 21 translated messages, 8 fuzzy translations, 175 untranslated messages. rm -f en_US.gmo && /usr/bin/msgfmt -c --statistics --verbose -o en_US.gmo en_US.po rm -f es_ES.gmo && /usr/bin/msgfmt -c --statistics --verbose -o es_ES.gmo es_ES.po rm -f hu_HU.gmo && /usr/bin/msgfmt -c --statistics --verbose -o hu_HU.gmo hu_HU.po rm -f id_ID.gmo && /usr/bin/msgfmt -c --statistics --verbose -o id_ID.gmo id_ID.po en_US.po: 61 translated messages, 18 fuzzy translations, 125 untranslated messages. es_ES.po: 65 translated messages, 23 fuzzy translations, 116 untranslated messages. rm -f nl_NL.gmo && /usr/bin/msgfmt -c --statistics --verbose -o nl_NL.gmo nl_NL.po hu_HU.po: 104 translated messages, 33 fuzzy translations, 67 untranslated messages. rm -f zh_TW.gmo && /usr/bin/msgfmt -c --statistics --verbose -o zh_TW.gmo zh_TW.po id_ID.po: 110 translated messages, 37 fuzzy translations, 57 untranslated messages. nl_NL.po: 22 translated messages, 8 fuzzy translations, 174 untranslated messages. zh_TW.po: 110 translated messages, 37 fuzzy translations, 57 untranslated messages. make[3]: Leaving directory '/tmp/B.uLdWPO/BUILD/powertop-2.11/po' touch stamp-po make[2]: Leaving directory '/tmp/B.uLdWPO/BUILD/powertop-2.11/po' Making all in doc make[2]: Entering directory '/tmp/B.uLdWPO/BUILD/powertop-2.11/doc' make[2]: Nothing to be done for 'all'. make[2]: Leaving directory '/tmp/B.uLdWPO/BUILD/powertop-2.11/doc' Making all in scripts/bash-completion make[2]: Entering directory '/tmp/B.uLdWPO/BUILD/powertop-2.11/scripts/bash-completion' make[2]: Nothing to be done for 'all'. make[2]: Leaving directory '/tmp/B.uLdWPO/BUILD/powertop-2.11/scripts/bash-completion' make[2]: Entering directory '/tmp/B.uLdWPO/BUILD/powertop-2.11' make[2]: Leaving directory '/tmp/B.uLdWPO/BUILD/powertop-2.11' make[1]: Leaving directory '/tmp/B.uLdWPO/BUILD/powertop-2.11' + exit 0 Executing(%install): env -i TMP=/home/users/builder/tmp HOME=/home/users/builder PATH=/usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin:/home/users/builder/bin TMPDIR=/tmp/B.uLdWPO/BUILD/tmp /bin/sh -e /tmp/B.uLdWPO/BUILD/tmp/rpm-tmp.33758 TMP=/home/users/builder/tmp HOME=/home/users/builder PATH=/usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin:/home/users/builder/bin TMPDIR=/tmp/B.uLdWPO/BUILD/tmp + umask 022 + cd /tmp/B.uLdWPO/BUILD + /bin/rm '--interactive=never' -rf /tmp/B.uLdWPO/BUILD/tmp/powertop-2.11-root-builder + /bin/mkdir -p /tmp/B.uLdWPO/BUILD/tmp/powertop-2.11-root-builder + cd powertop-2.11 + rm -rf /tmp/B.uLdWPO/BUILD/tmp/powertop-2.11-root-builder + /usr/bin/make -j4 install 'DESTDIR=/tmp/B.uLdWPO/BUILD/tmp/powertop-2.11-root-builder' Making install in traceevent make[1]: Entering directory '/tmp/B.uLdWPO/BUILD/powertop-2.11/traceevent' make[2]: Entering directory '/tmp/B.uLdWPO/BUILD/powertop-2.11/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 '/tmp/B.uLdWPO/BUILD/powertop-2.11/traceevent' make[1]: Leaving directory '/tmp/B.uLdWPO/BUILD/powertop-2.11/traceevent' Making install in src make[1]: Entering directory '/tmp/B.uLdWPO/BUILD/powertop-2.11/src' /usr/bin/make install-am make[2]: Entering directory '/tmp/B.uLdWPO/BUILD/powertop-2.11/src' make[3]: Entering directory '/tmp/B.uLdWPO/BUILD/powertop-2.11/src' make[3]: Nothing to be done for 'install-data-am'. /bin/mkdir -p '/tmp/B.uLdWPO/BUILD/tmp/powertop-2.11-root-builder/usr/sbin' /bin/sh ../libtool --mode=install /usr/bin/install -c powertop '/tmp/B.uLdWPO/BUILD/tmp/powertop-2.11-root-builder/usr/sbin' libtool: install: /usr/bin/install -c powertop /tmp/B.uLdWPO/BUILD/tmp/powertop-2.11-root-builder/usr/sbin/powertop make[3]: Leaving directory '/tmp/B.uLdWPO/BUILD/powertop-2.11/src' make[2]: Leaving directory '/tmp/B.uLdWPO/BUILD/powertop-2.11/src' make[1]: Leaving directory '/tmp/B.uLdWPO/BUILD/powertop-2.11/src' Making install in po make[1]: Entering directory '/tmp/B.uLdWPO/BUILD/powertop-2.11/po' installing ca.gmo as /tmp/B.uLdWPO/BUILD/tmp/powertop-2.11-root-builder/usr/share/locale/ca/LC_MESSAGES/powertop.mo installing cs_CZ.gmo as /tmp/B.uLdWPO/BUILD/tmp/powertop-2.11-root-builder/usr/share/locale/cs_CZ/LC_MESSAGES/powertop.mo installing de_DE.gmo as /tmp/B.uLdWPO/BUILD/tmp/powertop-2.11-root-builder/usr/share/locale/de_DE/LC_MESSAGES/powertop.mo installing en_GB.gmo as /tmp/B.uLdWPO/BUILD/tmp/powertop-2.11-root-builder/usr/share/locale/en_GB/LC_MESSAGES/powertop.mo installing en_US.gmo as /tmp/B.uLdWPO/BUILD/tmp/powertop-2.11-root-builder/usr/share/locale/en_US/LC_MESSAGES/powertop.mo installing es_ES.gmo as /tmp/B.uLdWPO/BUILD/tmp/powertop-2.11-root-builder/usr/share/locale/es_ES/LC_MESSAGES/powertop.mo installing hu_HU.gmo as /tmp/B.uLdWPO/BUILD/tmp/powertop-2.11-root-builder/usr/share/locale/hu_HU/LC_MESSAGES/powertop.mo installing id_ID.gmo as /tmp/B.uLdWPO/BUILD/tmp/powertop-2.11-root-builder/usr/share/locale/id_ID/LC_MESSAGES/powertop.mo installing nl_NL.gmo as /tmp/B.uLdWPO/BUILD/tmp/powertop-2.11-root-builder/usr/share/locale/nl_NL/LC_MESSAGES/powertop.mo installing zh_TW.gmo as /tmp/B.uLdWPO/BUILD/tmp/powertop-2.11-root-builder/usr/share/locale/zh_TW/LC_MESSAGES/powertop.mo if test "powertop" = "gettext-tools"; then \ /bin/mkdir -p /tmp/B.uLdWPO/BUILD/tmp/powertop-2.11-root-builder/usr/share/gettext/po; \ for file in Makefile.in.in remove-potcdate.sin quot.sed boldquot.sed en@quot.header en@boldquot.header insert-header.sin Rules-quot Makevars.template; do \ /usr/bin/install -c -m 644 ./$file \ /tmp/B.uLdWPO/BUILD/tmp/powertop-2.11-root-builder/usr/share/gettext/po/$file; \ done; \ for file in Makevars; do \ rm -f /tmp/B.uLdWPO/BUILD/tmp/powertop-2.11-root-builder/usr/share/gettext/po/$file; \ done; \ else \ : ; \ fi make[1]: Leaving directory '/tmp/B.uLdWPO/BUILD/powertop-2.11/po' Making install in doc make[1]: Entering directory '/tmp/B.uLdWPO/BUILD/powertop-2.11/doc' make[2]: Entering directory '/tmp/B.uLdWPO/BUILD/powertop-2.11/doc' make[2]: Nothing to be done for 'install-exec-am'. /bin/mkdir -p '/tmp/B.uLdWPO/BUILD/tmp/powertop-2.11-root-builder/usr/share/man/man8' /usr/bin/install -c -m 644 powertop.8 '/tmp/B.uLdWPO/BUILD/tmp/powertop-2.11-root-builder/usr/share/man/man8' make[2]: Leaving directory '/tmp/B.uLdWPO/BUILD/powertop-2.11/doc' make[1]: Leaving directory '/tmp/B.uLdWPO/BUILD/powertop-2.11/doc' Making install in scripts/bash-completion make[1]: Entering directory '/tmp/B.uLdWPO/BUILD/powertop-2.11/scripts/bash-completion' make[2]: Entering directory '/tmp/B.uLdWPO/BUILD/powertop-2.11/scripts/bash-completion' make[2]: Nothing to be done for 'install-exec-am'. /bin/mkdir -p '/tmp/B.uLdWPO/BUILD/tmp/powertop-2.11-root-builder/usr/share/bash-completion/completions' /usr/bin/install -c -m 644 powertop '/tmp/B.uLdWPO/BUILD/tmp/powertop-2.11-root-builder/usr/share/bash-completion/completions' make[2]: Leaving directory '/tmp/B.uLdWPO/BUILD/powertop-2.11/scripts/bash-completion' make[1]: Leaving directory '/tmp/B.uLdWPO/BUILD/powertop-2.11/scripts/bash-completion' make[1]: Entering directory '/tmp/B.uLdWPO/BUILD/powertop-2.11' make[2]: Entering directory '/tmp/B.uLdWPO/BUILD/powertop-2.11' make[2]: Nothing to be done for 'install-exec-am'. make[2]: Nothing to be done for 'install-data-am'. make[2]: Leaving directory '/tmp/B.uLdWPO/BUILD/powertop-2.11' make[1]: Leaving directory '/tmp/B.uLdWPO/BUILD/powertop-2.11' + install -d /tmp/B.uLdWPO/BUILD/tmp/powertop-2.11-root-builder/var/cache/powertop + touch /tmp/B.uLdWPO/BUILD/tmp/powertop-2.11-root-builder/var/cache/powertop/saved_parameters.powertop + /bin/mv /tmp/B.uLdWPO/BUILD/tmp/powertop-2.11-root-builder/usr/share/locale/cs_CZ /tmp/B.uLdWPO/BUILD/tmp/powertop-2.11-root-builder/usr/share/locale/cs + /bin/mv /tmp/B.uLdWPO/BUILD/tmp/powertop-2.11-root-builder/usr/share/locale/de_DE /tmp/B.uLdWPO/BUILD/tmp/powertop-2.11-root-builder/usr/share/locale/de + /bin/mv /tmp/B.uLdWPO/BUILD/tmp/powertop-2.11-root-builder/usr/share/locale/es_ES /tmp/B.uLdWPO/BUILD/tmp/powertop-2.11-root-builder/usr/share/locale/es + /bin/mv /tmp/B.uLdWPO/BUILD/tmp/powertop-2.11-root-builder/usr/share/locale/hu_HU /tmp/B.uLdWPO/BUILD/tmp/powertop-2.11-root-builder/usr/share/locale/hu + /bin/mv /tmp/B.uLdWPO/BUILD/tmp/powertop-2.11-root-builder/usr/share/locale/id_ID /tmp/B.uLdWPO/BUILD/tmp/powertop-2.11-root-builder/usr/share/locale/id + /bin/mv /tmp/B.uLdWPO/BUILD/tmp/powertop-2.11-root-builder/usr/share/locale/nl_NL /tmp/B.uLdWPO/BUILD/tmp/powertop-2.11-root-builder/usr/share/locale/nl + /usr/lib/rpm/find-lang.sh /tmp/B.uLdWPO/BUILD/tmp/powertop-2.11-root-builder powertop find-lang.sh/1.40: find-lang 'powertop' > powertop.lang + __spec_install_post_strip + set +x Stripping 1 ELF executables...DONE + __spec_install_post_chrpath + set +x Remove RPATH/RUNPATH from 1 executable binaries and shared object files. + __spec_install_post_check_so + set +x Searching for shared objects with unresolved symbols... DONE + __spec_install_post_check_tmpfiles + set +x Checking /var/run <-> tmpfiles.d completeness... DONE + __spec_install_post_compress_docs + set +x Compress man pages: /usr/share/man + __spec_install_post_compress_modules + set +x + __spec_install_post_py_hardlink + set +x Processing files: powertop-2.11-1 Executing(%doc): env -i TMP=/home/users/builder/tmp HOME=/home/users/builder PATH=/usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin:/home/users/builder/bin TMPDIR=/tmp/B.uLdWPO/BUILD/tmp /bin/sh -e /tmp/B.uLdWPO/BUILD/tmp/rpm-tmp.46839 + umask 022 + cd /tmp/B.uLdWPO/BUILD + cd powertop-2.11 + DOCDIR=/tmp/B.uLdWPO/BUILD/tmp/powertop-2.11-root-builder/usr/share/doc/powertop-2.11 + export DOCDIR + rm -rf /tmp/B.uLdWPO/BUILD/tmp/powertop-2.11-root-builder/usr/share/doc/powertop-2.11 + /bin/mkdir -p /tmp/B.uLdWPO/BUILD/tmp/powertop-2.11-root-builder/usr/share/doc/powertop-2.11 + /usr/lib/rpm/compress-doc Compressing documentation in /tmp/B.uLdWPO/BUILD/tmp/powertop-2.11-root-builder/usr/share/doc/powertop-2.11... Documentation compressed. + cp -pr README TODO /tmp/B.uLdWPO/BUILD/tmp/powertop-2.11-root-builder/usr/share/doc/powertop-2.11 + /usr/lib/rpm/compress-doc Compressing documentation in /tmp/B.uLdWPO/BUILD/tmp/powertop-2.11-root-builder/usr/share/doc/powertop-2.11... ./README ./TODO Documentation compressed. + exit 0 Requires: libc.so.6 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 libgcc_s.so.1(GCC_3.0) libgcc_s.so.1(GLIBC_2.0) libm.so.6 libm.so.6(GLIBC_2.0) libm.so.6(GLIBC_2.29) libncursesw.so.6 libnl-3.so.200 libnl-3.so.200(libnl_3) libnl-genl-3.so.200 libnl-genl-3.so.200(libnl_3) libpci.so.3 libpci.so.3(LIBPCI_3.0) libpci.so.3(LIBPCI_3.5) libpthread.so.0 libpthread.so.0(GLIBC_2.0) libpthread.so.0(GLIBC_2.1) libpthread.so.0(GLIBC_2.2) libstdc++.so.6 libstdc++.so.6(CXXABI_1.3) libstdc++.so.6(CXXABI_1.3.9) 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) rtld(GNU_HASH) Checking for unpackaged file(s): /usr/lib/rpm/check-files /tmp/B.uLdWPO/BUILD/tmp/powertop-2.11-root-builder warning: Installed (but unpackaged) file(s) found: /usr/share/bash-completion/completions/powertop Wrote: /tmp/B.uLdWPO/RPMS/powertop-2.11-1.i686.rpm Executing(%clean): env -i TMP=/home/users/builder/tmp HOME=/home/users/builder PATH=/usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin:/home/users/builder/bin TMPDIR=/tmp/B.uLdWPO/BUILD/tmp /bin/sh -e /tmp/B.uLdWPO/BUILD/tmp/rpm-tmp.46839 + umask 022 + cd /tmp/B.uLdWPO/BUILD + cd powertop-2.11 + /bin/rm '--interactive=never' -rf /tmp/B.uLdWPO/BUILD/tmp/powertop-2.11-root-builder + rm -rf /tmp/B.uLdWPO/BUILD/tmp/powertop-2.11-root-builder ended at: Sun Dec 15 23:41:52 2019, done in 0:00:25.396538 + chmod -R u+rwX /tmp/B.uLdWPO/BUILD + rm -rf /tmp/B.uLdWPO/tmp /tmp/B.uLdWPO/BUILD copy rpm files to cache_dir: /spools/ready Creating pndir index of /spools/ready/ (type=dir)... Loading [pndir]previous /spools/ready/packages.ndir.gz... Loading [dir]/spools/ready/... 200..335 Writing /spools/ready/packages.ndir.gz... Begin-TLD-Builder-Info upgrading packages End-TLD-Builder-Info + rm -rf /tmp/B.uLdWPO Begin-TLD-Builder-Info Build-Time: user:47.51s sys:4.58s real:26.40s (faults io:0 non-io:1761795) Files queued for ftp: 193063 powertop-2.11-1.i686.rpm 74 powertop-2.11-1.src.rpm.uploadinfo warning: Installed (but unpackaged) file(s) found: /usr/share/bash-completion/completions/powertop End-TLD-Builder-Info