Problem compiling the package. Probable cause: lm_sensors-3.0.2 (cd .libs && rm -f cpufreqd_nvclock.la && ln -s ../cpufreqd_nvclock.la cpufreqd_nvclock.la) /bin/sh ../libtool --tag=CC --mode=compile x86_64-pc-linux-gnu-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 -march=nocona -O2 -pipe -MT cpufreqd_sensors_la-cpufreqd_sensors.lo -MD -MP -MF .deps/cpufreqd_sensors_la-cpufreqd_sensors.Tpo -c -o cpufreqd_sensors_la-cpufreqd_sensors.lo `test -f 'cpufreqd_sensors.c' || echo './'`cpufreqd_sensors.c x86_64-pc-linux-gnu-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 -march=nocona -O2 -pipe -MT cpufreqd_sensors_la-cpufreqd_sensors.lo -MD -MP -MF .deps/cpufreqd_sensors_la-cpufreqd_sensors.Tpo -c cpufreqd_sensors.c -fPIC -DPIC -o .libs/cpufreqd_sensors_la-cpufreqd_sensors.o cpufreqd_sensors.c:29: error: expected ':', ',', ';', '}' or '__attribute__' before '*' token cpufreqd_sensors.c: In function 'sensors_exit': cpufreqd_sensors.c:104: error: 'struct sensors_monitor' has no member named 'next' cpufreqd_sensors.c: In function 'sensors_get': cpufreqd_sensors.c:136: warning: implicit declaration of function 'sensors_get_feature' cpufreqd_sensors.c:136: warning: nested extern declaration of 'sensors_get_feature' cpufreqd_sensors.c:136: error: 'struct sensors_monitor' has no member named 'feat' cpufreqd_sensors.c:136: error: 'struct sensors_monitor' has no member named 'value' cpufreqd_sensors.c:137: error: 'struct sensors_monitor' has no member named 'feat' cpufreqd_sensors.c:137: error: 'struct sensors_monitor' has no member named 'value' cpufreqd_sensors.c:138: error: 'struct sensors_monitor' has no member named 'next' cpufreqd_sensors.c: In function 'validate_feature_name': cpufreqd_sensors.c:149: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token cpufreqd_sensors.c:149: error: 'feat' undeclared (first use in this function) cpufreqd_sensors.c:149: error: (Each undeclared identifier is reported only once cpufreqd_sensors.c:149: error: for each function it appears in.) cpufreqd_sensors.c:156: error: 'struct sensors_monitor' has no member named 'feat' cpufreqd_sensors.c:156: error: 'struct sensors_monitor' has no member named 'feat' cpufreqd_sensors.c:156: error: 'struct sensors_monitor' has no member named 'feat' cpufreqd_sensors.c:156: error: 'struct sensors_monitor' has no member named 'feat' cpufreqd_sensors.c:156: error: 'struct sensors_monitor' has no member named 'feat' cpufreqd_sensors.c:156: error: 'struct sensors_monitor' has no member named 'feat' cpufreqd_sensors.c:156: error: 'struct sensors_monitor' has no member named 'feat' cpufreqd_sensors.c:156: error: 'struct sensors_monitor' has no member named 'feat' cpufreqd_sensors.c:156: error: 'struct sensors_monitor' has no member named 'feat' cpufreqd_sensors.c:156: error: 'struct sensors_monitor' has no member named 'feat' cpufreqd_sensors.c:156: error: 'struct sensors_monitor' has no member named 'feat' cpufreqd_sensors.c:156: error: 'struct sensors_monitor' has no member named 'feat' cpufreqd_sensors.c:156: error: 'struct sensors_monitor' has no member named 'feat' cpufreqd_sensors.c:156: error: 'struct sensors_monitor' has no member named 'feat' cpufreqd_sensors.c:156: error: 'struct sensors_monitor' has no member named 'feat' cpufreqd_sensors.c:156: error: 'struct sensors_monitor' has no member named 'feat' cpufreqd_sensors.c:156: error: 'struct sensors_monitor' has no member named 'feat' cpufreqd_sensors.c:156: error: 'struct sensors_monitor' has no member named 'feat' cpufreqd_sensors.c:156: error: 'struct sensors_monitor' has no member named 'feat' cpufreqd_sensors.c:156: error: 'struct sensors_monitor' has no member named 'feat' cpufreqd_sensors.c:156: error: 'struct sensors_monitor' has no member named 'feat' cpufreqd_sensors.c:156: error: 'struct sensors_monitor' has no member named 'feat' cpufreqd_sensors.c:156: error: 'struct sensors_monitor' has no member named 'feat' cpufreqd_sensors.c:159: error: 'struct sensors_monitor' has no member named 'next' cpufreqd_sensors.c:163: warning: passing argument 1 of 'sensors_get_detected_chips' from incompatible pointer type cpufreqd_sensors.c:163: error: too few arguments to function 'sensors_get_detected_chips' cpufreqd_sensors.c:165: warning: implicit declaration of function 'sensors_get_all_features' cpufreqd_sensors.c:165: warning: nested extern declaration of 'sensors_get_all_features' cpufreqd_sensors.c:167: error: 'SENSORS_NO_MAPPING' undeclared (first use in this function) cpufreqd_sensors.c:179: error: 'struct sensors_monitor' has no member named 'feat' cpufreqd_sensors.c:180: error: 'struct sensors_monitor' has no member named 'next' cpufreqd_sensors.c:184: error: 'struct sensors_monitor' has no member named 'next' cpufreqd_sensors.c:185: error: 'struct sensors_monitor' has no member named 'next' cpufreqd_sensors.c:187: error: 'struct sensors_monitor' has no member named 'next' cpufreqd_sensors.c: In function 'sensor_evaluate': cpufreqd_sensors.c:239: error: 'struct sensors_monitor' has no member named 'value' cpufreqd_sensors.c:242: error: 'struct sensors_monitor' has no member named 'value' cpufreqd_sensors.c:242: error: 'struct sensors_monitor' has no member named 'value' make[1]: *** [cpufreqd_sensors_la-cpufreqd_sensors.lo] Error 1 make[1]: Leaving directory `/var/tmp/portage/sys-power/cpufreqd-2.2.1/work/cpufreqd-2.2.1/src' make: *** [install-recursive] Error 1 * * ERROR: sys-power/cpufreqd-2.2.1 failed. * Call stack: * ebuild.sh, line 49: Called src_install * environment, line 2841: Called die * The specific snippet of code: * make DESTDIR="${D}" install || die "make install failed"; * The die message: * make install failed Reproducible: Always
Created attachment 169984 [details] Complete build.log
Created attachment 169986 [details] emerge --info
you most likely have lm_sensors-3* installed, which is not supported by cpufreqd, see http://www.linux.it/~malattia/wiki/index.php/Cpufreqd [...] libsensors3 (not ported to libsensors4 yet) [...]
Created attachment 170247 [details, diff] cpufreqd-2.2.1 lm_sensors dependency patch
(In reply to comment #3) > you most likely have lm_sensors-3* installed, which is not supported by > cpufreqd, see > http://www.linux.it/~malattia/wiki/index.php/Cpufreqd > [...] > libsensors3 (not ported to libsensors4 yet) > [...] > Yes, I've mentioned that I have lm_sensors-3.0.2. Thanks for the info.
(In reply to comment #5) > (In reply to comment #3) > > you most likely have lm_sensors-3* installed, which is not supported by > > cpufreqd, see > > http://www.linux.it/~malattia/wiki/index.php/Cpufreqd > > [...] > > libsensors3 (not ported to libsensors4 yet) > > [...] > > > > Yes, I've mentioned that I have lm_sensors-3.0.2. Thanks for the info. > No problem compiling with 2.10.7
I confirm that the patch submitted in comment #4 does The Right Thing, and cpufreqd-2.2.1 will compile against lm_sensors-2.10.7. So is there any interest in patching, bumping, and closing this? And is there any word on when/how we might be able to build against lm_sensors-3?
comitted to cvs. thanks