<86>Feb 20 00:45:03 userdel[3620448]: delete user 'rooter'
<86>Feb 20 00:45:03 userdel[3620448]: removed group 'rooter' owned by 'rooter'
<86>Feb 20 00:45:03 userdel[3620448]: removed shadow group 'rooter' owned by 'rooter'
<86>Feb 20 00:45:03 groupadd[3620531]: group added to /etc/group: name=rooter, GID=1829
<86>Feb 20 00:45:03 groupadd[3620531]: group added to /etc/gshadow: name=rooter
<86>Feb 20 00:45:03 groupadd[3620531]: new group: name=rooter, GID=1829
<86>Feb 20 00:45:03 useradd[3620593]: new user: name=rooter, UID=1829, GID=1829, home=/root, shell=/bin/bash, from=none
<86>Feb 20 00:45:03 userdel[3620665]: delete user 'builder'
<86>Feb 20 00:45:03 userdel[3620665]: removed group 'builder' owned by 'builder'
<86>Feb 20 00:45:03 userdel[3620665]: removed shadow group 'builder' owned by 'builder'
<86>Feb 20 00:45:03 groupadd[3620732]: group added to /etc/group: name=builder, GID=1830
<86>Feb 20 00:45:03 groupadd[3620732]: group added to /etc/gshadow: name=builder
<86>Feb 20 00:45:03 groupadd[3620732]: new group: name=builder, GID=1830
<86>Feb 20 00:45:03 useradd[3620786]: new user: name=builder, UID=1830, GID=1830, home=/usr/src, shell=/bin/bash, from=none
<13>Feb 20 00:45:06 rpmi: libsysfs2-2.1.1-alt2 sisyphus+322321.400.4.1 1685662738 installed
<13>Feb 20 00:45:06 rpmi: libsensors3-3.6.0-alt3 sisyphus+308579.100.1.1 1666035267 installed
<13>Feb 20 00:45:06 rpmi: libcpufreq-008-alt4 sisyphus+311881.100.1.1 1671243459 installed
<13>Feb 20 00:45:06 rpmi: gcc-c++-common-1.4.27-alt1 sisyphus+278099.1300.1.1 1626028636 installed
<13>Feb 20 00:45:06 rpmi: libstdc++13-devel-13.2.1-alt3 sisyphus+339335.100.1.1 1706563486 installed
<13>Feb 20 00:45:07 rpmi: gcc13-c++-13.2.1-alt3 sisyphus+339335.100.1.1 1706563486 installed
<13>Feb 20 00:45:07 rpmi: gcc-c++-13-alt1 sisyphus+323337.300.1.1 1687267966 installed
<13>Feb 20 00:45:07 rpmi: libcpufreq-devel-008-alt4 sisyphus+311881.100.1.1 1671243459 installed
<13>Feb 20 00:45:07 rpmi: libsensors3-devel-3.6.0-alt3 sisyphus+308579.100.1.1 1666035267 installed
<13>Feb 20 00:45:07 rpmi: libsysfs-devel-2.1.1-alt2 sisyphus+322321.400.4.1 1685662738 installed
Building target platforms: x86_64
Building for target x86_64
Wrote: /usr/src/in/nosrpm/cpufreqd-2.4.3-alt3.nosrc.rpm (w1.gzdio)
Installing cpufreqd-2.4.3-alt3.src.rpm
Building target platforms: x86_64
Building for target x86_64
Executing(%prep): /bin/sh -e /usr/src/tmp/rpm-tmp.24108
+ umask 022
+ /bin/mkdir -p /usr/src/RPM/BUILD
+ cd /usr/src/RPM/BUILD
+ cd /usr/src/RPM/BUILD
+ rm -rf cpufreqd-2.4.3
+ echo 'Source #0 (cpufreqd-2.4.3.tar):'
Source #0 (cpufreqd-2.4.3.tar):
+ /bin/tar -xf /usr/src/RPM/SOURCES/cpufreqd-2.4.3.tar
+ cd cpufreqd-2.4.3
+ /bin/chmod -c -Rf u+rwX,go-w .
+ echo 'Patch #0 (cpufreqd-2.4.3-alt3.patch):'
Patch #0 (cpufreqd-2.4.3-alt3.patch):
+ /usr/bin/patch -p1
patching file .gear/rules
patching file .gear/tags/1c95ed6952981d325dbee9bd5289af13c671da32
patching file .gear/tags/list
patching file cpufreqd.conf
patching file cpufreqd.init.alt
patching file cpufreqd.service
patching file cpufreqd.spec
patching file src/cpufreqd_acpi_battery.c
+ exit 0
Executing(%build): /bin/sh -e /usr/src/tmp/rpm-tmp.24108
+ umask 022
+ /bin/mkdir -p /usr/src/RPM/BUILD
+ cd /usr/src/RPM/BUILD
+ cd cpufreqd-2.4.3
+ aclocal
aclocal-default: warning: autoconf input should be named 'configure.ac', not 'configure.in'
+ libtoolize -c -f
libtoolize-default: putting auxiliary files in '.'.
libtoolize-default: copying file './ltmain.sh'
libtoolize-default: Consider adding 'AC_CONFIG_MACRO_DIRS([m4])' to configure.in,
libtoolize-default: and rerunning libtoolize-default and aclocal.
libtoolize-default: Consider adding '-I m4' to ACLOCAL_AMFLAGS in Makefile.am.
+ aclocal
aclocal-default: warning: autoconf input should be named 'configure.ac', not 'configure.in'
+ autoconf
configure.in:7: warning: 'AM_CONFIG_HEADER': this macro is obsolete.
configure.in:7: You should use the 'AC_CONFIG_HEADERS' macro instead.
./lib/autoconf/general.m4:2434: AC_DIAGNOSE is expanded from...
aclocal.m4:9837: AM_CONFIG_HEADER is expanded from...
configure.in:7: the top level
configure.in:10: warning: The macro `AC_LIBTOOL_DLOPEN' is obsolete.
configure.in:10: You should run autoupdate.
aclocal.m4:8542: AC_LIBTOOL_DLOPEN is expanded from...
configure.in:10: the top level
configure.in:10: warning: AC_LIBTOOL_DLOPEN: Remove this warning and the call to _LT_SET_OPTION when you
configure.in:10: put the 'dlopen' option into LT_INIT's first parameter.
./lib/autoconf/general.m4:2434: AC_DIAGNOSE is expanded from...
aclocal.m4:8542: AC_LIBTOOL_DLOPEN is expanded from...
configure.in:10: the top level
configure.in:13: warning: The macro `AM_PROG_LIBTOOL' is obsolete.
configure.in:13: You should run autoupdate.
aclocal.m4:123: AM_PROG_LIBTOOL is expanded from...
configure.in:13: the top level
configure.in:14: warning: The macro `AC_PROG_LIBTOOL' is obsolete.
configure.in:14: You should run autoupdate.
aclocal.m4:122: AC_PROG_LIBTOOL is expanded from...
configure.in:14: the top level
configure.in:23: warning: The macro `AC_HEADER_STDC' is obsolete.
configure.in:23: You should run autoupdate.
./lib/autoconf/headers.m4:704: AC_HEADER_STDC is expanded from...
configure.in:23: the top level
configure.in:24: warning: The macro `AC_HEADER_TIME' is obsolete.
configure.in:24: You should run autoupdate.
./lib/autoconf/headers.m4:743: AC_HEADER_TIME is expanded from...
configure.in:24: the top level
configure.in:116: warning: all
./lib/autoconf/general.m4:2442: AC_WARNING is expanded from...
configure.in:116: the top level
configure.in:116: warning: The macro `AC_WARNING' is obsolete.
configure.in:116: You should run autoupdate.
./lib/autoconf/general.m4:2442: AC_WARNING is expanded from...
configure.in:116: the top level
configure.in:417: warning: AC_OUTPUT should be used without arguments.
configure.in:417: You should run autoupdate.
+ automake -a -c --foreign
automake-default: warning: autoconf input should be named 'configure.ac', not 'configure.in'
configure.in:13: installing './compile'
configure.in:3: installing './config.guess'
configure.in:3: installing './config.sub'
configure.in:5: installing './install-sh'
configure.in:5: installing './missing'
automake-default: warning: autoconf input should be named 'configure.ac', not 'configure.in'
src/Makefile.am: installing './depcomp'
+ CFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto'
+ export CFLAGS
+ CXXFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto'
+ export CXXFLAGS
+ FFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto'
+ export FFLAGS
+ FCFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto'
+ export FCFLAGS
+ '[' -n '' ']'
++ printf %s '-pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto'
++ sed -r 's/(^|[[:space:]]+)-[^m][^[:space:]]*//g'
+ ASFLAGS=
+ export ASFLAGS
+ export lt_cv_prog_cc_static_works=no
+ lt_cv_prog_cc_static_works=no
+ export lt_cv_deplibs_check_method=pass_all
+ lt_cv_deplibs_check_method=pass_all
+ readlink -e -- ./configure
+ xargs -ri dirname -- '{}'
+ xargs -ri find '{}' -type f '(' -name config.sub -or -name config.guess ')' -printf '%h/\n'
+ sort -u
+ xargs -rn1 install -pm755 -- /usr/share/gnu-config/config.sub /usr/share/gnu-config/config.guess
+ configure_runstatedir_flags=
+ grep -qF runstatedir=DIR ./configure
+ configure_runstatedir_flags=--runstatedir=/var/run
+ ./configure --build=x86_64-alt-linux --host=x86_64-alt-linux --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/lib --localstatedir=/var/lib --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --disable-dependency-tracking --disable-silent-rules --runstatedir=/var/run --without-included-gettext --disable-static --enable-acpi --enable-nforce2 --enable-apm --enable-sensors --enable-pmu --enable-exec --enable-governor-parameters --enable-tau --localstatedir=/var --libdir=/usr/lib64/cpufreqd
configure: WARNING: unrecognized options: --without-included-gettext
checking build system type... x86_64-alt-linux-gnu
checking host system type... x86_64-alt-linux-gnu
checking target system type... x86_64-alt-linux-gnu
checking for a BSD-compatible install... /bin/install -c
checking whether build environment is sane... yes
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 how to print strings... printf
checking whether make supports the include directive... yes (GNU style)
checking for x86_64-alt-linux-gcc... x86_64-alt-linux-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 the compiler supports GNU C... yes
checking whether x86_64-alt-linux-gcc accepts -g... yes
checking for x86_64-alt-linux-gcc option to enable C11 features... none needed
checking whether x86_64-alt-linux-gcc understands -c and -o together... yes
checking dependency style of x86_64-alt-linux-gcc... none
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 x86_64-alt-linux-gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1572864
checking how to convert x86_64-alt-linux-gnu file names to x86_64-alt-linux-gnu format... func_convert_file_noop
checking how to convert x86_64-alt-linux-gnu file names to toolchain format... func_convert_file_noop
checking for /usr/bin/ld option to reload object files... -r
checking for x86_64-alt-linux-file... no
checking for file... file
checking for x86_64-alt-linux-objdump... no
checking for objdump... objdump
checking how to recognize dependent libraries... (cached) pass_all
checking for x86_64-alt-linux-dlltool... no
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for x86_64-alt-linux-ar... no
checking for ar... ar
checking for archiver @FILE support... @
checking for x86_64-alt-linux-strip... no
checking for strip... strip
checking for x86_64-alt-linux-ranlib... no
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from x86_64-alt-linux-gcc object... ok
checking for sysroot... no
checking for a working dd... /bin/dd
checking how to truncate binary pipes... /bin/dd bs=4096 count=1
checking for x86_64-alt-linux-mt... no
checking for mt... no
checking if : is a manifest tool... no
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 sys/time.h... yes
checking for vfork.h... no
checking for dlfcn.h... yes
checking for objdir... .libs
checking if x86_64-alt-linux-gcc supports -fno-rtti -fno-exceptions... no
checking for x86_64-alt-linux-gcc option to produce PIC... -fPIC -DPIC
checking if x86_64-alt-linux-gcc PIC flag -fPIC -DPIC works... yes
checking if x86_64-alt-linux-gcc static flag -static works... no
checking if x86_64-alt-linux-gcc supports -c -o file.o... yes
checking if x86_64-alt-linux-gcc supports -c -o file.o... (cached) yes
checking whether the x86_64-alt-linux-gcc linker (/usr/bin/ld -m elf_x86_64) 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... yes
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 x86_64-alt-linux-gcc... (cached) x86_64-alt-linux-gcc
checking whether the compiler supports GNU C... (cached) yes
checking whether x86_64-alt-linux-gcc accepts -g... (cached) yes
checking for x86_64-alt-linux-gcc option to enable C11 features... (cached) none needed
checking whether x86_64-alt-linux-gcc understands -c and -o together... (cached) yes
checking dependency style of x86_64-alt-linux-gcc... (cached) none
checking for dirent.h that defines DIR... yes
checking for library containing opendir... none required
checking for egrep... (cached) /bin/grep -E
checking for fcntl.h... yes
checking for fnmatch.h... yes
checking for limits.h... yes
checking for syslog.h... yes
checking for unistd.h... (cached) yes
checking for getopt.h... yes
checking for errno.h... yes
checking for sys/types.h... (cached) yes
checking for sys/stat.h... (cached) yes
checking for signal.h... yes
checking for ctype.h... yes
checking for dlfcn.h... (cached) yes
checking for libgen.h... yes
checking for sys/socket.h... yes
checking for sys/un.h... yes
checking for cpufreq.h... yes
checking for an ANSI C-conforming const... yes
checking for pid_t... yes
checking for fork... yes
checking for vfork... yes
checking for vprintf... yes
checking for working fork... yes
checking for working vfork... (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 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 for pthread.h... yes
checking for pthread_create in -lpthread... yes
checking for sensors/sensors.h... yes
checking for sensors_init in -lsensors... yes
checking for sysfs/libsysfs.h... yes
checking for sysfs_open_attribute in -lsysfs... yes
./configure: line 15372: : command not found
checking that generated files are newer than configure... done
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
configure: WARNING: unrecognized options: --without-included-gettext

cpufreqd configuration:
--------------------------------------------------
Compiler:		x86_64-alt-linux-gcc
Enabled plugins:	 cpu programs acpi_event acpi_battery acpi_ac acpi_temperature nforce2 apm pmu sensors exec governor_parameters tau
Disabled plugins:	 nvclock
--------------------------------------------------

+ make -j16
make: Entering directory '/usr/src/RPM/BUILD/cpufreqd-2.4.3'
(CDPATH="${ZSH_VERSION+.}:" && cd . && /bin/sh '/usr/src/RPM/BUILD/cpufreqd-2.4.3/missing' autoheader)
autoheader-default: warning: autoconf input should be named 'configure.ac', not 'configure.in'
rm -f stamp-h1
touch config.h.in
make: Leaving directory '/usr/src/RPM/BUILD/cpufreqd-2.4.3'
make: Entering directory '/usr/src/RPM/BUILD/cpufreqd-2.4.3'
cd . && /bin/sh ./config.status config.h
config.status: creating config.h
make: Leaving directory '/usr/src/RPM/BUILD/cpufreqd-2.4.3'
make  all-recursive
Making all in src
make[2]: Entering directory '/usr/src/RPM/BUILD/cpufreqd-2.4.3/src'
x86_64-alt-linux-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.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o list.o list.c
make[2]: Leaving directory '/usr/src/RPM/BUILD/cpufreqd-2.4.3/src'
make[2]: Entering directory '/usr/src/RPM/BUILD/cpufreqd-2.4.3/src'
x86_64-alt-linux-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.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o cpufreqd_log.o cpufreqd_log.c
make[2]: Leaving directory '/usr/src/RPM/BUILD/cpufreqd-2.4.3/src'
make[2]: Entering directory '/usr/src/RPM/BUILD/cpufreqd-2.4.3/src'
x86_64-alt-linux-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.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o cpufreq_utils.o cpufreq_utils.c
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);
      |                         ^
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);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~
cpufreq_utils.c: In function 'get_cpu_num':
cpufreq_utils.c:111:17: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result]
  111 |                 fgets(line, 255, fp);
      |                 ^~~~~~~~~~~~~~~~~~~~
