Cook: powertop 2.0 ================================================================================ QA: checking package receipt... Checking build dependencies... Installing (pkg/local): libpcre-8.42-i486 Installing (pkg/local): util-linux-smartcols-2.33.1-i486 Installing (pkg/local): util-linux-uuid-2.33.1-i486 Installing (pkg/local): util-linux-blkid-2.33.1-i486 Installing (pkg/local): util-linux-mount-2.33.1-i486 Installing (pkg/local): glib-2.64.3-i486 Installing (pkg/local): libxml2-2.9.9-i486 Installing (pkg/local): libcroco-0.6.12-i486 Installing (pkg/local): gettext-0.19.8.1-i486 Installing (pkg/local): gettext-dev-0.19.8.1-i486 Installing (pkg/local): libgdbm-1.18.1-i486 Installing (pkg/local): perl-core-5.28.1-i486 Installing (pkg/local): perl-5.28.1-i486 Installing (pkg/local): autoconf-2.69-i486 Installing (pkg/local): automake-1.16.2-any Installing (pkg/local): libltdl-2.4.6-i486 Installing (pkg/local): libtool-2.4.6-i486 Installing (pkg/local): libxau-1.0.8-i486 Installing (pkg/local): libxdmcp-1.1.2-i486 Installing (pkg/local): libxcb-1.13.1-i486 Installing (pkg/local): libx11-1.6.7-i486 Installing (pkg/local): dbus-1.12.18-i486 Installing (pkg/local): eudev-3.2.9-i486 Installing (pkg/local): pciids-20181220-any Installing (pkg/local): pciutils-3.5.6-i486 Installing (pkg/local): pciutils-dev-3.5.6-i486 Installing (pkg/local): libnl-3.4.0-i486 Installing (pkg/local): libnl-tools-3.4.0-i486 Installing (pkg/local): libnl-dev-3.4.0-any Installing (pkg/local): zlib-dev-1.2.11-any Installing (pkg/local): diffutils-3.7-i486 Extracting source archive "powertop-2.0.tar.bz2" Executing: compile_rules CFLAGS : -march=i486 -Os -pipe -mindirect-branch=thunk CXXLAGS : -march=i486 -Os -pipe -mindirect-branch=thunk CPPFLAGS : -D_GLIBCXX_USE_C99_MATH=1 LDFLAGS : -Wl,-Os,--as-needed autoreconf: Entering directory `.' autoreconf: running: autopoint autopoint: File po/Makefile.in.in has been locally modified. autopoint: *** Some files have been locally modified. Not overwriting them because --force has not been specified. For your convenience, you find the local modifications in the file '/tmp/arupMcTn/gtXGHZmU/autopoint.diff'. autopoint: *** Stop. autoreconf: autopoint failed with exit status: 1 configure: loading site script /etc/slitaz/cook.site checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... ./install-sh -c -d checking for gawk... no checking for mawk... no checking for nawk... no checking for awk... awk checking whether make sets $(MAKE)... yes checking whether NLS is requested... yes checking for msgfmt... /usr/bin/msgfmt checking for gmsgfmt... /usr/bin/msgfmt checking for xgettext... /usr/bin/xgettext checking for msgmerge... /usr/bin/msgmerge checking for style of include used by make... GNU checking for gcc... gcc 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 gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking dependency style of gcc... gcc3 checking build system type... i486-pc-linux-gnu checking host system type... i486-pc-linux-gnu checking for ld used by GCC... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for shared library run path origin... done checking how to run the C preprocessor... gcc -E checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E 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 how to run the C preprocessor... gcc -E checking for g++... g++ checking whether we are using the GNU C++ compiler... yes checking whether g++ accepts -g... yes checking dependency style of g++... gcc3 checking how to print strings... printf checking for a sed that does not truncate output... /bin/sed checking for fgrep... /bin/grep -F checking for ld used by gcc... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... BSD nm checking whether ln -s works... yes checking the maximum length of command line arguments... 1572864 checking whether the shell understands some XSI constructs... yes checking whether the shell understands "+="... yes checking how to convert i486-pc-linux-gnu file names to i486-pc-linux-gnu format... func_convert_file_noop checking how to convert i486-pc-linux-gnu file names to toolchain format... func_convert_file_noop checking for /usr/bin/ld option to reload object files... -r checking for objdump... objdump checking how to recognize dependent libraries... pass_all checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for ar... ar checking for archiver @FILE support... @ checking for strip... strip checking for ranlib... ranlib checking command to parse /usr/bin/nm -B output from gcc object... ok checking for sysroot... no checking for mt... mt checking if mt is a manifest tool... no 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 for dlfcn.h... yes checking for objdir... .libs checking if gcc supports -fno-rtti -fno-exceptions... no checking for gcc option to produce PIC... -fPIC -DPIC checking if gcc PIC flag -fPIC -DPIC works... yes checking if gcc static flag -static works... yes checking if gcc supports -c -o file.o... yes checking if gcc supports -c -o file.o... (cached) yes checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... yes checking how to run the C++ preprocessor... g++ -E checking for ld used by g++... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes checking for g++ option to produce PIC... -fPIC -DPIC checking if g++ PIC flag -fPIC -DPIC works... yes checking if g++ static flag -static works... yes checking if g++ supports -c -o file.o... yes checking if g++ supports -c -o file.o... (cached) yes checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes checking dynamic linker characteristics... (cached) GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking for gcc... (cached) gcc checking whether we are using the GNU C compiler... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to accept ISO C89... (cached) none needed checking dependency style of gcc... (cached) gcc3 checking whether gcc and cc understand -c and -o together... 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 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 ncurses.h usability... yes checking ncurses.h presence... yes checking for ncurses.h... yes checking for stdbool.h that conforms to C99... yes checking for _Bool... yes 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... no checking for realpath... yes checking for regcomp... yes checking for select... yes checking for setlocale... yes checking for socket... yes checking for sqrt... no 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 delwin... -lncursesw checking for pkg-config... /usr/bin/pkg-config checking pkg-config is at least version 0.9.0... yes checking for PCIUTILS... yes checking for LIBZ... yes checking for LIBNL... no checking for library containing nl_socket_alloc... no checking for LIBNL... yes checking for library containing pthread_create... -lpthread checking for library containing inet_aton... none required configure: creating ./config.status config.status: creating Makefile config.status: creating src/Makefile config.status: creating pevent/Makefile config.status: creating po/Makefile.in config.status: creating config.h config.status: executing po-directories commands config.status: creating po/POTFILES config.status: creating po/Makefile config.status: executing depfiles commands config.status: executing libtool commands CDPATH="${ZSH_VERSION+.}:" && cd . && /bin/bash /home/slitaz/wok/powertop/source/powertop-2.0/missing --run aclocal-1.11 -I m4 /home/slitaz/wok/powertop/source/powertop-2.0/missing: line 52: aclocal-1.11: command not found WARNING: `aclocal-1.11' is missing on your system. You should only need it if you modified `acinclude.m4' or `configure.ac'. You might want to install the `Automake' and `Perl' packages. Grab them from any GNU archive site. CDPATH="${ZSH_VERSION+.}:" && cd . && /bin/bash /home/slitaz/wok/powertop/source/powertop-2.0/missing --run autoconf cd . && /bin/bash /home/slitaz/wok/powertop/source/powertop-2.0/missing --run automake-1.11 --foreign /home/slitaz/wok/powertop/source/powertop-2.0/missing: line 52: automake-1.11: command not found WARNING: `automake-1.11' is missing on your system. You should only need it if you modified `Makefile.am', `acinclude.m4' or `configure.ac'. You might want to install the `Automake' and `Perl' packages. Grab them from any GNU archive site. aclocal.m4:16: warning: this file was generated for autoconf 2.68. You have another version of autoconf. It may work, but is not guaranteed to. If you have problems, you may need to regenerate the build system entirely. To do so, use the procedure documented by the package, typically `autoreconf'. /bin/bash ./config.status --recheck running CONFIG_SHELL=/bin/bash /bin/bash ./configure CFLAGS=-march=i486 -Os -pipe -mindirect-branch=thunk LDFLAGS=-Wl,-Os,--as-needed CPPFLAGS=-D_GLIBCXX_USE_C99_MATH=1 CXXFLAGS=-march=i486 -Os -pipe -mindirect-branch=thunk --no-create --no-recursion configure: loading site script /etc/slitaz/cook.site checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... ./install-sh -c -d checking for gawk... no checking for mawk... no checking for nawk... no checking for awk... awk checking whether make sets $(MAKE)... yes checking whether NLS is requested... yes checking for msgfmt... /usr/bin/msgfmt checking for gmsgfmt... /usr/bin/msgfmt checking for xgettext... /usr/bin/xgettext checking for msgmerge... /usr/bin/msgmerge checking for style of include used by make... GNU checking for gcc... gcc 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 gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking dependency style of gcc... gcc3 checking build system type... i486-pc-linux-gnu checking host system type... i486-pc-linux-gnu checking for ld used by GCC... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for shared library run path origin... done checking how to run the C preprocessor... gcc -E checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E 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 how to run the C preprocessor... gcc -E checking for g++... g++ checking whether we are using the GNU C++ compiler... yes checking whether g++ accepts -g... yes checking dependency style of g++... gcc3 checking how to print strings... printf checking for a sed that does not truncate output... /bin/sed checking for fgrep... /bin/grep -F checking for ld used by gcc... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... BSD nm checking whether ln -s works... yes checking the maximum length of command line arguments... 1572864 checking whether the shell understands some XSI constructs... yes checking whether the shell understands "+="... yes checking how to convert i486-pc-linux-gnu file names to i486-pc-linux-gnu format... func_convert_file_noop checking how to convert i486-pc-linux-gnu file names to toolchain format... func_convert_file_noop checking for /usr/bin/ld option to reload object files... -r checking for objdump... objdump checking how to recognize dependent libraries... pass_all checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for ar... ar checking for archiver @FILE support... @ checking for strip... strip checking for ranlib... ranlib checking command to parse /usr/bin/nm -B output from gcc object... ok checking for sysroot... no checking for mt... mt checking if mt is a manifest tool... no 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 for dlfcn.h... yes checking for objdir... .libs checking if gcc supports -fno-rtti -fno-exceptions... no checking for gcc option to produce PIC... -fPIC -DPIC checking if gcc PIC flag -fPIC -DPIC works... yes checking if gcc static flag -static works... yes checking if gcc supports -c -o file.o... yes checking if gcc supports -c -o file.o... (cached) yes checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... yes checking how to run the C++ preprocessor... g++ -E checking for ld used by g++... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes checking for g++ option to produce PIC... -fPIC -DPIC checking if g++ PIC flag -fPIC -DPIC works... yes checking if g++ static flag -static works... yes checking if g++ supports -c -o file.o... yes checking if g++ supports -c -o file.o... (cached) yes checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes checking dynamic linker characteristics... (cached) GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking for gcc... (cached) gcc checking whether we are using the GNU C compiler... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to accept ISO C89... (cached) none needed checking dependency style of gcc... (cached) gcc3 checking whether gcc and cc understand -c and -o together... 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 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 ncurses.h usability... yes checking ncurses.h presence... yes checking for ncurses.h... yes checking for stdbool.h that conforms to C99... yes checking for _Bool... yes 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... no checking for realpath... yes checking for regcomp... yes checking for select... yes checking for setlocale... yes checking for socket... yes checking for sqrt... no 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 delwin... -lncursesw checking for pkg-config... /usr/bin/pkg-config checking pkg-config is at least version 0.9.0... yes checking for PCIUTILS... yes checking for LIBZ... yes checking for LIBNL... no checking for library containing nl_socket_alloc... no checking for LIBNL... yes checking for library containing pthread_create... -lpthread checking for library containing inet_aton... none required configure: creating ./config.status /bin/bash ./config.status config.status: creating Makefile config.status: creating src/Makefile config.status: creating pevent/Makefile config.status: creating po/Makefile.in config.status: creating config.h config.status: config.h is unchanged config.status: executing po-directories commands config.status: creating po/POTFILES config.status: creating po/Makefile config.status: executing depfiles commands config.status: executing libtool commands (CDPATH="${ZSH_VERSION+.}:" && cd . && /bin/bash /home/slitaz/wok/powertop/source/powertop-2.0/missing --run autoheader) rm -f stamp-h1 touch config.h.in cd . && /bin/bash ./config.status config.h config.status: creating config.h config.status: config.h is unchanged make all-recursive make[1]: Entering directory '/home/slitaz/wok/powertop/source/powertop-2.0' Making all in pevent make[2]: Entering directory '/home/slitaz/wok/powertop/source/powertop-2.0/pevent' /bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -D_GLIBCXX_USE_C99_MATH=1 -march=i486 -Os -pipe -mindirect-branch=thunk -MT parse-events.lo -MD -MP -MF .deps/parse-events.Tpo -c -o parse-events.lo parse-events.c /bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -D_GLIBCXX_USE_C99_MATH=1 -march=i486 -Os -pipe -mindirect-branch=thunk -MT parse-filter.lo -MD -MP -MF .deps/parse-filter.Tpo -c -o parse-filter.lo parse-filter.c /bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -D_GLIBCXX_USE_C99_MATH=1 -march=i486 -Os -pipe -mindirect-branch=thunk -MT trace-seq.lo -MD -MP -MF .deps/trace-seq.Tpo -c -o trace-seq.lo trace-seq.c /bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -D_GLIBCXX_USE_C99_MATH=1 -march=i486 -Os -pipe -mindirect-branch=thunk -MT parse-utils.lo -MD -MP -MF .deps/parse-utils.Tpo -c -o parse-utils.lo parse-utils.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -D_GLIBCXX_USE_C99_MATH=1 -march=i486 -Os -pipe -mindirect-branch=thunk -MT parse-events.lo -MD -MP -MF .deps/parse-events.Tpo -c parse-events.c -fPIC -DPIC -o .libs/parse-events.o libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -D_GLIBCXX_USE_C99_MATH=1 -march=i486 -Os -pipe -mindirect-branch=thunk -MT parse-filter.lo -MD -MP -MF .deps/parse-filter.Tpo -c parse-filter.c -fPIC -DPIC -o .libs/parse-filter.o libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -D_GLIBCXX_USE_C99_MATH=1 -march=i486 -Os -pipe -mindirect-branch=thunk -MT trace-seq.lo -MD -MP -MF .deps/trace-seq.Tpo -c trace-seq.c -fPIC -DPIC -o .libs/trace-seq.o libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -D_GLIBCXX_USE_C99_MATH=1 -march=i486 -Os -pipe -mindirect-branch=thunk -MT parse-utils.lo -MD -MP -MF .deps/parse-utils.Tpo -c parse-utils.c -fPIC -DPIC -o .libs/parse-utils.o parse-filter.c: In function 'get_value': parse-filter.c:1591:10: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] return (unsigned long long)name; ^ libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -D_GLIBCXX_USE_C99_MATH=1 -march=i486 -Os -pipe -mindirect-branch=thunk -MT parse-utils.lo -MD -MP -MF .deps/parse-utils.Tpo -c parse-utils.c -o parse-utils.o >/dev/null 2>&1 libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -D_GLIBCXX_USE_C99_MATH=1 -march=i486 -Os -pipe -mindirect-branch=thunk -MT trace-seq.lo -MD -MP -MF .deps/trace-seq.Tpo -c trace-seq.c -o trace-seq.o >/dev/null 2>&1 mv -f .deps/parse-utils.Tpo .deps/parse-utils.Plo mv -f .deps/trace-seq.Tpo .deps/trace-seq.Plo libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -D_GLIBCXX_USE_C99_MATH=1 -march=i486 -Os -pipe -mindirect-branch=thunk -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: gcc -DHAVE_CONFIG_H -I. -I.. -D_GLIBCXX_USE_C99_MATH=1 -march=i486 -Os -pipe -mindirect-branch=thunk -MT parse-events.lo -MD -MP -MF .deps/parse-events.Tpo -c parse-events.c -o parse-events.o >/dev/null 2>&1 mv -f .deps/parse-events.Tpo .deps/parse-events.Plo /bin/bash ../libtool --tag=CC --mode=link gcc -march=i486 -Os -pipe -mindirect-branch=thunk -Wl,-Os,--as-needed -o libparseevent.la parse-events.lo parse-filter.lo trace-seq.lo parse-utils.lo -lpthread -lncursesw libtool: link: ar cru .libs/libparseevent.a .libs/parse-events.o .libs/parse-filter.o .libs/trace-seq.o .libs/parse-utils.o libtool: link: ranlib .libs/libparseevent.a libtool: link: ( cd ".libs" && rm -f "libparseevent.la" && ln -s "../libparseevent.la" "libparseevent.la" ) make[2]: Leaving directory '/home/slitaz/wok/powertop/source/powertop-2.0/pevent' Making all in src make[2]: Entering directory '/home/slitaz/wok/powertop/source/powertop-2.0/src' depbase=`echo csstoh.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\ gcc -DHAVE_CONFIG_H -I. -I.. -D_GLIBCXX_USE_C99_MATH=1 -march=i486 -Os -pipe -mindirect-branch=thunk -MT csstoh.o -MD -MP -MF $depbase.Tpo -c -o csstoh.o csstoh.c &&\ mv -f $depbase.Tpo $depbase.Po /bin/bash ../libtool --tag=CC --mode=link gcc -march=i486 -Os -pipe -mindirect-branch=thunk -lpthread -lncursesw -lpci -lnl-genl-3 -lnl-3 -lz -Wl,-Os,--as-needed -o csstoh csstoh.o -lpthread -lncursesw libtool: link: gcc -march=i486 -Os -pipe -mindirect-branch=thunk -Wl,-Os -Wl,--as-needed -o csstoh csstoh.o -lpci -lnl-genl-3 -lnl-3 -lz -lpthread -lncursesw ./csstoh powertop.css css.h make all-am make[3]: Entering directory '/home/slitaz/wok/powertop/source/powertop-2.0/src' g++ -DHAVE_CONFIG_H -I. -I.. -D_FORTIFY_SOURCE=2 -I/usr/include/libnl3 -D_GLIBCXX_USE_C99_MATH=1 -O2 -g -fno-omit-frame-pointer -fstack-protector -Wall -Wshadow -Wformat -I/usr/include/ -I/usr/include/libnl3 -march=i486 -Os -pipe -mindirect-branch=thunk -MT powertop-display.o -MD -MP -MF .deps/powertop-display.Tpo -c -o powertop-display.o `test -f 'display.cpp' || echo './'`display.cpp g++ -DHAVE_CONFIG_H -I. -I.. -D_FORTIFY_SOURCE=2 -I/usr/include/libnl3 -D_GLIBCXX_USE_C99_MATH=1 -O2 -g -fno-omit-frame-pointer -fstack-protector -Wall -Wshadow -Wformat -I/usr/include/ -I/usr/include/libnl3 -march=i486 -Os -pipe -mindirect-branch=thunk -MT powertop-devlist.o -MD -MP -MF .deps/powertop-devlist.Tpo -c -o powertop-devlist.o `test -f 'devlist.cpp' || echo './'`devlist.cpp g++ -DHAVE_CONFIG_H -I. -I.. -D_FORTIFY_SOURCE=2 -I/usr/include/libnl3 -D_GLIBCXX_USE_C99_MATH=1 -O2 -g -fno-omit-frame-pointer -fstack-protector -Wall -Wshadow -Wformat -I/usr/include/ -I/usr/include/libnl3 -march=i486 -Os -pipe -mindirect-branch=thunk -MT powertop-lib.o -MD -MP -MF .deps/powertop-lib.Tpo -c -o powertop-lib.o `test -f 'lib.cpp' || echo './'`lib.cpp g++ -DHAVE_CONFIG_H -I. -I.. -D_FORTIFY_SOURCE=2 -I/usr/include/libnl3 -D_GLIBCXX_USE_C99_MATH=1 -O2 -g -fno-omit-frame-pointer -fstack-protector -Wall -Wshadow -Wformat -I/usr/include/ -I/usr/include/libnl3 -march=i486 -Os -pipe -mindirect-branch=thunk -MT powertop-report.o -MD -MP -MF .deps/powertop-report.Tpo -c -o powertop-report.o `test -f 'report.cpp' || echo './'`report.cpp g++ -DHAVE_CONFIG_H -I. -I.. -D_FORTIFY_SOURCE=2 -I/usr/include/libnl3 -D_GLIBCXX_USE_C99_MATH=1 -O2 -g -fno-omit-frame-pointer -fstack-protector -Wall -Wshadow -Wformat -I/usr/include/ -I/usr/include/libnl3 -march=i486 -Os -pipe -mindirect-branch=thunk -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 g++ -DHAVE_CONFIG_H -I. -I.. -D_FORTIFY_SOURCE=2 -I/usr/include/libnl3 -D_GLIBCXX_USE_C99_MATH=1 -O2 -g -fno-omit-frame-pointer -fstack-protector -Wall -Wshadow -Wformat -I/usr/include/ -I/usr/include/libnl3 -march=i486 -Os -pipe -mindirect-branch=thunk -MT tuning/powertop-cpufreq.o -MD -MP -MF tuning/.deps/powertop-cpufreq.Tpo -c -o tuning/powertop-cpufreq.o `test -f 'tuning/cpufreq.cpp' || echo './'`tuning/cpufreq.cpp tuning/bluetooth.cpp: In member function 'virtual void bt_tunable::toggle()': tuning/bluetooth.cpp:179:9: warning: ignoring return value of 'int system(const char*)', declared with attribute warn_unused_result [-Wunused-result] system("/usr/sbin/hciconfig hci0 up &> /dev/null &"); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tuning/bluetooth.cpp:182:8: warning: ignoring return value of 'int system(const char*)', declared with attribute warn_unused_result [-Wunused-result] system("/usr/sbin/hciconfig hci0 down &> /dev/null"); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tuning/cpufreq.cpp: In member function 'virtual void cpufreq_tunable::toggle()': tuning/cpufreq.cpp:118:8: warning: ignoring return value of 'int system(const char*)', declared with attribute warn_unused_result [-Wunused-result] system("/sbin/modprobe cpufreq_ondemand > /dev/null 2>&1"); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tuning/cpufreq.cpp: In member function 'virtual const char* cpufreq_tunable::toggle_script()': tuning/cpufreq.cpp:197:16: warning: '%s' directive writing up to 4095 bytes into a region of size 4077 [-Wformat-overflow=] sprintf(tmp, "echo 'ondemand' > '%s';\n", filename); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~ In file included from /usr/include/stdio.h:873, from /usr/include/c++/8.2.0/cstdio:42, from /usr/include/c++/8.2.0/ext/string_conversions.h:43, from /usr/include/c++/8.2.0/bits/basic_string.h:6391, from /usr/include/c++/8.2.0/string:52, from tuning/../lib.h:61, from tuning/tunable.h:30, from tuning/cpufreq.cpp:27: /usr/include/bits/stdio2.h:36:34: note: '__builtin___sprintf_chk' output between 23 and 4118 bytes into a destination of size 4096 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tuning/cpufreq.cpp:179:17: warning: '%s' directive writing up to 4095 bytes into a region of size 4090 [-Wformat-overflow=] sprintf(tmp, "echo '%s' > '%s';\n", original, filename); ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:873, from /usr/include/c++/8.2.0/cstdio:42, from /usr/include/c++/8.2.0/ext/string_conversions.h:43, from /usr/include/c++/8.2.0/bits/basic_string.h:6391, from /usr/include/c++/8.2.0/string:52, from tuning/../lib.h:61, from tuning/tunable.h:30, from tuning/cpufreq.cpp:27: /usr/include/bits/stdio2.h:36:34: note: '__builtin___sprintf_chk' output between 15 and 8205 bytes into a destination of size 4096 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ report.cpp: In function 'void init_report_output(char*)': report.cpp:204:31: warning: '%s' directive writing up to 199 bytes into a region of size between 0 and 255 [-Wformat-overflow=] sprintf(reportout.filename, "%s-%s.%s", file_prefix, datestr,file_postfix); ^~~~~~~~~~ ~~~~~~~ In file included from /usr/include/stdio.h:873, from /usr/include/c++/8.2.0/cstdio:42, from /usr/include/c++/8.2.0/ext/string_conversions.h:43, from /usr/include/c++/8.2.0/bits/basic_string.h:6391, from /usr/include/c++/8.2.0/string:52, from lib.h:61, from report.cpp:28: /usr/include/bits/stdio2.h:36:34: note: '__builtin___sprintf_chk' output between 3 and 464 bytes into a destination of size 256 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ report.cpp:194:45: warning: '%s' directive writing up to 199 bytes into a region of size between 0 and 255 [-Wformat-overflow=] sprintf(reportout.filename, "%s-%s.%s", file_prefix, datestr,file_postfix); ^~~~~~~~~~ ~~~~~~~ In file included from /usr/include/stdio.h:873, from /usr/include/c++/8.2.0/cstdio:42, from /usr/include/c++/8.2.0/ext/string_conversions.h:43, from /usr/include/c++/8.2.0/bits/basic_string.h:6391, from /usr/include/c++/8.2.0/string:52, from lib.h:61, from report.cpp:28: /usr/include/bits/stdio2.h:36:34: note: '__builtin___sprintf_chk' output between 3 and 464 bytes into a destination of size 256 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mv -f tuning/.deps/powertop-bluetooth.Tpo tuning/.deps/powertop-bluetooth.Po g++ -DHAVE_CONFIG_H -I. -I.. -D_FORTIFY_SOURCE=2 -I/usr/include/libnl3 -D_GLIBCXX_USE_C99_MATH=1 -O2 -g -fno-omit-frame-pointer -fstack-protector -Wall -Wshadow -Wformat -I/usr/include/ -I/usr/include/libnl3 -march=i486 -Os -pipe -mindirect-branch=thunk -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 mv -f tuning/.deps/powertop-cpufreq.Tpo tuning/.deps/powertop-cpufreq.Po g++ -DHAVE_CONFIG_H -I. -I.. -D_FORTIFY_SOURCE=2 -I/usr/include/libnl3 -D_GLIBCXX_USE_C99_MATH=1 -O2 -g -fno-omit-frame-pointer -fstack-protector -Wall -Wshadow -Wformat -I/usr/include/ -I/usr/include/libnl3 -march=i486 -Os -pipe -mindirect-branch=thunk -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 mv -f .deps/powertop-report.Tpo .deps/powertop-report.Po g++ -DHAVE_CONFIG_H -I. -I.. -D_FORTIFY_SOURCE=2 -I/usr/include/libnl3 -D_GLIBCXX_USE_C99_MATH=1 -O2 -g -fno-omit-frame-pointer -fstack-protector -Wall -Wshadow -Wformat -I/usr/include/ -I/usr/include/libnl3 -march=i486 -Os -pipe -mindirect-branch=thunk -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 .deps/powertop-devlist.Tpo .deps/powertop-devlist.Po g++ -DHAVE_CONFIG_H -I. -I.. -D_FORTIFY_SOURCE=2 -I/usr/include/libnl3 -D_GLIBCXX_USE_C99_MATH=1 -O2 -g -fno-omit-frame-pointer -fstack-protector -Wall -Wshadow -Wformat -I/usr/include/ -I/usr/include/libnl3 -march=i486 -Os -pipe -mindirect-branch=thunk -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 .deps/powertop-display.Tpo .deps/powertop-display.Po gcc -DHAVE_CONFIG_H -I. -I.. -D_FORTIFY_SOURCE=2 -I/usr/include/libnl3 -D_GLIBCXX_USE_C99_MATH=1 -march=i486 -Os -pipe -mindirect-branch=thunk -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 .deps/powertop-lib.Tpo .deps/powertop-lib.Po g++ -DHAVE_CONFIG_H -I. -I.. -D_FORTIFY_SOURCE=2 -I/usr/include/libnl3 -D_GLIBCXX_USE_C99_MATH=1 -O2 -g -fno-omit-frame-pointer -fstack-protector -Wall -Wshadow -Wformat -I/usr/include/ -I/usr/include/libnl3 -march=i486 -Os -pipe -mindirect-branch=thunk -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-iw.Tpo tuning/.deps/powertop-iw.Po g++ -DHAVE_CONFIG_H -I. -I.. -D_FORTIFY_SOURCE=2 -I/usr/include/libnl3 -D_GLIBCXX_USE_C99_MATH=1 -O2 -g -fno-omit-frame-pointer -fstack-protector -Wall -Wshadow -Wformat -I/usr/include/ -I/usr/include/libnl3 -march=i486 -Os -pipe -mindirect-branch=thunk -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/tuningusb.cpp: In constructor 'usb_tunable::usb_tunable(const char*, const char*)': tuning/tuningusb.cpp:78:23: warning: '%s' directive writing up to 4095 bytes into a region of size 4081 [-Wformat-overflow=] sprintf(toggle_good, "echo 'auto' > '%s';", usb_path); ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:873, from /usr/include/c++/8.2.0/cstdio:42, from /usr/include/c++/8.2.0/ext/string_conversions.h:43, from /usr/include/c++/8.2.0/bits/basic_string.h:6391, from /usr/include/c++/8.2.0/string:52, from tuning/../lib.h:61, from tuning/tunable.h:30, from tuning/tuningusb.cpp:27: /usr/include/bits/stdio2.h:36:34: note: '__builtin___sprintf_chk' output between 18 and 4113 bytes into a destination of size 4096 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tuning/tuningusb.cpp:79:22: warning: '%s' directive writing up to 4095 bytes into a region of size 4083 [-Wformat-overflow=] sprintf(toggle_bad, "echo 'on' > '%s';", usb_path); ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:873, from /usr/include/c++/8.2.0/cstdio:42, from /usr/include/c++/8.2.0/ext/string_conversions.h:43, from /usr/include/c++/8.2.0/bits/basic_string.h:6391, from /usr/include/c++/8.2.0/string:52, from tuning/../lib.h:61, from tuning/tunable.h:30, from tuning/tuningusb.cpp:27: /usr/include/bits/stdio2.h:36:34: note: '__builtin___sprintf_chk' output between 16 and 4111 bytes into a destination of size 4096 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mv -f tuning/.deps/powertop-tunable.Tpo tuning/.deps/powertop-tunable.Po g++ -DHAVE_CONFIG_H -I. -I.. -D_FORTIFY_SOURCE=2 -I/usr/include/libnl3 -D_GLIBCXX_USE_C99_MATH=1 -O2 -g -fno-omit-frame-pointer -fstack-protector -Wall -Wshadow -Wformat -I/usr/include/ -I/usr/include/libnl3 -march=i486 -Os -pipe -mindirect-branch=thunk -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 mv -f tuning/.deps/powertop-tuning.Tpo tuning/.deps/powertop-tuning.Po g++ -DHAVE_CONFIG_H -I. -I.. -D_FORTIFY_SOURCE=2 -I/usr/include/libnl3 -D_GLIBCXX_USE_C99_MATH=1 -O2 -g -fno-omit-frame-pointer -fstack-protector -Wall -Wshadow -Wformat -I/usr/include/ -I/usr/include/libnl3 -march=i486 -Os -pipe -mindirect-branch=thunk -MT powertop-main.o -MD -MP -MF .deps/powertop-main.Tpo -c -o powertop-main.o `test -f 'main.cpp' || echo './'`main.cpp g++ -DHAVE_CONFIG_H -I. -I.. -D_FORTIFY_SOURCE=2 -I/usr/include/libnl3 -D_GLIBCXX_USE_C99_MATH=1 -O2 -g -fno-omit-frame-pointer -fstack-protector -Wall -Wshadow -Wformat -I/usr/include/ -I/usr/include/libnl3 -march=i486 -Os -pipe -mindirect-branch=thunk -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 tuning/.deps/powertop-tuningusb.Tpo tuning/.deps/powertop-tuningusb.Po g++ -DHAVE_CONFIG_H -I. -I.. -D_FORTIFY_SOURCE=2 -I/usr/include/libnl3 -D_GLIBCXX_USE_C99_MATH=1 -O2 -g -fno-omit-frame-pointer -fstack-protector -Wall -Wshadow -Wformat -I/usr/include/ -I/usr/include/libnl3 -march=i486 -Os -pipe -mindirect-branch=thunk -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 main.cpp:83:47: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] printf(_("Powertop version" POWERTOP_VERSION ", compiled on "__DATE__ "\n")); ^ tuning/wifi.cpp: In constructor 'wifi_tunable::wifi_tunable(const char*)': tuning/wifi.cpp:50:23: warning: '%s' directive writing up to 4095 bytes into a region of size 4089 [-Wformat-overflow=] sprintf(toggle_good, "iw dev %s set power_save off", iface); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:873, from /usr/include/c++/8.2.0/cstdio:42, from /usr/include/c++/8.2.0/ext/string_conversions.h:43, from /usr/include/c++/8.2.0/bits/basic_string.h:6391, from /usr/include/c++/8.2.0/string:52, from tuning/../lib.h:61, from tuning/tunable.h:30, from tuning/wifi.cpp:27: /usr/include/bits/stdio2.h:36:34: note: '__builtin___sprintf_chk' output between 27 and 4122 bytes into a destination of size 4096 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tuning/wifi.cpp:51:22: warning: '%s' directive writing up to 4095 bytes into a region of size 4089 [-Wformat-overflow=] sprintf(toggle_bad, "iw dev %s set power_save on", iface); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:873, from /usr/include/c++/8.2.0/cstdio:42, from /usr/include/c++/8.2.0/ext/string_conversions.h:43, from /usr/include/c++/8.2.0/bits/basic_string.h:6391, from /usr/include/c++/8.2.0/string:52, from tuning/../lib.h:61, from tuning/tunable.h:30, from tuning/wifi.cpp:27: /usr/include/bits/stdio2.h:36:34: note: '__builtin___sprintf_chk' output between 26 and 4121 bytes into a destination of size 4096 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mv -f tuning/.deps/powertop-wifi.Tpo tuning/.deps/powertop-wifi.Po g++ -DHAVE_CONFIG_H -I. -I.. -D_FORTIFY_SOURCE=2 -I/usr/include/libnl3 -D_GLIBCXX_USE_C99_MATH=1 -O2 -g -fno-omit-frame-pointer -fstack-protector -Wall -Wshadow -Wformat -I/usr/include/ -I/usr/include/libnl3 -march=i486 -Os -pipe -mindirect-branch=thunk -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 tuning/tuningsysfs.cpp: In constructor 'sysfs_tunable::sysfs_tunable(const char*, const char*, const char*)': tuning/tuningsysfs.cpp:42:23: warning: '%s' directive writing up to 4095 bytes into a region of size 4090 [-Wformat-overflow=] sprintf(toggle_good, "echo '%s' > '%s';", target_value, sysfs_path); ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:873, from /usr/include/c++/8.2.0/cstdio:42, from /usr/include/c++/8.2.0/ext/string_conversions.h:43, from /usr/include/c++/8.2.0/bits/basic_string.h:6391, from /usr/include/c++/8.2.0/string:52, from tuning/../lib.h:61, from tuning/tunable.h:30, from tuning/tuningsysfs.cpp:27: /usr/include/bits/stdio2.h:36:34: note: '__builtin___sprintf_chk' output between 14 and 8204 bytes into a destination of size 4096 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tuning/tuningsysfs.cpp:43:22: warning: '%s' directive writing up to 4095 bytes into a region of size 4090 [-Wformat-overflow=] sprintf(toggle_bad, "echo '%s' > '%s';", bad_value, sysfs_path); ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:873, from /usr/include/c++/8.2.0/cstdio:42, from /usr/include/c++/8.2.0/ext/string_conversions.h:43, from /usr/include/c++/8.2.0/bits/basic_string.h:6391, from /usr/include/c++/8.2.0/string:52, from tuning/../lib.h:61, from tuning/tunable.h:30, from tuning/tuningsysfs.cpp:27: /usr/include/bits/stdio2.h:36:34: note: '__builtin___sprintf_chk' output between 14 and 8204 bytes into a destination of size 4096 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mv -f tuning/.deps/powertop-tuningsysfs.Tpo tuning/.deps/powertop-tuningsysfs.Po g++ -DHAVE_CONFIG_H -I. -I.. -D_FORTIFY_SOURCE=2 -I/usr/include/libnl3 -D_GLIBCXX_USE_C99_MATH=1 -O2 -g -fno-omit-frame-pointer -fstack-protector -Wall -Wshadow -Wformat -I/usr/include/ -I/usr/include/libnl3 -march=i486 -Os -pipe -mindirect-branch=thunk -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 mv -f parameters/.deps/powertop-learn.Tpo parameters/.deps/powertop-learn.Po g++ -DHAVE_CONFIG_H -I. -I.. -D_FORTIFY_SOURCE=2 -I/usr/include/libnl3 -D_GLIBCXX_USE_C99_MATH=1 -O2 -g -fno-omit-frame-pointer -fstack-protector -Wall -Wshadow -Wformat -I/usr/include/ -I/usr/include/libnl3 -march=i486 -Os -pipe -mindirect-branch=thunk -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 mv -f .deps/powertop-main.Tpo .deps/powertop-main.Po g++ -DHAVE_CONFIG_H -I. -I.. -D_FORTIFY_SOURCE=2 -I/usr/include/libnl3 -D_GLIBCXX_USE_C99_MATH=1 -O2 -g -fno-omit-frame-pointer -fstack-protector -Wall -Wshadow -Wformat -I/usr/include/ -I/usr/include/libnl3 -march=i486 -Os -pipe -mindirect-branch=thunk -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 tuning/runtime.cpp: In constructor 'runtime_tunable::runtime_tunable(const char*, const char*, const char*)': tuning/runtime.cpp:80:23: warning: '%s' directive writing up to 4095 bytes into a region of size 4081 [-Wformat-overflow=] sprintf(toggle_good, "echo 'auto' > '%s';", runtime_path); ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:873, from /usr/include/c++/8.2.0/cstdio:42, from /usr/include/c++/8.2.0/ext/string_conversions.h:43, from /usr/include/c++/8.2.0/bits/basic_string.h:6391, from /usr/include/c++/8.2.0/string:52, from tuning/../lib.h:61, from tuning/tunable.h:30, from tuning/runtime.cpp:27: /usr/include/bits/stdio2.h:36:34: note: '__builtin___sprintf_chk' output between 18 and 4113 bytes into a destination of size 4096 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tuning/runtime.cpp:81:22: warning: '%s' directive writing up to 4095 bytes into a region of size 4083 [-Wformat-overflow=] sprintf(toggle_bad, "echo 'on' > '%s';", runtime_path); ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:873, from /usr/include/c++/8.2.0/cstdio:42, from /usr/include/c++/8.2.0/ext/string_conversions.h:43, from /usr/include/c++/8.2.0/bits/basic_string.h:6391, from /usr/include/c++/8.2.0/string:52, from tuning/../lib.h:61, from tuning/tunable.h:30, from tuning/runtime.cpp:27: /usr/include/bits/stdio2.h:36:34: note: '__builtin___sprintf_chk' output between 16 and 4111 bytes into a destination of size 4096 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mv -f parameters/.deps/powertop-persistent.Tpo parameters/.deps/powertop-persistent.Po g++ -DHAVE_CONFIG_H -I. -I.. -D_FORTIFY_SOURCE=2 -I/usr/include/libnl3 -D_GLIBCXX_USE_C99_MATH=1 -O2 -g -fno-omit-frame-pointer -fstack-protector -Wall -Wshadow -Wformat -I/usr/include/ -I/usr/include/libnl3 -march=i486 -Os -pipe -mindirect-branch=thunk -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 tuning/.deps/powertop-runtime.Tpo tuning/.deps/powertop-runtime.Po g++ -DHAVE_CONFIG_H -I. -I.. -D_FORTIFY_SOURCE=2 -I/usr/include/libnl3 -D_GLIBCXX_USE_C99_MATH=1 -O2 -g -fno-omit-frame-pointer -fstack-protector -Wall -Wshadow -Wformat -I/usr/include/ -I/usr/include/libnl3 -march=i486 -Os -pipe -mindirect-branch=thunk -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 cpu/.deps/powertop-cpudevice.Tpo cpu/.deps/powertop-cpudevice.Po g++ -DHAVE_CONFIG_H -I. -I.. -D_FORTIFY_SOURCE=2 -I/usr/include/libnl3 -D_GLIBCXX_USE_C99_MATH=1 -O2 -g -fno-omit-frame-pointer -fstack-protector -Wall -Wshadow -Wformat -I/usr/include/ -I/usr/include/libnl3 -march=i486 -Os -pipe -mindirect-branch=thunk -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 mv -f cpu/.deps/powertop-cpu_core.Tpo cpu/.deps/powertop-cpu_core.Po g++ -DHAVE_CONFIG_H -I. -I.. -D_FORTIFY_SOURCE=2 -I/usr/include/libnl3 -D_GLIBCXX_USE_C99_MATH=1 -O2 -g -fno-omit-frame-pointer -fstack-protector -Wall -Wshadow -Wformat -I/usr/include/ -I/usr/include/libnl3 -march=i486 -Os -pipe -mindirect-branch=thunk -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 parameters/.deps/powertop-parameters.Tpo parameters/.deps/powertop-parameters.Po g++ -DHAVE_CONFIG_H -I. -I.. -D_FORTIFY_SOURCE=2 -I/usr/include/libnl3 -D_GLIBCXX_USE_C99_MATH=1 -O2 -g -fno-omit-frame-pointer -fstack-protector -Wall -Wshadow -Wformat -I/usr/include/ -I/usr/include/libnl3 -march=i486 -Os -pipe -mindirect-branch=thunk -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 mv -f cpu/.deps/powertop-cpu_linux.Tpo cpu/.deps/powertop-cpu_linux.Po g++ -DHAVE_CONFIG_H -I. -I.. -D_FORTIFY_SOURCE=2 -I/usr/include/libnl3 -D_GLIBCXX_USE_C99_MATH=1 -O2 -g -fno-omit-frame-pointer -fstack-protector -Wall -Wshadow -Wformat -I/usr/include/ -I/usr/include/libnl3 -march=i486 -Os -pipe -mindirect-branch=thunk -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 cpu/.deps/powertop-abstract_cpu.Tpo cpu/.deps/powertop-abstract_cpu.Po g++ -DHAVE_CONFIG_H -I. -I.. -D_FORTIFY_SOURCE=2 -I/usr/include/libnl3 -D_GLIBCXX_USE_C99_MATH=1 -O2 -g -fno-omit-frame-pointer -fstack-protector -Wall -Wshadow -Wformat -I/usr/include/ -I/usr/include/libnl3 -march=i486 -Os -pipe -mindirect-branch=thunk -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 cpu/.deps/powertop-cpu.Tpo cpu/.deps/powertop-cpu.Po g++ -DHAVE_CONFIG_H -I. -I.. -D_FORTIFY_SOURCE=2 -I/usr/include/libnl3 -D_GLIBCXX_USE_C99_MATH=1 -O2 -g -fno-omit-frame-pointer -fstack-protector -Wall -Wshadow -Wformat -I/usr/include/ -I/usr/include/libnl3 -march=i486 -Os -pipe -mindirect-branch=thunk -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 mv -f cpu/.deps/powertop-cpu_package.Tpo cpu/.deps/powertop-cpu_package.Po g++ -DHAVE_CONFIG_H -I. -I.. -D_FORTIFY_SOURCE=2 -I/usr/include/libnl3 -D_GLIBCXX_USE_C99_MATH=1 -O2 -g -fno-omit-frame-pointer -fstack-protector -Wall -Wshadow -Wformat -I/usr/include/ -I/usr/include/libnl3 -march=i486 -Os -pipe -mindirect-branch=thunk -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-powerconsumer.Tpo process/.deps/powertop-powerconsumer.Po g++ -DHAVE_CONFIG_H -I. -I.. -D_FORTIFY_SOURCE=2 -I/usr/include/libnl3 -D_GLIBCXX_USE_C99_MATH=1 -O2 -g -fno-omit-frame-pointer -fstack-protector -Wall -Wshadow -Wformat -I/usr/include/ -I/usr/include/libnl3 -march=i486 -Os -pipe -mindirect-branch=thunk -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 process/.deps/powertop-process.Tpo process/.deps/powertop-process.Po g++ -DHAVE_CONFIG_H -I. -I.. -D_FORTIFY_SOURCE=2 -I/usr/include/libnl3 -D_GLIBCXX_USE_C99_MATH=1 -O2 -g -fno-omit-frame-pointer -fstack-protector -Wall -Wshadow -Wformat -I/usr/include/ -I/usr/include/libnl3 -march=i486 -Os -pipe -mindirect-branch=thunk -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 process/.deps/powertop-processdevice.Tpo process/.deps/powertop-processdevice.Po g++ -DHAVE_CONFIG_H -I. -I.. -D_FORTIFY_SOURCE=2 -I/usr/include/libnl3 -D_GLIBCXX_USE_C99_MATH=1 -O2 -g -fno-omit-frame-pointer -fstack-protector -Wall -Wshadow -Wformat -I/usr/include/ -I/usr/include/libnl3 -march=i486 -Os -pipe -mindirect-branch=thunk -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 cpu/.deps/powertop-intel_cpus.Tpo cpu/.deps/powertop-intel_cpus.Po g++ -DHAVE_CONFIG_H -I. -I.. -D_FORTIFY_SOURCE=2 -I/usr/include/libnl3 -D_GLIBCXX_USE_C99_MATH=1 -O2 -g -fno-omit-frame-pointer -fstack-protector -Wall -Wshadow -Wformat -I/usr/include/ -I/usr/include/libnl3 -march=i486 -Os -pipe -mindirect-branch=thunk -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 mv -f process/.deps/powertop-timer.Tpo process/.deps/powertop-timer.Po g++ -DHAVE_CONFIG_H -I. -I.. -D_FORTIFY_SOURCE=2 -I/usr/include/libnl3 -D_GLIBCXX_USE_C99_MATH=1 -O2 -g -fno-omit-frame-pointer -fstack-protector -Wall -Wshadow -Wformat -I/usr/include/ -I/usr/include/libnl3 -march=i486 -Os -pipe -mindirect-branch=thunk -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 process/.deps/powertop-interrupt.Tpo process/.deps/powertop-interrupt.Po g++ -DHAVE_CONFIG_H -I. -I.. -D_FORTIFY_SOURCE=2 -I/usr/include/libnl3 -D_GLIBCXX_USE_C99_MATH=1 -O2 -g -fno-omit-frame-pointer -fstack-protector -Wall -Wshadow -Wformat -I/usr/include/ -I/usr/include/libnl3 -march=i486 -Os -pipe -mindirect-branch=thunk -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 mv -f process/.deps/powertop-work.Tpo process/.deps/powertop-work.Po g++ -DHAVE_CONFIG_H -I. -I.. -D_FORTIFY_SOURCE=2 -I/usr/include/libnl3 -D_GLIBCXX_USE_C99_MATH=1 -O2 -g -fno-omit-frame-pointer -fstack-protector -Wall -Wshadow -Wformat -I/usr/include/ -I/usr/include/libnl3 -march=i486 -Os -pipe -mindirect-branch=thunk -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 process/do_process.cpp:189:13: warning: 'void dbg_printf_pevent_info(event_format*, record*)' defined but not used [-Wunused-function] static void dbg_printf_pevent_info(struct event_format *event, struct record *rec) ^~~~~~~~~~~~~~~~~~~~~~ mv -f perf/.deps/powertop-perf.Tpo perf/.deps/powertop-perf.Po g++ -DHAVE_CONFIG_H -I. -I.. -D_FORTIFY_SOURCE=2 -I/usr/include/libnl3 -D_GLIBCXX_USE_C99_MATH=1 -O2 -g -fno-omit-frame-pointer -fstack-protector -Wall -Wshadow -Wformat -I/usr/include/ -I/usr/include/libnl3 -march=i486 -Os -pipe -mindirect-branch=thunk -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 g++ -DHAVE_CONFIG_H -I. -I.. -D_FORTIFY_SOURCE=2 -I/usr/include/libnl3 -D_GLIBCXX_USE_C99_MATH=1 -O2 -g -fno-omit-frame-pointer -fstack-protector -Wall -Wshadow -Wformat -I/usr/include/ -I/usr/include/libnl3 -march=i486 -Os -pipe -mindirect-branch=thunk -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 devices/alsa.cpp: In member function 'virtual const char* alsa::human_name()': devices/alsa.cpp:223:21: warning: ' (' directive writing 2 bytes into a region of size between 1 and 4096 [-Wformat-overflow=] sprintf(temp_buf, "%s (%s)", humanname, guilty); ^~~~~~~~~ In file included from /usr/include/stdio.h:873, from /usr/include/c++/8.2.0/cstdio:42, from /usr/include/c++/8.2.0/ext/string_conversions.h:43, from /usr/include/c++/8.2.0/bits/basic_string.h:6391, from /usr/include/c++/8.2.0/string:52, from /usr/include/c++/8.2.0/bits/locale_classes.h:40, from /usr/include/c++/8.2.0/bits/ios_base.h:41, from /usr/include/c++/8.2.0/ios:42, from /usr/include/c++/8.2.0/ostream:38, from /usr/include/c++/8.2.0/iostream:39, from devices/alsa.cpp:25: /usr/include/bits/stdio2.h:36:34: note: '__builtin___sprintf_chk' output between 4 and 8194 bytes into a destination of size 4096 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ devices/alsa.cpp: In member function 'virtual void alsa::start_measurement()': devices/alsa.cpp:91:20: warning: '/power_off_acct' directive writing 15 bytes into a region of size between 1 and 4096 [-Wformat-overflow=] sprintf(filename, "%s/power_off_acct", sysfs_path); ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:873, from /usr/include/c++/8.2.0/cstdio:42, from /usr/include/c++/8.2.0/ext/string_conversions.h:43, from /usr/include/c++/8.2.0/bits/basic_string.h:6391, from /usr/include/c++/8.2.0/string:52, from /usr/include/c++/8.2.0/bits/locale_classes.h:40, from /usr/include/c++/8.2.0/bits/ios_base.h:41, from /usr/include/c++/8.2.0/ios:42, from /usr/include/c++/8.2.0/ostream:38, from /usr/include/c++/8.2.0/iostream:39, from devices/alsa.cpp:25: /usr/include/bits/stdio2.h:36:34: note: '__builtin___sprintf_chk' output between 16 and 4111 bytes into a destination of size 4096 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ devices/alsa.cpp:98:21: warning: '/power_on_acct' directive writing 14 bytes into a region of size between 1 and 4096 [-Wformat-overflow=] sprintf(filename, "%s/power_on_acct", sysfs_path); ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:873, from /usr/include/c++/8.2.0/cstdio:42, from /usr/include/c++/8.2.0/ext/string_conversions.h:43, from /usr/include/c++/8.2.0/bits/basic_string.h:6391, from /usr/include/c++/8.2.0/string:52, from /usr/include/c++/8.2.0/bits/locale_classes.h:40, from /usr/include/c++/8.2.0/bits/ios_base.h:41, from /usr/include/c++/8.2.0/ios:42, from /usr/include/c++/8.2.0/ostream:38, from /usr/include/c++/8.2.0/iostream:39, from devices/alsa.cpp:25: /usr/include/bits/stdio2.h:36:34: note: '__builtin___sprintf_chk' output between 15 and 4110 bytes into a destination of size 4096 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ devices/device.cpp: In member function 'void device::register_sysfs_path(const char*)': devices/device.cpp:73:22: warning: '/device' directive writing 7 bytes into a region of size between 1 and 4097 [-Wformat-overflow=] sprintf(test_path, "%s/device", current_path); ^~~~~~~~~~~ In file included from /usr/include/stdio.h:873, from devices/device.cpp:29: /usr/include/bits/stdio2.h:36:34: note: '__builtin___sprintf_chk' output between 8 and 4104 bytes into a destination of size 4097 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ devices/alsa.cpp: In member function 'virtual void alsa::end_measurement()': devices/alsa.cpp:120:20: warning: '/power_off_acct' directive writing 15 bytes into a region of size between 1 and 4096 [-Wformat-overflow=] sprintf(filename, "%s/power_off_acct", sysfs_path); ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:873, from /usr/include/c++/8.2.0/cstdio:42, from /usr/include/c++/8.2.0/ext/string_conversions.h:43, from /usr/include/c++/8.2.0/bits/basic_string.h:6391, from /usr/include/c++/8.2.0/string:52, from /usr/include/c++/8.2.0/bits/locale_classes.h:40, from /usr/include/c++/8.2.0/bits/ios_base.h:41, from /usr/include/c++/8.2.0/ios:42, from /usr/include/c++/8.2.0/ostream:38, from /usr/include/c++/8.2.0/iostream:39, from devices/alsa.cpp:25: /usr/include/bits/stdio2.h:36:34: note: '__builtin___sprintf_chk' output between 16 and 4111 bytes into a destination of size 4096 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ devices/alsa.cpp:127:21: warning: '/power_on_acct' directive writing 14 bytes into a region of size between 1 and 4096 [-Wformat-overflow=] sprintf(filename, "%s/power_on_acct", sysfs_path); ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:873, from /usr/include/c++/8.2.0/cstdio:42, from /usr/include/c++/8.2.0/ext/string_conversions.h:43, from /usr/include/c++/8.2.0/bits/basic_string.h:6391, from /usr/include/c++/8.2.0/string:52, from /usr/include/c++/8.2.0/bits/locale_classes.h:40, from /usr/include/c++/8.2.0/bits/ios_base.h:41, from /usr/include/c++/8.2.0/ios:42, from /usr/include/c++/8.2.0/ostream:38, from /usr/include/c++/8.2.0/iostream:39, from devices/alsa.cpp:25: /usr/include/bits/stdio2.h:36:34: note: '__builtin___sprintf_chk' output between 15 and 4110 bytes into a destination of size 4096 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mv -f perf/.deps/powertop-perf_bundle.Tpo perf/.deps/powertop-perf_bundle.Po g++ -DHAVE_CONFIG_H -I. -I.. -D_FORTIFY_SOURCE=2 -I/usr/include/libnl3 -D_GLIBCXX_USE_C99_MATH=1 -O2 -g -fno-omit-frame-pointer -fstack-protector -Wall -Wshadow -Wformat -I/usr/include/ -I/usr/include/libnl3 -march=i486 -Os -pipe -mindirect-branch=thunk -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-alsa.Tpo devices/.deps/powertop-alsa.Po g++ -DHAVE_CONFIG_H -I. -I.. -D_FORTIFY_SOURCE=2 -I/usr/include/libnl3 -D_GLIBCXX_USE_C99_MATH=1 -O2 -g -fno-omit-frame-pointer -fstack-protector -Wall -Wshadow -Wformat -I/usr/include/ -I/usr/include/libnl3 -march=i486 -Os -pipe -mindirect-branch=thunk -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 devices/.deps/powertop-device.Tpo devices/.deps/powertop-device.Po g++ -DHAVE_CONFIG_H -I. -I.. -D_FORTIFY_SOURCE=2 -I/usr/include/libnl3 -D_GLIBCXX_USE_C99_MATH=1 -O2 -g -fno-omit-frame-pointer -fstack-protector -Wall -Wshadow -Wformat -I/usr/include/ -I/usr/include/libnl3 -march=i486 -Os -pipe -mindirect-branch=thunk -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 devices/runtime_pm.cpp: In member function 'virtual void runtime_pmdevice::start_measurement()': devices/runtime_pm.cpp:68:20: warning: '/power/runtime_suspended_tim' directive writing 29 bytes into a region of size between 1 and 4096 [-Wformat-overflow=] sprintf(filename, "%s/power/runtime_suspended_time", sysfs_path); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:873, from /usr/include/c++/8.2.0/cstdio:42, from /usr/include/c++/8.2.0/ext/string_conversions.h:43, from /usr/include/c++/8.2.0/bits/basic_string.h:6391, from /usr/include/c++/8.2.0/string:52, from /usr/include/c++/8.2.0/stdexcept:39, from /usr/include/c++/8.2.0/array:39, from /usr/include/c++/8.2.0/tuple:39, from /usr/include/c++/8.2.0/bits/stl_map.h:63, from /usr/include/c++/8.2.0/map:61, from devices/../parameters/parameters.h:29, from devices/runtime_pm.h:30, from devices/runtime_pm.cpp:25: /usr/include/bits/stdio2.h:36:34: note: '__builtin___sprintf_chk' output between 30 and 4125 bytes into a destination of size 4096 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ devices/runtime_pm.cpp:75:20: warning: '/power/runtime_active_time' directive writing 26 bytes into a region of size between 1 and 4096 [-Wformat-overflow=] sprintf(filename, "%s/power/runtime_active_time", sysfs_path); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:873, from /usr/include/c++/8.2.0/cstdio:42, from /usr/include/c++/8.2.0/ext/string_conversions.h:43, from /usr/include/c++/8.2.0/bits/basic_string.h:6391, from /usr/include/c++/8.2.0/string:52, from /usr/include/c++/8.2.0/stdexcept:39, from /usr/include/c++/8.2.0/array:39, from /usr/include/c++/8.2.0/tuple:39, from /usr/include/c++/8.2.0/bits/stl_map.h:63, from /usr/include/c++/8.2.0/map:61, from devices/../parameters/parameters.h:29, from devices/runtime_pm.h:30, from devices/runtime_pm.cpp:25: /usr/include/bits/stdio2.h:36:34: note: '__builtin___sprintf_chk' output between 27 and 4122 bytes into a destination of size 4096 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ devices/runtime_pm.cpp: In member function 'virtual void runtime_pmdevice::end_measurement()': devices/runtime_pm.cpp:88:20: warning: '/power/runtime_suspended_tim' directive writing 29 bytes into a region of size between 1 and 4096 [-Wformat-overflow=] sprintf(filename, "%s/power/runtime_suspended_time", sysfs_path); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:873, from /usr/include/c++/8.2.0/cstdio:42, from /usr/include/c++/8.2.0/ext/string_conversions.h:43, from /usr/include/c++/8.2.0/bits/basic_string.h:6391, from /usr/include/c++/8.2.0/string:52, from /usr/include/c++/8.2.0/stdexcept:39, from /usr/include/c++/8.2.0/array:39, from /usr/include/c++/8.2.0/tuple:39, from /usr/include/c++/8.2.0/bits/stl_map.h:63, from /usr/include/c++/8.2.0/map:61, from devices/../parameters/parameters.h:29, from devices/runtime_pm.h:30, from devices/runtime_pm.cpp:25: /usr/include/bits/stdio2.h:36:34: note: '__builtin___sprintf_chk' output between 30 and 4125 bytes into a destination of size 4096 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ devices/runtime_pm.cpp:95:20: warning: '/power/runtime_active_time' directive writing 26 bytes into a region of size between 1 and 4096 [-Wformat-overflow=] sprintf(filename, "%s/power/runtime_active_time", sysfs_path); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:873, from /usr/include/c++/8.2.0/cstdio:42, from /usr/include/c++/8.2.0/ext/string_conversions.h:43, from /usr/include/c++/8.2.0/bits/basic_string.h:6391, from /usr/include/c++/8.2.0/string:52, from /usr/include/c++/8.2.0/stdexcept:39, from /usr/include/c++/8.2.0/array:39, from /usr/include/c++/8.2.0/tuple:39, from /usr/include/c++/8.2.0/bits/stl_map.h:63, from /usr/include/c++/8.2.0/map:61, from devices/../parameters/parameters.h:29, from devices/runtime_pm.h:30, from devices/runtime_pm.cpp:25: /usr/include/bits/stdio2.h:36:34: note: '__builtin___sprintf_chk' output between 27 and 4122 bytes into a destination of size 4096 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mv -f process/.deps/powertop-do_process.Tpo process/.deps/powertop-do_process.Po g++ -DHAVE_CONFIG_H -I. -I.. -D_FORTIFY_SOURCE=2 -I/usr/include/libnl3 -D_GLIBCXX_USE_C99_MATH=1 -O2 -g -fno-omit-frame-pointer -fstack-protector -Wall -Wshadow -Wformat -I/usr/include/ -I/usr/include/libnl3 -march=i486 -Os -pipe -mindirect-branch=thunk -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-runtime_pm.Tpo devices/.deps/powertop-runtime_pm.Po g++ -DHAVE_CONFIG_H -I. -I.. -D_FORTIFY_SOURCE=2 -I/usr/include/libnl3 -D_GLIBCXX_USE_C99_MATH=1 -O2 -g -fno-omit-frame-pointer -fstack-protector -Wall -Wshadow -Wformat -I/usr/include/ -I/usr/include/libnl3 -march=i486 -Os -pipe -mindirect-branch=thunk -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 mv -f devices/.deps/powertop-thinkpad-fan.Tpo devices/.deps/powertop-thinkpad-fan.Po g++ -DHAVE_CONFIG_H -I. -I.. -D_FORTIFY_SOURCE=2 -I/usr/include/libnl3 -D_GLIBCXX_USE_C99_MATH=1 -O2 -g -fno-omit-frame-pointer -fstack-protector -Wall -Wshadow -Wformat -I/usr/include/ -I/usr/include/libnl3 -march=i486 -Os -pipe -mindirect-branch=thunk -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 devices/usb.cpp: In member function 'virtual void usbdevice::start_measurement()': devices/usb.cpp:111:20: warning: '/power/active_duration' directive writing 22 bytes into a region of size between 1 and 4096 [-Wformat-overflow=] sprintf(fullpath, "%s/power/active_duration", sysfs_path); ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:873, from /usr/include/c++/8.2.0/cstdio:42, from /usr/include/c++/8.2.0/ext/string_conversions.h:43, from /usr/include/c++/8.2.0/bits/basic_string.h:6391, from /usr/include/c++/8.2.0/string:52, from /usr/include/c++/8.2.0/stdexcept:39, from /usr/include/c++/8.2.0/array:39, from /usr/include/c++/8.2.0/tuple:39, from /usr/include/c++/8.2.0/bits/stl_map.h:63, from /usr/include/c++/8.2.0/map:61, from devices/../parameters/parameters.h:29, from devices/usb.h:30, from devices/usb.cpp:25: /usr/include/bits/stdio2.h:36:34: note: '__builtin___sprintf_chk' output between 23 and 4118 bytes into a destination of size 4096 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ devices/usb.cpp:118:20: warning: '/power/connected_duration' directive writing 25 bytes into a region of size between 1 and 4096 [-Wformat-overflow=] sprintf(fullpath, "%s/power/connected_duration", sysfs_path); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:873, from /usr/include/c++/8.2.0/cstdio:42, from /usr/include/c++/8.2.0/ext/string_conversions.h:43, from /usr/include/c++/8.2.0/bits/basic_string.h:6391, from /usr/include/c++/8.2.0/string:52, from /usr/include/c++/8.2.0/stdexcept:39, from /usr/include/c++/8.2.0/array:39, from /usr/include/c++/8.2.0/tuple:39, from /usr/include/c++/8.2.0/bits/stl_map.h:63, from /usr/include/c++/8.2.0/map:61, from devices/../parameters/parameters.h:29, from devices/usb.h:30, from devices/usb.cpp:25: /usr/include/bits/stdio2.h:36:34: note: '__builtin___sprintf_chk' output between 26 and 4121 bytes into a destination of size 4096 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ devices/usb.cpp: In member function 'virtual void usbdevice::end_measurement()': devices/usb.cpp:131:20: warning: '/power/active_duration' directive writing 22 bytes into a region of size between 1 and 4096 [-Wformat-overflow=] sprintf(fullpath, "%s/power/active_duration", sysfs_path); ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:873, from /usr/include/c++/8.2.0/cstdio:42, from /usr/include/c++/8.2.0/ext/string_conversions.h:43, from /usr/include/c++/8.2.0/bits/basic_string.h:6391, from /usr/include/c++/8.2.0/string:52, from /usr/include/c++/8.2.0/stdexcept:39, from /usr/include/c++/8.2.0/array:39, from /usr/include/c++/8.2.0/tuple:39, from /usr/include/c++/8.2.0/bits/stl_map.h:63, from /usr/include/c++/8.2.0/map:61, from devices/../parameters/parameters.h:29, from devices/usb.h:30, from devices/usb.cpp:25: /usr/include/bits/stdio2.h:36:34: note: '__builtin___sprintf_chk' output between 23 and 4118 bytes into a destination of size 4096 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ devices/usb.cpp:138:20: warning: '/power/connected_duration' directive writing 25 bytes into a region of size between 1 and 4096 [-Wformat-overflow=] sprintf(fullpath, "%s/power/connected_duration", sysfs_path); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:873, from /usr/include/c++/8.2.0/cstdio:42, from /usr/include/c++/8.2.0/ext/string_conversions.h:43, from /usr/include/c++/8.2.0/bits/basic_string.h:6391, from /usr/include/c++/8.2.0/string:52, from /usr/include/c++/8.2.0/stdexcept:39, from /usr/include/c++/8.2.0/array:39, from /usr/include/c++/8.2.0/tuple:39, from /usr/include/c++/8.2.0/bits/stl_map.h:63, from /usr/include/c++/8.2.0/map:61, from devices/../parameters/parameters.h:29, from devices/usb.h:30, from devices/usb.cpp:25: /usr/include/bits/stdio2.h:36:34: note: '__builtin___sprintf_chk' output between 26 and 4121 bytes into a destination of size 4096 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ devices/ahci.cpp: In member function 'virtual void ahci::start_measurement()': devices/ahci.cpp:151:20: warning: '/ahci_alpm_active' directive writing 17 bytes into a region of size between 1 and 4096 [-Wformat-overflow=] sprintf(filename, "%s/ahci_alpm_active", sysfs_path); ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:873, from /usr/include/c++/8.2.0/cstdio:42, from /usr/include/c++/8.2.0/ext/string_conversions.h:43, from /usr/include/c++/8.2.0/bits/basic_string.h:6391, from /usr/include/c++/8.2.0/string:52, from /usr/include/c++/8.2.0/bits/locale_classes.h:40, from /usr/include/c++/8.2.0/bits/ios_base.h:41, from /usr/include/c++/8.2.0/ios:42, from /usr/include/c++/8.2.0/ostream:38, from /usr/include/c++/8.2.0/iostream:39, from devices/ahci.cpp:25: /usr/include/bits/stdio2.h:36:34: note: '__builtin___sprintf_chk' output between 18 and 4113 bytes into a destination of size 4096 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ devices/ahci.cpp:158:21: warning: '/ahci_alpm_partial' directive writing 18 bytes into a region of size between 1 and 4096 [-Wformat-overflow=] sprintf(filename, "%s/ahci_alpm_partial", sysfs_path); ^~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:873, from /usr/include/c++/8.2.0/cstdio:42, from /usr/include/c++/8.2.0/ext/string_conversions.h:43, from /usr/include/c++/8.2.0/bits/basic_string.h:6391, from /usr/include/c++/8.2.0/string:52, from /usr/include/c++/8.2.0/bits/locale_classes.h:40, from /usr/include/c++/8.2.0/bits/ios_base.h:41, from /usr/include/c++/8.2.0/ios:42, from /usr/include/c++/8.2.0/ostream:38, from /usr/include/c++/8.2.0/iostream:39, from devices/ahci.cpp:25: /usr/include/bits/stdio2.h:36:34: note: '__builtin___sprintf_chk' output between 19 and 4114 bytes into a destination of size 4096 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ devices/ahci.cpp:165:21: warning: '/ahci_alpm_slumber' directive writing 18 bytes into a region of size between 1 and 4096 [-Wformat-overflow=] sprintf(filename, "%s/ahci_alpm_slumber", sysfs_path); ^~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:873, from /usr/include/c++/8.2.0/cstdio:42, from /usr/include/c++/8.2.0/ext/string_conversions.h:43, from /usr/include/c++/8.2.0/bits/basic_string.h:6391, from /usr/include/c++/8.2.0/string:52, from /usr/include/c++/8.2.0/bits/locale_classes.h:40, from /usr/include/c++/8.2.0/bits/ios_base.h:41, from /usr/include/c++/8.2.0/ios:42, from /usr/include/c++/8.2.0/ostream:38, from /usr/include/c++/8.2.0/iostream:39, from devices/ahci.cpp:25: /usr/include/bits/stdio2.h:36:34: note: '__builtin___sprintf_chk' output between 19 and 4114 bytes into a destination of size 4096 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ devices/ahci.cpp: In member function 'virtual void ahci::end_measurement()': devices/ahci.cpp:188:21: warning: '/ahci_alpm_active' directive writing 17 bytes into a region of size between 1 and 4096 [-Wformat-overflow=] sprintf(filename, "%s/ahci_alpm_active", sysfs_path); ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:873, from /usr/include/c++/8.2.0/cstdio:42, from /usr/include/c++/8.2.0/ext/string_conversions.h:43, from /usr/include/c++/8.2.0/bits/basic_string.h:6391, from /usr/include/c++/8.2.0/string:52, from /usr/include/c++/8.2.0/bits/locale_classes.h:40, from /usr/include/c++/8.2.0/bits/ios_base.h:41, from /usr/include/c++/8.2.0/ios:42, from /usr/include/c++/8.2.0/ostream:38, from /usr/include/c++/8.2.0/iostream:39, from devices/ahci.cpp:25: /usr/include/bits/stdio2.h:36:34: note: '__builtin___sprintf_chk' output between 18 and 4113 bytes into a destination of size 4096 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ devices/ahci.cpp:194:21: warning: '/ahci_alpm_partial' directive writing 18 bytes into a region of size between 1 and 4096 [-Wformat-overflow=] sprintf(filename, "%s/ahci_alpm_partial", sysfs_path); ^~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:873, from /usr/include/c++/8.2.0/cstdio:42, from /usr/include/c++/8.2.0/ext/string_conversions.h:43, from /usr/include/c++/8.2.0/bits/basic_string.h:6391, from /usr/include/c++/8.2.0/string:52, from /usr/include/c++/8.2.0/bits/locale_classes.h:40, from /usr/include/c++/8.2.0/bits/ios_base.h:41, from /usr/include/c++/8.2.0/ios:42, from /usr/include/c++/8.2.0/ostream:38, from /usr/include/c++/8.2.0/iostream:39, from devices/ahci.cpp:25: /usr/include/bits/stdio2.h:36:34: note: '__builtin___sprintf_chk' output between 19 and 4114 bytes into a destination of size 4096 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ devices/ahci.cpp:200:21: warning: '/ahci_alpm_slumber' directive writing 18 bytes into a region of size between 1 and 4096 [-Wformat-overflow=] sprintf(filename, "%s/ahci_alpm_slumber", sysfs_path); ^~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:873, from /usr/include/c++/8.2.0/cstdio:42, from /usr/include/c++/8.2.0/ext/string_conversions.h:43, from /usr/include/c++/8.2.0/bits/basic_string.h:6391, from /usr/include/c++/8.2.0/string:52, from /usr/include/c++/8.2.0/bits/locale_classes.h:40, from /usr/include/c++/8.2.0/bits/ios_base.h:41, from /usr/include/c++/8.2.0/ios:42, from /usr/include/c++/8.2.0/ostream:38, from /usr/include/c++/8.2.0/iostream:39, from devices/ahci.cpp:25: /usr/include/bits/stdio2.h:36:34: note: '__builtin___sprintf_chk' output between 19 and 4114 bytes into a destination of size 4096 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ devices/ahci.cpp:218:21: warning: '-active' directive writing 7 bytes into a region of size between 1 and 4096 [-Wformat-overflow=] sprintf(powername, "%s-active", name); ^~~~~~~~~~~ In file included from /usr/include/stdio.h:873, from /usr/include/c++/8.2.0/cstdio:42, from /usr/include/c++/8.2.0/ext/string_conversions.h:43, from /usr/include/c++/8.2.0/bits/basic_string.h:6391, from /usr/include/c++/8.2.0/string:52, from /usr/include/c++/8.2.0/bits/locale_classes.h:40, from /usr/include/c++/8.2.0/bits/ios_base.h:41, from /usr/include/c++/8.2.0/ios:42, from /usr/include/c++/8.2.0/ostream:38, from /usr/include/c++/8.2.0/iostream:39, from devices/ahci.cpp:25: /usr/include/bits/stdio2.h:36:34: note: '__builtin___sprintf_chk' output between 8 and 4103 bytes into a destination of size 4096 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ devices/ahci.cpp:227:21: warning: '-partial' directive writing 8 bytes into a region of size between 1 and 4096 [-Wformat-overflow=] sprintf(powername, "%s-partial", name); ^~~~~~~~~~~~ In file included from /usr/include/stdio.h:873, from /usr/include/c++/8.2.0/cstdio:42, from /usr/include/c++/8.2.0/ext/string_conversions.h:43, from /usr/include/c++/8.2.0/bits/basic_string.h:6391, from /usr/include/c++/8.2.0/string:52, from /usr/include/c++/8.2.0/bits/locale_classes.h:40, from /usr/include/c++/8.2.0/bits/ios_base.h:41, from /usr/include/c++/8.2.0/ios:42, from /usr/include/c++/8.2.0/ostream:38, from /usr/include/c++/8.2.0/iostream:39, from devices/ahci.cpp:25: /usr/include/bits/stdio2.h:36:34: note: '__builtin___sprintf_chk' output between 9 and 4104 bytes into a destination of size 4096 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ devices/usb.cpp: In function 'void create_all_usb_devices()': devices/usb.cpp:214:24: warning: '/power/active_duration' directive writing 22 bytes into a region of size between 1 and 4096 [-Wformat-overflow=] sprintf(device_name, "%s/power/active_duration", filename); ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:873, from /usr/include/c++/8.2.0/cstdio:42, from /usr/include/c++/8.2.0/ext/string_conversions.h:43, from /usr/include/c++/8.2.0/bits/basic_string.h:6391, from /usr/include/c++/8.2.0/string:52, from /usr/include/c++/8.2.0/stdexcept:39, from /usr/include/c++/8.2.0/array:39, from /usr/include/c++/8.2.0/tuple:39, from /usr/include/c++/8.2.0/bits/stl_map.h:63, from /usr/include/c++/8.2.0/map:61, from devices/../parameters/parameters.h:29, from devices/usb.h:30, from devices/usb.cpp:25: /usr/include/bits/stdio2.h:36:34: note: '__builtin___sprintf_chk' output between 23 and 4118 bytes into a destination of size 4096 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ devices/usb.cpp:218:24: warning: '/idVendor' directive writing 9 bytes into a region of size between 1 and 4096 [-Wformat-overflow=] sprintf(device_name, "%s/idVendor", filename); ^~~~~~~~~~~~~ In file included from /usr/include/stdio.h:873, from /usr/include/c++/8.2.0/cstdio:42, from /usr/include/c++/8.2.0/ext/string_conversions.h:43, from /usr/include/c++/8.2.0/bits/basic_string.h:6391, from /usr/include/c++/8.2.0/string:52, from /usr/include/c++/8.2.0/stdexcept:39, from /usr/include/c++/8.2.0/array:39, from /usr/include/c++/8.2.0/tuple:39, from /usr/include/c++/8.2.0/bits/stl_map.h:63, from /usr/include/c++/8.2.0/map:61, from devices/../parameters/parameters.h:29, from devices/usb.h:30, from devices/usb.cpp:25: /usr/include/bits/stdio2.h:36:34: note: '__builtin___sprintf_chk' output between 10 and 4105 bytes into a destination of size 4096 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ devices/usb.cpp:223:24: warning: '/idProduct' directive writing 10 bytes into a region of size between 1 and 4096 [-Wformat-overflow=] sprintf(device_name, "%s/idProduct", filename); ^~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:873, from /usr/include/c++/8.2.0/cstdio:42, from /usr/include/c++/8.2.0/ext/string_conversions.h:43, from /usr/include/c++/8.2.0/bits/basic_string.h:6391, from /usr/include/c++/8.2.0/string:52, from /usr/include/c++/8.2.0/stdexcept:39, from /usr/include/c++/8.2.0/array:39, from /usr/include/c++/8.2.0/tuple:39, from /usr/include/c++/8.2.0/bits/stl_map.h:63, from /usr/include/c++/8.2.0/map:61, from devices/../parameters/parameters.h:29, from devices/usb.h:30, from devices/usb.cpp:25: /usr/include/bits/stdio2.h:36:34: note: '__builtin___sprintf_chk' output between 11 and 4106 bytes into a destination of size 4096 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ devices/ahci.cpp: In constructor 'ahci::ahci(char*, char*)': devices/ahci.cpp:131:18: warning: '-active' directive writing 7 bytes into a region of size between 1 and 4096 [-Wformat-overflow=] sprintf(buffer, "%s-active", name); ^~~~~~~~~~~ In file included from /usr/include/stdio.h:873, from /usr/include/c++/8.2.0/cstdio:42, from /usr/include/c++/8.2.0/ext/string_conversions.h:43, from /usr/include/c++/8.2.0/bits/basic_string.h:6391, from /usr/include/c++/8.2.0/string:52, from /usr/include/c++/8.2.0/bits/locale_classes.h:40, from /usr/include/c++/8.2.0/bits/ios_base.h:41, from /usr/include/c++/8.2.0/ios:42, from /usr/include/c++/8.2.0/ostream:38, from /usr/include/c++/8.2.0/iostream:39, from devices/ahci.cpp:25: /usr/include/bits/stdio2.h:36:34: note: '__builtin___sprintf_chk' output between 8 and 4103 bytes into a destination of size 4096 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ devices/ahci.cpp:134:18: warning: '-partial' directive writing 8 bytes into a region of size between 1 and 4096 [-Wformat-overflow=] sprintf(buffer, "%s-partial", name); ^~~~~~~~~~~~ In file included from /usr/include/stdio.h:873, from /usr/include/c++/8.2.0/cstdio:42, from /usr/include/c++/8.2.0/ext/string_conversions.h:43, from /usr/include/c++/8.2.0/bits/basic_string.h:6391, from /usr/include/c++/8.2.0/string:52, from /usr/include/c++/8.2.0/bits/locale_classes.h:40, from /usr/include/c++/8.2.0/bits/ios_base.h:41, from /usr/include/c++/8.2.0/ios:42, from /usr/include/c++/8.2.0/ostream:38, from /usr/include/c++/8.2.0/iostream:39, from devices/ahci.cpp:25: /usr/include/bits/stdio2.h:36:34: note: '__builtin___sprintf_chk' output between 9 and 4104 bytes into a destination of size 4096 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ devices/ahci.cpp:50:20: warning: '%s' directive writing up to 255 bytes into a region of size between 0 and 4095 [-Wformat-overflow=] sprintf(pathname, "%s/%s", path, target); ^~~~~~~ In file included from /usr/include/stdio.h:873, from /usr/include/c++/8.2.0/cstdio:42, from /usr/include/c++/8.2.0/ext/string_conversions.h:43, from /usr/include/c++/8.2.0/bits/basic_string.h:6391, from /usr/include/c++/8.2.0/string:52, from /usr/include/c++/8.2.0/bits/locale_classes.h:40, from /usr/include/c++/8.2.0/bits/ios_base.h:41, from /usr/include/c++/8.2.0/ios:42, from /usr/include/c++/8.2.0/ostream:38, from /usr/include/c++/8.2.0/iostream:39, from devices/ahci.cpp:25: /usr/include/bits/stdio2.h:36:34: note: '__builtin___sprintf_chk' output between 2 and 4352 bytes into a destination of size 4096 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ devices/ahci.cpp:64:17: warning: '%s' directive writing up to 255 bytes into a region of size between 0 and 4095 [-Wformat-overflow=] sprintf(line, "%s/%s/model", pathname, dirent->d_name); ^~~~~~~~~~~~~ In file included from /usr/include/stdio.h:873, from /usr/include/c++/8.2.0/cstdio:42, from /usr/include/c++/8.2.0/ext/string_conversions.h:43, from /usr/include/c++/8.2.0/bits/basic_string.h:6391, from /usr/include/c++/8.2.0/string:52, from /usr/include/c++/8.2.0/bits/locale_classes.h:40, from /usr/include/c++/8.2.0/bits/ios_base.h:41, from /usr/include/c++/8.2.0/ios:42, from /usr/include/c++/8.2.0/ostream:38, from /usr/include/c++/8.2.0/iostream:39, from devices/ahci.cpp:25: /usr/include/bits/stdio2.h:36:34: note: '__builtin___sprintf_chk' output between 8 and 4358 bytes into a destination of size 4096 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ devices/rfkill.cpp: In member function 'virtual void rfkill::start_measurement()': devices/rfkill.cpp:82:20: warning: '/hard' directive writing 5 bytes into a region of size between 1 and 4096 [-Wformat-overflow=] sprintf(filename, "%s/hard", sysfs_path); ^~~~~~~~~ In file included from /usr/include/stdio.h:873, from /usr/include/c++/8.2.0/cstdio:42, from /usr/include/c++/8.2.0/ext/string_conversions.h:43, from /usr/include/c++/8.2.0/bits/basic_string.h:6391, from /usr/include/c++/8.2.0/string:52, from /usr/include/c++/8.2.0/bits/locale_classes.h:40, from /usr/include/c++/8.2.0/bits/ios_base.h:41, from /usr/include/c++/8.2.0/ios:42, from /usr/include/c++/8.2.0/ostream:38, from /usr/include/c++/8.2.0/iostream:39, from devices/rfkill.cpp:25: /usr/include/bits/stdio2.h:36:34: note: '__builtin___sprintf_chk' output between 6 and 4101 bytes into a destination of size 4096 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ devices/rfkill.cpp:89:20: warning: '/soft' directive writing 5 bytes into a region of size between 1 and 4096 [-Wformat-overflow=] sprintf(filename, "%s/soft", sysfs_path); ^~~~~~~~~ In file included from /usr/include/stdio.h:873, from /usr/include/c++/8.2.0/cstdio:42, from /usr/include/c++/8.2.0/ext/string_conversions.h:43, from /usr/include/c++/8.2.0/bits/basic_string.h:6391, from /usr/include/c++/8.2.0/string:52, from /usr/include/c++/8.2.0/bits/locale_classes.h:40, from /usr/include/c++/8.2.0/bits/ios_base.h:41, from /usr/include/c++/8.2.0/ios:42, from /usr/include/c++/8.2.0/ostream:38, from /usr/include/c++/8.2.0/iostream:39, from devices/rfkill.cpp:25: /usr/include/bits/stdio2.h:36:34: note: '__builtin___sprintf_chk' output between 6 and 4101 bytes into a destination of size 4096 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ devices/rfkill.cpp: In member function 'virtual void rfkill::end_measurement()': devices/rfkill.cpp:102:20: warning: '/hard' directive writing 5 bytes into a region of size between 1 and 4096 [-Wformat-overflow=] sprintf(filename, "%s/hard", sysfs_path); ^~~~~~~~~ In file included from /usr/include/stdio.h:873, from /usr/include/c++/8.2.0/cstdio:42, from /usr/include/c++/8.2.0/ext/string_conversions.h:43, from /usr/include/c++/8.2.0/bits/basic_string.h:6391, from /usr/include/c++/8.2.0/string:52, from /usr/include/c++/8.2.0/bits/locale_classes.h:40, from /usr/include/c++/8.2.0/bits/ios_base.h:41, from /usr/include/c++/8.2.0/ios:42, from /usr/include/c++/8.2.0/ostream:38, from /usr/include/c++/8.2.0/iostream:39, from devices/rfkill.cpp:25: /usr/include/bits/stdio2.h:36:34: note: '__builtin___sprintf_chk' output between 6 and 4101 bytes into a destination of size 4096 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ devices/rfkill.cpp:108:20: warning: '/soft' directive writing 5 bytes into a region of size between 1 and 4096 [-Wformat-overflow=] sprintf(filename, "%s/soft", sysfs_path); ^~~~~~~~~ In file included from /usr/include/stdio.h:873, from /usr/include/c++/8.2.0/cstdio:42, from /usr/include/c++/8.2.0/ext/string_conversions.h:43, from /usr/include/c++/8.2.0/bits/basic_string.h:6391, from /usr/include/c++/8.2.0/string:52, from /usr/include/c++/8.2.0/bits/locale_classes.h:40, from /usr/include/c++/8.2.0/bits/ios_base.h:41, from /usr/include/c++/8.2.0/ios:42, from /usr/include/c++/8.2.0/ostream:38, from /usr/include/c++/8.2.0/iostream:39, from devices/rfkill.cpp:25: /usr/include/bits/stdio2.h:36:34: note: '__builtin___sprintf_chk' output between 6 and 4101 bytes into a destination of size 4096 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mv -f devices/.deps/powertop-usb.Tpo devices/.deps/powertop-usb.Po g++ -DHAVE_CONFIG_H -I. -I.. -D_FORTIFY_SOURCE=2 -I/usr/include/libnl3 -D_GLIBCXX_USE_C99_MATH=1 -O2 -g -fno-omit-frame-pointer -fstack-protector -Wall -Wshadow -Wformat -I/usr/include/ -I/usr/include/libnl3 -march=i486 -Os -pipe -mindirect-branch=thunk -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 devices/.deps/powertop-rfkill.Tpo devices/.deps/powertop-rfkill.Po mv -f devices/.deps/powertop-thinkpad-light.Tpo devices/.deps/powertop-thinkpad-light.Po g++ -DHAVE_CONFIG_H -I. -I.. -D_FORTIFY_SOURCE=2 -I/usr/include/libnl3 -D_GLIBCXX_USE_C99_MATH=1 -O2 -g -fno-omit-frame-pointer -fstack-protector -Wall -Wshadow -Wformat -I/usr/include/ -I/usr/include/libnl3 -march=i486 -Os -pipe -mindirect-branch=thunk -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 g++ -DHAVE_CONFIG_H -I. -I.. -D_FORTIFY_SOURCE=2 -I/usr/include/libnl3 -D_GLIBCXX_USE_C99_MATH=1 -O2 -g -fno-omit-frame-pointer -fstack-protector -Wall -Wshadow -Wformat -I/usr/include/ -I/usr/include/libnl3 -march=i486 -Os -pipe -mindirect-branch=thunk -MT measurement/powertop-power_supply.o -MD -MP -MF measurement/.deps/powertop-power_supply.Tpo -c -o measurement/powertop-power_supply.o `test -f 'measurement/power_supply.cpp' || echo './'`measurement/power_supply.cpp mv -f devices/.deps/powertop-ahci.Tpo devices/.deps/powertop-ahci.Po g++ -DHAVE_CONFIG_H -I. -I.. -D_FORTIFY_SOURCE=2 -I/usr/include/libnl3 -D_GLIBCXX_USE_C99_MATH=1 -O2 -g -fno-omit-frame-pointer -fstack-protector -Wall -Wshadow -Wformat -I/usr/include/ -I/usr/include/libnl3 -march=i486 -Os -pipe -mindirect-branch=thunk -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 devices/backlight.cpp: In member function 'virtual void backlight::start_measurement()': devices/backlight.cpp:62:20: warning: '/max_brightness' directive writing 15 bytes into a region of size between 1 and 4096 [-Wformat-overflow=] sprintf(filename, "%s/max_brightness", sysfs_path); ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:873, from /usr/include/c++/8.2.0/cstdio:42, from /usr/include/c++/8.2.0/ext/string_conversions.h:43, from /usr/include/c++/8.2.0/bits/basic_string.h:6391, from /usr/include/c++/8.2.0/string:52, from /usr/include/c++/8.2.0/bits/locale_classes.h:40, from /usr/include/c++/8.2.0/bits/ios_base.h:41, from /usr/include/c++/8.2.0/ios:42, from /usr/include/c++/8.2.0/ostream:38, from /usr/include/c++/8.2.0/iostream:39, from devices/backlight.cpp:25: /usr/include/bits/stdio2.h:36:34: note: '__builtin___sprintf_chk' output between 16 and 4111 bytes into a destination of size 4096 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ devices/backlight.cpp:69:20: warning: '/actual_brightness' directive writing 18 bytes into a region of size between 1 and 4096 [-Wformat-overflow=] sprintf(filename, "%s/actual_brightness", sysfs_path); ^~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:873, from /usr/include/c++/8.2.0/cstdio:42, from /usr/include/c++/8.2.0/ext/string_conversions.h:43, from /usr/include/c++/8.2.0/bits/basic_string.h:6391, from /usr/include/c++/8.2.0/string:52, from /usr/include/c++/8.2.0/bits/locale_classes.h:40, from /usr/include/c++/8.2.0/bits/ios_base.h:41, from /usr/include/c++/8.2.0/ios:42, from /usr/include/c++/8.2.0/ostream:38, from /usr/include/c++/8.2.0/iostream:39, from devices/backlight.cpp:25: /usr/include/bits/stdio2.h:36:34: note: '__builtin___sprintf_chk' output between 19 and 4114 bytes into a destination of size 4096 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ devices/backlight.cpp: In member function 'virtual void backlight::end_measurement()': devices/backlight.cpp:124:20: warning: '/actual_brightness' directive writing 18 bytes into a region of size between 1 and 4096 [-Wformat-overflow=] sprintf(filename, "%s/actual_brightness", sysfs_path); ^~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:873, from /usr/include/c++/8.2.0/cstdio:42, from /usr/include/c++/8.2.0/ext/string_conversions.h:43, from /usr/include/c++/8.2.0/bits/basic_string.h:6391, from /usr/include/c++/8.2.0/string:52, from /usr/include/c++/8.2.0/bits/locale_classes.h:40, from /usr/include/c++/8.2.0/bits/ios_base.h:41, from /usr/include/c++/8.2.0/ios:42, from /usr/include/c++/8.2.0/ostream:38, from /usr/include/c++/8.2.0/iostream:39, from devices/backlight.cpp:25: /usr/include/bits/stdio2.h:36:34: note: '__builtin___sprintf_chk' output between 19 and 4114 bytes into a destination of size 4096 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ devices/backlight.cpp:139:21: warning: '-power' directive writing 6 bytes into a region of size between 1 and 4096 [-Wformat-overflow=] sprintf(powername, "%s-power", name); ^~~~~~~~~~ In file included from /usr/include/stdio.h:873, from /usr/include/c++/8.2.0/cstdio:42, from /usr/include/c++/8.2.0/ext/string_conversions.h:43, from /usr/include/c++/8.2.0/bits/basic_string.h:6391, from /usr/include/c++/8.2.0/string:52, from /usr/include/c++/8.2.0/bits/locale_classes.h:40, from /usr/include/c++/8.2.0/bits/ios_base.h:41, from /usr/include/c++/8.2.0/ios:42, from /usr/include/c++/8.2.0/ostream:38, from /usr/include/c++/8.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 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ devices/backlight.cpp: In member function 'virtual double backlight::power_usage(result_bundle*, parameter_bundle*)': devices/backlight.cpp:228:22: warning: '-power' directive writing 6 bytes into a region of size between 1 and 4096 [-Wformat-overflow=] sprintf(powername, "%s-power", name); ^~~~~~~~~~ In file included from /usr/include/stdio.h:873, from /usr/include/c++/8.2.0/cstdio:42, from /usr/include/c++/8.2.0/ext/string_conversions.h:43, from /usr/include/c++/8.2.0/bits/basic_string.h:6391, from /usr/include/c++/8.2.0/string:52, from /usr/include/c++/8.2.0/bits/locale_classes.h:40, from /usr/include/c++/8.2.0/bits/ios_base.h:41, from /usr/include/c++/8.2.0/ios:42, from /usr/include/c++/8.2.0/ostream:38, from /usr/include/c++/8.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 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mv -f devices/.deps/powertop-backlight.Tpo devices/.deps/powertop-backlight.Po g++ -DHAVE_CONFIG_H -I. -I.. -D_FORTIFY_SOURCE=2 -I/usr/include/libnl3 -D_GLIBCXX_USE_C99_MATH=1 -O2 -g -fno-omit-frame-pointer -fstack-protector -Wall -Wshadow -Wformat -I/usr/include/ -I/usr/include/libnl3 -march=i486 -Os -pipe -mindirect-branch=thunk -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 mv -f measurement/.deps/powertop-sysfs.Tpo measurement/.deps/powertop-sysfs.Po g++ -DHAVE_CONFIG_H -I. -I.. -D_FORTIFY_SOURCE=2 -I/usr/include/libnl3 -D_GLIBCXX_USE_C99_MATH=1 -O2 -g -fno-omit-frame-pointer -fstack-protector -Wall -Wshadow -Wformat -I/usr/include/ -I/usr/include/libnl3 -march=i486 -Os -pipe -mindirect-branch=thunk -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 measurement/.deps/powertop-power_supply.Tpo measurement/.deps/powertop-power_supply.Po mv -f measurement/.deps/powertop-measurement.Tpo measurement/.deps/powertop-measurement.Po mv -f measurement/.deps/powertop-acpi.Tpo measurement/.deps/powertop-acpi.Po mv -f devices/.deps/powertop-network.Tpo devices/.deps/powertop-network.Po calibrate/calibrate.cpp: In function 'void idle_calibration()': calibrate/calibrate.cpp:422:8: warning: ignoring return value of 'int system(const char*)', declared with attribute warn_unused_result [-Wunused-result] system("DISPLAY=:0 /usr/bin/xset dpms force off"); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ calibrate/calibrate.cpp:424:8: warning: ignoring return value of 'int system(const char*)', declared with attribute warn_unused_result [-Wunused-result] system("DISPLAY=:0 /usr/bin/xset dpms force on"); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ calibrate/calibrate.cpp: In function 'void* burn_disk(void*)': calibrate/calibrate.cpp:303:8: warning: ignoring return value of 'ssize_t write(int, const void*, size_t)', declared with attribute warn_unused_result [-Wunused-result] write(fd, buffer, 64*1024); ~~~~~^~~~~~~~~~~~~~~~~~~~~ calibrate/calibrate.cpp: In function 'void backlight_calibration()': calibrate/calibrate.cpp:414:8: warning: ignoring return value of 'int system(const char*)', declared with attribute warn_unused_result [-Wunused-result] system("DISPLAY=:0 /usr/bin/xset dpms force off"); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ calibrate/calibrate.cpp:416:8: warning: ignoring return value of 'int system(const char*)', declared with attribute warn_unused_result [-Wunused-result] system("DISPLAY=:0 /usr/bin/xset dpms force on"); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ measurement/extech.cpp: In member function 'void extech_power_meter::measure()': measurement/extech.cpp:290:7: warning: ignoring return value of 'ssize_t write(int, const void*, size_t)', declared with attribute warn_unused_result [-Wunused-result] write(fd, " ", 1); ~~~~~^~~~~~~~~~~~ mv -f measurement/.deps/powertop-extech.Tpo measurement/.deps/powertop-extech.Po mv -f calibrate/.deps/powertop-calibrate.Tpo calibrate/.deps/powertop-calibrate.Po /bin/bash ../libtool --tag=CXX --mode=link g++ -O2 -g -fno-omit-frame-pointer -fstack-protector -Wall -Wshadow -Wformat -I/usr/include/ -I/usr/include/libnl3 -march=i486 -Os -pipe -mindirect-branch=thunk -lpthread -lncursesw -lpci -lnl-genl-3 -lnl-3 -lz -Wl,-Os,--as-needed -o powertop parameters/powertop-persistent.o parameters/powertop-learn.o parameters/powertop-parameters.o powertop-display.o cpu/powertop-cpu_core.o cpu/powertop-cpudevice.o cpu/powertop-cpu.o cpu/powertop-cpu_linux.o cpu/powertop-abstract_cpu.o cpu/powertop-cpu_package.o cpu/powertop-intel_cpus.o powertop-devlist.o powertop-lib.o powertop-report.o process/powertop-process.o process/powertop-processdevice.o process/powertop-powerconsumer.o process/powertop-timer.o process/powertop-work.o process/powertop-do_process.o process/powertop-interrupt.o perf/powertop-perf.o perf/powertop-perf_bundle.o devices/powertop-i915-gpu.o devices/powertop-device.o devices/powertop-alsa.o devices/powertop-runtime_pm.o devices/powertop-thinkpad-fan.o devices/powertop-usb.o devices/powertop-ahci.o devices/powertop-thinkpad-light.o devices/powertop-rfkill.o devices/powertop-backlight.o devices/powertop-network.o tuning/powertop-bluetooth.o tuning/powertop-cpufreq.o tuning/powertop-tuning.o tuning/powertop-tuningusb.o tuning/powertop-ethernet.o tuning/powertop-tunable.o tuning/powertop-iw.o tuning/powertop-wifi.o tuning/powertop-tuningsysfs.o tuning/powertop-runtime.o calibrate/powertop-calibrate.o measurement/powertop-measurement.o measurement/powertop-power_supply.o measurement/powertop-acpi.o measurement/powertop-sysfs.o measurement/powertop-extech.o powertop-main.o ../pevent/libparseevent.la -lpthread -lncursesw libtool: link: g++ -O2 -g -fno-omit-frame-pointer -fstack-protector -Wall -Wshadow -Wformat -I/usr/include/ -I/usr/include/libnl3 -march=i486 -Os -pipe -mindirect-branch=thunk -Wl,-Os -Wl,--as-needed -o powertop parameters/powertop-persistent.o parameters/powertop-learn.o parameters/powertop-parameters.o powertop-display.o cpu/powertop-cpu_core.o cpu/powertop-cpudevice.o cpu/powertop-cpu.o cpu/powertop-cpu_linux.o cpu/powertop-abstract_cpu.o cpu/powertop-cpu_package.o cpu/powertop-intel_cpus.o powertop-devlist.o powertop-lib.o powertop-report.o process/powertop-process.o process/powertop-processdevice.o process/powertop-powerconsumer.o process/powertop-timer.o process/powertop-work.o process/powertop-do_process.o process/powertop-interrupt.o perf/powertop-perf.o perf/powertop-perf_bundle.o devices/powertop-i915-gpu.o devices/powertop-device.o devices/powertop-alsa.o devices/powertop-runtime_pm.o devices/powertop-thinkpad-fan.o devices/powertop-usb.o devices/powertop-ahci.o devices/powertop-thinkpad-light.o devices/powertop-rfkill.o devices/powertop-backlight.o devices/powertop-network.o tuning/powertop-bluetooth.o tuning/powertop-cpufreq.o tuning/powertop-tuning.o tuning/powertop-tuningusb.o tuning/powertop-ethernet.o tuning/powertop-tunable.o tuning/powertop-iw.o tuning/powertop-wifi.o tuning/powertop-tuningsysfs.o tuning/powertop-runtime.o calibrate/powertop-calibrate.o measurement/powertop-measurement.o measurement/powertop-power_supply.o measurement/powertop-acpi.o measurement/powertop-sysfs.o measurement/powertop-extech.o powertop-main.o -lpci -lnl-genl-3 -lnl-3 -lz ../pevent/.libs/libparseevent.a -lpthread -lncursesw make[3]: Leaving directory '/home/slitaz/wok/powertop/source/powertop-2.0/src' make[2]: Leaving directory '/home/slitaz/wok/powertop/source/powertop-2.0/src' Making all in po make[2]: Entering directory '/home/slitaz/wok/powertop/source/powertop-2.0/po' make[2]: Leaving directory '/home/slitaz/wok/powertop/source/powertop-2.0/po' make[2]: Entering directory '/home/slitaz/wok/powertop/source/powertop-2.0' make[2]: Leaving directory '/home/slitaz/wok/powertop/source/powertop-2.0' make[1]: Leaving directory '/home/slitaz/wok/powertop/source/powertop-2.0' Making install in pevent make[1]: Entering directory '/home/slitaz/wok/powertop/source/powertop-2.0/pevent' make[2]: Entering directory '/home/slitaz/wok/powertop/source/powertop-2.0/pevent' make[2]: Nothing to be done for 'install-exec-am'. make[2]: Nothing to be done for 'install-data-am'. make[2]: Leaving directory '/home/slitaz/wok/powertop/source/powertop-2.0/pevent' make[1]: Leaving directory '/home/slitaz/wok/powertop/source/powertop-2.0/pevent' Making install in src make[1]: Entering directory '/home/slitaz/wok/powertop/source/powertop-2.0/src' make install-am make[2]: Entering directory '/home/slitaz/wok/powertop/source/powertop-2.0/src' make[3]: Entering directory '/home/slitaz/wok/powertop/source/powertop-2.0/src' test -z "/usr/sbin" || .././install-sh -c -d "/home/slitaz/wok/powertop/install/usr/sbin" make[3]: Nothing to be done for 'install-data-am'. /bin/bash ../libtool --mode=install /usr/bin/install -c powertop '/home/slitaz/wok/powertop/install/usr/sbin' libtool: install: /usr/bin/install -c powertop /home/slitaz/wok/powertop/install/usr/sbin/powertop make[3]: Leaving directory '/home/slitaz/wok/powertop/source/powertop-2.0/src' make[2]: Leaving directory '/home/slitaz/wok/powertop/source/powertop-2.0/src' make[1]: Leaving directory '/home/slitaz/wok/powertop/source/powertop-2.0/src' Making install in po make[1]: Entering directory '/home/slitaz/wok/powertop/source/powertop-2.0/po' installing nl.gmo as /home/slitaz/wok/powertop/install/usr/share/locale/nl/LC_MESSAGES/powertop.mo if test "powertop" = "gettext-tools"; then \ .././install-sh -c -d /home/slitaz/wok/powertop/install/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 \ /home/slitaz/wok/powertop/install/usr/share/gettext/po/$file; \ done; \ for file in Makevars; do \ rm -f /home/slitaz/wok/powertop/install/usr/share/gettext/po/$file; \ done; \ else \ : ; \ fi make[1]: Leaving directory '/home/slitaz/wok/powertop/source/powertop-2.0/po' make[1]: Entering directory '/home/slitaz/wok/powertop/source/powertop-2.0' make[2]: Entering directory '/home/slitaz/wok/powertop/source/powertop-2.0' make[2]: Nothing to be done for 'install-exec-am'. make[2]: Nothing to be done for 'install-data-am'. make[2]: Leaving directory '/home/slitaz/wok/powertop/source/powertop-2.0' make[1]: Leaving directory '/home/slitaz/wok/powertop/source/powertop-2.0' ================================================================================ Executing strip on all files... Done Time: 0.29s. Size: 4685564 B -> 284112 B. Save: 4298 KB. Normalizing mo files... Done Time: 0.09s. Size: 392 B -> B. Save: 0 KB. Compressor warnings and errors: Info: /home/slitaz/wok/powertop/install/usr/share/locale/nl/LC_MESSAGES/powertop.mo become empty ================================================================================ Build dependencies to remove: 31 Removing: autoconf automake dbus diffutils eudev gettext gettext-dev glib libcroco libgdbm libltdl libnl libnl-dev libnl-tools libpcre libtool libx11 libxau libxcb libxdmcp libxml2 pciids pciutils pciutils-dev perl perl-core util-linux-blkid util-linux-mount util-linux-smartcols util-linux-uuid zlib-dev Pack: powertop 2.0 ================================================================================ Executing: genpkg_rules Copying folders and files... Done Copying "receipt"... Done Determining package architecture... i486 Creating the list of files... Done Creating md5sum of files... Done Compressing the FS... Done Creating full cpio archive... Done QA: checking for empty package... Done Removing old package "powertop-2.0-i486.tazpkg" Done The release checksum has changed. ================================================================================ Package "powertop-2.0-i486.tazpkg" created Post-check ================================================================================ Checking build... Done Checking 'any' arch... Done Checking libtool in source/powertop-2.0... Done Checking site script in source/powertop-2.0... Done Checking ownership in install... Done Checking permissions in install... Done Checking broken symlinks in install... Done Querying Repology... Done Updating activity log... Done ================================================================================ Summary for: powertop 2.0 ================================================================================ Src file : powertop-2.0.tar.bz2 Src size : 448.0K Source dir : 14.5M Produced : 292.0K Cook time : 83s ~ 01m 23s Cook date : 2020-07-07 19:06 Target arch : i486 -------------------------------------------------------------------------------- # : Packed : Compressed : Files : Package name -------------------------------------------------------------------------------- 1 : 308.0K : 94.2K : 1 : powertop-2.0-i486.tazpkg ================================================================================