* Package: sys-power/powertop-1.98 * Repository: gentoo * Maintainer: mobile@gentoo.org * USE: elibc_glibc kernel_linux unicode userland_GNU x86 * FEATURES: preserve-libs sandbox splitdebug * Applying powertop-1.98-build.patch ... [ ok ] * Applying powertop-1.98-build-cc.patch ... [ ok ] i686-pc-linux-gnu-gcc -o csstoh csstoh.c i686-pc-linux-gnu-gcc -O2 -march=native -pipe -ggdb -Wall -Wshadow -Wformat -DCONFIG_LIBNL20 -I/usr/include/libnl3 -Wall -c -o tuning/iw.o tuning/iw.c xgettext -C -s -k_ -o po/powertop.pot *.cpp */*.cpp *.h */*.h ./csstoh powertop.css css.h CC lib.cpp i686-pc-linux-gnu-gcc -O2 -march=native -pipe -ggdb -Wall -Wshadow -Wformat -DCONFIG_LIBNL20 -I/usr/include/libnl3 -c -o lib.o lib.cpp CC main.cpp i686-pc-linux-gnu-gcc -O2 -march=native -pipe -ggdb -Wall -Wshadow -Wformat -DCONFIG_LIBNL20 -I/usr/include/libnl3 -c -o main.o main.cpp CC display.cpp i686-pc-linux-gnu-gcc -O2 -march=native -pipe -ggdb -Wall -Wshadow -Wformat -DCONFIG_LIBNL20 -I/usr/include/libnl3 -c -o display.o display.cpp main.cpp: In function 'int main(int, char**)': main.cpp:234:57: warning: ignoring return value of 'int system(const char*)', declared with attribute warn_unused_result [-Wunused-result] main.cpp:235:47: warning: ignoring return value of 'int system(const char*)', declared with attribute warn_unused_result [-Wunused-result] main.cpp:236:76: warning: ignoring return value of 'int system(const char*)', declared with attribute warn_unused_result [-Wunused-result] CC html.cpp i686-pc-linux-gnu-gcc -O2 -march=native -pipe -ggdb -Wall -Wshadow -Wformat -DCONFIG_LIBNL20 -I/usr/include/libnl3 -c -o html.o html.cpp CC devlist.cpp i686-pc-linux-gnu-gcc -O2 -march=native -pipe -ggdb -Wall -Wshadow -Wformat -DCONFIG_LIBNL20 -I/usr/include/libnl3 -c -o devlist.o devlist.cpp CC cpu/cpu.cpp i686-pc-linux-gnu-gcc -O2 -march=native -pipe -ggdb -Wall -Wshadow -Wformat -DCONFIG_LIBNL20 -I/usr/include/libnl3 -c -o cpu/cpu.o cpu/cpu.cpp CC cpu/abstract_cpu.cpp i686-pc-linux-gnu-gcc -O2 -march=native -pipe -ggdb -Wall -Wshadow -Wformat -DCONFIG_LIBNL20 -I/usr/include/libnl3 -c -o cpu/abstract_cpu.o cpu/abstract_cpu.cpp CC cpu/cpu_linux.cpp i686-pc-linux-gnu-gcc -O2 -march=native -pipe -ggdb -Wall -Wshadow -Wformat -DCONFIG_LIBNL20 -I/usr/include/libnl3 -c -o cpu/cpu_linux.o cpu/cpu_linux.cpp CC cpu/cpu_core.cpp i686-pc-linux-gnu-gcc -O2 -march=native -pipe -ggdb -Wall -Wshadow -Wformat -DCONFIG_LIBNL20 -I/usr/include/libnl3 -c -o cpu/cpu_core.o cpu/cpu_core.cpp CC cpu/cpu_package.cpp i686-pc-linux-gnu-gcc -O2 -march=native -pipe -ggdb -Wall -Wshadow -Wformat -DCONFIG_LIBNL20 -I/usr/include/libnl3 -c -o cpu/cpu_package.o cpu/cpu_package.cpp CC cpu/intel_cpus.cpp i686-pc-linux-gnu-gcc -O2 -march=native -pipe -ggdb -Wall -Wshadow -Wformat -DCONFIG_LIBNL20 -I/usr/include/libnl3 -c -o cpu/intel_cpus.o cpu/intel_cpus.cpp CC perf/perf.cpp i686-pc-linux-gnu-gcc -O2 -march=native -pipe -ggdb -Wall -Wshadow -Wformat -DCONFIG_LIBNL20 -I/usr/include/libnl3 -c -o perf/perf.o perf/perf.cpp CC perf/perf_bundle.cpp i686-pc-linux-gnu-gcc -O2 -march=native -pipe -ggdb -Wall -Wshadow -Wformat -DCONFIG_LIBNL20 -I/usr/include/libnl3 -c -o perf/perf_bundle.o perf/perf_bundle.cpp CC process/process.cpp i686-pc-linux-gnu-gcc -O2 -march=native -pipe -ggdb -Wall -Wshadow -Wformat -DCONFIG_LIBNL20 -I/usr/include/libnl3 -c -o process/process.o process/process.cpp CC process/do_process.cpp i686-pc-linux-gnu-gcc -O2 -march=native -pipe -ggdb -Wall -Wshadow -Wformat -DCONFIG_LIBNL20 -I/usr/include/libnl3 -c -o process/do_process.o process/do_process.cpp CC process/interrupt.cpp i686-pc-linux-gnu-gcc -O2 -march=native -pipe -ggdb -Wall -Wshadow -Wformat -DCONFIG_LIBNL20 -I/usr/include/libnl3 -c -o process/interrupt.o process/interrupt.cpp CC process/timer.cpp i686-pc-linux-gnu-gcc -O2 -march=native -pipe -ggdb -Wall -Wshadow -Wformat -DCONFIG_LIBNL20 -I/usr/include/libnl3 -c -o process/timer.o process/timer.cpp process/do_process.cpp: In function 'void process_process_data()': process/do_process.cpp:864:15: warning: unused variable 'i' [-Wunused-variable] process/do_process.cpp: In function 'void end_process_data()': process/do_process.cpp:923:15: warning: unused variable 'i' [-Wunused-variable] CC process/work.cpp i686-pc-linux-gnu-gcc -O2 -march=native -pipe -ggdb -Wall -Wshadow -Wformat -DCONFIG_LIBNL20 -I/usr/include/libnl3 -c -o process/work.o process/work.cpp CC process/powerconsumer.cpp i686-pc-linux-gnu-gcc -O2 -march=native -pipe -ggdb -Wall -Wshadow -Wformat -DCONFIG_LIBNL20 -I/usr/include/libnl3 -c -o process/powerconsumer.o process/powerconsumer.cpp CC process/device.cpp i686-pc-linux-gnu-gcc -O2 -march=native -pipe -ggdb -Wall -Wshadow -Wformat -DCONFIG_LIBNL20 -I/usr/include/libnl3 -c -o process/device.o process/device.cpp CC devices/device.cpp i686-pc-linux-gnu-gcc -O2 -march=native -pipe -ggdb -Wall -Wshadow -Wformat -DCONFIG_LIBNL20 -I/usr/include/libnl3 -c -o devices/device.o devices/device.cpp CC devices/backlight.cpp i686-pc-linux-gnu-gcc -O2 -march=native -pipe -ggdb -Wall -Wshadow -Wformat -DCONFIG_LIBNL20 -I/usr/include/libnl3 -c -o devices/backlight.o devices/backlight.cpp CC devices/usb.cpp i686-pc-linux-gnu-gcc -O2 -march=native -pipe -ggdb -Wall -Wshadow -Wformat -DCONFIG_LIBNL20 -I/usr/include/libnl3 -c -o devices/usb.o devices/usb.cpp CC devices/ahci.cpp i686-pc-linux-gnu-gcc -O2 -march=native -pipe -ggdb -Wall -Wshadow -Wformat -DCONFIG_LIBNL20 -I/usr/include/libnl3 -c -o devices/ahci.o devices/ahci.cpp CC devices/alsa.cpp i686-pc-linux-gnu-gcc -O2 -march=native -pipe -ggdb -Wall -Wshadow -Wformat -DCONFIG_LIBNL20 -I/usr/include/libnl3 -c -o devices/alsa.o devices/alsa.cpp CC devices/rfkill.cpp i686-pc-linux-gnu-gcc -O2 -march=native -pipe -ggdb -Wall -Wshadow -Wformat -DCONFIG_LIBNL20 -I/usr/include/libnl3 -c -o devices/rfkill.o devices/rfkill.cpp CC devices/i915-gpu.cpp i686-pc-linux-gnu-gcc -O2 -march=native -pipe -ggdb -Wall -Wshadow -Wformat -DCONFIG_LIBNL20 -I/usr/include/libnl3 -c -o devices/i915-gpu.o devices/i915-gpu.cpp CC devices/thinkpad-fan.cpp i686-pc-linux-gnu-gcc -O2 -march=native -pipe -ggdb -Wall -Wshadow -Wformat -DCONFIG_LIBNL20 -I/usr/include/libnl3 -c -o devices/thinkpad-fan.o devices/thinkpad-fan.cpp CC devices/network.cpp i686-pc-linux-gnu-gcc -O2 -march=native -pipe -ggdb -Wall -Wshadow -Wformat -DCONFIG_LIBNL20 -I/usr/include/libnl3 -c -o devices/network.o devices/network.cpp CC devices/thinkpad-light.cpp i686-pc-linux-gnu-gcc -O2 -march=native -pipe -ggdb -Wall -Wshadow -Wformat -DCONFIG_LIBNL20 -I/usr/include/libnl3 -c -o devices/thinkpad-light.o devices/thinkpad-light.cpp CC devices/runtime_pm.cpp i686-pc-linux-gnu-gcc -O2 -march=native -pipe -ggdb -Wall -Wshadow -Wformat -DCONFIG_LIBNL20 -I/usr/include/libnl3 -c -o devices/runtime_pm.o devices/runtime_pm.cpp CC measurement/measurement.cpp i686-pc-linux-gnu-gcc -O2 -march=native -pipe -ggdb -Wall -Wshadow -Wformat -DCONFIG_LIBNL20 -I/usr/include/libnl3 -c -o measurement/measurement.o measurement/measurement.cpp measurement/measurement.cpp: In function 'void extech_power_meter(const char*)': measurement/measurement.cpp:121:7: warning: unused variable 'dir' [-Wunused-variable] measurement/measurement.cpp:122:17: warning: unused variable 'entry' [-Wunused-variable] CC measurement/acpi.cpp i686-pc-linux-gnu-gcc -O2 -march=native -pipe -ggdb -Wall -Wshadow -Wformat -DCONFIG_LIBNL20 -I/usr/include/libnl3 -c -o measurement/acpi.o measurement/acpi.cpp CC measurement/extech.cpp i686-pc-linux-gnu-gcc -O2 -march=native -pipe -ggdb -Wall -Wshadow -Wformat -DCONFIG_LIBNL20 -I/usr/include/libnl3 -c -o measurement/extech.o measurement/extech.cpp CC parameters/parameters.cpp i686-pc-linux-gnu-gcc -O2 -march=native -pipe -ggdb -Wall -Wshadow -Wformat -DCONFIG_LIBNL20 -I/usr/include/libnl3 -c -o parameters/parameters.o parameters/parameters.cpp measurement/extech.cpp: In member function 'void extech_power_meter::measure()': measurement/extech.cpp:289:6: warning: variable 'ret' set but not used [-Wunused-but-set-variable] measurement/extech.cpp: At global scope: measurement/extech.cpp:65:21: warning: 'device' defined but not used [-Wunused-variable] CC parameters/learn.cpp i686-pc-linux-gnu-gcc -O2 -march=native -pipe -ggdb -Wall -Wshadow -Wformat -DCONFIG_LIBNL20 -I/usr/include/libnl3 -c -o parameters/learn.o parameters/learn.cpp CC parameters/persistent.cpp i686-pc-linux-gnu-gcc -O2 -march=native -pipe -ggdb -Wall -Wshadow -Wformat -DCONFIG_LIBNL20 -I/usr/include/libnl3 -c -o parameters/persistent.o parameters/persistent.cpp CC calibrate/calibrate.cpp i686-pc-linux-gnu-gcc -O2 -march=native -pipe -ggdb -Wall -Wshadow -Wformat -DCONFIG_LIBNL20 -I/usr/include/libnl3 -c -o calibrate/calibrate.o calibrate/calibrate.cpp CC tuning/tuning.cpp i686-pc-linux-gnu-gcc -O2 -march=native -pipe -ggdb -Wall -Wshadow -Wformat -DCONFIG_LIBNL20 -I/usr/include/libnl3 -c -o tuning/tuning.o tuning/tuning.cpp calibrate/calibrate.cpp: In function 'void idle_calibration()': calibrate/calibrate.cpp:422:51: warning: ignoring return value of 'int system(const char*)', declared with attribute warn_unused_result [-Wunused-result] calibrate/calibrate.cpp:424:50: warning: ignoring return value of 'int system(const char*)', declared with attribute warn_unused_result [-Wunused-result] calibrate/calibrate.cpp: In function 'void* burn_disk(void*)': calibrate/calibrate.cpp:303:29: warning: ignoring return value of 'ssize_t write(int, const void*, size_t)', declared with attribute warn_unused_result [-Wunused-result] calibrate/calibrate.cpp: In function 'void backlight_calibration()': calibrate/calibrate.cpp:414:51: warning: ignoring return value of 'int system(const char*)', declared with attribute warn_unused_result [-Wunused-result] calibrate/calibrate.cpp:416:50: warning: ignoring return value of 'int system(const char*)', declared with attribute warn_unused_result [-Wunused-result] CC tuning/tunable.cpp i686-pc-linux-gnu-gcc -O2 -march=native -pipe -ggdb -Wall -Wshadow -Wformat -DCONFIG_LIBNL20 -I/usr/include/libnl3 -c -o tuning/tunable.o tuning/tunable.cpp CC tuning/sysfs.cpp i686-pc-linux-gnu-gcc -O2 -march=native -pipe -ggdb -Wall -Wshadow -Wformat -DCONFIG_LIBNL20 -I/usr/include/libnl3 -c -o tuning/sysfs.o tuning/sysfs.cpp CC tuning/usb.cpp i686-pc-linux-gnu-gcc -O2 -march=native -pipe -ggdb -Wall -Wshadow -Wformat -DCONFIG_LIBNL20 -I/usr/include/libnl3 -c -o tuning/usb.o tuning/usb.cpp CC tuning/runtime.cpp i686-pc-linux-gnu-gcc -O2 -march=native -pipe -ggdb -Wall -Wshadow -Wformat -DCONFIG_LIBNL20 -I/usr/include/libnl3 -c -o tuning/runtime.o tuning/runtime.cpp CC tuning/bluetooth.cpp i686-pc-linux-gnu-gcc -O2 -march=native -pipe -ggdb -Wall -Wshadow -Wformat -DCONFIG_LIBNL20 -I/usr/include/libnl3 -c -o tuning/bluetooth.o tuning/bluetooth.cpp tuning/bluetooth.cpp: In member function 'virtual void bt_tunable::toggle()': tuning/bluetooth.cpp:177:55: warning: ignoring return value of 'int system(const char*)', declared with attribute warn_unused_result [-Wunused-result] tuning/bluetooth.cpp:180:54: warning: ignoring return value of 'int system(const char*)', declared with attribute warn_unused_result [-Wunused-result] CC tuning/cpufreq.cpp i686-pc-linux-gnu-gcc -O2 -march=native -pipe -ggdb -Wall -Wshadow -Wformat -DCONFIG_LIBNL20 -I/usr/include/libnl3 -c -o tuning/cpufreq.o tuning/cpufreq.cpp CC tuning/ethernet.cpp i686-pc-linux-gnu-gcc -O2 -march=native -pipe -ggdb -Wall -Wshadow -Wformat -DCONFIG_LIBNL20 -I/usr/include/libnl3 -c -o tuning/ethernet.o tuning/ethernet.cpp CC tuning/wifi.cpp i686-pc-linux-gnu-gcc -O2 -march=native -pipe -ggdb -Wall -Wshadow -Wformat -DCONFIG_LIBNL20 -I/usr/include/libnl3 -c -o tuning/wifi.o tuning/wifi.cpp tuning/cpufreq.cpp: In member function 'virtual void cpufreq_tunable::toggle()': tuning/cpufreq.cpp:117:60: warning: ignoring return value of 'int system(const char*)', declared with attribute warn_unused_result [-Wunused-result] i686-pc-linux-gnu-g++ -O2 -march=native -pipe -ggdb -Wall -Wshadow -Wformat -DCONFIG_LIBNL20 -I/usr/include/libnl3 -Wl,-O1 -Wl,--sort-common -Wl,--as-needed lib.o main.o display.o html.o devlist.o cpu/cpu.o cpu/abstract_cpu.o cpu/cpu_linux.o cpu/cpu_core.o cpu/cpu_package.o cpu/intel_cpus.o cpu/cpudevice.cpp perf/perf.o perf/perf_bundle.o process/process.o process/do_process.o process/interrupt.o process/timer.o process/work.o process/powerconsumer.o process/device.o devices/device.o devices/backlight.o devices/usb.o devices/ahci.o devices/alsa.o devices/rfkill.o devices/i915-gpu.o devices/thinkpad-fan.o devices/network.o devices/thinkpad-light.o devices/runtime_pm.o measurement/measurement.o measurement/acpi.o measurement/extech.o parameters/parameters.o parameters/learn.o parameters/persistent.o calibrate/calibrate.o tuning/tuning.o tuning/tunable.o tuning/sysfs.o tuning/usb.o tuning/runtime.o tuning/bluetooth.o tuning/cpufreq.o tuning/ethernet.o tuning/iw.o tuning/wifi.o -lnl-genl -lnl-3 -lpthread -lncursesw -lpci -lz -lresolv -o powertop cpu/cpudevice.cpp: In constructor 'cpudevice::cpudevice(const char*, const char*, abstract_cpu*)': cpu/cpudevice.cpp:32:94: warning: declaration of 'device_name' shadows a member of 'this' [-Wshadow] cpu/cpudevice.cpp: In member function 'virtual double cpudevice::power_usage(result_bundle*, parameter_bundle*)': cpu/cpudevice.cpp:48:9: warning: declaration of 'utilization' shadows a member of 'this' [-Wshadow] cpu/cpudevice.cpp: In member function 'virtual double cpudevice::utilization()': cpu/cpudevice.cpp:66:9: warning: declaration of 'utilization' shadows a member of 'this' [-Wshadow] /usr/lib/gcc/i686-pc-linux-gnu/4.6.2/../../../../i686-pc-linux-gnu/bin/ld: cannot find -lnl-genl collect2: ld returned 1 exit status make: *** [powertop] Error 1 * ERROR: sys-power/powertop-1.98 failed (compile phase): * emake failed * * If you need support, post the output of 'emerge --info =sys-power/powertop-1.98', * the complete build log and the output of 'emerge -pqv =sys-power/powertop-1.98'. * The complete build log is located at '/var/tmp/portage/sys-power/powertop-1.98/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/sys-power/powertop-1.98/temp/environment'. * S: '/var/tmp/portage/sys-power/powertop-1.98/work/powertop-1.98'