make[2]: Leaving directory '/usr/src/RPM/BUILD/cpufreqd-2.4.3/src'
make[2]: Entering directory '/usr/src/RPM/BUILD/cpufreqd-2.4.3/src'
x86_64-alt-linux-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.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o daemon_utils.o daemon_utils.c
daemon_utils.c: In function 'daemonize':
daemon_utils.c:148:9: warning: ignoring return value of 'chdir' declared with attribute 'warn_unused_result' [-Wunused-result]
  148 |         chdir("/");
      |         ^~~~~~~~~~
make[2]: Leaving directory '/usr/src/RPM/BUILD/cpufreqd-2.4.3/src'
make[2]: Entering directory '/usr/src/RPM/BUILD/cpufreqd-2.4.3/src'
x86_64-alt-linux-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.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o sock_utils.o sock_utils.c
make[2]: Leaving directory '/usr/src/RPM/BUILD/cpufreqd-2.4.3/src'
make[2]: Entering directory '/usr/src/RPM/BUILD/cpufreqd-2.4.3/src'
x86_64-alt-linux-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.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o plugin_utils.o plugin_utils.c
make[2]: Leaving directory '/usr/src/RPM/BUILD/cpufreqd-2.4.3/src'
make[2]: Entering directory '/usr/src/RPM/BUILD/cpufreqd-2.4.3/src'
x86_64-alt-linux-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.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o config_parser.o config_parser.c
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) {
      |                  ^~~~~~
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;
      |                                                                    ^
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;
      |                                                                   ^~~~~~~~
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);
      |                                                               ^~~~
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);
      |                                                                ^~~~
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;
      |                                                 ^~~~~~~~
