* Package: sys-apps/x86info-1.30 * Repository: gentoo * Maintainer: robbat2@gentoo.org base-system@gentoo.org * USE: abi_x86_64 amd64 elibc_musl kernel_linux userland_GNU * FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox * Determining the location of the kernel source code * Found kernel source directory: * /usr/src/linux * Found sources for kernel version: * 5.5.9-gentoo * Checking for suitable kernel configuration options... [ ok ] * Using python2.7 to build >>> Unpacking source... >>> Unpacking x86info-1.30.tgz to /var/tmp/portage/sys-apps/x86info-1.30/work >>> Source unpacked in /var/tmp/portage/sys-apps/x86info-1.30/work >>> Preparing source in /var/tmp/portage/sys-apps/x86info-1.30/work/x86info-1.30 ... * Applying 1.21-pic.patch ... patching file bench/benchmarks.c Hunk #1 succeeded at 19 with fuzz 2. [ ok ] * Applying x86info-1.24-pic.patch ... patching file cpuid.c Hunk #1 succeeded at 70 with fuzz 2 (offset 8 lines). [ ok ] * Applying x86info-1.29-parallel-make-cleanup.patch ... patching file Makefile Hunk #1 succeeded at 13 with fuzz 1 (offset 1 line). [ ok ] * Applying x86info-1.30-fix-build-system.patch ... [ ok ] >>> Source prepared. >>> Configuring source in /var/tmp/portage/sys-apps/x86info-1.30/work/x86info-1.30 ... >>> Source configured. >>> Compiling source in /var/tmp/portage/sys-apps/x86info-1.30/work/x86info-1.30 ... make -j1 x86info lsmsr x86_64-gentoo-linux-musl-gcc -O2 -pipe -march=native -fno-common -falign-functions=32:25:16 -Wall -Wshadow -Wextra -Wmissing-declarations -Wdeclaration-after-statement -Wredundant-decls -c -o AMD/identify.o AMD/identify.c AMD/identify.c: In function ‘Identify_AMD’: AMD/identify.c:45:38: warning: ‘ (’ directive output may be truncated writing 2 bytes into a region of size between 1 and 80 [-Wformat-truncation=] 45 | snprintf(c->name, CPU_NAME_LEN, "%s (%s)", s, r->rev); | ^~ AMD/identify.c:45:3: note: ‘snprintf’ output 4 or more bytes (assuming 83) into a destination of size 80 45 | snprintf(c->name, CPU_NAME_LEN, "%s (%s)", s, r->rev); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ x86_64-gentoo-linux-musl-gcc -O2 -pipe -march=native -fno-common -falign-functions=32:25:16 -Wall -Wshadow -Wextra -Wmissing-declarations -Wdeclaration-after-statement -Wredundant-decls -c -o AMD/machine_check.o AMD/machine_check.c x86_64-gentoo-linux-musl-gcc -O2 -pipe -march=native -fno-common -falign-functions=32:25:16 -Wall -Wshadow -Wextra -Wmissing-declarations -Wdeclaration-after-statement -Wredundant-decls -c -o AMD/MSR-Athlon.o AMD/MSR-Athlon.c x86_64-gentoo-linux-musl-gcc -O2 -pipe -march=native -fno-common -falign-functions=32:25:16 -Wall -Wshadow -Wextra -Wmissing-declarations -Wdeclaration-after-statement -Wredundant-decls -c -o AMD/MSR-K6.o AMD/MSR-K6.c x86_64-gentoo-linux-musl-gcc -O2 -pipe -march=native -fno-common -falign-functions=32:25:16 -Wall -Wshadow -Wextra -Wmissing-declarations -Wdeclaration-after-statement -Wredundant-decls -c -o AMD/powernow.o AMD/powernow.c AMD/powernow.c: In function ‘get_main_pll_fid’: AMD/powernow.c:137:9: warning: missing initializer for field ‘device_class’ of ‘struct pci_filter’ [-Wmissing-field-initializers] 137 | struct pci_filter filter_nb_misc = { -1, -1, -1, -1, 0x1022, 0x1703}; | ^~~~~~~~~~ In file included from AMD/powernow.c:12: /usr/include/pci/pci.h:225:23: note: ‘device_class’ declared here 225 | int vendor, device, device_class; | ^~~~~~~~~~~~ AMD/powernow.c: In function ‘get_num_boost_states’: AMD/powernow.c:220:9: warning: missing initializer for field ‘device_class’ of ‘struct pci_filter’ [-Wmissing-field-initializers] 220 | struct pci_filter filter_nb_link = { -1, -1, -1, -1, 0x1022, 0}; | ^~~~~~~~~~ In file included from AMD/powernow.c:12: /usr/include/pci/pci.h:225:23: note: ‘device_class’ declared here 225 | int vendor, device, device_class; | ^~~~~~~~~~~~ x86_64-gentoo-linux-musl-gcc -O2 -pipe -march=native -fno-common -falign-functions=32:25:16 -Wall -Wshadow -Wextra -Wmissing-declarations -Wdeclaration-after-statement -Wredundant-decls -c -o AMD/dumppsb.o AMD/dumppsb.c x86_64-gentoo-linux-musl-gcc -O2 -pipe -march=native -fno-common -falign-functions=32:25:16 -Wall -Wshadow -Wextra -Wmissing-declarations -Wdeclaration-after-statement -Wredundant-decls -c -o AMD/bugs.o AMD/bugs.c x86_64-gentoo-linux-musl-gcc -O2 -pipe -march=native -fno-common -falign-functions=32:25:16 -Wall -Wshadow -Wextra -Wmissing-declarations -Wdeclaration-after-statement -Wredundant-decls -c -o Cyrix/identify.o Cyrix/identify.c x86_64-gentoo-linux-musl-gcc -O2 -pipe -march=native -fno-common -falign-functions=32:25:16 -Wall -Wshadow -Wextra -Wmissing-declarations -Wdeclaration-after-statement -Wredundant-decls -c -o Intel/identify.o Intel/identify.c x86_64-gentoo-linux-musl-gcc -O2 -pipe -march=native -fno-common -falign-functions=32:25:16 -Wall -Wshadow -Wextra -Wmissing-declarations -Wdeclaration-after-statement -Wredundant-decls -c -o Intel/identify-family6.o Intel/identify-family6.c x86_64-gentoo-linux-musl-gcc -O2 -pipe -march=native -fno-common -falign-functions=32:25:16 -Wall -Wshadow -Wextra -Wmissing-declarations -Wdeclaration-after-statement -Wredundant-decls -c -o Intel/identify-family6-extended.o Intel/identify-family6-extended.c x86_64-gentoo-linux-musl-gcc -O2 -pipe -march=native -fno-common -falign-functions=32:25:16 -Wall -Wshadow -Wextra -Wmissing-declarations -Wdeclaration-after-statement -Wredundant-decls -c -o Intel/identify-family15.o Intel/identify-family15.c x86_64-gentoo-linux-musl-gcc -O2 -pipe -march=native -fno-common -falign-functions=32:25:16 -Wall -Wshadow -Wextra -Wmissing-declarations -Wdeclaration-after-statement -Wredundant-decls -c -o Intel/info.o Intel/info.c x86_64-gentoo-linux-musl-gcc -O2 -pipe -march=native -fno-common -falign-functions=32:25:16 -Wall -Wshadow -Wextra -Wmissing-declarations -Wdeclaration-after-statement -Wredundant-decls -c -o Intel/machine_check.o Intel/machine_check.c x86_64-gentoo-linux-musl-gcc -O2 -pipe -march=native -fno-common -falign-functions=32:25:16 -Wall -Wshadow -Wextra -Wmissing-declarations -Wdeclaration-after-statement -Wredundant-decls -c -o Intel/cachesize.o Intel/cachesize.c x86_64-gentoo-linux-musl-gcc -O2 -pipe -march=native -fno-common -falign-functions=32:25:16 -Wall -Wshadow -Wextra -Wmissing-declarations -Wdeclaration-after-statement -Wredundant-decls -c -o Intel/eblcr.o Intel/eblcr.c x86_64-gentoo-linux-musl-gcc -O2 -pipe -march=native -fno-common -falign-functions=32:25:16 -Wall -Wshadow -Wextra -Wmissing-declarations -Wdeclaration-after-statement -Wredundant-decls -c -o Intel/MSR-P4.o Intel/MSR-P4.c x86_64-gentoo-linux-musl-gcc -O2 -pipe -march=native -fno-common -falign-functions=32:25:16 -Wall -Wshadow -Wextra -Wmissing-declarations -Wdeclaration-after-statement -Wredundant-decls -c -o Intel/MSR-P6.o Intel/MSR-P6.c x86_64-gentoo-linux-musl-gcc -O2 -pipe -march=native -fno-common -falign-functions=32:25:16 -Wall -Wshadow -Wextra -Wmissing-declarations -Wdeclaration-after-statement -Wredundant-decls -c -o Intel/MSR-performance.o Intel/MSR-performance.c x86_64-gentoo-linux-musl-gcc -O2 -pipe -march=native -fno-common -falign-functions=32:25:16 -Wall -Wshadow -Wextra -Wmissing-declarations -Wdeclaration-after-statement -Wredundant-decls -c -o Intel/MSR-thermal.o Intel/MSR-thermal.c x86_64-gentoo-linux-musl-gcc -O2 -pipe -march=native -fno-common -falign-functions=32:25:16 -Wall -Wshadow -Wextra -Wmissing-declarations -Wdeclaration-after-statement -Wredundant-decls -c -o Intel/MSR-IDA.o Intel/MSR-IDA.c Intel/MSR-IDA.c: In function ‘dump_IDA_MSRs’: Intel/MSR-IDA.c:29:23: warning: bitwise comparison always evaluates to false [-Wtautological-compare] 29 | if ((eax & (1 << 1)) == 1) | ^~ Intel/MSR-IDA.c:37:27: warning: bitwise comparison always evaluates to false [-Wtautological-compare] 37 | if ((val & (1ULL << 38)) == 1) { | ^~ Intel/MSR-IDA.c:45:27: warning: bitwise comparison always evaluates to false [-Wtautological-compare] 45 | if ((val & (1ULL << 32)) == 1) { | ^~ x86_64-gentoo-linux-musl-gcc -O2 -pipe -march=native -fno-common -falign-functions=32:25:16 -Wall -Wshadow -Wextra -Wmissing-declarations -Wdeclaration-after-statement -Wredundant-decls -c -o Intel/microcode.o Intel/microcode.c x86_64-gentoo-linux-musl-gcc -O2 -pipe -march=native -fno-common -falign-functions=32:25:16 -Wall -Wshadow -Wextra -Wmissing-declarations -Wdeclaration-after-statement -Wredundant-decls -c -o Intel/topology.o Intel/topology.c x86_64-gentoo-linux-musl-gcc -O2 -pipe -march=native -fno-common -falign-functions=32:25:16 -Wall -Wshadow -Wextra -Wmissing-declarations -Wdeclaration-after-statement -Wredundant-decls -c -o Centaur/identify.o Centaur/identify.c x86_64-gentoo-linux-musl-gcc -O2 -pipe -march=native -fno-common -falign-functions=32:25:16 -Wall -Wshadow -Wextra -Wmissing-declarations -Wdeclaration-after-statement -Wredundant-decls -c -o Centaur/MSR-C3.o Centaur/MSR-C3.c x86_64-gentoo-linux-musl-gcc -O2 -pipe -march=native -fno-common -falign-functions=32:25:16 -Wall -Wshadow -Wextra -Wmissing-declarations -Wdeclaration-after-statement -Wredundant-decls -c -o Centaur/longhaul.o Centaur/longhaul.c x86_64-gentoo-linux-musl-gcc -O2 -pipe -march=native -fno-common -falign-functions=32:25:16 -Wall -Wshadow -Wextra -Wmissing-declarations -Wdeclaration-after-statement -Wredundant-decls -c -o Centaur/powersaver.o Centaur/powersaver.c x86_64-gentoo-linux-musl-gcc -O2 -pipe -march=native -fno-common -falign-functions=32:25:16 -Wall -Wshadow -Wextra -Wmissing-declarations -Wdeclaration-after-statement -Wredundant-decls -c -o NatSemi/identify.o NatSemi/identify.c x86_64-gentoo-linux-musl-gcc -O2 -pipe -march=native -fno-common -falign-functions=32:25:16 -Wall -Wshadow -Wextra -Wmissing-declarations -Wdeclaration-after-statement -Wredundant-decls -c -o RiSE/identify.o RiSE/identify.c x86_64-gentoo-linux-musl-gcc -O2 -pipe -march=native -fno-common -falign-functions=32:25:16 -Wall -Wshadow -Wextra -Wmissing-declarations -Wdeclaration-after-statement -Wredundant-decls -c -o SiS/identify.o SiS/identify.c x86_64-gentoo-linux-musl-gcc -O2 -pipe -march=native -fno-common -falign-functions=32:25:16 -Wall -Wshadow -Wextra -Wmissing-declarations -Wdeclaration-after-statement -Wredundant-decls -c -o x86info.o x86info.c x86_64-gentoo-linux-musl-gcc -O2 -pipe -march=native -fno-common -falign-functions=32:25:16 -Wall -Wshadow -Wextra -Wmissing-declarations -Wdeclaration-after-statement -Wredundant-decls -c -o commandline.o commandline.c x86_64-gentoo-linux-musl-gcc -O2 -pipe -march=native -fno-common -falign-functions=32:25:16 -Wall -Wshadow -Wextra -Wmissing-declarations -Wdeclaration-after-statement -Wredundant-decls -c -o havecpuid.o havecpuid.c x86_64-gentoo-linux-musl-gcc -O2 -pipe -march=native -fno-common -falign-functions=32:25:16 -Wall -Wshadow -Wextra -Wmissing-declarations -Wdeclaration-after-statement -Wredundant-decls -c -o cpuid.o cpuid.c In file included from cpuid.c:30: x86info.h: In function ‘bind_cpu’: x86info.h:232:2: error: unknown type name ‘cpu_set_t’ 232 | cpu_set_t set; | ^~~~~~~~~ x86info.h:234:6: warning: implicit declaration of function ‘sched_getaffinity’ [-Wimplicit-function-declaration] 234 | if (sched_getaffinity(getpid(), sizeof(set), &set) == 0) { | ^~~~~~~~~~~~~~~~~ x86info.h:235:3: warning: implicit declaration of function ‘CPU_ZERO’ [-Wimplicit-function-declaration] 235 | CPU_ZERO(&set); | ^~~~~~~~ x86info.h:236:3: warning: implicit declaration of function ‘CPU_SET’ [-Wimplicit-function-declaration] 236 | CPU_SET(cpu->number, &set); | ^~~~~~~ x86info.h:237:3: warning: implicit declaration of function ‘sched_setaffinity’ [-Wimplicit-function-declaration] 237 | sched_setaffinity(getpid(), sizeof(set), &set); | ^~~~~~~~~~~~~~~~~ cpuid.c: In function ‘native_cpuid’: cpuid.c:48:2: error: unknown type name ‘cpu_set_t’ 48 | cpu_set_t set, tmp_set; | ^~~~~~~~~ cpuid.c:66:32: error: ‘cpu_set_t’ undeclared (first use in this function) 66 | memcpy(&tmp_set, &set, sizeof(cpu_set_t)); | ^~~~~~~~~ cpuid.c:66:32: note: each undeclared identifier is reported only once for each function it appears in make: *** [: cpuid.o] Error 1 * ERROR: sys-apps/x86info-1.30::gentoo failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=sys-apps/x86info-1.30::gentoo'`, * the complete build log and the output of `emerge -pqv '=sys-apps/x86info-1.30::gentoo'`. * The complete build log is located at '/var/log/portage/sys-apps:x86info-1.30:20200317-231305.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/sys-apps/x86info-1.30/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/sys-apps/x86info-1.30/temp/environment'. * Working directory: '/var/tmp/portage/sys-apps/x86info-1.30/work/x86info-1.30' * S: '/var/tmp/portage/sys-apps/x86info-1.30/work/x86info-1.30'