* Package: sys-power/cpupower-5.4 * Repository: gentoo * Maintainer: floppym@gentoo.org * USE: abi_x86_64 amd64 elibc_glibc kernel_linux nls userland_GNU * FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox >>> Unpacking source... >>> Unpacking linux-5.4.tar.xz to /var/tmp/portage/sys-power/cpupower-5.4/work >>> Source unpacked in /var/tmp/portage/sys-power/cpupower-5.4/work >>> Preparing source in /var/tmp/portage/sys-power/cpupower-5.4/work/linux-5.4 ... * Applying cpupower-5.4-cflags.patch ... [ ok ] >>> Source prepared. >>> Configuring source in /var/tmp/portage/sys-power/cpupower-5.4/work/linux-5.4 ... >>> Source configured. >>> Compiling source in /var/tmp/portage/sys-power/cpupower-5.4/work/linux-5.4 ... make -j1 AR=x86_64-pc-linux-gnu-ar CC=x86_64-pc-linux-gnu-gcc LD=x86_64-pc-linux-gnu-gcc VERSION=5.4 x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-common -DVERSION=\"5.4\" -DPACKAGE=\"cpupower\" -DPACKAGE_BUGREPORT=\"linux-pm@vger.kernel.org\" -D_GNU_SOURCE -pipe -DNLS -Wall -Wchar-subscripts -Wpointer-arith -Wsign-compare -Wno-pointer-sign -Wdeclaration-after-statement -Wshadow -fPIC -o lib/cpufreq.o -c lib/cpufreq.c x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-common -DVERSION=\"5.4\" -DPACKAGE=\"cpupower\" -DPACKAGE_BUGREPORT=\"linux-pm@vger.kernel.org\" -D_GNU_SOURCE -pipe -DNLS -Wall -Wchar-subscripts -Wpointer-arith -Wsign-compare -Wno-pointer-sign -Wdeclaration-after-statement -Wshadow -fPIC -o lib/cpupower.o -c lib/cpupower.c x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-common -DVERSION=\"5.4\" -DPACKAGE=\"cpupower\" -DPACKAGE_BUGREPORT=\"linux-pm@vger.kernel.org\" -D_GNU_SOURCE -pipe -DNLS -Wall -Wchar-subscripts -Wpointer-arith -Wsign-compare -Wno-pointer-sign -Wdeclaration-after-statement -Wshadow -fPIC -o lib/cpuidle.o -c lib/cpuidle.c x86_64-pc-linux-gnu-gcc -shared -O2 -pipe -march=native -fno-common -DVERSION=\"5.4\" -DPACKAGE=\"cpupower\" -DPACKAGE_BUGREPORT=\"linux-pm@vger.kernel.org\" -D_GNU_SOURCE -pipe -DNLS -Wall -Wchar-subscripts -Wpointer-arith -Wsign-compare -Wno-pointer-sign -Wdeclaration-after-statement -Wshadow -Wl,-O1 -Wl,--as-needed -o libcpupower.so.0.0.1 \ -Wl,-soname,libcpupower.so.0 ./lib/cpufreq.o ./lib/cpupower.o ./lib/cpuidle.o x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-common -DVERSION=\"5.4\" -DPACKAGE=\"cpupower\" -DPACKAGE_BUGREPORT=\"linux-pm@vger.kernel.org\" -D_GNU_SOURCE -pipe -DNLS -Wall -Wchar-subscripts -Wpointer-arith -Wsign-compare -Wno-pointer-sign -Wdeclaration-after-statement -Wshadow -I./lib -I ./utils -o utils/helpers/amd.o -c utils/helpers/amd.c x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-common -DVERSION=\"5.4\" -DPACKAGE=\"cpupower\" -DPACKAGE_BUGREPORT=\"linux-pm@vger.kernel.org\" -D_GNU_SOURCE -pipe -DNLS -Wall -Wchar-subscripts -Wpointer-arith -Wsign-compare -Wno-pointer-sign -Wdeclaration-after-statement -Wshadow -I./lib -I ./utils -o utils/helpers/msr.o -c utils/helpers/msr.c x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-common -DVERSION=\"5.4\" -DPACKAGE=\"cpupower\" -DPACKAGE_BUGREPORT=\"linux-pm@vger.kernel.org\" -D_GNU_SOURCE -pipe -DNLS -Wall -Wchar-subscripts -Wpointer-arith -Wsign-compare -Wno-pointer-sign -Wdeclaration-after-statement -Wshadow -I./lib -I ./utils -o utils/helpers/sysfs.o -c utils/helpers/sysfs.c x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-common -DVERSION=\"5.4\" -DPACKAGE=\"cpupower\" -DPACKAGE_BUGREPORT=\"linux-pm@vger.kernel.org\" -D_GNU_SOURCE -pipe -DNLS -Wall -Wchar-subscripts -Wpointer-arith -Wsign-compare -Wno-pointer-sign -Wdeclaration-after-statement -Wshadow -I./lib -I ./utils -o utils/helpers/misc.o -c utils/helpers/misc.c x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-common -DVERSION=\"5.4\" -DPACKAGE=\"cpupower\" -DPACKAGE_BUGREPORT=\"linux-pm@vger.kernel.org\" -D_GNU_SOURCE -pipe -DNLS -Wall -Wchar-subscripts -Wpointer-arith -Wsign-compare -Wno-pointer-sign -Wdeclaration-after-statement -Wshadow -I./lib -I ./utils -o utils/helpers/cpuid.o -c utils/helpers/cpuid.c x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-common -DVERSION=\"5.4\" -DPACKAGE=\"cpupower\" -DPACKAGE_BUGREPORT=\"linux-pm@vger.kernel.org\" -D_GNU_SOURCE -pipe -DNLS -Wall -Wchar-subscripts -Wpointer-arith -Wsign-compare -Wno-pointer-sign -Wdeclaration-after-statement -Wshadow -I./lib -I ./utils -o utils/helpers/pci.o -c utils/helpers/pci.c x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-common -DVERSION=\"5.4\" -DPACKAGE=\"cpupower\" -DPACKAGE_BUGREPORT=\"linux-pm@vger.kernel.org\" -D_GNU_SOURCE -pipe -DNLS -Wall -Wchar-subscripts -Wpointer-arith -Wsign-compare -Wno-pointer-sign -Wdeclaration-after-statement -Wshadow -I./lib -I ./utils -o utils/helpers/bitmask.o -c utils/helpers/bitmask.c x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-common -DVERSION=\"5.4\" -DPACKAGE=\"cpupower\" -DPACKAGE_BUGREPORT=\"linux-pm@vger.kernel.org\" -D_GNU_SOURCE -pipe -DNLS -Wall -Wchar-subscripts -Wpointer-arith -Wsign-compare -Wno-pointer-sign -Wdeclaration-after-statement -Wshadow -I./lib -I ./utils -o utils/idle_monitor/nhm_idle.o -c utils/idle_monitor/nhm_idle.c x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-common -DVERSION=\"5.4\" -DPACKAGE=\"cpupower\" -DPACKAGE_BUGREPORT=\"linux-pm@vger.kernel.org\" -D_GNU_SOURCE -pipe -DNLS -Wall -Wchar-subscripts -Wpointer-arith -Wsign-compare -Wno-pointer-sign -Wdeclaration-after-statement -Wshadow -I./lib -I ./utils -o utils/idle_monitor/snb_idle.o -c utils/idle_monitor/snb_idle.c x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-common -DVERSION=\"5.4\" -DPACKAGE=\"cpupower\" -DPACKAGE_BUGREPORT=\"linux-pm@vger.kernel.org\" -D_GNU_SOURCE -pipe -DNLS -Wall -Wchar-subscripts -Wpointer-arith -Wsign-compare -Wno-pointer-sign -Wdeclaration-after-statement -Wshadow -I./lib -I ./utils -o utils/idle_monitor/hsw_ext_idle.o -c utils/idle_monitor/hsw_ext_idle.c x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-common -DVERSION=\"5.4\" -DPACKAGE=\"cpupower\" -DPACKAGE_BUGREPORT=\"linux-pm@vger.kernel.org\" -D_GNU_SOURCE -pipe -DNLS -Wall -Wchar-subscripts -Wpointer-arith -Wsign-compare -Wno-pointer-sign -Wdeclaration-after-statement -Wshadow -I./lib -I ./utils -o utils/idle_monitor/amd_fam14h_idle.o -c utils/idle_monitor/amd_fam14h_idle.c x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-common -DVERSION=\"5.4\" -DPACKAGE=\"cpupower\" -DPACKAGE_BUGREPORT=\"linux-pm@vger.kernel.org\" -D_GNU_SOURCE -pipe -DNLS -Wall -Wchar-subscripts -Wpointer-arith -Wsign-compare -Wno-pointer-sign -Wdeclaration-after-statement -Wshadow -I./lib -I ./utils -o utils/idle_monitor/cpuidle_sysfs.o -c utils/idle_monitor/cpuidle_sysfs.c x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-common -DVERSION=\"5.4\" -DPACKAGE=\"cpupower\" -DPACKAGE_BUGREPORT=\"linux-pm@vger.kernel.org\" -D_GNU_SOURCE -pipe -DNLS -Wall -Wchar-subscripts -Wpointer-arith -Wsign-compare -Wno-pointer-sign -Wdeclaration-after-statement -Wshadow -I./lib -I ./utils -o utils/idle_monitor/mperf_monitor.o -c utils/idle_monitor/mperf_monitor.c x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-common -DVERSION=\"5.4\" -DPACKAGE=\"cpupower\" -DPACKAGE_BUGREPORT=\"linux-pm@vger.kernel.org\" -D_GNU_SOURCE -pipe -DNLS -Wall -Wchar-subscripts -Wpointer-arith -Wsign-compare -Wno-pointer-sign -Wdeclaration-after-statement -Wshadow -I./lib -I ./utils -o utils/idle_monitor/cpupower-monitor.o -c utils/idle_monitor/cpupower-monitor.c x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-common -DVERSION=\"5.4\" -DPACKAGE=\"cpupower\" -DPACKAGE_BUGREPORT=\"linux-pm@vger.kernel.org\" -D_GNU_SOURCE -pipe -DNLS -Wall -Wchar-subscripts -Wpointer-arith -Wsign-compare -Wno-pointer-sign -Wdeclaration-after-statement -Wshadow -I./lib -I ./utils -o utils/cpupower.o -c utils/cpupower.c x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-common -DVERSION=\"5.4\" -DPACKAGE=\"cpupower\" -DPACKAGE_BUGREPORT=\"linux-pm@vger.kernel.org\" -D_GNU_SOURCE -pipe -DNLS -Wall -Wchar-subscripts -Wpointer-arith -Wsign-compare -Wno-pointer-sign -Wdeclaration-after-statement -Wshadow -I./lib -I ./utils -o utils/cpufreq-info.o -c utils/cpufreq-info.c x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-common -DVERSION=\"5.4\" -DPACKAGE=\"cpupower\" -DPACKAGE_BUGREPORT=\"linux-pm@vger.kernel.org\" -D_GNU_SOURCE -pipe -DNLS -Wall -Wchar-subscripts -Wpointer-arith -Wsign-compare -Wno-pointer-sign -Wdeclaration-after-statement -Wshadow -I./lib -I ./utils -o utils/cpufreq-set.o -c utils/cpufreq-set.c x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-common -DVERSION=\"5.4\" -DPACKAGE=\"cpupower\" -DPACKAGE_BUGREPORT=\"linux-pm@vger.kernel.org\" -D_GNU_SOURCE -pipe -DNLS -Wall -Wchar-subscripts -Wpointer-arith -Wsign-compare -Wno-pointer-sign -Wdeclaration-after-statement -Wshadow -I./lib -I ./utils -o utils/cpupower-set.o -c utils/cpupower-set.c x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-common -DVERSION=\"5.4\" -DPACKAGE=\"cpupower\" -DPACKAGE_BUGREPORT=\"linux-pm@vger.kernel.org\" -D_GNU_SOURCE -pipe -DNLS -Wall -Wchar-subscripts -Wpointer-arith -Wsign-compare -Wno-pointer-sign -Wdeclaration-after-statement -Wshadow -I./lib -I ./utils -o utils/cpupower-info.o -c utils/cpupower-info.c x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-common -DVERSION=\"5.4\" -DPACKAGE=\"cpupower\" -DPACKAGE_BUGREPORT=\"linux-pm@vger.kernel.org\" -D_GNU_SOURCE -pipe -DNLS -Wall -Wchar-subscripts -Wpointer-arith -Wsign-compare -Wno-pointer-sign -Wdeclaration-after-statement -Wshadow -I./lib -I ./utils -o utils/cpuidle-info.o -c utils/cpuidle-info.c x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-common -DVERSION=\"5.4\" -DPACKAGE=\"cpupower\" -DPACKAGE_BUGREPORT=\"linux-pm@vger.kernel.org\" -D_GNU_SOURCE -pipe -DNLS -Wall -Wchar-subscripts -Wpointer-arith -Wsign-compare -Wno-pointer-sign -Wdeclaration-after-statement -Wshadow -I./lib -I ./utils -o utils/cpuidle-set.o -c utils/cpuidle-set.c x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-common -DVERSION=\"5.4\" -DPACKAGE=\"cpupower\" -DPACKAGE_BUGREPORT=\"linux-pm@vger.kernel.org\" -D_GNU_SOURCE -pipe -DNLS -Wall -Wchar-subscripts -Wpointer-arith -Wsign-compare -Wno-pointer-sign -Wdeclaration-after-statement -Wshadow -Wl,-O1 -Wl,--as-needed ./utils/helpers/amd.o ./utils/helpers/msr.o ./utils/helpers/sysfs.o ./utils/helpers/misc.o ./utils/helpers/cpuid.o ./utils/helpers/pci.o ./utils/helpers/bitmask.o ./utils/idle_monitor/nhm_idle.o ./utils/idle_monitor/snb_idle.o ./utils/idle_monitor/hsw_ext_idle.o ./utils/idle_monitor/amd_fam14h_idle.o ./utils/idle_monitor/cpuidle_sysfs.o ./utils/idle_monitor/mperf_monitor.o ./utils/idle_monitor/cpupower-monitor.o ./utils/cpupower.o ./utils/cpufreq-info.o ./utils/cpufreq-set.o ./utils/cpupower-set.o ./utils/cpupower-info.o ./utils/cpuidle-info.o ./utils/cpuidle-set.o -lcpupower -lrt -lpci -L./ -o cpupower /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: ./utils/idle_monitor/snb_idle.o:(.bss+0x0): multiple definition of `cpu_count'; ./utils/idle_monitor/nhm_idle.o:(.bss+0x0): first defined here /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: ./utils/idle_monitor/hsw_ext_idle.o:(.bss+0x0): multiple definition of `cpu_count'; ./utils/idle_monitor/nhm_idle.o:(.bss+0x0): first defined here /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: ./utils/idle_monitor/amd_fam14h_idle.o:(.bss+0x10): multiple definition of `cpu_count'; ./utils/idle_monitor/nhm_idle.o:(.bss+0x0): first defined here /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: ./utils/idle_monitor/cpuidle_sysfs.o:(.bss+0x10): multiple definition of `cpu_count'; ./utils/idle_monitor/nhm_idle.o:(.bss+0x0): first defined here /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: ./utils/idle_monitor/cpuidle_sysfs.o:(.bss+0x0): multiple definition of `start_time'; ./utils/idle_monitor/amd_fam14h_idle.o:(.bss+0x0): first defined here /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: ./utils/idle_monitor/mperf_monitor.o:(.bss+0x0): multiple definition of `cpu_count'; ./utils/idle_monitor/nhm_idle.o:(.bss+0x0): first defined here /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: ./utils/idle_monitor/cpupower-monitor.o:(.bss+0x0): multiple definition of `cpu_count'; ./utils/idle_monitor/nhm_idle.o:(.bss+0x0): first defined here collect2: error: ld returned 1 exit status make: *** [Makefile:211: cpupower] Error 1 * ERROR: sys-power/cpupower-5.4::gentoo failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=sys-power/cpupower-5.4::gentoo'`, * the complete build log and the output of `emerge -pqv '=sys-power/cpupower-5.4::gentoo'`. * The complete build log is located at '/var/log/portage/sys-power:cpupower-5.4:20200130-104819.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/sys-power/cpupower-5.4/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/sys-power/cpupower-5.4/temp/environment'. * Working directory: '/var/tmp/portage/sys-power/cpupower-5.4/work/linux-5.4/tools/power/cpupower' * S: '/var/tmp/portage/sys-power/cpupower-5.4/work/linux-5.4'