config_parser.c: In function 'init_configuration':
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;
      |                     ^~~~~~~~~~~~~
make[2]: Leaving directory '/usr/src/RPM/BUILD/cpufreqd-2.4.3/src'
make[2]: Entering directory '/usr/src/RPM/BUILD/cpufreqd-2.4.3/src'
x86_64-alt-linux-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.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o main.o main.c
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",
      |                                                  ^~~~~~~~
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",
      |                                                  ^~~~~~~~
main.c: In function 'main':
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();
      |                                         ^~~~~~~~~~~~
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();
      |                               ^~~~~~~~~~~
main.c: In function 'execute_command':
main.c:544:41: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result]
  544 |                                         write(sock, buf, buflen);
      |                                         ^~~~~~~~~~~~~~~~~~~~~~~~
main.c:568:41: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result]
  568 |                                         write(sock, buf, buflen);
      |                                         ^~~~~~~~~~~~~~~~~~~~~~~~
make[2]: Leaving directory '/usr/src/RPM/BUILD/cpufreqd-2.4.3/src'
make[2]: Entering directory '/usr/src/RPM/BUILD/cpufreqd-2.4.3/src'
/bin/sh ../libtool  --tag=CC   --mode=compile x86_64-alt-linux-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.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o cpufreqd_nforce2.lo cpufreqd_nforce2.c
libtool: compile:  x86_64-alt-linux-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.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c cpufreqd_nforce2.c  -fPIC -DPIC -o .libs/cpufreqd_nforce2.o
cpufreqd_nforce2.c: In function 'vcore_pre_change':
cpufreqd_nforce2.c:142:28: warning: conversion from 'long unsigned int' to 'unsigned int' may change value [-Wconversion]
  142 |                 cur_freq = cpufreq_get(0);
      |                            ^~~~~~~~~~~
make[2]: Leaving directory '/usr/src/RPM/BUILD/cpufreqd-2.4.3/src'
make[2]: Entering directory '/usr/src/RPM/BUILD/cpufreqd-2.4.3/src'
/bin/sh ../libtool  --tag=CC   --mode=compile x86_64-alt-linux-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 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o cpufreqd_acpi_la-cpufreqd_acpi_ac.lo `test -f 'cpufreqd_acpi_ac.c' || echo './'`cpufreqd_acpi_ac.c
libtool: compile:  x86_64-alt-linux-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 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c cpufreqd_acpi_ac.c  -fPIC -DPIC -o .libs/cpufreqd_acpi_la-cpufreqd_acpi_ac.o
make[2]: Leaving directory '/usr/src/RPM/BUILD/cpufreqd-2.4.3/src'
make[2]: Entering directory '/usr/src/RPM/BUILD/cpufreqd-2.4.3/src'
/bin/sh ../libtool  --tag=CC   --mode=compile x86_64-alt-linux-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 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o cpufreqd_acpi_la-cpufreqd_acpi.lo `test -f 'cpufreqd_acpi.c' || echo './'`cpufreqd_acpi.c
libtool: compile:  x86_64-alt-linux-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 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c cpufreqd_acpi.c  -fPIC -DPIC -o .libs/cpufreqd_acpi_la-cpufreqd_acpi.o
make[2]: Leaving directory '/usr/src/RPM/BUILD/cpufreqd-2.4.3/src'
make[2]: Entering directory '/usr/src/RPM/BUILD/cpufreqd-2.4.3/src'
/bin/sh ../libtool  --tag=CC   --mode=compile x86_64-alt-linux-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.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o cpufreqd_cpu.lo cpufreqd_cpu.c
libtool: compile:  x86_64-alt-linux-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.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c cpufreqd_cpu.c  -fPIC -DPIC -o .libs/cpufreqd_cpu.o
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_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;
      |                                          ^~~~~~
