>>> cpufreqd: Building community/cpufreqd 2.4.2-r8 (using abuild 3.13.0-r3) started Sat, 27 Apr 2024 05:23:48 +0000 >>> cpufreqd: Checking sanity of /home/buildozer/aports/community/cpufreqd/APKBUILD... >>> cpufreqd: Analyzing dependencies... >>> cpufreqd: Installing for build: build-base cpufrequtils-dev sysfsutils-dev (1/5) Installing sysfsutils (2.1.1-r3) (2/5) Installing cpufrequtils (008-r6) (3/5) Installing cpufrequtils-dev (008-r6) (4/5) Installing sysfsutils-dev (2.1.1-r3) (5/5) Installing .makedepends-cpufreqd (20240427.052354) Executing busybox-1.36.1-r26.trigger OK: 415 MiB in 107 packages >>> cpufreqd: Cleaning up srcdir >>> cpufreqd: Cleaning up pkgdir >>> cpufreqd: Cleaning up tmpdir >>> cpufreqd: Fetching https://distfiles.alpinelinux.org/distfiles/v3.20/cpufreqd-2.4.2.tar.bz2 Connecting to distfiles.alpinelinux.org (172.105.82.32:443) wget: server returned error: HTTP/1.1 404 Not Found >>> cpufreqd: Fetching https://downloads.sourceforge.net/cpufreqd/cpufreqd-2.4.2.tar.bz2 Connecting to downloads.sourceforge.net (204.68.111.105:443) Connecting to downloads.sourceforge.net (204.68.111.105:443) Connecting to master.dl.sourceforge.net (216.105.38.12:443) saving to '/var/cache/distfiles/v3.20/cpufreqd-2.4.2.tar.bz2.part' cpufreqd-2.4.2.tar.b 100% |********************************| 292k 0:00:00 ETA '/var/cache/distfiles/v3.20/cpufreqd-2.4.2.tar.bz2.part' saved >>> cpufreqd: Fetching https://distfiles.alpinelinux.org/distfiles/v3.20/cpufreqd-2.4.2.tar.bz2 >>> cpufreqd: Checking sha512sums... cpufreqd-2.4.2.tar.bz2: OK cpufreqd.initd: OK >>> cpufreqd: Unpacking /var/cache/distfiles/v3.20/cpufreqd-2.4.2.tar.bz2... >>> cpufreqd: Updating ./config.sub checking build system type... powerpc64le-alpine-linux-musl checking host system type... powerpc64le-alpine-linux-musl checking target system type... powerpc64le-alpine-linux-musl 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 for style of include used by make... GNU checking for powerpc64le-alpine-linux-musl-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 for a sed that does not truncate output... /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 gcc... /usr/powerpc64le-alpine-linux-musl/bin/ld checking if the linker (/usr/powerpc64le-alpine-linux-musl/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... 98304 checking whether the shell understands some XSI constructs... yes checking whether the shell understands "+="... no checking for /usr/powerpc64le-alpine-linux-musl/bin/ld option to reload object files... -r checking for powerpc64le-alpine-linux-musl-objdump... no checking for objdump... objdump checking how to recognize dependent libraries... pass_all checking for powerpc64le-alpine-linux-musl-ar... no checking for ar... ar checking for powerpc64le-alpine-linux-musl-strip... no checking for strip... strip checking for powerpc64le-alpine-linux-musl-ranlib... no checking for ranlib... ranlib checking command to parse /usr/bin/nm -B output from gcc object... ok checking how to run the C preprocessor... gcc -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking 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/powerpc64le-alpine-linux-musl/bin/ld -m elf64ppc) 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 for shl_load... no checking for shl_load in -ldld... no checking for dlopen... yes checking whether a program can dlopen itself... yes checking whether a statically linked program can dlopen itself... no 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 for powerpc64le-alpine-linux-musl-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 for dirent.h that defines DIR... yes checking for library containing opendir... none required checking for ANSI C header files... (cached) yes checking whether time.h and sys/time.h may both be included... yes checking fcntl.h usability... yes checking fcntl.h presence... yes checking for fcntl.h... yes checking fnmatch.h usability... yes checking fnmatch.h presence... yes checking for fnmatch.h... yes checking limits.h usability... yes checking limits.h presence... yes checking for limits.h... yes checking syslog.h usability... yes checking syslog.h presence... yes checking for syslog.h... yes checking for unistd.h... (cached) yes checking getopt.h usability... yes checking getopt.h presence... yes checking for getopt.h... yes checking errno.h usability... yes checking errno.h presence... yes checking for errno.h... yes checking for sys/types.h... (cached) yes checking for sys/stat.h... (cached) yes checking signal.h usability... yes checking signal.h presence... yes checking for signal.h... yes checking ctype.h usability... yes checking ctype.h presence... yes checking for ctype.h... yes checking for dlfcn.h... (cached) yes checking libgen.h usability... yes checking libgen.h presence... yes checking for libgen.h... yes checking sys/socket.h usability... yes checking sys/socket.h presence... yes checking for sys/socket.h... yes checking sys/un.h usability... yes checking sys/un.h presence... yes checking for sys/un.h... yes checking cpufreq.h usability... yes checking cpufreq.h presence... yes checking for cpufreq.h... yes checking for an ANSI C-conforming const... yes checking for pid_t... yes checking vfork.h usability... no checking vfork.h presence... no checking for vfork.h... no checking for fork... yes checking for vfork... yes checking for working fork... yes checking for working vfork... (cached) yes checking for stdlib.h... (cached) yes checking for GNU libc compatible malloc... yes checking whether lstat correctly handles trailing slash... yes checking whether stat accepts an empty string... no checking for vprintf... yes checking for _doprnt... no checking for memset... yes checking for realpath... yes checking for strerror... yes checking for strstr... yes checking for scandir... yes checking for socket... yes checking for connect... yes checking for perror... yes checking for dlopen in -ldl... yes checking for cpufreq_cpu_exists in -lcpufreq... yes checking pthread.h usability... yes checking pthread.h presence... yes checking for pthread.h... yes checking for pthread_create in -lpthread... yes checking sensors/sensors.h usability... no checking sensors/sensors.h presence... no checking for sensors/sensors.h... no configure: creating ./config.status config.status: creating Makefile config.status: creating src/Makefile config.status: creating utils/Makefile config.status: creating manpages/Makefile config.status: creating manpages/cpufreqd.8 config.status: creating config.h config.status: executing depfiles commands config.status: executing libtool commands cpufreqd configuration: -------------------------------------------------- Compiler: gcc Enabled plugins: cpu programs acpi_event acpi_battery acpi_ac acpi_temperature nforce2 apm pmu exec governor_parameters tau Disabled plugins: nvclock sensors -------------------------------------------------- make all-recursive make[1]: Entering directory '/home/buildozer/aports/community/cpufreqd/src/cpufreqd-2.4.2' Making all in src make[2]: Entering directory '/home/buildozer/aports/community/cpufreqd/src/cpufreqd-2.4.2/src' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -W -Wall -Wshadow -W -Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings -Wconversion -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wredundant-decls -Wnested-externs -Winline -Wundef -Wbad-function-cast -Waggregate-return -std=c99 -D_POSIX_SOURCE -D_GNU_SOURCE -I.. -Os -fstack-clash-protection -Wformat -Werror=format-security -MT cpufreqd_programs.lo -MD -MP -MF .deps/cpufreqd_programs.Tpo -c -o cpufreqd_programs.lo cpufreqd_programs.c /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -W -Wall -Wshadow -W -Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings -Wconversion -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wredundant-decls -Wnested-externs -Winline -Wundef -Wbad-function-cast -Waggregate-return -std=c99 -D_POSIX_SOURCE -D_GNU_SOURCE -I.. -Os -fstack-clash-protection -Wformat -Werror=format-security -MT cpufreqd_cpu.lo -MD -MP -MF .deps/cpufreqd_cpu.Tpo -c -o cpufreqd_cpu.lo cpufreqd_cpu.c /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -W -Wall -Wshadow -W -Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings -Wconversion -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wredundant-decls -Wnested-externs -Winline -Wundef -Wbad-function-cast -Waggregate-return -std=c99 -D_POSIX_SOURCE -D_GNU_SOURCE -I.. -I//usr/include -I/usr/include/sysfs -Os -fstack-clash-protection -Wformat -Werror=format-security -MT cpufreqd_acpi_la-cpufreqd_acpi.lo -MD -MP -MF .deps/cpufreqd_acpi_la-cpufreqd_acpi.Tpo -c -o cpufreqd_acpi_la-cpufreqd_acpi.lo `test -f 'cpufreqd_acpi.c' || echo './'`cpufreqd_acpi.c /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -W -Wall -Wshadow -W -Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings -Wconversion -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wredundant-decls -Wnested-externs -Winline -Wundef -Wbad-function-cast -Waggregate-return -std=c99 -D_POSIX_SOURCE -D_GNU_SOURCE -I.. -I//usr/include -I/usr/include/sysfs -Os -fstack-clash-protection -Wformat -Werror=format-security -MT cpufreqd_acpi_la-cpufreqd_acpi_ac.lo -MD -MP -MF .deps/cpufreqd_acpi_la-cpufreqd_acpi_ac.Tpo -c -o cpufreqd_acpi_la-cpufreqd_acpi_ac.lo `test -f 'cpufreqd_acpi_ac.c' || echo './'`cpufreqd_acpi_ac.c /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -W -Wall -Wshadow -W -Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings -Wconversion -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wredundant-decls -Wnested-externs -Winline -Wundef -Wbad-function-cast -Waggregate-return -std=c99 -D_POSIX_SOURCE -D_GNU_SOURCE -I.. -I//usr/include -I/usr/include/sysfs -Os -fstack-clash-protection -Wformat -Werror=format-security -MT cpufreqd_acpi_la-cpufreqd_acpi_battery.lo -MD -MP -MF .deps/cpufreqd_acpi_la-cpufreqd_acpi_battery.Tpo -c -o cpufreqd_acpi_la-cpufreqd_acpi_battery.lo `test -f 'cpufreqd_acpi_battery.c' || echo './'`cpufreqd_acpi_battery.c /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -W -Wall -Wshadow -W -Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings -Wconversion -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wredundant-decls -Wnested-externs -Winline -Wundef -Wbad-function-cast -Waggregate-return -std=c99 -D_POSIX_SOURCE -D_GNU_SOURCE -I.. -I//usr/include -I/usr/include/sysfs -Os -fstack-clash-protection -Wformat -Werror=format-security -MT cpufreqd_acpi_la-cpufreqd_acpi_event.lo -MD -MP -MF .deps/cpufreqd_acpi_la-cpufreqd_acpi_event.Tpo -c -o cpufreqd_acpi_la-cpufreqd_acpi_event.lo `test -f 'cpufreqd_acpi_event.c' || echo './'`cpufreqd_acpi_event.c /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -W -Wall -Wshadow -W -Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings -Wconversion -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wredundant-decls -Wnested-externs -Winline -Wundef -Wbad-function-cast -Waggregate-return -std=c99 -D_POSIX_SOURCE -D_GNU_SOURCE -I.. -I//usr/include -I/usr/include/sysfs -Os -fstack-clash-protection -Wformat -Werror=format-security -MT cpufreqd_acpi_la-cpufreqd_acpi_temperature.lo -MD -MP -MF .deps/cpufreqd_acpi_la-cpufreqd_acpi_temperature.Tpo -c -o cpufreqd_acpi_la-cpufreqd_acpi_temperature.lo `test -f 'cpufreqd_acpi_temperature.c' || echo './'`cpufreqd_acpi_temperature.c /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -W -Wall -Wshadow -W -Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings -Wconversion -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wredundant-decls -Wnested-externs -Winline -Wundef -Wbad-function-cast -Waggregate-return -std=c99 -D_POSIX_SOURCE -D_GNU_SOURCE -I.. -Os -fstack-clash-protection -Wformat -Werror=format-security -MT cpufreqd_nforce2.lo -MD -MP -MF .deps/cpufreqd_nforce2.Tpo -c -o cpufreqd_nforce2.lo cpufreqd_nforce2.c /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -W -Wall -Wshadow -W -Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings -Wconversion -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wredundant-decls -Wnested-externs -Winline -Wundef -Wbad-function-cast -Waggregate-return -std=c99 -D_POSIX_SOURCE -D_GNU_SOURCE -I.. -Os -fstack-clash-protection -Wformat -Werror=format-security -MT cpufreqd_apm.lo -MD -MP -MF .deps/cpufreqd_apm.Tpo -c -o cpufreqd_apm.lo cpufreqd_apm.c /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -W -Wall -Wshadow -W -Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings -Wconversion -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wredundant-decls -Wnested-externs -Winline -Wundef -Wbad-function-cast -Waggregate-return -std=c99 -D_POSIX_SOURCE -D_GNU_SOURCE -I.. -Os -fstack-clash-protection -Wformat -Werror=format-security -MT cpufreqd_pmu.lo -MD -MP -MF .deps/cpufreqd_pmu.Tpo -c -o cpufreqd_pmu.lo cpufreqd_pmu.c /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -W -Wall -Wshadow -W -Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings -Wconversion -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wredundant-decls -Wnested-externs -Winline -Wundef -Wbad-function-cast -Waggregate-return -std=c99 -D_POSIX_SOURCE -D_GNU_SOURCE -I.. -I//usr/include -Os -fstack-clash-protection -Wformat -Werror=format-security -MT cpufreqd_exec_la-cpufreqd_exec.lo -MD -MP -MF .deps/cpufreqd_exec_la-cpufreqd_exec.Tpo -c -o cpufreqd_exec_la-cpufreqd_exec.lo `test -f 'cpufreqd_exec.c' || echo './'`cpufreqd_exec.c /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -W -Wall -Wshadow -W -Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings -Wconversion -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wredundant-decls -Wnested-externs -Winline -Wundef -Wbad-function-cast -Waggregate-return -std=c99 -D_POSIX_SOURCE -D_GNU_SOURCE -I.. -I/usr/include/sysfs -Os -fstack-clash-protection -Wformat -Werror=format-security -MT cpufreqd_governor_parameters_la-cpufreqd_governor_parameters.lo -MD -MP -MF .deps/cpufreqd_governor_parameters_la-cpufreqd_governor_parameters.Tpo -c -o cpufreqd_governor_parameters_la-cpufreqd_governor_parameters.lo `test -f 'cpufreqd_governor_parameters.c' || echo './'`cpufreqd_governor_parameters.c /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -W -Wall -Wshadow -W -Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings -Wconversion -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wredundant-decls -Wnested-externs -Winline -Wundef -Wbad-function-cast -Waggregate-return -std=c99 -D_POSIX_SOURCE -D_GNU_SOURCE -I.. -Os -fstack-clash-protection -Wformat -Werror=format-security -MT cpufreqd_tau.lo -MD -MP -MF .deps/cpufreqd_tau.Tpo -c -o cpufreqd_tau.lo cpufreqd_tau.c gcc -DHAVE_CONFIG_H -I. -I.. -W -Wall -Wshadow -W -Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings -Wconversion -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wredundant-decls -Wnested-externs -Winline -Wundef -Wbad-function-cast -Waggregate-return -std=c99 -D_POSIX_SOURCE -D_GNU_SOURCE -I.. -Os -fstack-clash-protection -Wformat -Werror=format-security -MT main.o -MD -MP -MF .deps/main.Tpo -c -o main.o main.c gcc -DHAVE_CONFIG_H -I. -I.. -W -Wall -Wshadow -W -Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings -Wconversion -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wredundant-decls -Wnested-externs -Winline -Wundef -Wbad-function-cast -Waggregate-return -std=c99 -D_POSIX_SOURCE -D_GNU_SOURCE -I.. -Os -fstack-clash-protection -Wformat -Werror=format-security -MT config_parser.o -MD -MP -MF .deps/config_parser.Tpo -c -o config_parser.o config_parser.c gcc -DHAVE_CONFIG_H -I. -I.. -W -Wall -Wshadow -W -Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings -Wconversion -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wredundant-decls -Wnested-externs -Winline -Wundef -Wbad-function-cast -Waggregate-return -std=c99 -D_POSIX_SOURCE -D_GNU_SOURCE -I.. -Os -fstack-clash-protection -Wformat -Werror=format-security -MT cpufreqd_log.o -MD -MP -MF .deps/cpufreqd_log.Tpo -c -o cpufreqd_log.o cpufreqd_log.c gcc -DHAVE_CONFIG_H -I. -I.. -W -Wall -Wshadow -W -Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings -Wconversion -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wredundant-decls -Wnested-externs -Winline -Wundef -Wbad-function-cast -Waggregate-return -std=c99 -D_POSIX_SOURCE -D_GNU_SOURCE -I.. -Os -fstack-clash-protection -Wformat -Werror=format-security -MT daemon_utils.o -MD -MP -MF .deps/daemon_utils.Tpo -c -o daemon_utils.o daemon_utils.c gcc -DHAVE_CONFIG_H -I. -I.. -W -Wall -Wshadow -W -Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings -Wconversion -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wredundant-decls -Wnested-externs -Winline -Wundef -Wbad-function-cast -Waggregate-return -std=c99 -D_POSIX_SOURCE -D_GNU_SOURCE -I.. -Os -fstack-clash-protection -Wformat -Werror=format-security -MT plugin_utils.o -MD -MP -MF .deps/plugin_utils.Tpo -c -o plugin_utils.o plugin_utils.c gcc -DHAVE_CONFIG_H -I. -I.. -W -Wall -Wshadow -W -Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings -Wconversion -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wredundant-decls -Wnested-externs -Winline -Wundef -Wbad-function-cast -Waggregate-return -std=c99 -D_POSIX_SOURCE -D_GNU_SOURCE -I.. -Os -fstack-clash-protection -Wformat -Werror=format-security -MT sock_utils.o -MD -MP -MF .deps/sock_utils.Tpo -c -o sock_utils.o sock_utils.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -W -Wall -Wshadow -W -Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings -Wconversion -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wredundant-decls -Wnested-externs -Winline -Wundef -Wbad-function-cast -Waggregate-return -std=c99 -D_POSIX_SOURCE -D_GNU_SOURCE -I.. -Os -fstack-clash-protection -Wformat -Werror=format-security -MT cpufreqd_programs.lo -MD -MP -MF .deps/cpufreqd_programs.Tpo -c cpufreqd_programs.c -fPIC -DPIC -o .libs/cpufreqd_programs.o gcc -DHAVE_CONFIG_H -I. -I.. -W -Wall -Wshadow -W -Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings -Wconversion -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wredundant-decls -Wnested-externs -Winline -Wundef -Wbad-function-cast -Waggregate-return -std=c99 -D_POSIX_SOURCE -D_GNU_SOURCE -I.. -Os -fstack-clash-protection -Wformat -Werror=format-security -MT cpufreq_utils.o -MD -MP -MF .deps/cpufreq_utils.Tpo -c -o cpufreq_utils.o cpufreq_utils.c gcc -DHAVE_CONFIG_H -I. -I.. -W -Wall -Wshadow -W -Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings -Wconversion -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wredundant-decls -Wnested-externs -Winline -Wundef -Wbad-function-cast -Waggregate-return -std=c99 -D_POSIX_SOURCE -D_GNU_SOURCE -I.. -Os -fstack-clash-protection -Wformat -Werror=format-security -MT list.o -MD -MP -MF .deps/list.Tpo -c -o list.o list.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -W -Wall -Wshadow -W -Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings -Wconversion -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wredundant-decls -Wnested-externs -Winline -Wundef -Wbad-function-cast -Waggregate-return -std=c99 -D_POSIX_SOURCE -D_GNU_SOURCE -I.. -I//usr/include -I/usr/include/sysfs -Os -fstack-clash-protection -Wformat -Werror=format-security -MT cpufreqd_acpi_la-cpufreqd_acpi.lo -MD -MP -MF .deps/cpufreqd_acpi_la-cpufreqd_acpi.Tpo -c cpufreqd_acpi.c -fPIC -DPIC -o .libs/cpufreqd_acpi_la-cpufreqd_acpi.o libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -W -Wall -Wshadow -W -Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings -Wconversion -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wredundant-decls -Wnested-externs -Winline -Wundef -Wbad-function-cast -Waggregate-return -std=c99 -D_POSIX_SOURCE -D_GNU_SOURCE -I.. -Os -fstack-clash-protection -Wformat -Werror=format-security -MT cpufreqd_cpu.lo -MD -MP -MF .deps/cpufreqd_cpu.Tpo -c cpufreqd_cpu.c -fPIC -DPIC -o .libs/cpufreqd_cpu.o libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -W -Wall -Wshadow -W -Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings -Wconversion -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wredundant-decls -Wnested-externs -Winline -Wundef -Wbad-function-cast -Waggregate-return -std=c99 -D_POSIX_SOURCE -D_GNU_SOURCE -I.. -I//usr/include -I/usr/include/sysfs -Os -fstack-clash-protection -Wformat -Werror=format-security -MT cpufreqd_acpi_la-cpufreqd_acpi_ac.lo -MD -MP -MF .deps/cpufreqd_acpi_la-cpufreqd_acpi_ac.Tpo -c cpufreqd_acpi_ac.c -fPIC -DPIC -o .libs/cpufreqd_acpi_la-cpufreqd_acpi_ac.o libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -W -Wall -Wshadow -W -Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings -Wconversion -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wredundant-decls -Wnested-externs -Winline -Wundef -Wbad-function-cast -Waggregate-return -std=c99 -D_POSIX_SOURCE -D_GNU_SOURCE -I.. -Os -fstack-clash-protection -Wformat -Werror=format-security -MT cpufreqd_nforce2.lo -MD -MP -MF .deps/cpufreqd_nforce2.Tpo -c cpufreqd_nforce2.c -fPIC -DPIC -o .libs/cpufreqd_nforce2.o libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -W -Wall -Wshadow -W -Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings -Wconversion -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wredundant-decls -Wnested-externs -Winline -Wundef -Wbad-function-cast -Waggregate-return -std=c99 -D_POSIX_SOURCE -D_GNU_SOURCE -I.. -I//usr/include -I/usr/include/sysfs -Os -fstack-clash-protection -Wformat -Werror=format-security -MT cpufreqd_acpi_la-cpufreqd_acpi_battery.lo -MD -MP -MF .deps/cpufreqd_acpi_la-cpufreqd_acpi_battery.Tpo -c cpufreqd_acpi_battery.c -fPIC -DPIC -o .libs/cpufreqd_acpi_la-cpufreqd_acpi_battery.o libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -W -Wall -Wshadow -W -Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings -Wconversion -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wredundant-decls -Wnested-externs -Winline -Wundef -Wbad-function-cast -Waggregate-return -std=c99 -D_POSIX_SOURCE -D_GNU_SOURCE -I.. -Os -fstack-clash-protection -Wformat -Werror=format-security -MT cpufreqd_pmu.lo -MD -MP -MF .deps/cpufreqd_pmu.Tpo -c cpufreqd_pmu.c -fPIC -DPIC -o .libs/cpufreqd_pmu.o libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -W -Wall -Wshadow -W -Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings -Wconversion -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wredundant-decls -Wnested-externs -Winline -Wundef -Wbad-function-cast -Waggregate-return -std=c99 -D_POSIX_SOURCE -D_GNU_SOURCE -I.. -I//usr/include -I/usr/include/sysfs -Os -fstack-clash-protection -Wformat -Werror=format-security -MT cpufreqd_acpi_la-cpufreqd_acpi_event.lo -MD -MP -MF .deps/cpufreqd_acpi_la-cpufreqd_acpi_event.Tpo -c cpufreqd_acpi_event.c -fPIC -DPIC -o .libs/cpufreqd_acpi_la-cpufreqd_acpi_event.o libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -W -Wall -Wshadow -W -Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings -Wconversion -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wredundant-decls -Wnested-externs -Winline -Wundef -Wbad-function-cast -Waggregate-return -std=c99 -D_POSIX_SOURCE -D_GNU_SOURCE -I.. -I//usr/include -I/usr/include/sysfs -Os -fstack-clash-protection -Wformat -Werror=format-security -MT cpufreqd_acpi_la-cpufreqd_acpi_temperature.lo -MD -MP -MF .deps/cpufreqd_acpi_la-cpufreqd_acpi_temperature.Tpo -c cpufreqd_acpi_temperature.c -fPIC -DPIC -o .libs/cpufreqd_acpi_la-cpufreqd_acpi_temperature.o libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -W -Wall -Wshadow -W -Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings -Wconversion -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wredundant-decls -Wnested-externs -Winline -Wundef -Wbad-function-cast -Waggregate-return -std=c99 -D_POSIX_SOURCE -D_GNU_SOURCE -I.. -Os -fstack-clash-protection -Wformat -Werror=format-security -MT cpufreqd_apm.lo -MD -MP -MF .deps/cpufreqd_apm.Tpo -c cpufreqd_apm.c -fPIC -DPIC -o .libs/cpufreqd_apm.o libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -W -Wall -Wshadow -W -Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings -Wconversion -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wredundant-decls -Wnested-externs -Winline -Wundef -Wbad-function-cast -Waggregate-return -std=c99 -D_POSIX_SOURCE -D_GNU_SOURCE -I.. -I/usr/include/sysfs -Os -fstack-clash-protection -Wformat -Werror=format-security -MT cpufreqd_governor_parameters_la-cpufreqd_governor_parameters.lo -MD -MP -MF .deps/cpufreqd_governor_parameters_la-cpufreqd_governor_parameters.Tpo -c cpufreqd_governor_parameters.c -fPIC -DPIC -o .libs/cpufreqd_governor_parameters_la-cpufreqd_governor_parameters.o libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -W -Wall -Wshadow -W -Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings -Wconversion -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wredundant-decls -Wnested-externs -Winline -Wundef -Wbad-function-cast -Waggregate-return -std=c99 -D_POSIX_SOURCE -D_GNU_SOURCE -I.. -I//usr/include -Os -fstack-clash-protection -Wformat -Werror=format-security -MT cpufreqd_exec_la-cpufreqd_exec.lo -MD -MP -MF .deps/cpufreqd_exec_la-cpufreqd_exec.Tpo -c cpufreqd_exec.c -fPIC -DPIC -o .libs/cpufreqd_exec_la-cpufreqd_exec.o libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -W -Wall -Wshadow -W -Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings -Wconversion -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wredundant-decls -Wnested-externs -Winline -Wundef -Wbad-function-cast -Waggregate-return -std=c99 -D_POSIX_SOURCE -D_GNU_SOURCE -I.. -Os -fstack-clash-protection -Wformat -Werror=format-security -MT cpufreqd_tau.lo -MD -MP -MF .deps/cpufreqd_tau.Tpo -c cpufreqd_tau.c -fPIC -DPIC -o .libs/cpufreqd_tau.o In file included from main.c:29: /usr/include/sys/poll.h:1:2: warning: #warning redirecting incorrect #include to [-Wcpp] 1 | #warning redirecting incorrect #include to | ^~~~~~~ sock_utils.c: In function 'open_unix_sock': sock_utils.c:111:29: warning: passing argument 2 of 'bind' from incompatible pointer type [-Wincompatible-pointer-types] 111 | } else if (bind(fd, &sa, sizeof(sa)) == -1) { | ^~~ | | | struct sockaddr_un * In file included from sock_utils.c:26: /usr/include/sys/socket.h:385:16: note: expected 'const struct sockaddr *' but argument is of type 'struct sockaddr_un *' 385 | int bind (int, const struct sockaddr *, socklen_t); | ^~~~~~~~~~~~~~~~~~~~~~~ cpufreqd_nforce2.c: In function 'vcore_pre_change': In file included from cpufreqd_acpi_event.c:30: /usr/include/sys/poll.h:1:2: warning: #warning redirecting incorrect #include to [-Wcpp] 1 | #warning redirecting incorrect #include to | ^~~~~~~ cpufreqd_nforce2.c:142:28: warning: conversion from 'long unsigned int' to 'unsigned int' may change value [-Wconversion] 142 | cur_freq = cpufreq_get(0); | ^~~~~~~~~~~ cpufreqd_cpu.c: In function 'calculate_cpu_usage': cpufreqd_cpu.c:201:43: warning: conversion from 'double' to 'long unsigned int' may change value [-Wfloat-conversion] 201 | unsigned long weighted_activity = cur->c_user + cur->c_nice / nice_scale + cur->c_sys; | ^~~ cpufreqd_cpu.c:202:47: warning: conversion from 'double' to 'long unsigned int' may change value [-Wfloat-conversion] 202 | unsigned long weighted_activity_old = old->c_user + old->c_nice / nice_scale + old->c_sys; | ^~~ cpufreqd_cpu.c:211:45: warning: conversion from 'long unsigned int' to 'int' may change value [-Wconversion] 211 | return delta_activity * 100 / cur->delta_time; | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ cpufreqd_pmu.c: In function 'pmu_update': cpufreqd_pmu.c:147:30: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 147 | ac = atoi(val); | ^~~~ cpufreqd_pmu.c:150:43: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 150 | battery_present = atoi(val); | ^~~~ cpufreqd_pmu.c:164:38: warning: conversion from 'double' to 'float' may change value [-Wfloat-conversion] 164 | bat_charge = atof(val); | ^~~~ cpufreqd_pmu.c:167:42: warning: conversion from 'double' to 'float' may change value [-Wfloat-conversion] 167 | bat_max_charge = atof(val); | ^~~~ cpufreqd_pmu.c:172:27: warning: conversion from 'float' to 'int' may change value [-Wfloat-conversion] 172 | battery_percent = 100 * (bat_charge / bat_max_charge); | ^~~ cpufreqd_cpu.c: In function 'get_cpu': cpufreqd_cpu.c:321:41: warning: conversion from 'long unsigned int' to 'unsigned int' may change value [-Wconversion] 321 | cusage[cpu_num].c_sys = c_sys + c_irq + c_softirq; | ^~~~~ cpufreqd_cpu.c:322:42: warning: conversion from 'long unsigned int' to 'unsigned int' may change value [-Wconversion] 322 | cusage[cpu_num].c_idle = c_idle + c_iowait; | ^~~~~~ cpufreqd_cpu.c:324:42: warning: conversion from 'long unsigned int' to 'unsigned int' may change value [-Wconversion] 324 | cusage[cpu_num].c_time = c_user + c_nice + c_sys + c_idle; | ^~~~~~ main.c: In function 'execute_command': main.c:539:50: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 539 | buflen = snprintf(buf, MAX_STRING_LEN, "%d/%s/%lu/%lu/%s\n", | ^~~~~~~~ config_parser.c: In function 'clean_config_line': config_parser.c:58:18: warning: conversion from 'size_t' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] 58 | for (i = strlen(str) - 1; i>=0; --i) { | ^~~~~~ main.c:562:50: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 562 | buflen = snprintf(buf, MAX_STRING_LEN, "%d/%s/%lu/%lu/%s\n", | ^~~~~~~~ config_parser.c: In function 'parse_config_general': config_parser.c:145:68: warning: conversion from 'float' to 'suseconds_t' {aka 'long int'} may change value [-Wfloat-conversion] 145 | configuration->poll_intv.tv_usec = (poll_val - ((int)poll_val)) * 1000000; | ^ cpufreqd_acpi_battery.c: In function 'acpi_battery_update': config_parser.c:146:67: warning: conversion from 'float' to 'time_t' {aka 'long int'} may change value [-Wfloat-conversion] 146 | configuration->poll_intv.tv_sec = poll_val; | ^~~~~~~~ cpufreqd_acpi_battery.c:297:83: warning: conversion from 'suseconds_t' {aka 'long int'} to 'double' may change value [-Wconversion] 297 | current_time = (double)cinfo->timestamp.tv_sec + (cinfo->timestamp.tv_usec/1000000.0); | ^ cpufreq_utils.c: In function 'percent_to_absolute': cpufreq_utils.c:64:25: warning: conversion from 'long unsigned int' to 'float' may change value [-Wconversion] 64 | return max_freq * ((float)user_freq / 100); | ^ main.c: In function 'main': cpufreq_utils.c:64:25: warning: conversion from 'float' to 'long unsigned int' may change value [-Wfloat-conversion] 64 | return max_freq * ((float)user_freq / 100); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ cpufreqd_acpi_battery.c:341:54: warning: conversion from 'double' to 'int' may change value [-Wfloat-conversion] 341 | info[i].remaining -= ((float)info[i].present_rate * elapsed_time) / 3600.0; | ^ main.c:721:41: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 721 | cpufreqd_info->kernel_version = get_kversion(); | ^~~~~~~~~~~~ cpufreqd_acpi_battery.c:345:54: warning: conversion from 'double' to 'int' may change value [-Wfloat-conversion] 345 | info[i].remaining += ((float)info[i].present_rate * elapsed_time) / 3600.0; | ^ main.c:726:31: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 726 | cpufreqd_info->cpus = get_cpu_num(); | ^~~~~~~~~~~ cpufreqd_acpi_battery.c:354:33: warning: conversion from 'double' to 'int' may change value [-Wfloat-conversion] 354 | info[i].level = 100 * (info[i].remaining / (double)info[i].capacity); | ^~~ config_parser.c:213:63: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 213 | configuration->double_check = atoi (value); | ^~~~ cpufreqd_acpi_battery.c:374:37: warning: conversion from 'double' to 'int' may change value [-Wfloat-conversion] 374 | avg_battery_level = 100 * (total_remaining / (double)total_capacity); | ^~~ config_parser.c:221:64: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 221 | configuration->enable_remote = atoi (value); | ^~~~ main.c:867:25: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 867 | FD_SET(cpufreqd_sock, &rfds); | ^~~~~~ main.c:867:25: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] config_parser.c: In function 'parse_config_profile': config_parser.c:331:49: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 331 | p->policy.min = tmp_freq; | ^~~~~~~~ config_parser.c:349:49: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 349 | p->policy.max = tmp_freq; | ^~~~~~~~ cpufreqd_programs.c: In function 'programs_update': cpufreqd_programs.c:292:29: warning: variable 'pid' set but not used [-Wunused-but-set-variable] 292 | int n = 0, ret = 0, pid = 0; | ^~~ cpufreqd_acpi_event.c: In function 'event_wait': cpufreqd_acpi_event.c:157:38: warning: conversion from 'ssize_t' {aka 'long int'} to 'int' may change value [-Wconversion] 157 | while ((read_chars = read(event_fd, buf, MAX_STRING_LEN-1)) > 0) { | ^~~~ cpufreqd_governor_parameters.c: In function 'parameter_parse': cpufreqd_governor_parameters.c:216:13: warning: conversion from 'size_t' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] 216 | i = strspn(strvalue, "0123456789"); | ^~~~~~ config_parser.c: In function 'init_configuration': mv -f .deps/cpufreqd_log.Tpo .deps/cpufreqd_log.Po cpufreqd_acpi_temperature.c: In function 'acpi_temperature_update': cpufreqd_acpi_temperature.c:202:28: warning: conversion from 'float' to 'long int' may change value [-Wfloat-conversion] 202 | temp_avg = (float)temp_avg / (float)count; | ^ config_parser.c:836:43: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 836 | cpu_num = atoi(token + 3); | ^~~~ config_parser.c:785:21: warning: variable 'profile_found' set but not used [-Wunused-but-set-variable] 785 | int profile_found = 0; | ^~~~~~~~~~~~~ mv -f .deps/list.Tpo .deps/list.Po cpufreqd_nforce2.c: In function 'nforce2_exit': cpufreqd_nforce2.c:48:20: warning: inlining failed in call to 'set_vcore': call is unlikely and code size would grow [-Winline] 48 | static inline void set_vcore(int vcore) | ^~~~~~~~~ cpufreqd_nforce2.c:94:9: note: called from here 94 | set_vcore(vcore_default); | ^~~~~~~~~~~~~~~~~~~~~~~~ cpufreqd_nforce2.c: In function 'vcore_pre_change': cpufreqd_nforce2.c:48:20: warning: inlining failed in call to 'set_vcore': call is unlikely and code size would grow [-Winline] 48 | static inline void set_vcore(int vcore) | ^~~~~~~~~ cpufreqd_nforce2.c:148:25: note: called from here 148 | set_vcore(vcore); | ^~~~~~~~~~~~~~~~ cpufreqd_governor_parameters.c: In function 'gov_parameter_init': cpufreqd_governor_parameters.c:390:51: warning: '%s' directive output may be truncated writing 18 bytes into a region of size between 0 and 255 [-Wformat-truncation=] 390 | snprintf(syspath_cpu, SYSFS_PATH_MAX, "%s/%s", sysfsmountpath, SYS_CPU_DIR); | ^~ cpufreqd_governor_parameters.c:390:9: note: 'snprintf' output between 20 and 275 bytes into a destination of size 256 390 | snprintf(syspath_cpu, SYSFS_PATH_MAX, "%s/%s", sysfsmountpath, SYS_CPU_DIR); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'vcore_post_change', inlined from 'vcore_post_change' at cpufreqd_nforce2.c:154:13: cpufreqd_nforce2.c:48:20: warning: inlining failed in call to 'set_vcore': call is unlikely and code size would grow [-Winline] 48 | static inline void set_vcore(int vcore) | ^~~~~~~~~ cpufreqd_nforce2.c:165:25: note: called from here 165 | set_vcore(vcore); | ^~~~~~~~~~~~~~~~ mv -f .deps/sock_utils.Tpo .deps/sock_utils.Po mv -f .deps/cpufreqd_acpi_la-cpufreqd_acpi_ac.Tpo .deps/cpufreqd_acpi_la-cpufreqd_acpi_ac.Plo mv -f .deps/cpufreqd_nforce2.Tpo .deps/cpufreqd_nforce2.Plo /bin/sh ../libtool --tag=CC --mode=link gcc -W -Wall -Wshadow -W -Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings -Wconversion -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wredundant-decls -Wnested-externs -Winline -Wundef -Wbad-function-cast -Waggregate-return -std=c99 -D_POSIX_SOURCE -D_GNU_SOURCE -I.. -Os -fstack-clash-protection -Wformat -Werror=format-security -module -avoid-version -Wl,--as-needed,-O1,--sort-common -Wl,-z,pack-relative-relocs -o cpufreqd_nforce2.la -rpath /usr/lib cpufreqd_nforce2.lo -lpthread mv -f .deps/cpufreq_utils.Tpo .deps/cpufreq_utils.Po cpufreqd_pmu.c: In function 'pmu_init': cpufreqd_pmu.c:118:43: warning: '%s' directive writing up to 254 bytes into a region of size 100 [-Wformat-overflow=] 118 | sprintf(version, "%s - ", val); | ^~ ~~~ cpufreqd_pmu.c:118:25: note: 'sprintf' output between 4 and 258 bytes into a destination of size 100 118 | sprintf(version, "%s - ", val); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mv -f .deps/cpufreqd_apm.Tpo .deps/cpufreqd_apm.Plo /bin/sh ../libtool --tag=CC --mode=link gcc -W -Wall -Wshadow -W -Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings -Wconversion -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wredundant-decls -Wnested-externs -Winline -Wundef -Wbad-function-cast -Waggregate-return -std=c99 -D_POSIX_SOURCE -D_GNU_SOURCE -I.. -Os -fstack-clash-protection -Wformat -Werror=format-security -module -avoid-version -Wl,--as-needed,-O1,--sort-common -Wl,-z,pack-relative-relocs -o cpufreqd_apm.la -rpath /usr/lib cpufreqd_apm.lo -lpthread mv -f .deps/daemon_utils.Tpo .deps/daemon_utils.Po mv -f .deps/cpufreqd_acpi_la-cpufreqd_acpi_event.Tpo .deps/cpufreqd_acpi_la-cpufreqd_acpi_event.Plo cpufreqd_programs.c:312:63: warning: '%s' directive output may be truncated writing up to 255 bytes into a region of size 57 [-Wformat-truncation=] 312 | snprintf(file, PRG_LENGTH - 1, "/proc/%s/cmdline", namelist[n]->d_name); | ^~ cpufreqd_programs.c:312:25: note: 'snprintf' output between 15 and 270 bytes into a destination of size 63 312 | snprintf(file, PRG_LENGTH - 1, "/proc/%s/cmdline", namelist[n]->d_name); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libtool: link: gcc -shared .libs/cpufreqd_nforce2.o -lpthread -Wl,--as-needed -Wl,-O1 -Wl,--sort-common -Wl,-z -Wl,pack-relative-relocs -Wl,-soname -Wl,cpufreqd_nforce2.so -o .libs/cpufreqd_nforce2.so cpufreqd_acpi.c: In function 'get_class_device_attribute': cpufreqd_acpi.c:199:46: warning: 'snprintf' output may be truncated before the last format character [-Wformat-truncation=] 199 | snprintf(path, SYSFS_PATH_MAX, "%s/%s", clsdev->path, attrname); | ^ cpufreqd_acpi.c:199:9: note: 'snprintf' output 2 or more bytes (assuming 257) into a destination of size 256 199 | snprintf(path, SYSFS_PATH_MAX, "%s/%s", clsdev->path, attrname); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libtool: link: gcc -shared .libs/cpufreqd_apm.o -lpthread -Wl,--as-needed -Wl,-O1 -Wl,--sort-common -Wl,-z -Wl,pack-relative-relocs -Wl,-soname -Wl,cpufreqd_apm.so -o .libs/cpufreqd_apm.so mv -f .deps/cpufreqd_pmu.Tpo .deps/cpufreqd_pmu.Plo /bin/sh ../libtool --tag=CC --mode=link gcc -W -Wall -Wshadow -W -Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings -Wconversion -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wredundant-decls -Wnested-externs -Winline -Wundef -Wbad-function-cast -Waggregate-return -std=c99 -D_POSIX_SOURCE -D_GNU_SOURCE -I.. -Os -fstack-clash-protection -Wformat -Werror=format-security -module -avoid-version -Wl,--as-needed,-O1,--sort-common -Wl,-z,pack-relative-relocs -o cpufreqd_pmu.la -rpath /usr/lib cpufreqd_pmu.lo -lpthread libtool: link: ( cd ".libs" && rm -f "cpufreqd_nforce2.la" && ln -s "../cpufreqd_nforce2.la" "cpufreqd_nforce2.la" ) libtool: link: ( cd ".libs" && rm -f "cpufreqd_apm.la" && ln -s "../cpufreqd_apm.la" "cpufreqd_apm.la" ) mv -f .deps/cpufreqd_tau.Tpo .deps/cpufreqd_tau.Plo /bin/sh ../libtool --tag=CC --mode=link gcc -W -Wall -Wshadow -W -Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings -Wconversion -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wredundant-decls -Wnested-externs -Winline -Wundef -Wbad-function-cast -Waggregate-return -std=c99 -D_POSIX_SOURCE -D_GNU_SOURCE -I.. -Os -fstack-clash-protection -Wformat -Werror=format-security -module -avoid-version -Wl,--as-needed,-O1,--sort-common -Wl,-z,pack-relative-relocs -o cpufreqd_tau.la -rpath /usr/lib cpufreqd_tau.lo -lpthread mv -f .deps/cpufreqd_acpi_la-cpufreqd_acpi_temperature.Tpo .deps/cpufreqd_acpi_la-cpufreqd_acpi_temperature.Plo cpufreqd_governor_parameters.c: In function 'set_parameter': cpufreqd_governor_parameters.c:64:50: warning: '/cpu' directive output may be truncated writing 4 bytes into a region of size between 1 and 256 [-Wformat-truncation=] 64 | snprintf(govdev_path, SYSFS_PATH_MAX, "%s/cpu%u/cpufreq/%s", syspath_cpu, cpu, governor); | ^~~~ In function 'open_governor_device', inlined from 'set_parameter' at cpufreqd_governor_parameters.c:103:11: cpufreqd_governor_parameters.c:64:9: note: 'snprintf' output 15 or more bytes (assuming 270) into a destination of size 256 64 | snprintf(govdev_path, SYSFS_PATH_MAX, "%s/cpu%u/cpufreq/%s", syspath_cpu, cpu, governor); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mv -f .deps/cpufreqd_exec_la-cpufreqd_exec.Tpo .deps/cpufreqd_exec_la-cpufreqd_exec.Plo /bin/sh ../libtool --tag=CC --mode=link gcc -W -Wall -Wshadow -W -Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings -Wconversion -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wredundant-decls -Wnested-externs -Winline -Wundef -Wbad-function-cast -Waggregate-return -std=c99 -D_POSIX_SOURCE -D_GNU_SOURCE -I.. -I//usr/include -Os -fstack-clash-protection -Wformat -Werror=format-security -module -avoid-version -L//usr/lib -lpthread -Wl,--as-needed,-O1,--sort-common -Wl,-z,pack-relative-relocs -o cpufreqd_exec.la -rpath /usr/lib cpufreqd_exec_la-cpufreqd_exec.lo -lpthread libtool: link: gcc -shared .libs/cpufreqd_pmu.o -lpthread -Wl,--as-needed -Wl,-O1 -Wl,--sort-common -Wl,-z -Wl,pack-relative-relocs -Wl,-soname -Wl,cpufreqd_pmu.so -o .libs/cpufreqd_pmu.so mv -f .deps/cpufreqd_cpu.Tpo .deps/cpufreqd_cpu.Plo /bin/sh ../libtool --tag=CC --mode=link gcc -W -Wall -Wshadow -W -Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings -Wconversion -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wredundant-decls -Wnested-externs -Winline -Wundef -Wbad-function-cast -Waggregate-return -std=c99 -D_POSIX_SOURCE -D_GNU_SOURCE -I.. -Os -fstack-clash-protection -Wformat -Werror=format-security -module -avoid-version -Wl,--as-needed,-O1,--sort-common -Wl,-z,pack-relative-relocs -o cpufreqd_cpu.la -rpath /usr/lib cpufreqd_cpu.lo -lpthread libtool: link: gcc -shared .libs/cpufreqd_tau.o -lpthread -Wl,--as-needed -Wl,-O1 -Wl,--sort-common -Wl,-z -Wl,pack-relative-relocs -Wl,-soname -Wl,cpufreqd_tau.so -o .libs/cpufreqd_tau.so mv -f .deps/cpufreqd_programs.Tpo .deps/cpufreqd_programs.Plo mv -f .deps/cpufreqd_acpi_la-cpufreqd_acpi.Tpo .deps/cpufreqd_acpi_la-cpufreqd_acpi.Plo /bin/sh ../libtool --tag=CC --mode=link gcc -W -Wall -Wshadow -W -Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings -Wconversion -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wredundant-decls -Wnested-externs -Winline -Wundef -Wbad-function-cast -Waggregate-return -std=c99 -D_POSIX_SOURCE -D_GNU_SOURCE -I.. -Os -fstack-clash-protection -Wformat -Werror=format-security -module -avoid-version -Wl,--as-needed,-O1,--sort-common -Wl,-z,pack-relative-relocs -o cpufreqd_programs.la -rpath /usr/lib cpufreqd_programs.lo -lpthread libtool: link: ( cd ".libs" && rm -f "cpufreqd_pmu.la" && ln -s "../cpufreqd_pmu.la" "cpufreqd_pmu.la" ) mv -f .deps/cpufreqd_acpi_la-cpufreqd_acpi_battery.Tpo .deps/cpufreqd_acpi_la-cpufreqd_acpi_battery.Plo /bin/sh ../libtool --tag=CC --mode=link gcc -W -Wall -Wshadow -W -Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings -Wconversion -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wredundant-decls -Wnested-externs -Winline -Wundef -Wbad-function-cast -Waggregate-return -std=c99 -D_POSIX_SOURCE -D_GNU_SOURCE -I.. -I//usr/include -I/usr/include/sysfs -Os -fstack-clash-protection -Wformat -Werror=format-security -module -avoid-version -L//usr/lib -lpthread -lsysfs -Wl,--as-needed,-O1,--sort-common -Wl,-z,pack-relative-relocs -o cpufreqd_acpi.la -rpath /usr/lib cpufreqd_acpi_la-cpufreqd_acpi.lo cpufreqd_acpi_la-cpufreqd_acpi_ac.lo cpufreqd_acpi_la-cpufreqd_acpi_battery.lo cpufreqd_acpi_la-cpufreqd_acpi_event.lo cpufreqd_acpi_la-cpufreqd_acpi_temperature.lo -lpthread mv -f .deps/plugin_utils.Tpo .deps/plugin_utils.Po mv -f .deps/cpufreqd_governor_parameters_la-cpufreqd_governor_parameters.Tpo .deps/cpufreqd_governor_parameters_la-cpufreqd_governor_parameters.Plo /bin/sh ../libtool --tag=CC --mode=link gcc -W -Wall -Wshadow -W -Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings -Wconversion -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wredundant-decls -Wnested-externs -Winline -Wundef -Wbad-function-cast -Waggregate-return -std=c99 -D_POSIX_SOURCE -D_GNU_SOURCE -I.. -I/usr/include/sysfs -Os -fstack-clash-protection -Wformat -Werror=format-security -module -avoid-version -lsysfs -Wl,--as-needed,-O1,--sort-common -Wl,-z,pack-relative-relocs -o cpufreqd_governor_parameters.la -rpath /usr/lib cpufreqd_governor_parameters_la-cpufreqd_governor_parameters.lo -lpthread libtool: link: gcc -shared .libs/cpufreqd_exec_la-cpufreqd_exec.o -L//usr/lib -lpthread -Wl,--as-needed -Wl,-O1 -Wl,--sort-common -Wl,-z -Wl,pack-relative-relocs -Wl,-soname -Wl,cpufreqd_exec.so -o .libs/cpufreqd_exec.so libtool: link: ( cd ".libs" && rm -f "cpufreqd_tau.la" && ln -s "../cpufreqd_tau.la" "cpufreqd_tau.la" ) libtool: link: gcc -shared .libs/cpufreqd_cpu.o -lpthread -Wl,--as-needed -Wl,-O1 -Wl,--sort-common -Wl,-z -Wl,pack-relative-relocs -Wl,-soname -Wl,cpufreqd_cpu.so -o .libs/cpufreqd_cpu.so libtool: link: ( cd ".libs" && rm -f "cpufreqd_exec.la" && ln -s "../cpufreqd_exec.la" "cpufreqd_exec.la" ) libtool: link: gcc -shared .libs/cpufreqd_programs.o -lpthread -Wl,--as-needed -Wl,-O1 -Wl,--sort-common -Wl,-z -Wl,pack-relative-relocs -Wl,-soname -Wl,cpufreqd_programs.so -o .libs/cpufreqd_programs.so libtool: link: gcc -shared .libs/cpufreqd_acpi_la-cpufreqd_acpi.o .libs/cpufreqd_acpi_la-cpufreqd_acpi_ac.o .libs/cpufreqd_acpi_la-cpufreqd_acpi_battery.o .libs/cpufreqd_acpi_la-cpufreqd_acpi_event.o .libs/cpufreqd_acpi_la-cpufreqd_acpi_temperature.o -L//usr/lib -lsysfs -lpthread -Wl,--as-needed -Wl,-O1 -Wl,--sort-common -Wl,-z -Wl,pack-relative-relocs -Wl,-soname -Wl,cpufreqd_acpi.so -o .libs/cpufreqd_acpi.so libtool: link: ( cd ".libs" && rm -f "cpufreqd_cpu.la" && ln -s "../cpufreqd_cpu.la" "cpufreqd_cpu.la" ) libtool: link: gcc -shared .libs/cpufreqd_governor_parameters_la-cpufreqd_governor_parameters.o -lsysfs -lpthread -Wl,--as-needed -Wl,-O1 -Wl,--sort-common -Wl,-z -Wl,pack-relative-relocs -Wl,-soname -Wl,cpufreqd_governor_parameters.so -o .libs/cpufreqd_governor_parameters.so libtool: link: ( cd ".libs" && rm -f "cpufreqd_programs.la" && ln -s "../cpufreqd_programs.la" "cpufreqd_programs.la" ) libtool: link: ( cd ".libs" && rm -f "cpufreqd_acpi.la" && ln -s "../cpufreqd_acpi.la" "cpufreqd_acpi.la" ) libtool: link: ( cd ".libs" && rm -f "cpufreqd_governor_parameters.la" && ln -s "../cpufreqd_governor_parameters.la" "cpufreqd_governor_parameters.la" ) mv -f .deps/main.Tpo .deps/main.Po mv -f .deps/config_parser.Tpo .deps/config_parser.Po /bin/sh ../libtool --tag=CC --mode=link gcc -W -Wall -Wshadow -W -Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings -Wconversion -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wredundant-decls -Wnested-externs -Winline -Wundef -Wbad-function-cast -Waggregate-return -std=c99 -D_POSIX_SOURCE -D_GNU_SOURCE -I.. -Os -fstack-clash-protection -Wformat -Werror=format-security -export-dynamic -ldl -lcpufreq -Wl,--as-needed,-O1,--sort-common -Wl,-z,pack-relative-relocs -o cpufreqd main.o config_parser.o cpufreqd_log.o daemon_utils.o plugin_utils.o sock_utils.o cpufreq_utils.o list.o -lpthread libtool: link: gcc -W -Wall -Wshadow -W -Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings -Wconversion -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wredundant-decls -Wnested-externs -Winline -Wundef -Wbad-function-cast -Waggregate-return -std=c99 -D_POSIX_SOURCE -D_GNU_SOURCE -I.. -Os -fstack-clash-protection -Wformat -Werror=format-security -Wl,--as-needed -Wl,-O1 -Wl,--sort-common -Wl,-z -Wl,pack-relative-relocs -o cpufreqd main.o config_parser.o cpufreqd_log.o daemon_utils.o plugin_utils.o sock_utils.o cpufreq_utils.o list.o -Wl,--export-dynamic -ldl -lcpufreq -lpthread make[2]: Leaving directory '/home/buildozer/aports/community/cpufreqd/src/cpufreqd-2.4.2/src' Making all in utils make[2]: Entering directory '/home/buildozer/aports/community/cpufreqd/src/cpufreqd-2.4.2/utils' gcc -DHAVE_CONFIG_H -I. -I.. -W -Wall -Wshadow -W -Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings -Wconversion -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wredundant-decls -Wnested-externs -Winline -Wundef -Wbad-function-cast -Waggregate-return -std=c99 -pedantic -D_POSIX_SOURCE -D_GNU_SOURCE -I../src -Os -fstack-clash-protection -Wformat -Werror=format-security -MT setspeed.o -MD -MP -MF .deps/setspeed.Tpo -c -o setspeed.o setspeed.c gcc -DHAVE_CONFIG_H -I. -I.. -W -Wall -Wshadow -W -Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings -Wconversion -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wredundant-decls -Wnested-externs -Winline -Wundef -Wbad-function-cast -Waggregate-return -std=c99 -pedantic -D_POSIX_SOURCE -D_GNU_SOURCE -I../src -Os -fstack-clash-protection -Wformat -Werror=format-security -MT getspeed.o -MD -MP -MF .deps/getspeed.Tpo -c -o getspeed.o getspeed.c setspeed.c: In function 'cpufreqd_dirs': setspeed.c:15:17: warning: implicit declaration of function 'strncmp' [-Wimplicit-function-declaration] 15 | return (strncmp(d->d_name, "cpufreqd-", 9) == 0); | ^~~~~~~ setspeed.c:13:1: note: include '' or provide a declaration of 'strncmp' 12 | #include "cpufreqd_remote.h" +++ |+#include 13 | setspeed.c:15:49: warning: 'strncmp' argument 3 type is 'int' where 'long unsigned int' is expected in a call to built-in function declared without prototype [-Wbuiltin-declaration-mismatch] 15 | return (strncmp(d->d_name, "cpufreqd-", 9) == 0); | ^ : note: built-in 'strncmp' declared here getspeed.c: In function 'cpufreqd_dirs': getspeed.c:16:17: warning: implicit declaration of function 'strncmp' [-Wimplicit-function-declaration] 16 | return (strncmp(d->d_name, "cpufreqd-", 9) == 0); | ^~~~~~~ getspeed.c:14:1: note: include '' or provide a declaration of 'strncmp' 13 | #include "cpufreqd_remote.h" +++ |+#include 14 | getspeed.c:16:49: warning: 'strncmp' argument 3 type is 'int' where 'long unsigned int' is expected in a call to built-in function declared without prototype [-Wbuiltin-declaration-mismatch] 16 | return (strncmp(d->d_name, "cpufreqd-", 9) == 0); | ^ : note: built-in 'strncmp' declared here getspeed.c: In function 'main': getspeed.c:33:27: warning: implicit declaration of function 'strcmp' [-Wimplicit-function-declaration] 33 | if (argc == 2 && !strcmp(argv[1], "-l")) | ^~~~~~ getspeed.c:33:27: note: include '' or provide a declaration of 'strcmp' setspeed.c: In function 'main': setspeed.c:45:66: warning: implicit declaration of function 'strerror'; did you mean 'perror'? [-Wimplicit-function-declaration] 45 | fprintf(stderr, "%s: %s\n", buf, strerror(errno)); | ^~~~~~~~ | perror setspeed.c:45:66: warning: nested extern declaration of 'strerror' [-Wnested-externs] setspeed.c:45:55: warning: format '%s' expects argument of type 'char *', but argument 4 has type 'int' [-Wformat=] 45 | fprintf(stderr, "%s: %s\n", buf, strerror(errno)); | ~^ ~~~~~~~~~~~~~~~ | | | | char * int | %d setspeed.c:64:13: warning: the comparison will always evaluate as 'true' for the address of 'sun_path' will never be NULL [-Waddress] 64 | if (!sck.sun_path) { | ^ In file included from setspeed.c:11: /usr/include/sys/un.h:19:14: note: 'sun_path' declared here 19 | char sun_path[108]; | ^~~~~~~~ setspeed.c:73:14: warning: implicit declaration of function 'strcmp' [-Wimplicit-function-declaration] 73 | if (!strcmp(argv[1], "dynamic")) | ^~~~~~ setspeed.c:73:14: note: include '' or provide a declaration of 'strcmp' getspeed.c:53:66: warning: implicit declaration of function 'strerror'; did you mean 'perror'? [-Wimplicit-function-declaration] 53 | fprintf(stderr, "%s: %s\n", buf, strerror(errno)); | ^~~~~~~~ | perror getspeed.c:53:66: warning: nested extern declaration of 'strerror' [-Wnested-externs] getspeed.c:53:55: warning: format '%s' expects argument of type 'char *', but argument 4 has type 'int' [-Wformat=] 53 | fprintf(stderr, "%s: %s\n", buf, strerror(errno)); | ~^ ~~~~~~~~~~~~~~~ | | | | char * int | %d In file included from setspeed.c:12: ../src/cpufreqd_remote.h:49:33: warning: conversion from 'long int' to 'unsigned int' may change value [-Wconversion] 49 | #define MAKE_COMMAND(cmd, arg) ((cmd << CMD_SHIFT) | arg) | ^ setspeed.c:92:23: note: in expansion of macro 'MAKE_COMMAND' 92 | cmd = MAKE_COMMAND(CMD_SET_PROFILE, n); | ^~~~~~~~~~~~ getspeed.c:72:13: warning: the comparison will always evaluate as 'true' for the address of 'sun_path' will never be NULL [-Waddress] 72 | if (!sck.sun_path) { | ^ In file included from getspeed.c:12: /usr/include/sys/un.h:19:14: note: 'sun_path' declared here 19 | char sun_path[108]; | ^~~~~~~~ getspeed.c:119:30: warning: implicit declaration of function 'strchr' [-Wimplicit-function-declaration] 119 | in = strchr(in, '\n') + 1; | ^~~~~~ getspeed.c:119:30: note: include '' or provide a declaration of 'strchr' getspeed.c:119:30: warning: incompatible implicit declaration of built-in function 'strchr' [-Wbuiltin-declaration-mismatch] getspeed.c:119:30: note: include '' or provide a declaration of 'strchr' getspeed.c:126:30: warning: incompatible implicit declaration of built-in function 'strchr' [-Wbuiltin-declaration-mismatch] 126 | in = strchr(in, '\n') + 1; | ^~~~~~ getspeed.c:126:30: note: include '' or provide a declaration of 'strchr' setspeed.c:42:50: warning: '%s' directive output may be truncated writing up to 255 bytes into a region of size 103 [-Wformat-truncation=] 42 | snprintf(buf, 108, "/tmp/%s", namelist[n]->d_name); | ^~ setspeed.c:42:25: note: 'snprintf' output between 6 and 261 bytes into a destination of size 108 42 | snprintf(buf, 108, "/tmp/%s", namelist[n]->d_name); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ setspeed.c:53:63: warning: '/cpufreqd' directive output may be truncated writing 9 bytes into a region of size between 1 and 108 [-Wformat-truncation=] 53 | snprintf(sck.sun_path, 108,"%s/cpufreqd", buf); | ^~~~~~~~~ setspeed.c:53:33: note: 'snprintf' output between 10 and 117 bytes into a destination of size 108 53 | snprintf(sck.sun_path, 108,"%s/cpufreqd", buf); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ getspeed.c:50:50: warning: '%s' directive output may be truncated writing up to 255 bytes into a region of size 103 [-Wformat-truncation=] 50 | snprintf(buf, 108, "/tmp/%s", namelist[n]->d_name); | ^~ getspeed.c:50:25: note: 'snprintf' output between 6 and 261 bytes into a destination of size 108 50 | snprintf(buf, 108, "/tmp/%s", namelist[n]->d_name); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ getspeed.c:61:61: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size 108 [-Wformat-truncation=] 61 | snprintf(sck.sun_path, 108,"%s/cpufreqd", buf); | ^~ ~~~ getspeed.c:61:33: note: 'snprintf' output between 10 and 4105 bytes into a destination of size 108 61 | snprintf(sck.sun_path, 108,"%s/cpufreqd", buf); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mv -f .deps/setspeed.Tpo .deps/setspeed.Po /bin/sh ../libtool --tag=CC --mode=link gcc -W -Wall -Wshadow -W -Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings -Wconversion -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wredundant-decls -Wnested-externs -Winline -Wundef -Wbad-function-cast -Waggregate-return -std=c99 -pedantic -D_POSIX_SOURCE -D_GNU_SOURCE -I../src -Os -fstack-clash-protection -Wformat -Werror=format-security -Wl,--as-needed,-O1,--sort-common -Wl,-z,pack-relative-relocs -o cpufreqd-set setspeed.o -lpthread mv -f .deps/getspeed.Tpo .deps/getspeed.Po /bin/sh ../libtool --tag=CC --mode=link gcc -W -Wall -Wshadow -W -Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings -Wconversion -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wredundant-decls -Wnested-externs -Winline -Wundef -Wbad-function-cast -Waggregate-return -std=c99 -pedantic -D_POSIX_SOURCE -D_GNU_SOURCE -I../src -Os -fstack-clash-protection -Wformat -Werror=format-security -Wl,--as-needed,-O1,--sort-common -Wl,-z,pack-relative-relocs -o cpufreqd-get getspeed.o -lpthread libtool: link: gcc -W -Wall -Wshadow -W -Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings -Wconversion -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wredundant-decls -Wnested-externs -Winline -Wundef -Wbad-function-cast -Waggregate-return -std=c99 -pedantic -D_POSIX_SOURCE -D_GNU_SOURCE -I../src -Os -fstack-clash-protection -Wformat -Werror=format-security -Wl,--as-needed -Wl,-O1 -Wl,--sort-common -Wl,-z -Wl,pack-relative-relocs -o cpufreqd-set setspeed.o -lpthread libtool: link: gcc -W -Wall -Wshadow -W -Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings -Wconversion -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wredundant-decls -Wnested-externs -Winline -Wundef -Wbad-function-cast -Waggregate-return -std=c99 -pedantic -D_POSIX_SOURCE -D_GNU_SOURCE -I../src -Os -fstack-clash-protection -Wformat -Werror=format-security -Wl,--as-needed -Wl,-O1 -Wl,--sort-common -Wl,-z -Wl,pack-relative-relocs -o cpufreqd-get getspeed.o -lpthread make[2]: Leaving directory '/home/buildozer/aports/community/cpufreqd/src/cpufreqd-2.4.2/utils' Making all in manpages make[2]: Entering directory '/home/buildozer/aports/community/cpufreqd/src/cpufreqd-2.4.2/manpages' make[2]: Nothing to be done for 'all'. make[2]: Leaving directory '/home/buildozer/aports/community/cpufreqd/src/cpufreqd-2.4.2/manpages' make[2]: Entering directory '/home/buildozer/aports/community/cpufreqd/src/cpufreqd-2.4.2' make[2]: Nothing to be done for 'all-am'. make[2]: Leaving directory '/home/buildozer/aports/community/cpufreqd/src/cpufreqd-2.4.2' make[1]: Leaving directory '/home/buildozer/aports/community/cpufreqd/src/cpufreqd-2.4.2' >>> WARNING: cpufreqd: APKBUILD does not run any tests! Alpine policy will soon require that packages have any relevant testsuites run during the build process. To fix, either define a check() function, or declare !check in $options to indicate the package does not have a testsuite. >>> cpufreqd: Entering fakeroot... Making install in src make[1]: Entering directory '/home/buildozer/aports/community/cpufreqd/src/cpufreqd-2.4.2/src' make[2]: Entering directory '/home/buildozer/aports/community/cpufreqd/src/cpufreqd-2.4.2/src' test -z "/usr/lib" || .././install-sh -c -d "/home/buildozer/aports/community/cpufreqd/pkg/cpufreqd/usr/lib" test -z "/usr/sbin" || .././install-sh -c -d "/home/buildozer/aports/community/cpufreqd/pkg/cpufreqd/usr/sbin" make[2]: Nothing to be done for 'install-data-am'. /bin/sh ../libtool --mode=install /usr/bin/install -c cpufreqd_programs.la cpufreqd_cpu.la cpufreqd_acpi.la cpufreqd_nforce2.la cpufreqd_apm.la cpufreqd_pmu.la cpufreqd_exec.la cpufreqd_governor_parameters.la cpufreqd_tau.la '/home/buildozer/aports/community/cpufreqd/pkg/cpufreqd/usr/lib' /bin/sh ../libtool --mode=install /usr/bin/install -c cpufreqd '/home/buildozer/aports/community/cpufreqd/pkg/cpufreqd/usr/sbin' libtool: install: /usr/bin/install -c .libs/cpufreqd_programs.so /home/buildozer/aports/community/cpufreqd/pkg/cpufreqd/usr/lib/cpufreqd_programs.so libtool: install: /usr/bin/install -c .libs/cpufreqd_programs.lai /home/buildozer/aports/community/cpufreqd/pkg/cpufreqd/usr/lib/cpufreqd_programs.la libtool: install: /usr/bin/install -c .libs/cpufreqd_cpu.so /home/buildozer/aports/community/cpufreqd/pkg/cpufreqd/usr/lib/cpufreqd_cpu.so libtool: install: /usr/bin/install -c .libs/cpufreqd_cpu.lai /home/buildozer/aports/community/cpufreqd/pkg/cpufreqd/usr/lib/cpufreqd_cpu.la libtool: install: /usr/bin/install -c cpufreqd /home/buildozer/aports/community/cpufreqd/pkg/cpufreqd/usr/sbin/cpufreqd libtool: install: /usr/bin/install -c .libs/cpufreqd_acpi.so /home/buildozer/aports/community/cpufreqd/pkg/cpufreqd/usr/lib/cpufreqd_acpi.so libtool: install: /usr/bin/install -c .libs/cpufreqd_acpi.lai /home/buildozer/aports/community/cpufreqd/pkg/cpufreqd/usr/lib/cpufreqd_acpi.la libtool: install: /usr/bin/install -c .libs/cpufreqd_nforce2.so /home/buildozer/aports/community/cpufreqd/pkg/cpufreqd/usr/lib/cpufreqd_nforce2.so libtool: install: /usr/bin/install -c .libs/cpufreqd_nforce2.lai /home/buildozer/aports/community/cpufreqd/pkg/cpufreqd/usr/lib/cpufreqd_nforce2.la libtool: install: /usr/bin/install -c .libs/cpufreqd_apm.so /home/buildozer/aports/community/cpufreqd/pkg/cpufreqd/usr/lib/cpufreqd_apm.so libtool: install: /usr/bin/install -c .libs/cpufreqd_apm.lai /home/buildozer/aports/community/cpufreqd/pkg/cpufreqd/usr/lib/cpufreqd_apm.la libtool: install: /usr/bin/install -c .libs/cpufreqd_pmu.so /home/buildozer/aports/community/cpufreqd/pkg/cpufreqd/usr/lib/cpufreqd_pmu.so libtool: install: /usr/bin/install -c .libs/cpufreqd_pmu.lai /home/buildozer/aports/community/cpufreqd/pkg/cpufreqd/usr/lib/cpufreqd_pmu.la libtool: install: /usr/bin/install -c .libs/cpufreqd_exec.so /home/buildozer/aports/community/cpufreqd/pkg/cpufreqd/usr/lib/cpufreqd_exec.so libtool: install: /usr/bin/install -c .libs/cpufreqd_exec.lai /home/buildozer/aports/community/cpufreqd/pkg/cpufreqd/usr/lib/cpufreqd_exec.la libtool: install: /usr/bin/install -c .libs/cpufreqd_governor_parameters.so /home/buildozer/aports/community/cpufreqd/pkg/cpufreqd/usr/lib/cpufreqd_governor_parameters.so libtool: install: /usr/bin/install -c .libs/cpufreqd_governor_parameters.lai /home/buildozer/aports/community/cpufreqd/pkg/cpufreqd/usr/lib/cpufreqd_governor_parameters.la libtool: install: /usr/bin/install -c .libs/cpufreqd_tau.so /home/buildozer/aports/community/cpufreqd/pkg/cpufreqd/usr/lib/cpufreqd_tau.so libtool: install: /usr/bin/install -c .libs/cpufreqd_tau.lai /home/buildozer/aports/community/cpufreqd/pkg/cpufreqd/usr/lib/cpufreqd_tau.la libtool: install: warning: remember to run `libtool --finish /usr/lib' make[2]: Leaving directory '/home/buildozer/aports/community/cpufreqd/src/cpufreqd-2.4.2/src' make[1]: Leaving directory '/home/buildozer/aports/community/cpufreqd/src/cpufreqd-2.4.2/src' Making install in utils make[1]: Entering directory '/home/buildozer/aports/community/cpufreqd/src/cpufreqd-2.4.2/utils' make[2]: Entering directory '/home/buildozer/aports/community/cpufreqd/src/cpufreqd-2.4.2/utils' test -z "/usr/bin" || .././install-sh -c -d "/home/buildozer/aports/community/cpufreqd/pkg/cpufreqd/usr/bin" make[2]: Nothing to be done for 'install-data-am'. /bin/sh ../libtool --mode=install /usr/bin/install -c cpufreqd-set cpufreqd-get '/home/buildozer/aports/community/cpufreqd/pkg/cpufreqd/usr/bin' libtool: install: /usr/bin/install -c cpufreqd-set /home/buildozer/aports/community/cpufreqd/pkg/cpufreqd/usr/bin/cpufreqd-set libtool: install: /usr/bin/install -c cpufreqd-get /home/buildozer/aports/community/cpufreqd/pkg/cpufreqd/usr/bin/cpufreqd-get make[2]: Leaving directory '/home/buildozer/aports/community/cpufreqd/src/cpufreqd-2.4.2/utils' make[1]: Leaving directory '/home/buildozer/aports/community/cpufreqd/src/cpufreqd-2.4.2/utils' Making install in manpages make[1]: Entering directory '/home/buildozer/aports/community/cpufreqd/src/cpufreqd-2.4.2/manpages' make[2]: Entering directory '/home/buildozer/aports/community/cpufreqd/src/cpufreqd-2.4.2/manpages' make[2]: Nothing to be done for 'install-exec-am'. test -z "/usr/share/man/man1" || .././install-sh -c -d "/home/buildozer/aports/community/cpufreqd/pkg/cpufreqd/usr/share/man/man1" test -z "/usr/share/man/man5" || .././install-sh -c -d "/home/buildozer/aports/community/cpufreqd/pkg/cpufreqd/usr/share/man/man5" test -z "/usr/share/man/man8" || .././install-sh -c -d "/home/buildozer/aports/community/cpufreqd/pkg/cpufreqd/usr/share/man/man8" /usr/bin/install -c -m 644 cpufreqd-get.1 cpufreqd-set.1 '/home/buildozer/aports/community/cpufreqd/pkg/cpufreqd/usr/share/man/man1' /usr/bin/install -c -m 644 cpufreqd.8 '/home/buildozer/aports/community/cpufreqd/pkg/cpufreqd/usr/share/man/man8' /usr/bin/install -c -m 644 cpufreqd.conf.5 '/home/buildozer/aports/community/cpufreqd/pkg/cpufreqd/usr/share/man/man5' make[2]: Leaving directory '/home/buildozer/aports/community/cpufreqd/src/cpufreqd-2.4.2/manpages' make[1]: Leaving directory '/home/buildozer/aports/community/cpufreqd/src/cpufreqd-2.4.2/manpages' make[1]: Entering directory '/home/buildozer/aports/community/cpufreqd/src/cpufreqd-2.4.2' make[2]: Entering directory '/home/buildozer/aports/community/cpufreqd/src/cpufreqd-2.4.2' make[2]: Nothing to be done for 'install-exec-am'. if [ -f /home/buildozer/aports/community/cpufreqd/pkg/cpufreqd//etc/cpufreqd.conf ]; then \ echo "** preserving old configuration file **"; \ else \ install -Dm 0644 ./cpufreqd.conf /home/buildozer/aports/community/cpufreqd/pkg/cpufreqd//etc/cpufreqd.conf; \ fi; make[2]: Leaving directory '/home/buildozer/aports/community/cpufreqd/src/cpufreqd-2.4.2' make[1]: Leaving directory '/home/buildozer/aports/community/cpufreqd/src/cpufreqd-2.4.2' >>> cpufreqd-doc*: Running split function doc... >>> cpufreqd-doc*: Preparing subpackage cpufreqd-doc... >>> cpufreqd-doc*: Running postcheck for cpufreqd-doc >>> cpufreqd-openrc*: Running split function openrc... >>> cpufreqd-openrc*: Preparing subpackage cpufreqd-openrc... >>> cpufreqd-openrc*: Running postcheck for cpufreqd-openrc >>> cpufreqd*: Running postcheck for cpufreqd >>> cpufreqd*: Preparing package cpufreqd... >>> cpufreqd*: Stripping binaries >>> cpufreqd-doc*: Scanning shared objects >>> cpufreqd-openrc*: Scanning shared objects >>> cpufreqd*: Scanning shared objects >>> cpufreqd-doc*: Tracing dependencies... >>> cpufreqd-doc*: Package size: 48.0 KB >>> cpufreqd-doc*: Compressing data... >>> cpufreqd-doc*: Create checksum... >>> cpufreqd-doc*: Create cpufreqd-doc-2.4.2-r8.apk >>> cpufreqd-openrc*: Tracing dependencies... >>> cpufreqd-openrc*: Package size: 16.0 KB >>> cpufreqd-openrc*: Compressing data... >>> cpufreqd-openrc*: Create checksum... >>> cpufreqd-openrc*: Create cpufreqd-openrc-2.4.2-r8.apk >>> cpufreqd*: Tracing dependencies... so:libc.musl-ppc64le.so.1 so:libcpufreq.so.0 so:libsysfs.so.2 >>> cpufreqd*: Package size: 844.0 KB >>> cpufreqd*: Compressing data... >>> cpufreqd*: Create checksum... >>> cpufreqd*: Create cpufreqd-2.4.2-r8.apk >>> cpufreqd: Build complete at Sat, 27 Apr 2024 05:24:05 +0000 elapsed time 0h 0m 17s >>> cpufreqd: Cleaning up srcdir >>> cpufreqd: Cleaning up pkgdir >>> cpufreqd: Uninstalling dependencies... (1/5) Purging .makedepends-cpufreqd (20240427.052354) (2/5) Purging cpufrequtils-dev (008-r6) (3/5) Purging cpufrequtils (008-r6) (4/5) Purging sysfsutils-dev (2.1.1-r3) (5/5) Purging sysfsutils (2.1.1-r3) Executing busybox-1.36.1-r26.trigger OK: 414 MiB in 102 packages >>> cpufreqd: Updating the community/ppc64le repository index... >>> cpufreqd: Signing the index...