* Package: sys-fs/mac-fdisk-0.1-r7  * Repository: gentoo  * Maintainer: ppc@gentoo.org  * USE: abi_ppc_32 big-endian elibc_glibc kernel_linux ppc userland_GNU  * FEATURES: preserve-libs sandbox userpriv usersandbox >>> Unpacking source... >>> Unpacking mac-fdisk_0.1.orig.tar.gz to /var/tmp/portage/sys-fs/mac-fdisk-0.1-r7/work * Applying mac-fdisk_0.1-13.diff.gz ...  [ ok ] * Applying largerthan2gb.patch ...  [ ok ] * Applying mac-fdisk-0.1-headers.patch ...  [ ok ] * Applying mac-fdisk-0.1-r6-ppc64.patch ...  [ ok ] * Applying mac-fdisk-amd64.patch ...  [ ok ] * Applying big_pt.patch ...  [ ok ] >>> Source unpacked in /var/tmp/portage/sys-fs/mac-fdisk-0.1-r7/work >>> Compiling source in /var/tmp/portage/sys-fs/mac-fdisk-0.1-r7/work/mac-fdisk-0.1 ... make -j3 -l2 CC=powerpc-unknown-linux-gnu-gcc powerpc-unknown-linux-gnu-gcc -Os -mcpu=7450 -mtune=7450 -pipe -c -o pdisk.o pdisk.c powerpc-unknown-linux-gnu-gcc -Os -mcpu=7450 -mtune=7450 -pipe -c -o partition_map.o partition_map.c powerpc-unknown-linux-gnu-gcc -Os -mcpu=7450 -mtune=7450 -pipe -c -o convert.o convert.c powerpc-unknown-linux-gnu-gcc -Os -mcpu=7450 -mtune=7450 -pipe -c -o io.o io.c io.c: In function ‘get_okay’: io.c:152:5: warning: format not a string literal and no format arguments [-Wformat-security] printf(prompt); ^~~~~~ io.c:170:6: warning: format not a string literal and no format arguments [-Wformat-security] printf(prompt); ^~~~~~ io.c: In function ‘get_command’: io.c:183:2: warning: format not a string literal and no format arguments [-Wformat-security] printf(prompt); ^~~~~~ io.c:193:6: warning: format not a string literal and no format arguments [-Wformat-security] printf(prompt); ^~~~~~ io.c: In function ‘get_number_argument’: io.c:218:3: warning: format not a string literal and no format arguments [-Wformat-security] printf(prompt); ^~~~~~ io.c: In function ‘get_string_argument’: io.c:296:3: warning: format not a string literal and no format arguments [-Wformat-security] printf(prompt); ^~~~~~ io.c: In function ‘read_block’: io.c:447:11: warning: implicit declaration of function ‘lseek64’; did you mean ‘lseek’? [-Wimplicit-function-declaration] if ((x = lseek64(fd, x, 0)) < 0) { ^~~~~~~ lseek powerpc-unknown-linux-gnu-gcc -Os -mcpu=7450 -mtune=7450 -pipe -c -o errors.o errors.c powerpc-unknown-linux-gnu-gcc -Os -mcpu=7450 -mtune=7450 -pipe -c -o bitfield.o bitfield.c powerpc-unknown-linux-gnu-gcc -Os -mcpu=7450 -mtune=7450 -pipe -c -o fdisk.o fdisk.c fdisk.c: In function ‘read_extended’: fdisk.c:484:7: warning: implicit declaration of function ‘lseek64’; did you mean ‘lseek’? [-Wimplicit-function-declaration] if (lseek64(fd, (loff_t)offsets[partitions] ^~~~~~~ lseek powerpc-unknown-linux-gnu-gcc -Os -mcpu=7450 -mtune=7450 -pipe -c -o fdisklabel.o fdisklabel.c fdisklabel.c: In function ‘bsd_write_bootstrap’: fdisklabel.c:519:7: warning: implicit declaration of function ‘lseek64’; did you mean ‘lseek’? [-Wimplicit-function-declaration] if (lseek64 (fd, sector * SECTOR_SIZE, SEEK_SET) == -1) ^~~~~~~ lseek In file included from /usr/include/strings.h:144:0, from /usr/include/string.h:431, from fdisklabel.c:42: In function ‘bzero’, inlined from ‘bsd_write_bootstrap’ at fdisklabel.c:493:3: /usr/include/bits/strings_fortified.h:31:3: warning: ‘__builtin___memset_chk’ writing 276 bytes into a region of size 0 overflows the destination [-Wstringop-overflow=] (void) __builtin___memset_chk (__dest, '\0', __len, __bos0 (__dest)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function ‘bcopy’, inlined from ‘bsd_write_bootstrap’ at fdisklabel.c:508:3: /usr/include/bits/strings_fortified.h:25:3: warning: ‘__builtin___memmove_chk’ writing 276 bytes into a region of size 0 overflows the destination [-Wstringop-overflow=] (void) __builtin___memmove_chk (__dest, __src, __len, __bos0 (__dest)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function ‘bcopy’, inlined from ‘bsd_writelabel.isra.2.constprop’ at fdisklabel.c:723:3, inlined from ‘bselect’ at fdisklabel.c:360:3: /usr/include/bits/strings_fortified.h:25:3: warning: ‘__builtin___memmove_chk’ writing 276 bytes into a region of size 0 overflows the destination [-Wstringop-overflow=] (void) __builtin___memmove_chk (__dest, __src, __len, __bos0 (__dest)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ powerpc-unknown-linux-gnu-gcc -Os -mcpu=7450 -mtune=7450 -pipe -c -o dump.o dump.c powerpc-unknown-linux-gnu-gcc -Wl,-O1 -Wl,--as-needed fdisk.o fdisklabel.o -o fdisk fdisk.o: In function `check_consistency': fdisk.c:(.text+0x70): undefined reference to `__swap32' fdisk.c:(.text+0x7c): undefined reference to `__swap32' fdisk.o: In function `set_partition': fdisk.c:(.text+0x5ac): undefined reference to `__swap32' fdisk.c:(.text+0x5bc): undefined reference to `__swap32' fdisk.o: In function `read_extended': fdisk.c:(.text+0x974): undefined reference to `__swap32' fdisk.o:fdisk.c:(.text+0x994): more undefined references to `__swap32' follow collect2: error: ld returned 1 exit status make: *** [: fdisk] Error 1 emake failed * ERROR: sys-fs/mac-fdisk-0.1-r7::gentoo failed (compile phase): * emake failed! * * Call stack: * ebuild.sh, line 124: Called src_compile * environment, line 1834: Called die * The specific snippet of code: * emake CC="$(tc-getCC)" || die "emake failed!" * * If you need support, post the output of `emerge --info '=sys-fs/mac-fdisk-0.1-r7::gentoo'`, * the complete build log and the output of `emerge -pqv '=sys-fs/mac-fdisk-0.1-r7::gentoo'`. * The complete build log is located at '/var/log/portage/build/sys-fs/mac-fdisk-0.1-r7:20181125-115929.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/sys-fs/mac-fdisk-0.1-r7/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/sys-fs/mac-fdisk-0.1-r7/temp/environment'. * Working directory: '/var/tmp/portage/sys-fs/mac-fdisk-0.1-r7/work/mac-fdisk-0.1' * S: '/var/tmp/portage/sys-fs/mac-fdisk-0.1-r7/work/mac-fdisk-0.1'