cpufreqd_cpu.c:289:17: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result]
  289 |                 fgets(line, 256, fp);
      |                 ^~~~~~~~~~~~~~~~~~~~
make[2]: Leaving directory '/usr/src/RPM/BUILD/cpufreqd-2.4.3/src'
make[2]: Entering directory '/usr/src/RPM/BUILD/cpufreqd-2.4.3/src'
/bin/sh ../libtool  --tag=CC   --mode=compile x86_64-alt-linux-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 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o cpufreqd_acpi_la-cpufreqd_acpi_temperature.lo `test -f 'cpufreqd_acpi_temperature.c' || echo './'`cpufreqd_acpi_temperature.c
libtool: compile:  x86_64-alt-linux-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 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c cpufreqd_acpi_temperature.c  -fPIC -DPIC -o .libs/cpufreqd_acpi_la-cpufreqd_acpi_temperature.o
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;
      |                            ^
make[2]: Leaving directory '/usr/src/RPM/BUILD/cpufreqd-2.4.3/src'
make[2]: Entering directory '/usr/src/RPM/BUILD/cpufreqd-2.4.3/src'
/bin/sh ../libtool  --tag=CC   --mode=compile x86_64-alt-linux-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.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o cpufreqd_programs.lo cpufreqd_programs.c
libtool: compile:  x86_64-alt-linux-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.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c cpufreqd_programs.c  -fPIC -DPIC -o .libs/cpufreqd_programs.o
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;
      |                             ^~~
make[2]: Leaving directory '/usr/src/RPM/BUILD/cpufreqd-2.4.3/src'
make[2]: Entering directory '/usr/src/RPM/BUILD/cpufreqd-2.4.3/src'
/bin/sh ../libtool  --tag=CC   --mode=compile x86_64-alt-linux-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 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o cpufreqd_acpi_la-cpufreqd_acpi_battery.lo `test -f 'cpufreqd_acpi_battery.c' || echo './'`cpufreqd_acpi_battery.c
libtool: compile:  x86_64-alt-linux-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 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c cpufreqd_acpi_battery.c  -fPIC -DPIC -o .libs/cpufreqd_acpi_la-cpufreqd_acpi_battery.o
cpufreqd_acpi_battery.c: In function 'acpi_battery_update':
cpufreqd_acpi_battery.c:350:83: warning: conversion from '__suseconds_t' {aka 'long int'} to 'double' may change value [-Wconversion]
  350 |         current_time = (double)cinfo->timestamp.tv_sec + (cinfo->timestamp.tv_usec/1000000.0);
      |                                                                                   ^
cpufreqd_acpi_battery.c:394:54: warning: conversion from 'double' to 'int' may change value [-Wfloat-conversion]
  394 |                                 info[i].remaining -= ((float)info[i].present_rate * elapsed_time) / 3600.0;
      |                                                      ^
cpufreqd_acpi_battery.c:398:54: warning: conversion from 'double' to 'int' may change value [-Wfloat-conversion]
  398 |                                 info[i].remaining += ((float)info[i].present_rate * elapsed_time) / 3600.0;
      |                                                      ^
cpufreqd_acpi_battery.c:407:33: warning: conversion from 'double' to 'int' may change value [-Wfloat-conversion]
  407 |                 info[i].level = 100 * (info[i].remaining / (double)info[i].capacity);
      |                                 ^~~
cpufreqd_acpi_battery.c:427:37: warning: conversion from 'double' to 'int' may change value [-Wfloat-conversion]
  427 |                 avg_battery_level = 100 * (total_remaining / (double)total_capacity);
      |                                     ^~~
make[2]: Leaving directory '/usr/src/RPM/BUILD/cpufreqd-2.4.3/src'
make[2]: Entering directory '/usr/src/RPM/BUILD/cpufreqd-2.4.3/src'
/bin/sh ../libtool  --tag=CC   --mode=compile x86_64-alt-linux-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 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o cpufreqd_acpi_la-cpufreqd_acpi_event.lo `test -f 'cpufreqd_acpi_event.c' || echo './'`cpufreqd_acpi_event.c
libtool: compile:  x86_64-alt-linux-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 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c cpufreqd_acpi_event.c  -fPIC -DPIC -o .libs/cpufreqd_acpi_la-cpufreqd_acpi_event.o
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) {
      |                                      ^~~~
make[2]: Leaving directory '/usr/src/RPM/BUILD/cpufreqd-2.4.3/src'
make[2]: Entering directory '/usr/src/RPM/BUILD/cpufreqd-2.4.3/src'
/bin/sh ../libtool  --tag=CC   --mode=compile x86_64-alt-linux-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.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o cpufreqd_apm.lo cpufreqd_apm.c
libtool: compile:  x86_64-alt-linux-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.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c cpufreqd_apm.c  -fPIC -DPIC -o .libs/cpufreqd_apm.o
make[2]: Leaving directory '/usr/src/RPM/BUILD/cpufreqd-2.4.3/src'
make[2]: Entering directory '/usr/src/RPM/BUILD/cpufreqd-2.4.3/src'
/bin/sh ../libtool  --tag=CC   --mode=compile x86_64-alt-linux-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 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o cpufreqd_sensors_la-cpufreqd_sensors.lo `test -f 'cpufreqd_sensors.c' || echo './'`cpufreqd_sensors.c
libtool: compile:  x86_64-alt-linux-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 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c cpufreqd_sensors.c  -fPIC -DPIC -o .libs/cpufreqd_sensors_la-cpufreqd_sensors.o
cpufreqd_sensors.c: In function 'sensors_post_conf':
cpufreqd_sensors.c:67:13: warning: unused variable 'i' [-Wunused-variable]
   67 |         int i;
      |             ^
cpufreqd_sensors.c: At top level:
cpufreqd_sensors.c:55:20: warning: 'default_file_path' defined but not used [-Wunused-variable]
   55 | static const char *default_file_path[] =
      |                    ^~~~~~~~~~~~~~~~~
make[2]: Leaving directory '/usr/src/RPM/BUILD/cpufreqd-2.4.3/src'
make[2]: Entering directory '/usr/src/RPM/BUILD/cpufreqd-2.4.3/src'
/bin/sh ../libtool  --tag=CC   --mode=compile x86_64-alt-linux-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.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o cpufreqd_pmu.lo cpufreqd_pmu.c
libtool: compile:  x86_64-alt-linux-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.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c cpufreqd_pmu.c  -fPIC -DPIC -o .libs/cpufreqd_pmu.o
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);
      |                           ^~~
