* Package: sys-fs/arm-fdisk-3.0.6-r1:0 * Repository: gentoo * Maintainer: arm@gentoo.org * USE: abi_x86_64 amd64 elibc_glibc kernel_linux * FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox >>> Unpacking source... >>> Unpacking arm-fdisk-3.0.6.tar.gz to /var/tmp/portage/sys-fs/arm-fdisk-3.0.6-r1/work >>> Unpacking acorn-fdisk_3.0.6-6.2.diff.gz to /var/tmp/portage/sys-fs/arm-fdisk-3.0.6-r1/work >>> Source unpacked in /var/tmp/portage/sys-fs/arm-fdisk-3.0.6-r1/work >>> Preparing source in /var/tmp/portage/sys-fs/arm-fdisk-3.0.6-r1/work/arm-fdisk-3.0.6 ... * Applying acorn-fdisk_3.0.6-6.2.diff ... [ ok ] >>> Source prepared. >>> Configuring source in /var/tmp/portage/sys-fs/arm-fdisk-3.0.6-r1/work/arm-fdisk-3.0.6 ... >>> Source configured. >>> Compiling source in /var/tmp/portage/sys-fs/arm-fdisk-3.0.6-r1/work/arm-fdisk-3.0.6 ... make -j4 CC=x86_64-pc-linux-gnu-gcc AR=x86_64-pc-linux-gnu-ar x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -DUNIX -DVERSION=\"3.0.6\" -Ilib -pipe -c -o fdisk.o fdisk.c make[1]: Entering directory '/var/tmp/portage/sys-fs/arm-fdisk-3.0.6-r1/work/arm-fdisk-3.0.6/lib/part' x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -DUNIX -DVERSION=\"3.0.6\" -Ilib -pipe -DUNIX -I.. -g -o allocate.o -c allocate.c make[1]: Entering directory '/var/tmp/portage/sys-fs/arm-fdisk-3.0.6-r1/work/arm-fdisk-3.0.6/lib/scheme' x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -DUNIX -DVERSION=\"3.0.6\" -Ilib -pipe -DUNIX -I.. -g -o add.o -c add.c make[1]: Entering directory '/var/tmp/portage/sys-fs/arm-fdisk-3.0.6-r1/work/arm-fdisk-3.0.6/lib/blkio' x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -DUNIX -DVERSION=\"3.0.6\" -Ilib -pipe -DUNIX -I.. -g -D_FILE_OFFSET_BITS=64 -o close.o -c close.c fdisk.c: In function ‘parse_args’: fdisk.c:67:41: error: passing argument 2 of ‘getopt_long’ from incompatible pointer type [-Wincompatible-pointer-types] 67 | opt = getopt_long(argc, argv, "s:l", options, NULL); | ^~~~ | | | const char ** In file included from /usr/include/getopt.h:36, from fdisk.c:33: /usr/include/bits/getopt_ext.h:66:65: note: expected ‘char * const*’ but argument is of type ‘const char **’ 66 | xtern int getopt_long (int ___argc, char *__getopt_argv_const *___argv, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ fdisk.c: In function ‘list_table’: fdisk.c:516:58: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 9 has type ‘blk_t’ {aka ‘long unsigned int’} [-Wformat=] 516 | printf("%*s%-2d %c%9d%9d%9d%11lld%c %4x %s\n", | ~~~~~^ | | | long long int | %11ld ...... 523 | (info.blk_end - info.blk_start + 1) / 2, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | blk_t {aka long unsigned int} fdisk.c:529:64: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 10 has type ‘blk_t’ {aka ‘long unsigned int’} [-Wformat=] 529 | printf("%2d %02x%4d%4d%5d%4d%4d%5d%12lld%12lld %03x\n", | ~~~~~^ | | | long long int | %12ld ...... 533 | info.chs_end.cylinder, info.blk_start, | ~~~~~~~~~~~~~~ | | | blk_t {aka long unsigned int} fdisk.c:529:70: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 11 has type ‘blk_t’ {aka ‘long unsigned int’} [-Wformat=] 529 | printf("%2d %02x%4d%4d%5d%4d%4d%5d%12lld%12lld %03x\n", | ~~~~~^ | | | long long int | %12ld ...... 534 | info.blk_end - info.blk_start + 1, info.type); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | blk_t {aka long unsigned int} fdisk.c: In function ‘print_part_size’: fdisk.c:570:44: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 2 has type ‘blk_t’ {aka ‘long unsigned int’} [-Wformat=] 570 | printf("%lld\n", (info.blk_end - info.blk_start + 1) / 2); | ~~~^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | | long long int blk_t {aka long unsigned int} | %ld x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -DUNIX -DVERSION=\"3.0.6\" -Ilib -pipe -DUNIX -I.. -g -D_FILE_OFFSET_BITS=64 -o getgeo.o -c getgeo.c fdisk.c: In function ‘get_part_nr’: fdisk.c:197:17: warning: ignoring return value of ‘fgets’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 197 | fgets(buf, sizeof(buf) - 1, stdin); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -DUNIX -DVERSION=\"3.0.6\" -Ilib -pipe -DUNIX -I.. -g -o close.o -c close.c fdisk.c: In function ‘read_line’: fdisk.c:120:17: warning: ignoring return value of ‘fgets’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 120 | fgets(buf, sizeof(buf) - 1, stdin); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -DUNIX -DVERSION=\"3.0.6\" -Ilib -pipe -DUNIX -I.. -g -o chs.o -c chs.c make: *** [: fdisk.o] Error 1 make: *** Waiting for unfinished jobs.... x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -DUNIX -DVERSION=\"3.0.6\" -Ilib -pipe -DUNIX -I.. -g -D_FILE_OFFSET_BITS=64 -o open.o -c open.c x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -DUNIX -DVERSION=\"3.0.6\" -Ilib -pipe -DUNIX -I.. -g -o overlap.o -c overlap.c x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -DUNIX -DVERSION=\"3.0.6\" -Ilib -pipe -DUNIX -I.. -g -o create.o -c create.c x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -DUNIX -DVERSION=\"3.0.6\" -Ilib -pipe -DUNIX -I.. -g -o delete.o -c delete.c x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -DUNIX -DVERSION=\"3.0.6\" -Ilib -pipe -DUNIX -I.. -g -o filecore.o -c filecore.c x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -DUNIX -DVERSION=\"3.0.6\" -Ilib -pipe -DUNIX -I.. -g -D_FILE_OFFSET_BITS=64 -o read.o -c read.c x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -DUNIX -DVERSION=\"3.0.6\" -Ilib -pipe -DUNIX -I.. -g -o icside.o -c icside.c x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -DUNIX -DVERSION=\"3.0.6\" -Ilib -pipe -DUNIX -I.. -g -o getgeo.o -c getgeo.c x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -DUNIX -DVERSION=\"3.0.6\" -Ilib -pipe -DUNIX -I.. -g -D_FILE_OFFSET_BITS=64 -o setblocksz.o -c setblocksz.c x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -DUNIX -DVERSION=\"3.0.6\" -Ilib -pipe -DUNIX -I.. -g -o linux.o -c linux.c x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -DUNIX -DVERSION=\"3.0.6\" -Ilib -pipe -DUNIX -I.. -g -o getpinfo.o -c getpinfo.c x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -DUNIX -DVERSION=\"3.0.6\" -Ilib -pipe -DUNIX -I.. -g -D_FILE_OFFSET_BITS=64 -o setgeo.o -c setgeo.c x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -DUNIX -DVERSION=\"3.0.6\" -Ilib -pipe -DUNIX -I.. -g -o getscheme.o -c getscheme.c x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -DUNIX -DVERSION=\"3.0.6\" -Ilib -pipe -DUNIX -I.. -g -D_FILE_OFFSET_BITS=64 -o write.o -c write.c x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -DUNIX -DVERSION=\"3.0.6\" -Ilib -pipe -DUNIX -I.. -g -o open.o -c open.c x86_64-pc-linux-gnu-ar rc ../blkio.a close.o getgeo.o open.o read.o setblocksz.o setgeo.o write.o make[1]: Leaving directory '/var/tmp/portage/sys-fs/arm-fdisk-3.0.6-r1/work/arm-fdisk-3.0.6/lib/blkio' x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -DUNIX -DVERSION=\"3.0.6\" -Ilib -pipe -DUNIX -I.. -g -o read.o -c read.c x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -DUNIX -DVERSION=\"3.0.6\" -Ilib -pipe -DUNIX -I.. -g -o setgeo.o -c setgeo.c x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -DUNIX -DVERSION=\"3.0.6\" -Ilib -pipe -DUNIX -I.. -g -o pcbios.o -c pcbios.c x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -DUNIX -DVERSION=\"3.0.6\" -Ilib -pipe -DUNIX -I.. -g -o powertec.o -c powertec.c x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -DUNIX -DVERSION=\"3.0.6\" -Ilib -pipe -DUNIX -I.. -g -o setpinfo.o -c setpinfo.c x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -DUNIX -DVERSION=\"3.0.6\" -Ilib -pipe -DUNIX -I.. -g -o sync.o -c sync.c x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -DUNIX -DVERSION=\"3.0.6\" -Ilib -pipe -DUNIX -I.. -g -o riscix.o -c riscix.c x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -DUNIX -DVERSION=\"3.0.6\" -Ilib -pipe -DUNIX -I.. -g -o types.o -c types.c x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -DUNIX -DVERSION=\"3.0.6\" -Ilib -pipe -DUNIX -I.. -g -o write.o -c write.c x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -DUNIX -DVERSION=\"3.0.6\" -Ilib -pipe -DUNIX -I.. -g -o eesox.o -c eesox.c x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -DUNIX -DVERSION=\"3.0.6\" -Ilib -pipe -DUNIX -I.. -g -o validops.o -c validops.c x86_64-pc-linux-gnu-ar rc ../part.a allocate.o close.o create.o delete.o getgeo.o getpinfo.o getscheme.o open.o read.o setgeo.o setpinfo.o sync.o types.o write.o validops.o make[1]: Leaving directory '/var/tmp/portage/sys-fs/arm-fdisk-3.0.6-r1/work/arm-fdisk-3.0.6/lib/part' x86_64-pc-linux-gnu-ar rc ../scheme.a add.o chs.o overlap.o filecore.o icside.o linux.o pcbios.o powertec.o riscix.o eesox.o make[1]: Leaving directory '/var/tmp/portage/sys-fs/arm-fdisk-3.0.6-r1/work/arm-fdisk-3.0.6/lib/scheme' * ERROR: sys-fs/arm-fdisk-3.0.6-r1::gentoo failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=sys-fs/arm-fdisk-3.0.6-r1::gentoo'`, * the complete build log and the output of `emerge -pqv '=sys-fs/arm-fdisk-3.0.6-r1::gentoo'`. * The complete build log is located at '/var/log/portage/sys-fs:arm-fdisk-3.0.6-r1:20231207-142521.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/sys-fs/arm-fdisk-3.0.6-r1/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/sys-fs/arm-fdisk-3.0.6-r1/temp/environment'. * Working directory: '/var/tmp/portage/sys-fs/arm-fdisk-3.0.6-r1/work/arm-fdisk-3.0.6' * S: '/var/tmp/portage/sys-fs/arm-fdisk-3.0.6-r1/work/arm-fdisk-3.0.6'