* Package: sys-power/pmtools-20110323-r1  * Repository: gentoo  * Maintainer: robbat2@gentoo.org prometheanfire@gentoo.org  * USE: abi_ppc_32 elibc_glibc kernel_linux ppc userland_GNU  * FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox >>> Unpacking source... >>> Unpacking pmtools-20110323.tar.gz to /var/tmp/portage/sys-power/pmtools-20110323-r1/work >>> Source unpacked in /var/tmp/portage/sys-power/pmtools-20110323-r1/work >>> Preparing source in /var/tmp/portage/sys-power/pmtools-20110323-r1/work/pmtools ... * Applying pmtools-20100123-acpixtract-pmtools.patch ...  [ ok ] * Applying pmtools-20100123-madt.patch ...  [ ok ] * Applying pmtools-20071116-64bit.patch ...  [ ok ] * Applying pmtools-20101124-cflags-ldflags.patch ...  [ ok ] >>> Source prepared. >>> Configuring source in /var/tmp/portage/sys-power/pmtools-20110323-r1/work/pmtools ... >>> Source configured. >>> Compiling source in /var/tmp/portage/sys-power/pmtools-20110323-r1/work/pmtools ... make -j1 CC=powerpc-unknown-linux-gnu-gcc 'LDFLAGS=-Wl,-O1 -Wl,--as-needed -Wl,--hash-style=gnu' for i in acpidump acpixtract madt turbostat; do make -C $i all; done make[1]: Entering directory '/var/tmp/portage/sys-power/pmtools-20110323-r1/work/pmtools/acpidump' powerpc-unknown-linux-gnu-gcc -O2 -mcpu=7450 -mtune=7450 -pipe -Wall -Wstrict-prototypes -Wdeclaration-after-statement -D_LINUX -DDEFINE_ALTERNATE_TYPES -I../include -Wl,-O1 -Wl,--as-needed -Wl,--hash-style=gnu acpidump.c -o acpidump acpidump.c: In function ‘main’: acpidump.c:492:3: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result] write(fd, raw, length); ^~~~~~~~~~~~~~~~~~~~~~ acpidump.c:521:3: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result] write(fd, x, (rsdpx.revision < 2) ? ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~  ACPI_RSDP_CHECKSUM_LENGTH : ACPI_RSDP_XCHECKSUM_LENGTH); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ acpidump.c:526:3: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result] write(fd, buff, length); ^~~~~~~~~~~~~~~~~~~~~~~ acpidump.c:530:3: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result] write(fd, buff, 1); ^~~~~~~~~~~~~~~~~~ acpidump.c: In function ‘write_table’: acpidump.c:188:4: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result] write(fd, tbl, tbl->length); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ acpidump.c:198:4: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result] write(fd, tbl, tbl->length); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ acpidump.c: In function ‘acpi_show_table’: acpidump.c:175:2: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result] write(fd, buff, len); ^~~~~~~~~~~~~~~~~~~~ acpidump.c:178:2: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result] write(fd, buff, 1); ^~~~~~~~~~~~~~~~~~ acpidump.c: In function ‘acpi_show_data’: acpidump.c:162:3: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result] write(fd, buffer, len); ^~~~~~~~~~~~~~~~~~~~~~ acpidump.c: In function ‘main’: acpidump.c:343:25: warning: ‘%s’ directive writing up to 255 bytes into a region of size 222 [-Wformat-overflow=] sprintf(filename, "%s/%s", DYNAMIC_SSDT, entry->d_name); ^~ In file included from /usr/include/stdio.h:862, from acpidump.c:41: /usr/include/bits/stdio2.h:33:10: note: ‘__builtin___sprintf_chk’ output between 35 and 290 bytes into a destination of size 256 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~  __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[1]: Leaving directory '/var/tmp/portage/sys-power/pmtools-20110323-r1/work/pmtools/acpidump' make[1]: Entering directory '/var/tmp/portage/sys-power/pmtools-20110323-r1/work/pmtools/acpixtract' powerpc-unknown-linux-gnu-gcc -O2 -mcpu=7450 -mtune=7450 -pipe -Wall -O2 -D_LINUX -DACPI_APPLICATION -Wstrict-prototypes -I../../include -Wl,-O1 -Wl,--as-needed -Wl,--hash-style=gnu acpixtract.c -o acpixtract make[1]: Leaving directory '/var/tmp/portage/sys-power/pmtools-20110323-r1/work/pmtools/acpixtract' make[1]: Entering directory '/var/tmp/portage/sys-power/pmtools-20110323-r1/work/pmtools/madt' powerpc-unknown-linux-gnu-gcc -O2 -mcpu=7450 -mtune=7450 -pipe -Wl,-O1 -Wl,--as-needed -Wl,--hash-style=gnu madt.c -o madt madt.c:45:1: warning: return type defaults to ‘int’ [-Wimplicit-int] get_next_entry(acpi_table_entry_header * entry_header) ^~~~~~~~~~~~~~ madt.c: In function ‘get_next_entry’: madt.c:49:33: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 2 has type ‘unsigned int’ [-Wformat=] if (verbose) printf("reading %ld byte entry header\n", sizeof(acpi_table_entry_header)); ~~^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ %d madt.c: At top level: madt.c:56:1: warning: return type defaults to ‘int’ [-Wimplicit-int] main() ^~~~ madt.c: In function ‘main’: madt.c:67:33: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 2 has type ‘unsigned int’ [-Wformat=] if (verbose) printf("reading %ld madt header\n", sizeof(struct acpi_table_madt)); ~~^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ %d make[1]: Leaving directory '/var/tmp/portage/sys-power/pmtools-20110323-r1/work/pmtools/madt' make[1]: Entering directory '/var/tmp/portage/sys-power/pmtools-20110323-r1/work/pmtools/turbostat' powerpc-unknown-linux-gnu-gcc -O2 -mcpu=7450 -mtune=7450 -pipe -Wl,-O1 -Wl,--as-needed -Wl,--hash-style=gnu turbostat.c -o turbostat turbostat.c: In function ‘get_msr’: turbostat.c:119:41: warning: format ‘%zx’ expects argument of type ‘size_t’, but argument 4 has type ‘off_t’ {aka ‘long int’} [-Wformat=] fprintf(stderr, "cpu%d pread(..., 0x%zx) = %jd\n", ~~^ %lx cpu, offset, retval); ~~~~~~ turbostat.c:119:48: warning: format ‘%jd’ expects argument of type ‘intmax_t’, but argument 5 has type ‘ssize_t’ {aka ‘int’} [-Wformat=] fprintf(stderr, "cpu%d pread(..., 0x%zx) = %jd\n", ~~^ %d cpu, offset, retval); ~~~~~~ turbostat.c: In function ‘get_physical_package_id’: turbostat.c:659:2: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result] fscanf(filep, "%d", &pkg); ^~~~~~~~~~~~~~~~~~~~~~~~~ turbostat.c: In function ‘get_core_id’: turbostat.c:676:2: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result] fscanf(filep, "%d", &core); ^~~~~~~~~~~~~~~~~~~~~~~~~~ turbostat.c: In function ‘check_cpuid’: turbostat.c:857:2: error: unknown register name ‘ebx’ in ‘asm’ asm("cpuid" : "=a" (fms), "=c" (ecx), "=d" (edx) : "a" (1) : "ebx"); ^~~ make[1]: *** [: turbostat] Error 1 make[1]: Leaving directory '/var/tmp/portage/sys-power/pmtools-20110323-r1/work/pmtools/turbostat' make: *** [Makefile:4: all] Error 2 * ERROR: sys-power/pmtools-20110323-r1::gentoo failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=sys-power/pmtools-20110323-r1::gentoo'`, * the complete build log and the output of `emerge -pqv '=sys-power/pmtools-20110323-r1::gentoo'`. * The complete build log is located at '/var/log/portage/build/sys-power/pmtools-20110323-r1:20190427-183826.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/sys-power/pmtools-20110323-r1/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/sys-power/pmtools-20110323-r1/temp/environment'. * Working directory: '/var/tmp/portage/sys-power/pmtools-20110323-r1/work/pmtools' * S: '/var/tmp/portage/sys-power/pmtools-20110323-r1/work/pmtools'