make[2]: Leaving directory '/usr/src/RPM/BUILD/cpufreqd-2.4.3/src'
make[2]: Entering directory '/usr/src/RPM/BUILD/cpufreqd-2.4.3/src'
/bin/sh ../libtool  --tag=CC   --mode=compile x86_64-alt-linux-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.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o cpufreqd_tau.lo cpufreqd_tau.c
libtool: compile:  x86_64-alt-linux-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.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c cpufreqd_tau.c  -fPIC -DPIC -o .libs/cpufreqd_tau.o
make[2]: Leaving directory '/usr/src/RPM/BUILD/cpufreqd-2.4.3/src'
make[2]: Entering directory '/usr/src/RPM/BUILD/cpufreqd-2.4.3/src'
/bin/sh ../libtool  --tag=CC   --mode=compile x86_64-alt-linux-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 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o cpufreqd_exec_la-cpufreqd_exec.lo `test -f 'cpufreqd_exec.c' || echo './'`cpufreqd_exec.c
libtool: compile:  x86_64-alt-linux-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 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c cpufreqd_exec.c  -fPIC -DPIC -o .libs/cpufreqd_exec_la-cpufreqd_exec.o
make[2]: Leaving directory '/usr/src/RPM/BUILD/cpufreqd-2.4.3/src'
make[2]: Entering directory '/usr/src/RPM/BUILD/cpufreqd-2.4.3/src'
/bin/sh ../libtool  --tag=CC   --mode=compile x86_64-alt-linux-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.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o cpufreqd_governor_parameters_la-cpufreqd_governor_parameters.lo `test -f 'cpufreqd_governor_parameters.c' || echo './'`cpufreqd_governor_parameters.c
libtool: compile:  x86_64-alt-linux-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.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c cpufreqd_governor_parameters.c  -fPIC -DPIC -o .libs/cpufreqd_governor_parameters_la-cpufreqd_governor_parameters.o
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");
      |             ^~~~~~
