>>> powertop 2.15 Downloading wget --passive-ftp -nd -t 3 --no-check-certificate -O '/home/buildroot/autobuild/run/instance-0/output-1/build/.powertop-2.15.tar.gz.BmwcVQ/output' 'https://github.com/fenrus75/powertop/archive/v2.15/powertop-2.15.tar.gz' --2024-03-01 22:32:15-- https://github.com/fenrus75/powertop/archive/v2.15/powertop-2.15.tar.gz Resolving github.com (github.com)... 140.82.121.3 Connecting to github.com (github.com)|140.82.121.3|:443... connected. HTTP request sent, awaiting response... 302 Found Location: https://codeload.github.com/fenrus75/powertop/tar.gz/refs/tags/v2.15 [following] --2024-03-01 22:32:15-- https://codeload.github.com/fenrus75/powertop/tar.gz/refs/tags/v2.15 Resolving codeload.github.com (codeload.github.com)... 140.82.121.10 Connecting to codeload.github.com (codeload.github.com)|140.82.121.10|:443... connected. HTTP request sent, awaiting response... 200 OK Length: unspecified [application/x-gzip] Saving to: '/home/buildroot/autobuild/run/instance-0/output-1/build/.powertop-2.15.tar.gz.BmwcVQ/output' 0K .......... .......... .......... .......... .......... 2.90M 50K .......... .......... .......... .......... .......... 5.70M 100K .......... .......... .......... .......... .......... 55.9M 150K .......... .......... .......... .......... .......... 6.26M 200K .......... .......... .......... .......... .......... 53.2M 250K .......... .......... .......... .......... ..... 58.0M=0.04s 2024-03-01 22:32:15 (8.08 MB/s) - '/home/buildroot/autobuild/run/instance-0/output-1/build/.powertop-2.15.tar.gz.BmwcVQ/output' saved [302891] powertop-2.15.tar.gz: OK (sha256: e58ab3fd7b8ff5f4dd0d17f11848817e7d83c0a6918145ac81de03b5dccf8f49) >>> powertop 2.15 Extracting gzip -d -c /home/buildroot/autobuild/run/instance-0/dl/powertop/powertop-2.15.tar.gz | tar --strip-components=1 -C /home/buildroot/autobuild/run/instance-0/output-1/build/powertop-2.15 -xf - >>> powertop 2.15 Patching Applying 0001-add-disable-stack-protector-option.patch using patch: patching file configure.ac patching file src/Makefile.am >>> powertop 2.15 Updating config.sub and config.guess for file in config.guess config.sub; do for i in $(find /home/buildroot/autobuild/run/instance-0/output-1/build/powertop-2.15 -name $file); do cp support/gnuconfig/$file $i; done; done >>> powertop 2.15 Configuring touch /home/buildroot/autobuild/run/instance-0/output-1/build/powertop-2.15/config.rpath >>> powertop 2.15 Autoreconfiguring aclocal: installing '/home/buildroot/autobuild/run/instance-0/output-1/host/share/autoconf-archive/build-to-host.m4' from '/home/buildroot/autobuild/run/instance-0/output-1/host/share/aclocal/build-to-host.m4' aclocal: installing '/home/buildroot/autobuild/run/instance-0/output-1/host/share/autoconf-archive/gettext.m4' from '/home/buildroot/autobuild/run/instance-0/output-1/host/share/aclocal/gettext.m4' aclocal: installing '/home/buildroot/autobuild/run/instance-0/output-1/host/share/autoconf-archive/host-cpu-c-abi.m4' from '/home/buildroot/autobuild/run/instance-0/output-1/host/share/aclocal/host-cpu-c-abi.m4' aclocal: installing '/home/buildroot/autobuild/run/instance-0/output-1/host/share/autoconf-archive/iconv.m4' from '/home/buildroot/autobuild/run/instance-0/output-1/host/share/aclocal/iconv.m4' aclocal: installing '/home/buildroot/autobuild/run/instance-0/output-1/host/share/autoconf-archive/intlmacosx.m4' from '/home/buildroot/autobuild/run/instance-0/output-1/host/share/aclocal/intlmacosx.m4' aclocal: installing '/home/buildroot/autobuild/run/instance-0/output-1/host/share/autoconf-archive/lib-ld.m4' from '/home/buildroot/autobuild/run/instance-0/output-1/host/share/aclocal/lib-ld.m4' aclocal: installing '/home/buildroot/autobuild/run/instance-0/output-1/host/share/autoconf-archive/lib-link.m4' from '/home/buildroot/autobuild/run/instance-0/output-1/host/share/aclocal/lib-link.m4' aclocal: installing '/home/buildroot/autobuild/run/instance-0/output-1/host/share/autoconf-archive/lib-prefix.m4' from '/home/buildroot/autobuild/run/instance-0/output-1/host/share/aclocal/lib-prefix.m4' aclocal: installing '/home/buildroot/autobuild/run/instance-0/output-1/host/share/autoconf-archive/libtool.m4' from '/home/buildroot/autobuild/run/instance-0/output-1/host/share/aclocal/libtool.m4' aclocal: installing '/home/buildroot/autobuild/run/instance-0/output-1/host/share/autoconf-archive/ltoptions.m4' from '/home/buildroot/autobuild/run/instance-0/output-1/host/share/aclocal/ltoptions.m4' aclocal: installing '/home/buildroot/autobuild/run/instance-0/output-1/host/share/autoconf-archive/ltsugar.m4' from '/home/buildroot/autobuild/run/instance-0/output-1/host/share/aclocal/ltsugar.m4' aclocal: installing '/home/buildroot/autobuild/run/instance-0/output-1/host/share/autoconf-archive/ltversion.m4' from '/home/buildroot/autobuild/run/instance-0/output-1/host/share/aclocal/ltversion.m4' aclocal: installing '/home/buildroot/autobuild/run/instance-0/output-1/host/share/autoconf-archive/lt~obsolete.m4' from '/home/buildroot/autobuild/run/instance-0/output-1/host/share/aclocal/lt~obsolete.m4' aclocal: installing '/home/buildroot/autobuild/run/instance-0/output-1/host/share/autoconf-archive/nls.m4' from '/home/buildroot/autobuild/run/instance-0/output-1/host/share/aclocal/nls.m4' aclocal: installing '/home/buildroot/autobuild/run/instance-0/output-1/host/share/autoconf-archive/pkg.m4' from '/home/buildroot/autobuild/run/instance-0/output-1/host/share/aclocal/pkg.m4' aclocal: installing '/home/buildroot/autobuild/run/instance-0/output-1/host/share/autoconf-archive/po.m4' from '/home/buildroot/autobuild/run/instance-0/output-1/host/share/aclocal/po.m4' aclocal: installing '/home/buildroot/autobuild/run/instance-0/output-1/host/share/autoconf-archive/progtest.m4' from '/home/buildroot/autobuild/run/instance-0/output-1/host/share/aclocal/progtest.m4' libtoolize: putting auxiliary files in '.'. libtoolize: copying file './ltmain.sh' libtoolize: putting macros in AC_CONFIG_MACRO_DIRS, 'm4'. libtoolize: copying file 'm4/libtool.m4' libtoolize: copying file 'm4/ltoptions.m4' libtoolize: copying file 'm4/ltsugar.m4' libtoolize: copying file 'm4/ltversion.m4' libtoolize: copying file 'm4/lt~obsolete.m4' configure.ac:38: warning: The macro 'AC_PROG_LIBTOOL' is obsolete. configure.ac:38: You should run autoupdate. aclocal.m4:5902: AC_PROG_LIBTOOL is expanded from... configure.ac:38: the top level configure.ac:31: installing './ar-lib' configure.ac:28: installing './compile' configure.ac:28: installing './config.guess' configure.ac:28: installing './config.sub' configure.ac:6: installing './install-sh' configure.ac:6: installing './missing' src/Makefile.am: installing './depcomp' >>> powertop 2.15 Patching libtool patching file /home/buildroot/autobuild/run/instance-0/output-1/build/powertop-2.15/ltmain.sh Hunk #1 succeeded at 2694 (offset 7 lines). Hunk #2 succeeded at 4284 (offset 7 lines). Hunk #3 succeeded at 6579 (offset 25 lines). Hunk #4 succeeded at 6589 (offset 25 lines). Hunk #5 succeeded at 6882 (offset 25 lines). Hunk #6 succeeded at 7174 (offset 25 lines). Hunk #7 succeeded at 8140 (offset 28 lines). Hunk #8 succeeded at 10769 (offset 59 lines). (cd /home/buildroot/autobuild/run/instance-0/output-1/build/powertop-2.15/ && rm -rf config.cache && GIT_DIR=. PATH="/home/buildroot/autobuild/run/instance-0/output-1/host/bin:/home/buildroot/autobuild/run/instance-0/output-1/host/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin" AR="/home/buildroot/autobuild/run/instance-0/output-1/host/bin/i686-linux-gcc-ar" AS="/home/buildroot/autobuild/run/instance-0/output-1/host/bin/i686-linux-as" LD="/home/buildroot/autobuild/run/instance-0/output-1/host/bin/i686-linux-ld" NM="/home/buildroot/autobuild/run/instance-0/output-1/host/bin/i686-linux-gcc-nm" CC="/home/buildroot/autobuild/run/instance-0/output-1/host/bin/i686-linux-gcc" GCC="/home/buildroot/autobuild/run/instance-0/output-1/host/bin/i686-linux-gcc" CPP="/home/buildroot/autobuild/run/instance-0/output-1/host/bin/i686-linux-cpp" CXX="/home/buildroot/autobuild/run/instance-0/output-1/host/bin/i686-linux-g++" FC="/home/buildroot/autobuild/run/instance-0/output-1/host/bin/i686-linux-gfortran" F77="/home/buildroot/autobuild/run/instance-0/output-1/host/bin/i686-linux-gfortran" RANLIB="/home/buildroot/autobuild/run/instance-0/output-1/host/bin/i686-linux-gcc-ranlib" READELF="/home/buildroot/autobuild/run/instance-0/output-1/host/bin/i686-linux-readelf" STRIP="/home/buildroot/autobuild/run/instance-0/output-1/host/bin/i686-linux-strip" OBJCOPY="/home/buildroot/autobuild/run/instance-0/output-1/host/bin/i686-linux-objcopy" OBJDUMP="/home/buildroot/autobuild/run/instance-0/output-1/host/bin/i686-linux-objdump" AR_FOR_BUILD="/usr/bin/ar" AS_FOR_BUILD="/usr/bin/as" CC_FOR_BUILD="/usr/bin/gcc" GCC_FOR_BUILD="/usr/bin/gcc" CXX_FOR_BUILD="/usr/bin/g++" LD_FOR_BUILD="/usr/bin/ld" CPPFLAGS_FOR_BUILD="-I/home/buildroot/autobuild/run/instance-0/output-1/host/include" CFLAGS_FOR_BUILD="-O2 -I/home/buildroot/autobuild/run/instance-0/output-1/host/include" CXXFLAGS_FOR_BUILD="-O2 -I/home/buildroot/autobuild/run/instance-0/output-1/host/include" LDFLAGS_FOR_BUILD="-L/home/buildroot/autobuild/run/instance-0/output-1/host/lib -Wl,-rpath,/home/buildroot/autobuild/run/instance-0/output-1/host/lib" FCFLAGS_FOR_BUILD="" DEFAULT_ASSEMBLER="/home/buildroot/autobuild/run/instance-0/output-1/host/bin/i686-linux-as" DEFAULT_LINKER="/home/buildroot/autobuild/run/instance-0/output-1/host/bin/i686-linux-ld" CPPFLAGS="-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64" CFLAGS="-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 " CXXFLAGS="-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 " LDFLAGS="" FCFLAGS=" -O2 -g0" FFLAGS=" -O2 -g0" PKG_CONFIG="/home/buildroot/autobuild/run/instance-0/output-1/host/bin/pkg-config" STAGING_DIR="/home/buildroot/autobuild/run/instance-0/output-1/host/i686-buildroot-linux-uclibc/sysroot" INTLTOOL_PERL=/usr/bin/perl ac_cv_lbl_unaligned_fail=no ac_cv_func_mmap_fixed_mapped=yes ac_cv_func_memcmp_working=yes ac_cv_have_decl_malloc=yes gl_cv_func_malloc_0_nonnull=yes ac_cv_func_malloc_0_nonnull=yes ac_cv_func_calloc_0_nonnull=yes ac_cv_func_realloc_0_nonnull=yes lt_cv_sys_lib_search_path_spec="" ac_cv_c_bigendian=no LIBS=-lintl ac_cv_search_delwin="-lncurses" CONFIG_SITE=/dev/null ./configure --target=i686-buildroot-linux-uclibc --host=i686-buildroot-linux-uclibc --build=x86_64-pc-linux-gnu --prefix=/usr --exec-prefix=/usr --sysconfdir=/etc --localstatedir=/var --program-prefix="" --disable-gtk-doc --disable-gtk-doc-html --disable-doc --disable-docs --disable-documentation --with-xmlto=no --with-fop=no --disable-dependency-tracking --enable-ipv6 --enable-nls --disable-static --enable-shared --disable-stack-protector ) configure: WARNING: unrecognized options: --disable-gtk-doc, --disable-gtk-doc-html, --disable-doc, --disable-docs, --disable-documentation, --with-xmlto, --with-fop, --enable-ipv6 checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for i686-buildroot-linux-uclibc-strip... /home/buildroot/autobuild/run/instance-0/output-1/host/bin/i686-linux-strip checking for a race-free mkdir -p... /bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking whether make supports the include directive... yes (GNU style) checking 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... yes checking for suffix of object files... o checking whether the compiler supports GNU C++... yes checking whether /home/buildroot/autobuild/run/instance-0/output-1/host/bin/i686-linux-g++ accepts -g... yes checking for /home/buildroot/autobuild/run/instance-0/output-1/host/bin/i686-linux-g++ option to enable C++11 features... none needed checking dependency style of /home/buildroot/autobuild/run/instance-0/output-1/host/bin/i686-linux-g++... none checking for stdio.h... yes checking for stdlib.h... yes checking for string.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for strings.h... yes checking for sys/stat.h... yes checking for sys/types.h... yes checking for unistd.h... yes checking for wchar.h... yes checking for minix/config.h... no checking for sys/param.h... yes checking whether it is safe to define __EXTENSIONS__... yes checking whether _XOPEN_SOURCE should be defined... no checking whether make supports nested variables... (cached) yes checking for a sed that does not truncate output... /bin/sed checking whether NLS is requested... yes checking for msgfmt... /home/buildroot/autobuild/run/instance-0/output-1/host/bin/msgfmt checking for gmsgfmt... /home/buildroot/autobuild/run/instance-0/output-1/host/bin/msgfmt checking for xgettext... /home/buildroot/autobuild/run/instance-0/output-1/host/bin/xgettext checking for msgmerge... /home/buildroot/autobuild/run/instance-0/output-1/host/bin/msgmerge checking for i686-buildroot-linux-uclibc-gcc... /home/buildroot/autobuild/run/instance-0/output-1/host/bin/i686-linux-gcc checking whether the compiler supports GNU C... yes checking whether /home/buildroot/autobuild/run/instance-0/output-1/host/bin/i686-linux-gcc accepts -g... yes checking for /home/buildroot/autobuild/run/instance-0/output-1/host/bin/i686-linux-gcc option to enable C11 features... none needed checking whether /home/buildroot/autobuild/run/instance-0/output-1/host/bin/i686-linux-gcc understands -c and -o together... yes checking dependency style of /home/buildroot/autobuild/run/instance-0/output-1/host/bin/i686-linux-gcc... none checking build system type... x86_64-pc-linux-gnu checking host system type... i686-buildroot-linux-uclibc checking for ld... /home/buildroot/autobuild/run/instance-0/output-1/host/bin/i686-linux-ld checking if the linker (/home/buildroot/autobuild/run/instance-0/output-1/host/bin/i686-linux-ld) is GNU ld... yes checking for shared library run path origin... done checking 32-bit host C ABI... yes checking how to run the C++ preprocessor... /home/buildroot/autobuild/run/instance-0/output-1/host/bin/i686-linux-g++ -E checking for egrep -e... /bin/grep -E checking for ELF binary format... yes checking for the common suffixes of directories in the library search path... lib,lib32,lib checking for CFPreferencesCopyAppValue... no checking for CFLocaleCopyPreferredLanguages... no checking for GNU gettext in libc... yes checking whether to use NLS... yes checking where the gettext function comes from... libc checking for i686-buildroot-linux-uclibc-ar... /home/buildroot/autobuild/run/instance-0/output-1/host/bin/i686-linux-gcc-ar checking the archiver (/home/buildroot/autobuild/run/instance-0/output-1/host/bin/i686-linux-gcc-ar) interface... ar checking how to run the C preprocessor... /home/buildroot/autobuild/run/instance-0/output-1/host/bin/i686-linux-cpp checking whether the compiler supports GNU C++... (cached) yes checking whether /home/buildroot/autobuild/run/instance-0/output-1/host/bin/i686-linux-g++ accepts -g... (cached) yes checking for /home/buildroot/autobuild/run/instance-0/output-1/host/bin/i686-linux-g++ option to enable C++11 features... (cached) none needed checking dependency style of /home/buildroot/autobuild/run/instance-0/output-1/host/bin/i686-linux-g++... (cached) none checking how to print strings... printf checking for a sed that does not truncate output... (cached) /bin/sed checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for fgrep... /bin/grep -F checking for ld used by /home/buildroot/autobuild/run/instance-0/output-1/host/bin/i686-linux-gcc... /home/buildroot/autobuild/run/instance-0/output-1/host/bin/i686-linux-ld checking if the linker (/home/buildroot/autobuild/run/instance-0/output-1/host/bin/i686-linux-ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /home/buildroot/autobuild/run/instance-0/output-1/host/bin/i686-linux-gcc-nm checking the name lister (/home/buildroot/autobuild/run/instance-0/output-1/host/bin/i686-linux-gcc-nm) interface... BSD nm checking whether ln -s works... yes checking the maximum length of command line arguments... 1572864 checking how to convert x86_64-pc-linux-gnu file names to i686-buildroot-linux-uclibc format... func_convert_file_noop checking how to convert x86_64-pc-linux-gnu file names to toolchain format... func_convert_file_noop checking for /home/buildroot/autobuild/run/instance-0/output-1/host/bin/i686-linux-ld option to reload object files... -r checking for i686-buildroot-linux-uclibc-objdump... /home/buildroot/autobuild/run/instance-0/output-1/host/bin/i686-linux-objdump checking how to recognize dependent libraries... pass_all checking for i686-buildroot-linux-uclibc-dlltool... no checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for i686-buildroot-linux-uclibc-ar... (cached) /home/buildroot/autobuild/run/instance-0/output-1/host/bin/i686-linux-gcc-ar checking for archiver @FILE support... @ checking for i686-buildroot-linux-uclibc-strip... (cached) /home/buildroot/autobuild/run/instance-0/output-1/host/bin/i686-linux-strip checking for i686-buildroot-linux-uclibc-ranlib... /home/buildroot/autobuild/run/instance-0/output-1/host/bin/i686-linux-gcc-ranlib checking command to parse /home/buildroot/autobuild/run/instance-0/output-1/host/bin/i686-linux-gcc-nm output from /home/buildroot/autobuild/run/instance-0/output-1/host/bin/i686-linux-gcc object... ok checking for sysroot... no checking for a working dd... /bin/dd checking how to truncate binary pipes... /bin/dd bs=4096 count=1 checking for i686-buildroot-linux-uclibc-mt... no checking for mt... mt configure: WARNING: using cross tools not prefixed with host triplet checking if mt is a manifest tool... no checking for dlfcn.h... yes checking for objdir... .libs checking if /home/buildroot/autobuild/run/instance-0/output-1/host/bin/i686-linux-gcc supports -fno-rtti -fno-exceptions... no checking for /home/buildroot/autobuild/run/instance-0/output-1/host/bin/i686-linux-gcc option to produce PIC... -fPIC -DPIC checking if /home/buildroot/autobuild/run/instance-0/output-1/host/bin/i686-linux-gcc PIC flag -fPIC -DPIC works... yes checking if /home/buildroot/autobuild/run/instance-0/output-1/host/bin/i686-linux-gcc static flag -static works... yes checking if /home/buildroot/autobuild/run/instance-0/output-1/host/bin/i686-linux-gcc supports -c -o file.o... yes checking if /home/buildroot/autobuild/run/instance-0/output-1/host/bin/i686-linux-gcc supports -c -o file.o... (cached) yes checking whether the /home/buildroot/autobuild/run/instance-0/output-1/host/bin/i686-linux-gcc linker (/home/buildroot/autobuild/run/instance-0/output-1/host/bin/i686-linux-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... no checking how to run the C++ preprocessor... /home/buildroot/autobuild/run/instance-0/output-1/host/bin/i686-linux-g++ -E checking for ld used by /home/buildroot/autobuild/run/instance-0/output-1/host/bin/i686-linux-g++... /home/buildroot/autobuild/run/instance-0/output-1/host/bin/i686-linux-ld checking if the linker (/home/buildroot/autobuild/run/instance-0/output-1/host/bin/i686-linux-ld) is GNU ld... yes checking whether the /home/buildroot/autobuild/run/instance-0/output-1/host/bin/i686-linux-g++ linker (/home/buildroot/autobuild/run/instance-0/output-1/host/bin/i686-linux-ld) supports shared libraries... yes checking for /home/buildroot/autobuild/run/instance-0/output-1/host/bin/i686-linux-g++ option to produce PIC... -fPIC -DPIC checking if /home/buildroot/autobuild/run/instance-0/output-1/host/bin/i686-linux-g++ PIC flag -fPIC -DPIC works... yes checking if /home/buildroot/autobuild/run/instance-0/output-1/host/bin/i686-linux-g++ static flag -static works... yes checking if /home/buildroot/autobuild/run/instance-0/output-1/host/bin/i686-linux-g++ supports -c -o file.o... yes checking if /home/buildroot/autobuild/run/instance-0/output-1/host/bin/i686-linux-g++ supports -c -o file.o... (cached) yes checking whether the /home/buildroot/autobuild/run/instance-0/output-1/host/bin/i686-linux-g++ linker (/home/buildroot/autobuild/run/instance-0/output-1/host/bin/i686-linux-ld) supports shared libraries... yes checking dynamic linker characteristics... (cached) GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking for i686-buildroot-linux-uclibc-gcc... (cached) /home/buildroot/autobuild/run/instance-0/output-1/host/bin/i686-linux-gcc checking whether the compiler supports GNU C... (cached) yes checking whether /home/buildroot/autobuild/run/instance-0/output-1/host/bin/i686-linux-gcc accepts -g... (cached) yes checking for /home/buildroot/autobuild/run/instance-0/output-1/host/bin/i686-linux-gcc option to enable C11 features... (cached) none needed checking whether /home/buildroot/autobuild/run/instance-0/output-1/host/bin/i686-linux-gcc understands -c and -o together... (cached) yes checking dependency style of /home/buildroot/autobuild/run/instance-0/output-1/host/bin/i686-linux-gcc... (cached) none checking whether C++ compiler accepts -Werror... yes checking whether to add -D_FORTIFY_SOURCE=3 to CPPFLAGS... yes checking whether /home/buildroot/autobuild/run/instance-0/output-1/host/bin/i686-linux-g++ supports C++11 features with -std=c++11... yes checking pkg-config is at least version 0.9.0... yes checking whether /home/buildroot/autobuild/run/instance-0/output-1/host/bin/i686-linux-gcc is Clang... no checking whether pthreads work with "-pthread" and "-lpthread"... yes checking for joinable pthread attribute... PTHREAD_CREATE_JOINABLE checking whether more special flags are required for pthreads... no checking for PTHREAD_PRIO_INHERIT... yes checking for fcntl.h... yes checking for libintl.h... yes checking for limits.h... yes checking for locale.h... yes checking for malloc.h... yes checking for ncurses.h... yes checking for stdint.h... (cached) yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for sys/ioctl.h... yes checking for sys/socket.h... yes checking for sys/statfs.h... yes checking for sys/time.h... yes checking for termios.h... yes checking for unistd.h... (cached) yes checking for _Bool... no checking for stdbool.h that conforms to C99 or later... 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 GNU libc compatible malloc... (cached) yes checking for getpagesize... yes checking for working mmap... (cached) yes checking for GNU libc compatible realloc... (cached) yes checking for /home/buildroot/autobuild/run/instance-0/output-1/host/bin/i686-linux-g++ -std=c++11 options needed to detect all undeclared functions... none needed checking whether strerror_r is declared... yes checking whether strerror_r returns char *... yes checking for working strtod... no checking for pow... yes checking for clock_gettime... yes checking for fdatasync... yes checking for getpagesize... (cached) yes checking for gettimeofday... yes checking for memmove... yes checking for memset... yes checking for mkdir... yes checking for munmap... yes checking for pow... (cached) yes checking for realpath... yes checking for regcomp... yes checking for select... yes checking for setlocale... yes checking for socket... yes checking for sqrt... yes checking for strcasecmp... yes checking for strchr... yes checking for strrchr... yes checking for strdup... yes checking for strerror... yes checking for strncasecmp... yes checking for strstr... yes checking for strtoul... yes checking for strtoull... yes checking for library containing clock_gettime... none required checking for NCURSES... no checking for library containing delwin... (cached) -lncurses checking for PCIUTILS... no checking for library containing pci_get_dev... no checking for LIBNL... yes configure: WARNING: ************* LIBPCI SUPPORT NOT CONFIGURED************** If you need or want pci support, please install libpci and re-configure PowerTOP. ********************************************************* checking for library containing inet_aton... none required checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating Doxyfile config.status: creating src/Makefile config.status: creating traceevent/Makefile config.status: creating po/Makefile.in config.status: creating doc/Makefile config.status: creating scripts/bash-completion/Makefile config.status: creating config.h config.status: executing depfiles commands config.status: executing po-directories commands config.status: creating po/POTFILES config.status: creating po/Makefile config.status: executing libtool commands configure: WARNING: unrecognized options: --disable-gtk-doc, --disable-gtk-doc-html, --disable-doc, --disable-docs, --disable-documentation, --with-xmlto, --with-fop, --enable-ipv6 >>> powertop 2.15 Building GIT_DIR=. PATH="/home/buildroot/autobuild/run/instance-0/output-1/host/bin:/home/buildroot/autobuild/run/instance-0/output-1/host/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin" /usr/bin/make -j4 -C /home/buildroot/autobuild/run/instance-0/output-1/build/powertop-2.15/ make[1]: Entering directory '/home/buildroot/autobuild/run/instance-0/output-1/build/powertop-2.15' /usr/bin/make all-recursive make[2]: Entering directory '/home/buildroot/autobuild/run/instance-0/output-1/build/powertop-2.15' Making all in traceevent make[3]: Entering directory '/home/buildroot/autobuild/run/instance-0/output-1/build/powertop-2.15/traceevent' CC event-parse.lo CC parse-filter.lo CC parse-utils.lo CC trace-seq.lo CCLD libtraceevnet.la make[3]: Leaving directory '/home/buildroot/autobuild/run/instance-0/output-1/build/powertop-2.15/traceevent' Making all in src make[3]: Entering directory '/home/buildroot/autobuild/run/instance-0/output-1/build/powertop-2.15/src' /bin/sh ./csstoh.sh ./powertop.css css.h /usr/bin/make all-am make[4]: Entering directory '/home/buildroot/autobuild/run/instance-0/output-1/build/powertop-2.15/src' CXX powertop-devlist.o CXX powertop-display.o CXX powertop-main.o CXX powertop-lib.o In file included from devlist.cpp:46: In function 'void pt_strcpy(char (&)[N], const char*) [with unsigned int N = 252]', inlined from 'void register_devpower(const char*, double, device*)' at devlist.cpp:266:12: lib.h:78:9: warning: 'char* strncpy(char*, const char*, size_t)' specified bound 252 equals destination size [-Wstringop-truncation] 78 | strncpy(d, s, N); | ~~~~~~~^~~~~~~~~ CXX calibrate/powertop-calibrate.o CXX cpu/powertop-abstract_cpu.o CXX cpu/powertop-cpu.o CXX cpu/powertop-cpu_core.o In file included from cpu/abstract_cpu.cpp:32: In function 'void pt_strcpy(char (&)[N], const char*) [with unsigned int N = 32]', inlined from 'virtual void abstract_cpu::account_freq(uint64_t, uint64_t)' at cpu/abstract_cpu.cpp:74:13: cpu/../lib.h:78:9: warning: 'char* strncpy(char*, const char*, size_t)' specified bound 32 equals destination size [-Wstringop-truncation] 78 | strncpy(d, s, N); | ~~~~~~~^~~~~~~~~ In function 'void pt_strcpy(char (&)[N], const char*) [with unsigned int N = 32]', inlined from 'virtual void abstract_cpu::account_freq(uint64_t, uint64_t)' at cpu/abstract_cpu.cpp:76:13: cpu/../lib.h:78:9: warning: 'char* strncpy(char*, const char*, size_t)' specified bound 32 equals destination size [-Wstringop-truncation] 78 | strncpy(d, s, N); | ~~~~~~~^~~~~~~~~ In function 'void pt_strcpy(char (&)[N], const char*) [with unsigned int N = 32]', inlined from 'void abstract_cpu::insert_pstate(uint64_t, const char*, uint64_t, int)' at cpu/abstract_cpu.cpp:347:11: cpu/../lib.h:78:9: warning: 'char* strncpy(char*, const char*, size_t)' specified bound 32 equals destination size [-Wstringop-truncation] 78 | strncpy(d, s, N); | ~~~~~~~^~~~~~~~~ CXX cpu/powertop-cpu_linux.o In function 'void pt_strcpy(char (&)[N], const char*) [with unsigned int N = 16]', inlined from 'void abstract_cpu::insert_cstate(const char*, const char*, uint64_t, uint64_t, int, int)' at cpu/abstract_cpu.cpp:204:11: cpu/../lib.h:78:9: warning: 'char* strncpy(char*, const char*, size_t)' specified bound 16 equals destination size [-Wstringop-truncation] 78 | strncpy(d, s, N); | ~~~~~~~^~~~~~~~~ In function 'void pt_strcpy(char (&)[N], const char*) [with unsigned int N = 32]', inlined from 'void abstract_cpu::insert_cstate(const char*, const char*, uint64_t, uint64_t, int, int)' at cpu/abstract_cpu.cpp:205:11: cpu/../lib.h:78:9: warning: 'char* strncpy(char*, const char*, size_t)' specified bound 32 equals destination size [-Wstringop-truncation] 78 | strncpy(d, s, N); | ~~~~~~~^~~~~~~~~ CXX cpu/powertop-cpu_package.o CXX cpu/powertop-cpu_rapl_device.o CXX cpu/powertop-cpudevice.o CXX cpu/powertop-intel_cpus.o CXX cpu/powertop-dram_rapl_device.o In file included from cpu/cpudevice.cpp:29: In function 'void pt_strcpy(char (&)[N], const char*) [with unsigned int N = 128]', inlined from 'cpudevice::cpudevice(const char*, const char*, abstract_cpu*)' at cpu/cpudevice.cpp:35:11: cpu/../lib.h:78:9: warning: 'char* strncpy(char*, const char*, size_t)' specified bound 128 equals destination size [-Wstringop-truncation] 78 | strncpy(d, s, N); | ~~~~~~~^~~~~~~~~ In function 'void pt_strcpy(char (&)[N], const char*) [with unsigned int N = 128]', inlined from 'cpudevice::cpudevice(const char*, const char*, abstract_cpu*)' at cpu/cpudevice.cpp:36:11: cpu/../lib.h:78:9: warning: 'char* strncpy(char*, const char*, size_t)' specified bound 128 equals destination size [-Wstringop-truncation] 78 | strncpy(d, s, N); | ~~~~~~~^~~~~~~~~ CXX cpu/powertop-intel_gpu.o CXX cpu/rapl/powertop-rapl_interface.o CXX devices/powertop-ahci.o CXX devices/powertop-alsa.o CXX devices/powertop-backlight.o CXX devices/powertop-devfreq.o devices/ahci.cpp: In constructor 'ahci::ahci(char*, char*)': devices/ahci.cpp:139:38: warning: '-active' directive output may be truncated writing 7 bytes into a region of size between 1 and 4096 [-Wformat-truncation=] 139 | snprintf(buffer, sizeof(buffer), "%s-active", name); | ^~~~~~~ devices/ahci.cpp:139:10: note: 'snprintf' output between 8 and 4103 bytes into a destination of size 4096 139 | snprintf(buffer, sizeof(buffer), "%s-active", name); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ devices/ahci.cpp:142:38: warning: '-partial' directive output may be truncated writing 8 bytes into a region of size between 1 and 4096 [-Wformat-truncation=] 142 | snprintf(buffer, sizeof(buffer), "%s-partial", name); | ^~~~~~~~ devices/ahci.cpp:142:10: note: 'snprintf' output between 9 and 4104 bytes into a destination of size 4096 142 | snprintf(buffer, sizeof(buffer), "%s-partial", name); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ devices/ahci.cpp:145:38: warning: '-slumber' directive output may be truncated writing 8 bytes into a region of size between 1 and 4096 [-Wformat-truncation=] 145 | snprintf(buffer, sizeof(buffer), "%s-slumber", name); | ^~~~~~~~ devices/ahci.cpp:145:10: note: 'snprintf' output between 9 and 4104 bytes into a destination of size 4096 145 | snprintf(buffer, sizeof(buffer), "%s-slumber", name); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ devices/ahci.cpp:148:38: warning: '-devslp' directive output may be truncated writing 7 bytes into a region of size between 1 and 4096 [-Wformat-truncation=] 148 | snprintf(buffer, sizeof(buffer), "%s-devslp", name); | ^~~~~~~ devices/ahci.cpp:148:10: note: 'snprintf' output between 8 and 4103 bytes into a destination of size 4096 148 | snprintf(buffer, sizeof(buffer), "%s-devslp", name); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ devices/ahci.cpp:54:43: warning: '%s' directive output may be truncated writing up to 255 bytes into a region of size between 0 and 4095 [-Wformat-truncation=] 54 | snprintf(pathname, sizeof(pathname), "%s/%s", path, target); | ^~ devices/ahci.cpp:54:10: note: 'snprintf' output between 2 and 4352 bytes into a destination of size 4096 54 | snprintf(pathname, sizeof(pathname), "%s/%s", path, target); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ devices/ahci.cpp:68:36: warning: '%s' directive output may be truncated writing up to 255 bytes into a region of size between 0 and 4095 [-Wformat-truncation=] 68 | snprintf(line, sizeof(line), "%s/%s/model", pathname, dirent->d_name); | ^~ devices/ahci.cpp:68:11: note: 'snprintf' output between 8 and 4358 bytes into a destination of size 4096 68 | snprintf(line, sizeof(line), "%s/%s/model", pathname, dirent->d_name); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from devices/../parameters/parameters.h:35, from devices/ahci.h:32, from devices/ahci.cpp:39: In function 'void pt_strcpy(char (&)[N], const char*) [with unsigned int N = 4096]', inlined from 'ahci::ahci(char*, char*)' at devices/ahci.cpp:130:11: devices/../parameters/../lib.h:78:9: warning: 'char* strncpy(char*, const char*, size_t)' specified bound 4096 equals destination size [-Wstringop-truncation] 78 | strncpy(d, s, N); | ~~~~~~~^~~~~~~~~ devices/ahci.cpp: In member function 'virtual void ahci::end_measurement()': devices/ahci.cpp:206:43: warning: '/ahci_alpm_active' directive output may be truncated writing 17 bytes into a region of size between 1 and 4096 [-Wformat-truncation=] 206 | snprintf(filename, sizeof(filename), "%s/ahci_alpm_active", sysfs_path); | ^~~~~~~~~~~~~~~~~ devices/ahci.cpp:206:11: note: 'snprintf' output between 18 and 4113 bytes into a destination of size 4096 206 | snprintf(filename, sizeof(filename), "%s/ahci_alpm_active", sysfs_path); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ devices/ahci.cpp:212:43: warning: '/ahci_alpm_partial' directive output may be truncated writing 18 bytes into a region of size between 1 and 4096 [-Wformat-truncation=] 212 | snprintf(filename, sizeof(filename), "%s/ahci_alpm_partial", sysfs_path); | ^~~~~~~~~~~~~~~~~~ devices/ahci.cpp:212:11: note: 'snprintf' output between 19 and 4114 bytes into a destination of size 4096 212 | snprintf(filename, sizeof(filename), "%s/ahci_alpm_partial", sysfs_path); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ devices/ahci.cpp:218:43: warning: '/ahci_alpm_slumber' directive output may be truncated writing 18 bytes into a region of size between 1 and 4096 [-Wformat-truncation=] 218 | snprintf(filename, sizeof(filename), "%s/ahci_alpm_slumber", sysfs_path); | ^~~~~~~~~~~~~~~~~~ devices/ahci.cpp:218:11: note: 'snprintf' output between 19 and 4114 bytes into a destination of size 4096 218 | snprintf(filename, sizeof(filename), "%s/ahci_alpm_slumber", sysfs_path); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ devices/ahci.cpp:224:43: warning: '/ahci_alpm_devslp' directive output may be truncated writing 17 bytes into a region of size between 1 and 4096 [-Wformat-truncation=] 224 | snprintf(filename, sizeof(filename), "%s/ahci_alpm_devslp", sysfs_path); | ^~~~~~~~~~~~~~~~~ devices/ahci.cpp:224:11: note: 'snprintf' output between 18 and 4113 bytes into a destination of size 4096 224 | snprintf(filename, sizeof(filename), "%s/ahci_alpm_devslp", sysfs_path); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ devices/ahci.cpp:248:44: warning: '-active' directive output may be truncated writing 7 bytes into a region of size between 1 and 4096 [-Wformat-truncation=] 248 | snprintf(powername, sizeof(powername), "%s-active", name); | ^~~~~~~ devices/ahci.cpp:248:10: note: 'snprintf' output between 8 and 4103 bytes into a destination of size 4096 248 | snprintf(powername, sizeof(powername), "%s-active", name); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ devices/ahci.cpp:255:44: warning: '-partial' directive output may be truncated writing 8 bytes into a region of size between 1 and 4096 [-Wformat-truncation=] 255 | snprintf(powername, sizeof(powername), "%s-partial", name); | ^~~~~~~~ devices/ahci.cpp:255:10: note: 'snprintf' output between 9 and 4104 bytes into a destination of size 4096 255 | snprintf(powername, sizeof(powername), "%s-partial", name); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ devices/ahci.cpp:262:44: warning: '-slumber' directive output may be truncated writing 8 bytes into a region of size between 1 and 4096 [-Wformat-truncation=] 262 | snprintf(powername, sizeof(powername), "%s-slumber", name); | ^~~~~~~~ devices/ahci.cpp:262:10: note: 'snprintf' output between 9 and 4104 bytes into a destination of size 4096 262 | snprintf(powername, sizeof(powername), "%s-slumber", name); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ devices/ahci.cpp:269:44: warning: '-devslp' directive output may be truncated writing 7 bytes into a region of size between 1 and 4096 [-Wformat-truncation=] 269 | snprintf(powername, sizeof(powername), "%s-devslp", name); | ^~~~~~~ devices/ahci.cpp:269:10: note: 'snprintf' output between 8 and 4103 bytes into a destination of size 4096 269 | snprintf(powername, sizeof(powername), "%s-devslp", name); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ devices/ahci.cpp: In member function 'virtual void ahci::start_measurement()': devices/ahci.cpp:164:42: warning: '/ahci_alpm_active' directive output may be truncated writing 17 bytes into a region of size between 1 and 4096 [-Wformat-truncation=] 164 | snprintf(filename, sizeof(filename), "%s/ahci_alpm_active", sysfs_path); | ^~~~~~~~~~~~~~~~~ devices/ahci.cpp:164:10: note: 'snprintf' output between 18 and 4113 bytes into a destination of size 4096 164 | snprintf(filename, sizeof(filename), "%s/ahci_alpm_active", sysfs_path); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ devices/ahci.cpp:171:43: warning: '/ahci_alpm_partial' directive output may be truncated writing 18 bytes into a region of size between 1 and 4096 [-Wformat-truncation=] 171 | snprintf(filename, sizeof(filename), "%s/ahci_alpm_partial", sysfs_path); | ^~~~~~~~~~~~~~~~~~ devices/ahci.cpp:171:11: note: 'snprintf' output between 19 and 4114 bytes into a destination of size 4096 171 | snprintf(filename, sizeof(filename), "%s/ahci_alpm_partial", sysfs_path); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ devices/ahci.cpp:178:43: warning: '/ahci_alpm_slumber' directive output may be truncated writing 18 bytes into a region of size between 1 and 4096 [-Wformat-truncation=] 178 | snprintf(filename, sizeof(filename), "%s/ahci_alpm_slumber", sysfs_path); | ^~~~~~~~~~~~~~~~~~ devices/ahci.cpp:178:11: note: 'snprintf' output between 19 and 4114 bytes into a destination of size 4096 178 | snprintf(filename, sizeof(filename), "%s/ahci_alpm_slumber", sysfs_path); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ devices/ahci.cpp:184:43: warning: '/ahci_alpm_devslp' directive output may be truncated writing 17 bytes into a region of size between 1 and 4096 [-Wformat-truncation=] 184 | snprintf(filename, sizeof(filename), "%s/ahci_alpm_devslp", sysfs_path); | ^~~~~~~~~~~~~~~~~ devices/ahci.cpp:184:11: note: 'snprintf' output between 18 and 4113 bytes into a destination of size 4096 184 | snprintf(filename, sizeof(filename), "%s/ahci_alpm_devslp", sysfs_path); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ devices/alsa.cpp: In member function 'virtual const char* alsa::human_name()': devices/alsa.cpp:205:43: warning: ' (' directive output may be truncated writing 2 bytes into a region of size between 1 and 4096 [-Wformat-truncation=] 205 | snprintf(temp_buf, sizeof(temp_buf), "%s (%s)", humanname, guilty); | ^~ devices/alsa.cpp:205:11: note: 'snprintf' output between 4 and 8194 bytes into a destination of size 4096 205 | snprintf(temp_buf, sizeof(temp_buf), "%s (%s)", humanname, guilty); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from devices/../parameters/parameters.h:35, from devices/alsa.h:30, from devices/alsa.cpp:35: In function 'void pt_strcpy(char (&)[N], const char*) [with unsigned int N = 4096]', inlined from 'alsa::alsa(const char*, const char*)' at devices/alsa.cpp:54:11: devices/../parameters/../lib.h:78:9: warning: 'char* strncpy(char*, const char*, size_t)' specified bound 4096 equals destination size [-Wstringop-truncation] 78 | strncpy(d, s, N); | ~~~~~~~^~~~~~~~~ devices/alsa.cpp: In member function 'virtual void alsa::start_measurement()': devices/alsa.cpp:89:42: warning: '/power_off_acct' directive output may be truncated writing 15 bytes into a region of size between 1 and 4096 [-Wformat-truncation=] 89 | snprintf(filename, sizeof(filename), "%s/power_off_acct", sysfs_path); | ^~~~~~~~~~~~~~~ devices/alsa.cpp:89:10: note: 'snprintf' output between 16 and 4111 bytes into a destination of size 4096 89 | snprintf(filename, sizeof(filename), "%s/power_off_acct", sysfs_path); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ devices/alsa.cpp:96:43: warning: '/power_on_acct' directive output may be truncated writing 14 bytes into a region of size between 1 and 4096 [-Wformat-truncation=] 96 | snprintf(filename, sizeof(filename), "%s/power_on_acct", sysfs_path); | ^~~~~~~~~~~~~~ devices/alsa.cpp:96:11: note: 'snprintf' output between 15 and 4110 bytes into a destination of size 4096 96 | snprintf(filename, sizeof(filename), "%s/power_on_acct", sysfs_path); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ devices/alsa.cpp: In member function 'virtual void alsa::end_measurement()': devices/alsa.cpp:115:42: warning: '/power_off_acct' directive output may be truncated writing 15 bytes into a region of size between 1 and 4096 [-Wformat-truncation=] 115 | snprintf(filename, sizeof(filename), "%s/power_off_acct", sysfs_path); | ^~~~~~~~~~~~~~~ devices/alsa.cpp:115:10: note: 'snprintf' output between 16 and 4111 bytes into a destination of size 4096 115 | snprintf(filename, sizeof(filename), "%s/power_off_acct", sysfs_path); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ devices/alsa.cpp:122:43: warning: '/power_on_acct' directive output may be truncated writing 14 bytes into a region of size between 1 and 4096 [-Wformat-truncation=] 122 | snprintf(filename, sizeof(filename), "%s/power_on_acct", sysfs_path); | ^~~~~~~~~~~~~~ devices/alsa.cpp:122:11: note: 'snprintf' output between 15 and 4110 bytes into a destination of size 4096 122 | snprintf(filename, sizeof(filename), "%s/power_on_acct", sysfs_path); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ devices/backlight.cpp: In member function 'virtual double backlight::power_usage(result_bundle*, parameter_bundle*)': devices/backlight.cpp:217:25: warning: '-power' directive writing 6 bytes into a region of size between 1 and 4096 [-Wformat-overflow=] 217 | sprintf(powername, "%s-power", name); | ^~~~~~ devices/backlight.cpp:217:10: note: 'sprintf' output between 7 and 4102 bytes into a destination of size 4096 217 | sprintf(powername, "%s-power", name); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ CXX devices/powertop-device.o In file included from devices/../parameters/parameters.h:35, from devices/backlight.cpp:38: In function 'void pt_strcpy(char (&)[N], const char*) [with unsigned int N = 4096]', inlined from 'backlight::backlight(const char*, const char*)' at devices/backlight.cpp:49:11: devices/../parameters/../lib.h:78:9: warning: 'char* strncpy(char*, const char*, size_t)' specified bound 4096 equals destination size [-Wstringop-truncation] 78 | strncpy(d, s, N); | ~~~~~~~^~~~~~~~~ devices/backlight.cpp: In member function 'virtual void backlight::start_measurement()': devices/backlight.cpp:61:42: warning: '/max_brightness' directive output may be truncated writing 15 bytes into a region of size between 1 and 4096 [-Wformat-truncation=] 61 | snprintf(filename, sizeof(filename), "%s/max_brightness", sysfs_path); | ^~~~~~~~~~~~~~~ devices/backlight.cpp:61:10: note: 'snprintf' output between 16 and 4111 bytes into a destination of size 4096 61 | snprintf(filename, sizeof(filename), "%s/max_brightness", sysfs_path); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ devices/backlight.cpp:68:42: warning: '/actual_brightness' directive output may be truncated writing 18 bytes into a region of size between 1 and 4096 [-Wformat-truncation=] 68 | snprintf(filename, sizeof(filename), "%s/actual_brightness", sysfs_path); | ^~~~~~~~~~~~~~~~~~ devices/backlight.cpp:68:10: note: 'snprintf' output between 19 and 4114 bytes into a destination of size 4096 68 | snprintf(filename, sizeof(filename), "%s/actual_brightness", sysfs_path); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ CXX devices/powertop-gpu_rapl_device.o devices/backlight.cpp: In member function 'virtual void backlight::end_measurement()': devices/backlight.cpp:125:42: warning: '/actual_brightness' directive output may be truncated writing 18 bytes into a region of size between 1 and 4096 [-Wformat-truncation=] 125 | snprintf(filename, sizeof(filename), "%s/actual_brightness", sysfs_path); | ^~~~~~~~~~~~~~~~~~ devices/backlight.cpp:125:10: note: 'snprintf' output between 19 and 4114 bytes into a destination of size 4096 125 | snprintf(filename, sizeof(filename), "%s/actual_brightness", sysfs_path); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ devices/backlight.cpp:140:44: warning: '-power' directive output may be truncated writing 6 bytes into a region of size between 1 and 4096 [-Wformat-truncation=] 140 | snprintf(powername, sizeof(powername), "%s-power", name); | ^~~~~~ devices/backlight.cpp:140:10: note: 'snprintf' output between 7 and 4102 bytes into a destination of size 4096 140 | snprintf(powername, sizeof(powername), "%s-power", name); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from devices/../parameters/parameters.h:35, from devices/devfreq.h:29, from devices/devfreq.cpp:35: In function 'void pt_strcpy(char (&)[N], const char*) [with unsigned int N = 128]', inlined from 'devfreq::devfreq(const char*)' at devices/devfreq.cpp:48:11: devices/../parameters/../lib.h:78:9: warning: 'char* strncpy(char*, const char*, size_t)' specified bound 128 equals destination size [-Wstringop-truncation] 78 | strncpy(d, s, N); | ~~~~~~~^~~~~~~~~ CXX devices/powertop-i915-gpu.o CXX devices/powertop-network.o CXX devices/powertop-rfkill.o devices/device.cpp: In member function 'void device::register_sysfs_path(const char*)': devices/device.cpp:75:45: warning: '/device' directive output may be truncated writing 7 bytes into a region of size between 1 and 4097 [-Wformat-truncation=] 75 | snprintf(test_path, sizeof(test_path), "%s/device", current_path); | ^~~~~~~ devices/device.cpp:75:11: note: 'snprintf' output between 8 and 4104 bytes into a destination of size 4097 75 | snprintf(test_path, sizeof(test_path), "%s/device", current_path); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ CXX devices/powertop-runtime_pm.o CXX devices/powertop-thinkpad-fan.o In file included from devices/../parameters/parameters.h:35, from devices/rfkill.h:31, from devices/rfkill.cpp:38: In function 'void pt_strcpy(char (&)[N], const char*) [with unsigned int N = 4096]', inlined from 'rfkill::rfkill(char*, char*)' at devices/rfkill.cpp:53:11: devices/../parameters/../lib.h:78:9: warning: 'char* strncpy(char*, const char*, size_t)' specified bound 4096 equals destination size [-Wstringop-truncation] 78 | strncpy(d, s, N); | ~~~~~~~^~~~~~~~~ In file included from devices/../parameters/parameters.h:35, from devices/network.h:32, from devices/network.cpp:42: In function 'void pt_strcpy(char (&)[N], const char*) [with unsigned int N = 4096]', inlined from 'network::network(const char*, const char*)' at devices/network.cpp:144:11: devices/../parameters/../lib.h:78:9: warning: 'char* strncpy(char*, const char*, size_t)' specified bound 4096 equals destination size [-Wstringop-truncation] 78 | strncpy(d, s, N); | ~~~~~~~^~~~~~~~~ devices/rfkill.cpp: In member function 'virtual void rfkill::end_measurement()': devices/rfkill.cpp:103:42: warning: '/hard' directive output may be truncated writing 5 bytes into a region of size between 1 and 4096 [-Wformat-truncation=] 103 | snprintf(filename, sizeof(filename), "%s/hard", sysfs_path); | ^~~~~ devices/rfkill.cpp:103:10: note: 'snprintf' output between 6 and 4101 bytes into a destination of size 4096 103 | snprintf(filename, sizeof(filename), "%s/hard", sysfs_path); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ devices/rfkill.cpp:109:42: warning: '/soft' directive output may be truncated writing 5 bytes into a region of size between 1 and 4096 [-Wformat-truncation=] 109 | snprintf(filename, sizeof(filename), "%s/soft", sysfs_path); | ^~~~~ devices/rfkill.cpp:109:10: note: 'snprintf' output between 6 and 4101 bytes into a destination of size 4096 109 | snprintf(filename, sizeof(filename), "%s/soft", sysfs_path); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ devices/rfkill.cpp: In member function 'virtual void rfkill::start_measurement()': devices/rfkill.cpp:83:42: warning: '/hard' directive output may be truncated writing 5 bytes into a region of size between 1 and 4096 [-Wformat-truncation=] 83 | snprintf(filename, sizeof(filename), "%s/hard", sysfs_path); | ^~~~~ devices/rfkill.cpp:83:10: note: 'snprintf' output between 6 and 4101 bytes into a destination of size 4096 83 | snprintf(filename, sizeof(filename), "%s/hard", sysfs_path); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ devices/rfkill.cpp:90:42: warning: '/soft' directive output may be truncated writing 5 bytes into a region of size between 1 and 4096 [-Wformat-truncation=] 90 | snprintf(filename, sizeof(filename), "%s/soft", sysfs_path); | ^~~~~ devices/rfkill.cpp:90:10: note: 'snprintf' output between 6 and 4101 bytes into a destination of size 4096 90 | snprintf(filename, sizeof(filename), "%s/soft", sysfs_path); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ CXX devices/powertop-thinkpad-light.o CXX devices/powertop-usb.o In file included from devices/../parameters/parameters.h:35, from devices/runtime_pm.h:31, from devices/runtime_pm.cpp:25: In function 'void pt_strcpy(char (&)[N], const char*) [with unsigned int N = 4096]', inlined from 'runtime_pmdevice::runtime_pmdevice(const char*, const char*)' at devices/runtime_pm.cpp:43:11: devices/../parameters/../lib.h:78:9: warning: 'char* strncpy(char*, const char*, size_t)' specified bound 4096 equals destination size [-Wstringop-truncation] 78 | strncpy(d, s, N); | ~~~~~~~^~~~~~~~~ In function 'void pt_strcpy(char (&)[N], const char*) [with unsigned int N = 4096]', inlined from 'runtime_pmdevice::runtime_pmdevice(const char*, const char*)' at devices/runtime_pm.cpp:45:11: devices/../parameters/../lib.h:78:9: warning: 'char* strncpy(char*, const char*, size_t)' specified bound 4096 equals destination size [-Wstringop-truncation] 78 | strncpy(d, s, N); | ~~~~~~~^~~~~~~~~ In function 'void pt_strcpy(char (&)[N], const char*) [with unsigned int N = 4096]', inlined from 'void runtime_pmdevice::set_human_name(char*)' at devices/runtime_pm.cpp:144:11: devices/../parameters/../lib.h:78:9: warning: 'char* strncpy(char*, const char*, size_t)' specified bound 4096 equals destination size [-Wstringop-truncation] 78 | strncpy(d, s, N); | ~~~~~~~^~~~~~~~~ devices/runtime_pm.cpp: In member function 'virtual void runtime_pmdevice::start_measurement()': devices/runtime_pm.cpp:69:42: warning: '/power/runtime_suspended_time' directive output may be truncated writing 29 bytes into a region of size between 1 and 4096 [-Wformat-truncation=] 69 | snprintf(filename, sizeof(filename), "%s/power/runtime_suspended_time", sysfs_path); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ devices/runtime_pm.cpp:69:10: note: 'snprintf' output between 30 and 4125 bytes into a destination of size 4096 69 | snprintf(filename, sizeof(filename), "%s/power/runtime_suspended_time", sysfs_path); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ devices/runtime_pm.cpp:76:42: warning: '/power/runtime_active_time' directive output may be truncated writing 26 bytes into a region of size between 1 and 4096 [-Wformat-truncation=] 76 | snprintf(filename, sizeof(filename), "%s/power/runtime_active_time", sysfs_path); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ devices/runtime_pm.cpp:76:10: note: 'snprintf' output between 27 and 4122 bytes into a destination of size 4096 76 | snprintf(filename, sizeof(filename), "%s/power/runtime_active_time", sysfs_path); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ devices/runtime_pm.cpp: In member function 'virtual void runtime_pmdevice::end_measurement()': devices/runtime_pm.cpp:89:42: warning: '/power/runtime_suspended_time' directive output may be truncated writing 29 bytes into a region of size between 1 and 4096 [-Wformat-truncation=] 89 | snprintf(filename, sizeof(filename), "%s/power/runtime_suspended_time", sysfs_path); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ devices/runtime_pm.cpp:89:10: note: 'snprintf' output between 30 and 4125 bytes into a destination of size 4096 89 | snprintf(filename, sizeof(filename), "%s/power/runtime_suspended_time", sysfs_path); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ devices/runtime_pm.cpp:96:42: warning: '/power/runtime_active_time' directive output may be truncated writing 26 bytes into a region of size between 1 and 4096 [-Wformat-truncation=] 96 | snprintf(filename, sizeof(filename), "%s/power/runtime_active_time", sysfs_path); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ devices/runtime_pm.cpp:96:10: note: 'snprintf' output between 27 and 4122 bytes into a destination of size 4096 96 | snprintf(filename, sizeof(filename), "%s/power/runtime_active_time", sysfs_path); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ CXX measurement/powertop-acpi.o CXX measurement/powertop-extech.o In file included from devices/../parameters/parameters.h:35, from devices/usb.h:31, from devices/usb.cpp:25: In function 'void pt_strcpy(char (&)[N], const char*) [with unsigned int N = 4096]', inlined from 'usbdevice::usbdevice(const char*, const char*, const char*)' at devices/usb.cpp:47:11: devices/../parameters/../lib.h:78:9: warning: 'char* strncpy(char*, const char*, size_t)' specified bound 4096 equals destination size [-Wstringop-truncation] 78 | strncpy(d, s, N); | ~~~~~~~^~~~~~~~~ In function 'void pt_strcpy(char (&)[N], const char*) [with unsigned int N = 4096]', inlined from 'usbdevice::usbdevice(const char*, const char*, const char*)' at devices/usb.cpp:49:11: devices/../parameters/../lib.h:78:9: warning: 'char* strncpy(char*, const char*, size_t)' specified bound 4096 equals destination size [-Wstringop-truncation] 78 | strncpy(d, s, N); | ~~~~~~~^~~~~~~~~ In function 'void pt_strcpy(char (&)[N], const char*) [with unsigned int N = 4096]', inlined from 'usbdevice::usbdevice(const char*, const char*, const char*)' at devices/usb.cpp:50:11: devices/../parameters/../lib.h:78:9: warning: 'char* strncpy(char*, const char*, size_t)' specified bound 4096 equals destination size [-Wstringop-truncation] 78 | strncpy(d, s, N); | ~~~~~~~^~~~~~~~~ CXX measurement/powertop-measurement.o devices/usb.cpp: In member function 'virtual void usbdevice::start_measurement()': devices/usb.cpp:129:42: warning: '/power/active_duration' directive output may be truncated writing 22 bytes into a region of size between 1 and 4096 [-Wformat-truncation=] 129 | snprintf(fullpath, sizeof(fullpath), "%s/power/active_duration", sysfs_path); | ^~~~~~~~~~~~~~~~~~~~~~ devices/usb.cpp:129:10: note: 'snprintf' output between 23 and 4118 bytes into a destination of size 4096 129 | snprintf(fullpath, sizeof(fullpath), "%s/power/active_duration", sysfs_path); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ devices/usb.cpp:136:42: warning: '/power/connected_duration' directive output may be truncated writing 25 bytes into a region of size between 1 and 4096 [-Wformat-truncation=] 136 | snprintf(fullpath, sizeof(fullpath), "%s/power/connected_duration", sysfs_path); | ^~~~~~~~~~~~~~~~~~~~~~~~~ devices/usb.cpp:136:10: note: 'snprintf' output between 26 and 4121 bytes into a destination of size 4096 136 | snprintf(fullpath, sizeof(fullpath), "%s/power/connected_duration", sysfs_path); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ devices/usb.cpp: In member function 'virtual void usbdevice::end_measurement()': devices/usb.cpp:149:42: warning: '/power/active_duration' directive output may be truncated writing 22 bytes into a region of size between 1 and 4096 [-Wformat-truncation=] 149 | snprintf(fullpath, sizeof(fullpath), "%s/power/active_duration", sysfs_path); | ^~~~~~~~~~~~~~~~~~~~~~ devices/usb.cpp:149:10: note: 'snprintf' output between 23 and 4118 bytes into a destination of size 4096 149 | snprintf(fullpath, sizeof(fullpath), "%s/power/active_duration", sysfs_path); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ devices/usb.cpp:156:42: warning: '/power/connected_duration' directive output may be truncated writing 25 bytes into a region of size between 1 and 4096 [-Wformat-truncation=] 156 | snprintf(fullpath, sizeof(fullpath), "%s/power/connected_duration", sysfs_path); | ^~~~~~~~~~~~~~~~~~~~~~~~~ devices/usb.cpp:156:10: note: 'snprintf' output between 26 and 4121 bytes into a destination of size 4096 156 | snprintf(fullpath, sizeof(fullpath), "%s/power/connected_duration", sysfs_path); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ devices/usb.cpp: In function 'void create_all_usb_devices_callback(const char*)': devices/usb.cpp:226:48: warning: '/power/active_duration' directive output may be truncated writing 22 bytes into a region of size between 1 and 4096 [-Wformat-truncation=] 226 | snprintf(device_name, sizeof(device_name), "%s/power/active_duration", filename); | ^~~~~~~~~~~~~~~~~~~~~~ devices/usb.cpp:226:10: note: 'snprintf' output between 23 and 4118 bytes into a destination of size 4096 226 | snprintf(device_name, sizeof(device_name), "%s/power/active_duration", filename); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ devices/usb.cpp:230:48: warning: '/idVendor' directive output may be truncated writing 9 bytes into a region of size between 1 and 4096 [-Wformat-truncation=] 230 | snprintf(device_name, sizeof(device_name), "%s/idVendor", filename); | ^~~~~~~~~ devices/usb.cpp:230:10: note: 'snprintf' output between 10 and 4105 bytes into a destination of size 4096 230 | snprintf(device_name, sizeof(device_name), "%s/idVendor", filename); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ devices/usb.cpp:235:48: warning: '/idProduct' directive output may be truncated writing 10 bytes into a region of size between 1 and 4096 [-Wformat-truncation=] 235 | snprintf(device_name, sizeof(device_name), "%s/idProduct", filename); | ^~~~~~~~~~ devices/usb.cpp:235:10: note: 'snprintf' output between 11 and 4106 bytes into a destination of size 4096 235 | snprintf(device_name, sizeof(device_name), "%s/idProduct", filename); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ CXX measurement/powertop-sysfs.o In file included from measurement/acpi.cpp:33: In function 'void pt_strcpy(char (&)[N], const char*) [with unsigned int N = 256]', inlined from 'acpi_power_meter::acpi_power_meter(const char*)' at measurement/acpi.cpp:42:11: measurement/../lib.h:78:9: warning: 'char* strncpy(char*, const char*, size_t)' specified bound 256 equals destination size [-Wstringop-truncation] 78 | strncpy(d, s, N); | ~~~~~~~^~~~~~~~~ CXX measurement/powertop-opal-sensors.o In file included from measurement/extech.cpp:57: In function 'void pt_strcpy(char (&)[N], const char*) [with unsigned int N = 256]', inlined from 'extech_power_meter::extech_power_meter(const char*)' at measurement/extech.cpp:272:11: measurement/../lib.h:78:9: warning: 'char* strncpy(char*, const char*, size_t)' specified bound 256 equals destination size [-Wstringop-truncation] 78 | strncpy(d, s, N); | ~~~~~~~^~~~~~~~~ CXX parameters/powertop-learn.o In file included from measurement/sysfs.cpp:27: In function 'void pt_strcpy(char (&)[N], const char*) [with unsigned int N = 256]', inlined from 'sysfs_power_meter::sysfs_power_meter(const char*)' at measurement/sysfs.cpp:36:11: measurement/../lib.h:78:9: warning: 'char* strncpy(char*, const char*, size_t)' specified bound 256 equals destination size [-Wstringop-truncation] 78 | strncpy(d, s, N); | ~~~~~~~^~~~~~~~~ CXX parameters/powertop-parameters.o CXX parameters/powertop-persistent.o CXX perf/powertop-perf.o CXX perf/powertop-perf_bundle.o parameters/parameters.cpp: In function 'int global_power_valid()': parameters/parameters.cpp:443:40: warning: format '%ld' expects argument of type 'long int', but argument 2 has type 'std::vector::size_type' {aka 'unsigned int'} [-Wformat=] 443 | printf("To show power estimates do %ld measurement(s) connected to battery only\n", | ~~^ | | | long int | %d 444 | (3 * all_parameters.parameters.size()) - past_results.size()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | std::vector::size_type {aka unsigned int} CXX process/powertop-do_process.o CXX process/powertop-interrupt.o CXX process/powertop-powerconsumer.o In file included from process/interrupt.cpp:30: In function 'void pt_strcpy(char (&)[N], const char*) [with unsigned int N = 32]', inlined from 'interrupt::interrupt(const char*, int)' at process/interrupt.cpp:52:11: process/../lib.h:78:9: warning: 'char* strncpy(char*, const char*, size_t)' specified bound 32 equals destination size [-Wstringop-truncation] 78 | strncpy(d, s, N); | ~~~~~~~^~~~~~~~~ CXX process/powertop-process.o CXX process/powertop-processdevice.o CXX process/powertop-timer.o CXX process/powertop-work.o In file included from process/timer.cpp:33: In function 'void pt_strcpy(char (&)[N], const char*) [with unsigned int N = 32]', inlined from 'timer::timer(long unsigned int)' at process/timer.cpp:64:11: process/../lib.h:78:9: warning: 'char* strncpy(char*, const char*, size_t)' specified bound 32 equals destination size [-Wstringop-truncation] 78 | strncpy(d, s, N); | ~~~~~~~^~~~~~~~~ In file included from process/process.cpp:38: In function 'void pt_strcpy(char (&)[N], const char*) [with unsigned int N = 16]', inlined from 'process::process(const char*, int, int)' at process/process.cpp:88:11: process/../lib.h:78:9: warning: 'char* strncpy(char*, const char*, size_t)' specified bound 16 equals destination size [-Wstringop-truncation] 78 | strncpy(d, s, N); | ~~~~~~~^~~~~~~~~ CXX report/powertop-report-data-html.o CXX report/powertop-report-formatter-base.o CXX report/powertop-report-formatter-csv.o In file included from process/work.cpp:33: In function 'void pt_strcpy(char (&)[N], const char*) [with unsigned int N = 32]', inlined from 'work::work(long unsigned int)' at process/work.cpp:41:11: process/../lib.h:78:9: warning: 'char* strncpy(char*, const char*, size_t)' specified bound 32 equals destination size [-Wstringop-truncation] 78 | strncpy(d, s, N); | ~~~~~~~^~~~~~~~~ CXX report/powertop-report-formatter-html.o CXX report/powertop-report-maker.o CXX report/powertop-report.o CXX tuning/powertop-bluetooth.o CXX tuning/powertop-ethernet.o CC tuning/powertop-iw.o CXX tuning/powertop-runtime.o CXX tuning/powertop-tunable.o CXX tuning/powertop-tuning.o CXX tuning/powertop-tuningsysfs.o In file included from tuning/tunable.h:30, from tuning/tunable.cpp:27: In function 'void pt_strcpy(char (&)[N], const char*) [with unsigned int N = 4096]', inlined from 'tunable::tunable(const char*, double, const char*, const char*, const char*)' at tuning/tunable.cpp:38:11: tuning/../lib.h:78:9: warning: 'char* strncpy(char*, const char*, size_t)' specified bound 4096 equals destination size [-Wstringop-truncation] 78 | strncpy(d, s, N); | ~~~~~~~^~~~~~~~~ In function 'void pt_strcpy(char (&)[N], const char*) [with unsigned int N = 128]', inlined from 'tunable::tunable(const char*, double, const char*, const char*, const char*)' at tuning/tunable.cpp:39:11: tuning/../lib.h:78:9: warning: 'char* strncpy(char*, const char*, size_t)' specified bound 128 equals destination size [-Wstringop-truncation] 78 | strncpy(d, s, N); | ~~~~~~~^~~~~~~~~ In function 'void pt_strcpy(char (&)[N], const char*) [with unsigned int N = 128]', inlined from 'tunable::tunable(const char*, double, const char*, const char*, const char*)' at tuning/tunable.cpp:40:11: tuning/../lib.h:78:9: warning: 'char* strncpy(char*, const char*, size_t)' specified bound 128 equals destination size [-Wstringop-truncation] 78 | strncpy(d, s, N); | ~~~~~~~^~~~~~~~~ In function 'void pt_strcpy(char (&)[N], const char*) [with unsigned int N = 128]', inlined from 'tunable::tunable(const char*, double, const char*, const char*, const char*)' at tuning/tunable.cpp:41:11: tuning/../lib.h:78:9: warning: 'char* strncpy(char*, const char*, size_t)' specified bound 128 equals destination size [-Wstringop-truncation] 78 | strncpy(d, s, N); | ~~~~~~~^~~~~~~~~ In function 'void pt_strcpy(char (&)[N], const char*) [with unsigned int N = 128]', inlined from 'tunable::tunable()' at tuning/tunable.cpp:49:11: tuning/../lib.h:78:9: warning: 'char* strncpy(char*, const char*, size_t)' specified bound 128 equals destination size [-Wstringop-truncation] 78 | strncpy(d, s, N); | ~~~~~~~^~~~~~~~~ In function 'void pt_strcpy(char (&)[N], const char*) [with unsigned int N = 128]', inlined from 'tunable::tunable()' at tuning/tunable.cpp:50:11: tuning/../lib.h:78:9: warning: 'char* strncpy(char*, const char*, size_t)' specified bound 128 equals destination size [-Wstringop-truncation] 78 | strncpy(d, s, N); | ~~~~~~~^~~~~~~~~ In function 'void pt_strcpy(char (&)[N], const char*) [with unsigned int N = 128]', inlined from 'tunable::tunable()' at tuning/tunable.cpp:51:11: tuning/../lib.h:78:9: warning: 'char* strncpy(char*, const char*, size_t)' specified bound 128 equals destination size [-Wstringop-truncation] 78 | strncpy(d, s, N); | ~~~~~~~^~~~~~~~~ CXX tuning/powertop-tuningusb.o tuning/runtime.cpp: In constructor 'runtime_tunable::runtime_tunable(const char*, const char*, const char*, const char*)': tuning/runtime.cpp:86:61: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size 4081 [-Wformat-truncation=] 86 | snprintf(toggle_good, sizeof(toggle_good), "echo 'auto' > '%s';", runtime_path); | ^~ tuning/runtime.cpp:86:10: note: 'snprintf' output between 18 and 4113 bytes into a destination of size 4096 86 | snprintf(toggle_good, sizeof(toggle_good), "echo 'auto' > '%s';", runtime_path); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tuning/runtime.cpp:87:57: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size 4083 [-Wformat-truncation=] 87 | snprintf(toggle_bad, sizeof(toggle_bad), "echo 'on' > '%s';", runtime_path); | ^~ tuning/runtime.cpp:87:10: note: 'snprintf' output between 16 and 4111 bytes into a destination of size 4096 87 | snprintf(toggle_bad, sizeof(toggle_bad), "echo 'on' > '%s';", runtime_path); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tuning/runtime.cpp: In function 'void add_runtime_tunables(const char*)': tuning/runtime.cpp:166:65: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size between 3822 and 4077 [-Wformat-truncation=] 166 | snprintf(filename, sizeof(filename), "/sys/bus/%s/devices/%s/%s/power/control", bus, entry->d_name, port); | ^~ ~~~~ tuning/runtime.cpp:166:12: note: 'snprintf' output 34 or more bytes (assuming 4384) into a destination of size 4096 166 | snprintf(filename, sizeof(filename), "/sys/bus/%s/devices/%s/%s/power/control", bus, entry->d_name, port); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tuning/runtime.cpp:171:65: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size between 3822 and 4077 [-Wformat-truncation=] 171 | snprintf(filename, sizeof(filename), "/sys/bus/%s/devices/%s/%s", bus, entry->d_name, port); | ^~ ~~~~ tuning/runtime.cpp:171:12: note: 'snprintf' output 20 or more bytes (assuming 4370) into a destination of size 4096 171 | snprintf(filename, sizeof(filename), "/sys/bus/%s/devices/%s/%s", bus, entry->d_name, port); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tuning/runtime.cpp:191:53: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size 4085 [-Wformat-truncation=] 191 | snprintf(filename, sizeof(filename), "/sys/block/%s/device", port); | ^~ ~~~~ tuning/runtime.cpp:191:12: note: 'snprintf' output between 19 and 4114 bytes into a destination of size 4096 191 | snprintf(filename, sizeof(filename), "/sys/block/%s/device", port); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ CXX tuning/powertop-tuningi2c.o tuning/tuningsysfs.cpp: In constructor 'sysfs_tunable::sysfs_tunable(const char*, const char*, const char*)': tuning/tuningsysfs.cpp:50:52: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size 4090 [-Wformat-truncation=] 50 | snprintf(toggle_good, sizeof(toggle_good), "echo '%s' > '%s';", target_value, sysfs_path); | ^~ tuning/tuningsysfs.cpp:50:10: note: 'snprintf' output between 14 and 8204 bytes into a destination of size 4096 50 | snprintf(toggle_good, sizeof(toggle_good), "echo '%s' > '%s';", target_value, sysfs_path); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tuning/tuningsysfs.cpp:51:50: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size 4090 [-Wformat-truncation=] 51 | snprintf(toggle_bad, sizeof(toggle_bad), "echo '%s' > '%s';", bad_value, sysfs_path); | ^~ tuning/tuningsysfs.cpp:51:10: note: 'snprintf' output between 14 and 8204 bytes into a destination of size 4096 51 | snprintf(toggle_bad, sizeof(toggle_bad), "echo '%s' > '%s';", bad_value, sysfs_path); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from tuning/tunable.h:30, from tuning/tuningsysfs.cpp:27: In function 'void pt_strcpy(char (&)[N], const char*) [with unsigned int N = 4096]', inlined from 'sysfs_tunable::sysfs_tunable(const char*, const char*, const char*)' at tuning/tuningsysfs.cpp:47:11: tuning/../lib.h:78:9: warning: 'char* strncpy(char*, const char*, size_t)' specified bound 4096 equals destination size [-Wstringop-truncation] 78 | strncpy(d, s, N); | ~~~~~~~^~~~~~~~~ In function 'void pt_strcpy(char (&)[N], const char*) [with unsigned int N = 4096]', inlined from 'sysfs_tunable::sysfs_tunable(const char*, const char*, const char*)' at tuning/tuningsysfs.cpp:48:11: tuning/../lib.h:78:9: warning: 'char* strncpy(char*, const char*, size_t)' specified bound 4096 equals destination size [-Wstringop-truncation] 78 | strncpy(d, s, N); | ~~~~~~~^~~~~~~~~ CXX tuning/powertop-wifi.o tuning/tuningusb.cpp: In constructor 'usb_tunable::usb_tunable(const char*, const char*)': tuning/tuningusb.cpp:77:61: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size 4081 [-Wformat-truncation=] 77 | snprintf(toggle_good, sizeof(toggle_good), "echo 'auto' > '%s';", usb_path); | ^~ tuning/tuningusb.cpp:77:10: note: 'snprintf' output between 18 and 4113 bytes into a destination of size 4096 77 | snprintf(toggle_good, sizeof(toggle_good), "echo 'auto' > '%s';", usb_path); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tuning/tuningusb.cpp:78:57: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size 4083 [-Wformat-truncation=] 78 | snprintf(toggle_bad, sizeof(toggle_bad), "echo 'on' > '%s';", usb_path); | ^~ tuning/tuningusb.cpp:78:10: note: 'snprintf' output between 16 and 4111 bytes into a destination of size 4096 78 | snprintf(toggle_bad, sizeof(toggle_bad), "echo 'on' > '%s';", usb_path); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ CXX wakeup/powertop-wakeup.o tuning/tuningi2c.cpp: In constructor 'i2c_tunable::i2c_tunable(const char*, const char*, bool)': tuning/tuningi2c.cpp:61:61: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size 4081 [-Wformat-truncation=] 61 | snprintf(toggle_good, sizeof(toggle_good), "echo 'auto' > '%s';", i2c_path); | ^~ tuning/tuningi2c.cpp:61:10: note: 'snprintf' output between 18 and 4113 bytes into a destination of size 4096 61 | snprintf(toggle_good, sizeof(toggle_good), "echo 'auto' > '%s';", i2c_path); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tuning/tuningi2c.cpp:62:57: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size 4083 [-Wformat-truncation=] 62 | snprintf(toggle_bad, sizeof(toggle_bad), "echo 'on' > '%s';", i2c_path); | ^~ tuning/tuningi2c.cpp:62:10: note: 'snprintf' output between 16 and 4111 bytes into a destination of size 4096 62 | snprintf(toggle_bad, sizeof(toggle_bad), "echo 'on' > '%s';", i2c_path); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ CXX wakeup/powertop-waketab.o CXX wakeup/powertop-wakeup_ethernet.o tuning/wifi.cpp: In constructor 'wifi_tunable::wifi_tunable(const char*)': tuning/wifi.cpp:50:53: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size 4089 [-Wformat-truncation=] 50 | snprintf(toggle_good, sizeof(toggle_good), "iw dev %s set power_save on", iface); | ^~ tuning/wifi.cpp:50:10: note: 'snprintf' output between 26 and 4121 bytes into a destination of size 4096 50 | snprintf(toggle_good, sizeof(toggle_good), "iw dev %s set power_save on", iface); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tuning/wifi.cpp:51:51: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size 4089 [-Wformat-truncation=] 51 | snprintf(toggle_bad, sizeof(toggle_bad), "iw dev %s set power_save off", iface); | ^~ tuning/wifi.cpp:51:10: note: 'snprintf' output between 27 and 4122 bytes into a destination of size 4096 51 | snprintf(toggle_bad, sizeof(toggle_bad), "iw dev %s set power_save off", iface); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ CXX wakeup/powertop-wakeup_usb.o In file included from wakeup/wakeup.cpp:30: In function 'void pt_strcpy(char (&)[N], const char*) [with unsigned int N = 4096]', inlined from 'wakeup::wakeup(const char*, double, const char*, const char*)' at wakeup/wakeup.cpp:39:18: wakeup/../lib.h:78:9: warning: 'char* strncpy(char*, const char*, size_t)' specified bound 4096 equals destination size [-Wstringop-truncation] 78 | strncpy(d, s, N); | ~~~~~~~^~~~~~~~~ In function 'void pt_strcpy(char (&)[N], const char*) [with unsigned int N = 128]', inlined from 'wakeup::wakeup(const char*, double, const char*, const char*)' at wakeup/wakeup.cpp:40:18: wakeup/../lib.h:78:9: warning: 'char* strncpy(char*, const char*, size_t)' specified bound 128 equals destination size [-Wstringop-truncation] 78 | strncpy(d, s, N); | ~~~~~~~^~~~~~~~~ In function 'void pt_strcpy(char (&)[N], const char*) [with unsigned int N = 128]', inlined from 'wakeup::wakeup(const char*, double, const char*, const char*)' at wakeup/wakeup.cpp:41:18: wakeup/../lib.h:78:9: warning: 'char* strncpy(char*, const char*, size_t)' specified bound 128 equals destination size [-Wstringop-truncation] 78 | strncpy(d, s, N); | ~~~~~~~^~~~~~~~~ In function 'void pt_strcpy(char (&)[N], const char*) [with unsigned int N = 128]', inlined from 'wakeup::wakeup()' at wakeup/wakeup.cpp:48:18: wakeup/../lib.h:78:9: warning: 'char* strncpy(char*, const char*, size_t)' specified bound 128 equals destination size [-Wstringop-truncation] 78 | strncpy(d, s, N); | ~~~~~~~^~~~~~~~~ In function 'void pt_strcpy(char (&)[N], const char*) [with unsigned int N = 128]', inlined from 'wakeup::wakeup()' at wakeup/wakeup.cpp:49:18: wakeup/../lib.h:78:9: warning: 'char* strncpy(char*, const char*, size_t)' specified bound 128 equals destination size [-Wstringop-truncation] 78 | strncpy(d, s, N); | ~~~~~~~^~~~~~~~~ In function 'void pt_strcpy(char (&)[N], const char*) [with unsigned int N = 128]', inlined from 'wakeup::wakeup()' at wakeup/wakeup.cpp:50:11: wakeup/../lib.h:78:9: warning: 'char* strncpy(char*, const char*, size_t)' specified bound 128 equals destination size [-Wstringop-truncation] 78 | strncpy(d, s, N); | ~~~~~~~^~~~~~~~~ wakeup/wakeup_ethernet.cpp: In constructor 'ethernet_wakeup::ethernet_wakeup(const char*, const char*)': wakeup/wakeup_ethernet.cpp:53:68: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size 4078 [-Wformat-truncation=] 53 | snprintf(toggle_enable, sizeof(toggle_enable), "echo 'enabled' > '%s';", eth_path); | ^~ wakeup/wakeup_ethernet.cpp:53:10: note: 'snprintf' output between 21 and 4116 bytes into a destination of size 4096 53 | snprintf(toggle_enable, sizeof(toggle_enable), "echo 'enabled' > '%s';", eth_path); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ wakeup/wakeup_ethernet.cpp:54:71: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size 4077 [-Wformat-truncation=] 54 | snprintf(toggle_disable, sizeof(toggle_disable), "echo 'disabled' > '%s';", eth_path); | ^~ wakeup/wakeup_ethernet.cpp:54:10: note: 'snprintf' output between 22 and 4117 bytes into a destination of size 4096 54 | snprintf(toggle_disable, sizeof(toggle_disable), "echo 'disabled' > '%s';", eth_path); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ wakeup/wakeup_usb.cpp: In constructor 'usb_wakeup::usb_wakeup(const char*, const char*)': wakeup/wakeup_usb.cpp:53:68: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size 4078 [-Wformat-truncation=] 53 | snprintf(toggle_enable, sizeof(toggle_enable), "echo 'enabled' > '%s';", usb_path); | ^~ wakeup/wakeup_usb.cpp:53:10: note: 'snprintf' output between 21 and 4116 bytes into a destination of size 4096 53 | snprintf(toggle_enable, sizeof(toggle_enable), "echo 'enabled' > '%s';", usb_path); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ wakeup/wakeup_usb.cpp:54:71: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size 4077 [-Wformat-truncation=] 54 | snprintf(toggle_disable, sizeof(toggle_disable), "echo 'disabled' > '%s';", usb_path); | ^~ wakeup/wakeup_usb.cpp:54:10: note: 'snprintf' output between 22 and 4117 bytes into a destination of size 4096 54 | snprintf(toggle_disable, sizeof(toggle_disable), "echo 'disabled' > '%s';", usb_path); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ CXXLD powertop make[4]: Leaving directory '/home/buildroot/autobuild/run/instance-0/output-1/build/powertop-2.15/src' make[3]: Leaving directory '/home/buildroot/autobuild/run/instance-0/output-1/build/powertop-2.15/src' Making all in po make[3]: Entering directory '/home/buildroot/autobuild/run/instance-0/output-1/build/powertop-2.15/po' *** error: gettext infrastructure mismatch: using a Makefile.in.in from gettext version 0.18 but the autoconf macros are from gettext version 0.20 Makefile:222: recipe for target 'stamp-po' failed make[3]: *** [stamp-po] Error 1 make[3]: Leaving directory '/home/buildroot/autobuild/run/instance-0/output-1/build/powertop-2.15/po' Makefile:454: recipe for target 'all-recursive' failed make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory '/home/buildroot/autobuild/run/instance-0/output-1/build/powertop-2.15' Makefile:384: recipe for target 'all' failed make[1]: *** [all] Error 2 make[1]: Leaving directory '/home/buildroot/autobuild/run/instance-0/output-1/build/powertop-2.15' package/pkg-generic.mk:280: recipe for target '/home/buildroot/autobuild/run/instance-0/output-1/build/powertop-2.15/.stamp_built' failed make: *** [/home/buildroot/autobuild/run/instance-0/output-1/build/powertop-2.15/.stamp_built] Error 2 make: Leaving directory '/home/buildroot/autobuild/run/instance-0/buildroot'