make[2]: Leaving directory '/usr/src/RPM/BUILD/cpufreqd-2.4.3/src'
make[2]: Entering directory '/usr/src/RPM/BUILD/cpufreqd-2.4.3/src'
/bin/sh ../libtool  --tag=CC   --mode=link x86_64-alt-linux-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.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -module -avoid-version  -o cpufreqd_nforce2.la -rpath /usr/lib64/cpufreqd cpufreqd_nforce2.lo  
libtool: link: x86_64-alt-linux-gcc -shared  -fPIC -DPIC  .libs/cpufreqd_nforce2.o    -g -O2 -flto=auto   -Wl,-soname -Wl,cpufreqd_nforce2.so -o .libs/cpufreqd_nforce2.so
libtool: link: ( cd ".libs" && rm -f "cpufreqd_nforce2.la" && ln -s "../cpufreqd_nforce2.la" "cpufreqd_nforce2.la" )
make[2]: Leaving directory '/usr/src/RPM/BUILD/cpufreqd-2.4.3/src'
make[2]: Entering directory '/usr/src/RPM/BUILD/cpufreqd-2.4.3/src'
/bin/sh ../libtool  --tag=CC   --mode=link x86_64-alt-linux-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.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -module -avoid-version  -o cpufreqd_apm.la -rpath /usr/lib64/cpufreqd cpufreqd_apm.lo  
libtool: link: x86_64-alt-linux-gcc -shared  -fPIC -DPIC  .libs/cpufreqd_apm.o    -g -O2 -flto=auto   -Wl,-soname -Wl,cpufreqd_apm.so -o .libs/cpufreqd_apm.so
libtool: link: ( cd ".libs" && rm -f "cpufreqd_apm.la" && ln -s "../cpufreqd_apm.la" "cpufreqd_apm.la" )
make[2]: Leaving directory '/usr/src/RPM/BUILD/cpufreqd-2.4.3/src'
make[2]: Entering directory '/usr/src/RPM/BUILD/cpufreqd-2.4.3/src'
/bin/sh ../libtool  --tag=CC   --mode=link x86_64-alt-linux-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.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -module -avoid-version  -o cpufreqd_cpu.la -rpath /usr/lib64/cpufreqd cpufreqd_cpu.lo  
libtool: link: x86_64-alt-linux-gcc -shared  -fPIC -DPIC  .libs/cpufreqd_cpu.o    -g -O2 -flto=auto   -Wl,-soname -Wl,cpufreqd_cpu.so -o .libs/cpufreqd_cpu.so
libtool: link: ( cd ".libs" && rm -f "cpufreqd_cpu.la" && ln -s "../cpufreqd_cpu.la" "cpufreqd_cpu.la" )
make[2]: Leaving directory '/usr/src/RPM/BUILD/cpufreqd-2.4.3/src'
make[2]: Entering directory '/usr/src/RPM/BUILD/cpufreqd-2.4.3/src'
/bin/sh ../libtool  --tag=CC   --mode=link x86_64-alt-linux-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.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -module -avoid-version  -o cpufreqd_tau.la -rpath /usr/lib64/cpufreqd cpufreqd_tau.lo  
libtool: link: x86_64-alt-linux-gcc -shared  -fPIC -DPIC  .libs/cpufreqd_tau.o    -g -O2 -flto=auto   -Wl,-soname -Wl,cpufreqd_tau.so -o .libs/cpufreqd_tau.so
libtool: link: ( cd ".libs" && rm -f "cpufreqd_tau.la" && ln -s "../cpufreqd_tau.la" "cpufreqd_tau.la" )
make[2]: Leaving directory '/usr/src/RPM/BUILD/cpufreqd-2.4.3/src'
make[2]: Entering directory '/usr/src/RPM/BUILD/cpufreqd-2.4.3/src'
/bin/sh ../libtool  --tag=CC   --mode=link x86_64-alt-linux-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.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -module -avoid-version  -o cpufreqd_pmu.la -rpath /usr/lib64/cpufreqd cpufreqd_pmu.lo  
libtool: link: x86_64-alt-linux-gcc -shared  -fPIC -DPIC  .libs/cpufreqd_pmu.o    -g -O2 -flto=auto   -Wl,-soname -Wl,cpufreqd_pmu.so -o .libs/cpufreqd_pmu.so
libtool: link: ( cd ".libs" && rm -f "cpufreqd_pmu.la" && ln -s "../cpufreqd_pmu.la" "cpufreqd_pmu.la" )
make[2]: Leaving directory '/usr/src/RPM/BUILD/cpufreqd-2.4.3/src'
make[2]: Entering directory '/usr/src/RPM/BUILD/cpufreqd-2.4.3/src'
/bin/sh ../libtool  --tag=CC   --mode=link x86_64-alt-linux-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 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -module -avoid-version -L//usr/lib -lsensors  -o cpufreqd_sensors.la -rpath /usr/lib64/cpufreqd cpufreqd_sensors_la-cpufreqd_sensors.lo  
libtool: link: x86_64-alt-linux-gcc -shared  -fPIC -DPIC  .libs/cpufreqd_sensors_la-cpufreqd_sensors.o   -L//usr/lib -lsensors  -g -O2 -flto=auto   -Wl,-soname -Wl,cpufreqd_sensors.so -o .libs/cpufreqd_sensors.so
libtool: link: ( cd ".libs" && rm -f "cpufreqd_sensors.la" && ln -s "../cpufreqd_sensors.la" "cpufreqd_sensors.la" )
make[2]: Leaving directory '/usr/src/RPM/BUILD/cpufreqd-2.4.3/src'
make[2]: Entering directory '/usr/src/RPM/BUILD/cpufreqd-2.4.3/src'
/bin/sh ../libtool  --tag=CC   --mode=link x86_64-alt-linux-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 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -module -avoid-version -L//usr/lib -lpthread  -o cpufreqd_exec.la -rpath /usr/lib64/cpufreqd cpufreqd_exec_la-cpufreqd_exec.lo  
libtool: link: x86_64-alt-linux-gcc -shared  -fPIC -DPIC  .libs/cpufreqd_exec_la-cpufreqd_exec.o   -L//usr/lib -lpthread  -g -O2 -flto=auto   -Wl,-soname -Wl,cpufreqd_exec.so -o .libs/cpufreqd_exec.so
libtool: link: ( cd ".libs" && rm -f "cpufreqd_exec.la" && ln -s "../cpufreqd_exec.la" "cpufreqd_exec.la" )
make[2]: Leaving directory '/usr/src/RPM/BUILD/cpufreqd-2.4.3/src'
make[2]: Entering directory '/usr/src/RPM/BUILD/cpufreqd-2.4.3/src'
/bin/sh ../libtool  --tag=CC   --mode=link x86_64-alt-linux-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.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -module -avoid-version -lsysfs  -o cpufreqd_governor_parameters.la -rpath /usr/lib64/cpufreqd cpufreqd_governor_parameters_la-cpufreqd_governor_parameters.lo  
libtool: link: x86_64-alt-linux-gcc -shared  -fPIC -DPIC  .libs/cpufreqd_governor_parameters_la-cpufreqd_governor_parameters.o   -lsysfs  -g -O2 -flto=auto   -Wl,-soname -Wl,cpufreqd_governor_parameters.so -o .libs/cpufreqd_governor_parameters.so
libtool: link: ( cd ".libs" && rm -f "cpufreqd_governor_parameters.la" && ln -s "../cpufreqd_governor_parameters.la" "cpufreqd_governor_parameters.la" )
make[2]: Leaving directory '/usr/src/RPM/BUILD/cpufreqd-2.4.3/src'
make[2]: Entering directory '/usr/src/RPM/BUILD/cpufreqd-2.4.3/src'
/bin/sh ../libtool  --tag=CC   --mode=link x86_64-alt-linux-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.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -module -avoid-version  -o cpufreqd_programs.la -rpath /usr/lib64/cpufreqd cpufreqd_programs.lo  
libtool: link: x86_64-alt-linux-gcc -shared  -fPIC -DPIC  .libs/cpufreqd_programs.o    -g -O2 -flto=auto   -Wl,-soname -Wl,cpufreqd_programs.so -o .libs/cpufreqd_programs.so
libtool: link: ( cd ".libs" && rm -f "cpufreqd_programs.la" && ln -s "../cpufreqd_programs.la" "cpufreqd_programs.la" )
make[2]: Leaving directory '/usr/src/RPM/BUILD/cpufreqd-2.4.3/src'
make[2]: Entering directory '/usr/src/RPM/BUILD/cpufreqd-2.4.3/src'
/bin/sh ../libtool  --tag=CC   --mode=link x86_64-alt-linux-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 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -module -avoid-version -L//usr/lib -lpthread -lsysfs  -o cpufreqd_acpi.la -rpath /usr/lib64/cpufreqd 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  
libtool: link: x86_64-alt-linux-gcc -shared  -fPIC -DPIC  .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 -lpthread -lsysfs  -g -O2 -flto=auto   -Wl,-soname -Wl,cpufreqd_acpi.so -o .libs/cpufreqd_acpi.so
libtool: link: ( cd ".libs" && rm -f "cpufreqd_acpi.la" && ln -s "../cpufreqd_acpi.la" "cpufreqd_acpi.la" )
make[2]: Leaving directory '/usr/src/RPM/BUILD/cpufreqd-2.4.3/src'
make[2]: Entering directory '/usr/src/RPM/BUILD/cpufreqd-2.4.3/src'
/bin/sh ../libtool  --tag=CC   --mode=link x86_64-alt-linux-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.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -export-dynamic  -ldl -lcpufreq  -o cpufreqd main.o config_parser.o cpufreqd_log.o daemon_utils.o plugin_utils.o sock_utils.o cpufreq_utils.o list.o  
libtool: link: x86_64-alt-linux-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.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -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
make[2]: Leaving directory '/usr/src/RPM/BUILD/cpufreqd-2.4.3/src'
Making all in utils
make[2]: Entering directory '/usr/src/RPM/BUILD/cpufreqd-2.4.3/utils'
x86_64-alt-linux-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 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o setspeed.o setspeed.c
setspeed.c: In function 'main':
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:32:10: note: 'sun_path' declared here
   32 |     char sun_path[108];         /* Path name.  */
      |          ^~~~~~~~
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);
      |                       ^~~~~~~~~~~~
make[2]: Leaving directory '/usr/src/RPM/BUILD/cpufreqd-2.4.3/utils'
make[2]: Entering directory '/usr/src/RPM/BUILD/cpufreqd-2.4.3/utils'
x86_64-alt-linux-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 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o getspeed.o getspeed.c
getspeed.c: In function 'main':
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:32:10: note: 'sun_path' declared here
   32 |     char sun_path[108];         /* Path name.  */
      |          ^~~~~~~~
make[2]: Leaving directory '/usr/src/RPM/BUILD/cpufreqd-2.4.3/utils'
make[2]: Entering directory '/usr/src/RPM/BUILD/cpufreqd-2.4.3/utils'
/bin/sh ../libtool  --tag=CC   --mode=link x86_64-alt-linux-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 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto   -o cpufreqd-set setspeed.o  
libtool: link: x86_64-alt-linux-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 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -o cpufreqd-set setspeed.o 
make[2]: Leaving directory '/usr/src/RPM/BUILD/cpufreqd-2.4.3/utils'
make[2]: Entering directory '/usr/src/RPM/BUILD/cpufreqd-2.4.3/utils'
/bin/sh ../libtool  --tag=CC   --mode=link x86_64-alt-linux-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 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto   -o cpufreqd-get getspeed.o  
libtool: link: x86_64-alt-linux-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 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -o cpufreqd-get getspeed.o 
make[2]: Leaving directory '/usr/src/RPM/BUILD/cpufreqd-2.4.3/utils'
Making all in manpages
make[2]: Nothing to be done for 'all'.
+ exit 0
Executing(%install): /bin/sh -e /usr/src/tmp/rpm-tmp.64567
+ umask 022
+ /bin/mkdir -p /usr/src/RPM/BUILD
+ cd /usr/src/RPM/BUILD
+ /bin/chmod -Rf u+rwX -- /usr/src/tmp/cpufreqd-buildroot
+ :
+ /bin/rm -rf -- /usr/src/tmp/cpufreqd-buildroot
+ PATH=/usr/libexec/rpm-build:/usr/src/bin:/bin:/usr/bin:/usr/X11R6/bin:/usr/games
+ cd cpufreqd-2.4.3
+ make DESTDIR=/usr/src/tmp/cpufreqd-buildroot install
make: Entering directory '/usr/src/RPM/BUILD/cpufreqd-2.4.3'
Making install in src
make[1]: Entering directory '/usr/src/RPM/BUILD/cpufreqd-2.4.3/src'
make[2]: Entering directory '/usr/src/RPM/BUILD/cpufreqd-2.4.3/src'
 /bin/mkdir -p '/usr/src/tmp/cpufreqd-buildroot/usr/lib64/cpufreqd'
 /bin/sh ../libtool   --mode=install /bin/install -c   cpufreqd_programs.la cpufreqd_cpu.la cpufreqd_acpi.la cpufreqd_nforce2.la cpufreqd_apm.la cpufreqd_pmu.la cpufreqd_sensors.la cpufreqd_exec.la cpufreqd_governor_parameters.la cpufreqd_tau.la '/usr/src/tmp/cpufreqd-buildroot/usr/lib64/cpufreqd'
libtool: install: /bin/install -c .libs/cpufreqd_programs.so /usr/src/tmp/cpufreqd-buildroot/usr/lib64/cpufreqd/cpufreqd_programs.so
libtool: install: /bin/install -c .libs/cpufreqd_programs.lai /usr/src/tmp/cpufreqd-buildroot/usr/lib64/cpufreqd/cpufreqd_programs.la
libtool: install: /bin/install -c .libs/cpufreqd_cpu.so /usr/src/tmp/cpufreqd-buildroot/usr/lib64/cpufreqd/cpufreqd_cpu.so
libtool: install: /bin/install -c .libs/cpufreqd_cpu.lai /usr/src/tmp/cpufreqd-buildroot/usr/lib64/cpufreqd/cpufreqd_cpu.la
libtool: install: /bin/install -c .libs/cpufreqd_acpi.so /usr/src/tmp/cpufreqd-buildroot/usr/lib64/cpufreqd/cpufreqd_acpi.so
libtool: install: /bin/install -c .libs/cpufreqd_acpi.lai /usr/src/tmp/cpufreqd-buildroot/usr/lib64/cpufreqd/cpufreqd_acpi.la
libtool: install: /bin/install -c .libs/cpufreqd_nforce2.so /usr/src/tmp/cpufreqd-buildroot/usr/lib64/cpufreqd/cpufreqd_nforce2.so
libtool: install: /bin/install -c .libs/cpufreqd_nforce2.lai /usr/src/tmp/cpufreqd-buildroot/usr/lib64/cpufreqd/cpufreqd_nforce2.la
libtool: install: /bin/install -c .libs/cpufreqd_apm.so /usr/src/tmp/cpufreqd-buildroot/usr/lib64/cpufreqd/cpufreqd_apm.so
libtool: install: /bin/install -c .libs/cpufreqd_apm.lai /usr/src/tmp/cpufreqd-buildroot/usr/lib64/cpufreqd/cpufreqd_apm.la
libtool: install: /bin/install -c .libs/cpufreqd_pmu.so /usr/src/tmp/cpufreqd-buildroot/usr/lib64/cpufreqd/cpufreqd_pmu.so
libtool: install: /bin/install -c .libs/cpufreqd_pmu.lai /usr/src/tmp/cpufreqd-buildroot/usr/lib64/cpufreqd/cpufreqd_pmu.la
libtool: install: /bin/install -c .libs/cpufreqd_sensors.so /usr/src/tmp/cpufreqd-buildroot/usr/lib64/cpufreqd/cpufreqd_sensors.so
libtool: install: /bin/install -c .libs/cpufreqd_sensors.lai /usr/src/tmp/cpufreqd-buildroot/usr/lib64/cpufreqd/cpufreqd_sensors.la
libtool: install: /bin/install -c .libs/cpufreqd_exec.so /usr/src/tmp/cpufreqd-buildroot/usr/lib64/cpufreqd/cpufreqd_exec.so
libtool: install: /bin/install -c .libs/cpufreqd_exec.lai /usr/src/tmp/cpufreqd-buildroot/usr/lib64/cpufreqd/cpufreqd_exec.la
libtool: install: /bin/install -c .libs/cpufreqd_governor_parameters.so /usr/src/tmp/cpufreqd-buildroot/usr/lib64/cpufreqd/cpufreqd_governor_parameters.so
libtool: install: /bin/install -c .libs/cpufreqd_governor_parameters.lai /usr/src/tmp/cpufreqd-buildroot/usr/lib64/cpufreqd/cpufreqd_governor_parameters.la
libtool: install: /bin/install -c .libs/cpufreqd_tau.so /usr/src/tmp/cpufreqd-buildroot/usr/lib64/cpufreqd/cpufreqd_tau.so
libtool: install: /bin/install -c .libs/cpufreqd_tau.lai /usr/src/tmp/cpufreqd-buildroot/usr/lib64/cpufreqd/cpufreqd_tau.la
libtool: warning: remember to run 'libtool --finish /usr/lib64/cpufreqd'
 /bin/mkdir -p '/usr/src/tmp/cpufreqd-buildroot/usr/sbin'
  /bin/sh ../libtool   --mode=install /bin/install -c cpufreqd '/usr/src/tmp/cpufreqd-buildroot/usr/sbin'
libtool: install: /bin/install -c cpufreqd /usr/src/tmp/cpufreqd-buildroot/usr/sbin/cpufreqd
make[2]: Nothing to be done for 'install-data-am'.
make[2]: Leaving directory '/usr/src/RPM/BUILD/cpufreqd-2.4.3/src'
make[1]: Leaving directory '/usr/src/RPM/BUILD/cpufreqd-2.4.3/src'
Making install in utils
make[1]: Entering directory '/usr/src/RPM/BUILD/cpufreqd-2.4.3/utils'
make[2]: Entering directory '/usr/src/RPM/BUILD/cpufreqd-2.4.3/utils'
 /bin/mkdir -p '/usr/src/tmp/cpufreqd-buildroot/usr/bin'
  /bin/sh ../libtool   --mode=install /bin/install -c cpufreqd-set cpufreqd-get '/usr/src/tmp/cpufreqd-buildroot/usr/bin'
libtool: install: /bin/install -c cpufreqd-set /usr/src/tmp/cpufreqd-buildroot/usr/bin/cpufreqd-set
libtool: install: /bin/install -c cpufreqd-get /usr/src/tmp/cpufreqd-buildroot/usr/bin/cpufreqd-get
make[2]: Nothing to be done for 'install-data-am'.
make[2]: Leaving directory '/usr/src/RPM/BUILD/cpufreqd-2.4.3/utils'
make[1]: Leaving directory '/usr/src/RPM/BUILD/cpufreqd-2.4.3/utils'
Making install in manpages
make[1]: Entering directory '/usr/src/RPM/BUILD/cpufreqd-2.4.3/manpages'
make[2]: Entering directory '/usr/src/RPM/BUILD/cpufreqd-2.4.3/manpages'
make[2]: Nothing to be done for 'install-exec-am'.
 /bin/mkdir -p '/usr/src/tmp/cpufreqd-buildroot/usr/share/man/man1'
 /bin/install -c -m 644 cpufreqd-get.1 cpufreqd-set.1 '/usr/src/tmp/cpufreqd-buildroot/usr/share/man/man1'
 /bin/mkdir -p '/usr/src/tmp/cpufreqd-buildroot/usr/share/man/man5'
 /bin/install -c -m 644 cpufreqd.conf.5 '/usr/src/tmp/cpufreqd-buildroot/usr/share/man/man5'
 /bin/mkdir -p '/usr/src/tmp/cpufreqd-buildroot/usr/share/man/man8'
 /bin/install -c -m 644 cpufreqd.8 '/usr/src/tmp/cpufreqd-buildroot/usr/share/man/man8'
make[2]: Leaving directory '/usr/src/RPM/BUILD/cpufreqd-2.4.3/manpages'
make[1]: Leaving directory '/usr/src/RPM/BUILD/cpufreqd-2.4.3/manpages'
make[1]: Entering directory '/usr/src/RPM/BUILD/cpufreqd-2.4.3'
make[2]: Entering directory '/usr/src/RPM/BUILD/cpufreqd-2.4.3'
make[2]: Nothing to be done for 'install-exec-am'.
if [ -f /usr/src/tmp/cpufreqd-buildroot//etc/cpufreqd.conf ]; then \
 echo "** preserving old configuration file **"; \
else \
 install -Dm 0644 ./cpufreqd.conf /usr/src/tmp/cpufreqd-buildroot//etc/cpufreqd.conf; \
fi;
make[2]: Leaving directory '/usr/src/RPM/BUILD/cpufreqd-2.4.3'
make[1]: Leaving directory '/usr/src/RPM/BUILD/cpufreqd-2.4.3'
make: Leaving directory '/usr/src/RPM/BUILD/cpufreqd-2.4.3'
+ install -d /usr/src/tmp/cpufreqd-buildroot/etc/rc.d/init.d /usr/src/tmp/cpufreqd-buildroot/lib/systemd/system
+ install /usr/src/RPM/SOURCES/cpufreqd.init.alt /usr/src/tmp/cpufreqd-buildroot/etc/rc.d/init.d/cpufreqd
+ install /usr/src/RPM/SOURCES/cpufreqd.service /usr/src/tmp/cpufreqd-buildroot/lib/systemd/system/cpufreqd.service
+ rm -f /usr/src/tmp/cpufreqd-buildroot/usr/lib64/cpufreqd/cpufreqd_acpi.la /usr/src/tmp/cpufreqd-buildroot/usr/lib64/cpufreqd/cpufreqd_apm.la /usr/src/tmp/cpufreqd-buildroot/usr/lib64/cpufreqd/cpufreqd_cpu.la /usr/src/tmp/cpufreqd-buildroot/usr/lib64/cpufreqd/cpufreqd_exec.la /usr/src/tmp/cpufreqd-buildroot/usr/lib64/cpufreqd/cpufreqd_governor_parameters.la /usr/src/tmp/cpufreqd-buildroot/usr/lib64/cpufreqd/cpufreqd_nforce2.la /usr/src/tmp/cpufreqd-buildroot/usr/lib64/cpufreqd/cpufreqd_pmu.la /usr/src/tmp/cpufreqd-buildroot/usr/lib64/cpufreqd/cpufreqd_programs.la /usr/src/tmp/cpufreqd-buildroot/usr/lib64/cpufreqd/cpufreqd_sensors.la /usr/src/tmp/cpufreqd-buildroot/usr/lib64/cpufreqd/cpufreqd_tau.la
+ /usr/lib/rpm/brp-alt
Cleaning files in /usr/src/tmp/cpufreqd-buildroot (auto)
mode of './usr/lib64/cpufreqd/cpufreqd_tau.so' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--)
mode of './usr/lib64/cpufreqd/cpufreqd_governor_parameters.so' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--)
mode of './usr/lib64/cpufreqd/cpufreqd_exec.so' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--)
mode of './usr/lib64/cpufreqd/cpufreqd_sensors.so' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--)
mode of './usr/lib64/cpufreqd/cpufreqd_pmu.so' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--)
mode of './usr/lib64/cpufreqd/cpufreqd_apm.so' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--)
mode of './usr/lib64/cpufreqd/cpufreqd_nforce2.so' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--)
mode of './usr/lib64/cpufreqd/cpufreqd_acpi.so' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--)
mode of './usr/lib64/cpufreqd/cpufreqd_cpu.so' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--)
mode of './usr/lib64/cpufreqd/cpufreqd_programs.so' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--)
Verifying and fixing files in /usr/src/tmp/cpufreqd-buildroot (binconfig,pkgconfig,libtool,desktop,gnuconfig)
Checking contents of files in /usr/src/tmp/cpufreqd-buildroot/ (default)
Compressing files in /usr/src/tmp/cpufreqd-buildroot (auto)
Verifying systemd units in /usr/src/tmp/cpufreqd-buildroot
044-verify-unit.brp: bad permissions on "/lib/systemd/system/cpufreqd.service": -rwxr-xr-x
error: Bad exit status from /usr/src/tmp/rpm-tmp.64567 (%install)


RPM build errors:
    Bad exit status from /usr/src/tmp/rpm-tmp.64567 (%install)
Command exited with non-zero status 1
6.87user 4.40system 0:06.84elapsed 164%CPU (0avgtext+0avgdata 41068maxresident)k
0inputs+0outputs (0major+1315778minor)pagefaults 0swaps
hsh-rebuild: rebuild of `cpufreqd-2.4.3-alt3.src.rpm' failed.
Command exited with non-zero status 1
2.94user 1.47system 0:13.67elapsed 32%CPU (0avgtext+0avgdata 129152maxresident)k
240inputs+0outputs (0major+199875minor)pagefaults 0swaps