* Package: sys-fs/diskdev_cmds-332.14_p1-r2 * Repository: gentoo * Maintainer: ppc@gentoo.org * USE: abi_x86_64 amd64 elibc_musl kernel_linux userland_GNU * FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox >>> Unpacking source... >>> Unpacking diskdev_cmds-332.14.tar.gz to /var/tmp/portage/sys-fs/diskdev_cmds-332.14_p1-r2/work >>> Unpacking diskdev_cmds-332.14_p1.patch.bz2 to /var/tmp/portage/sys-fs/diskdev_cmds-332.14_p1-r2/work >>> Source unpacked in /var/tmp/portage/sys-fs/diskdev_cmds-332.14_p1-r2/work >>> Preparing source in /var/tmp/portage/sys-fs/diskdev_cmds-332.14_p1-r2/work/diskdev_cmds-332.14 ... * Applying diskdev_cmds-332.14_p1.patch ... [ ok ] * Applying diskdev_cmds-respect-cflags.patch ... [ ok ] >>> Source prepared. >>> Configuring source in /var/tmp/portage/sys-fs/diskdev_cmds-332.14_p1-r2/work/diskdev_cmds-332.14 ... >>> Source configured. >>> Compiling source in /var/tmp/portage/sys-fs/diskdev_cmds-332.14_p1-r2/work/diskdev_cmds-332.14 ... make -j1 -f Makefile.lnx AR=x86_64-gentoo-linux-musl-ar CC=x86_64-gentoo-linux-musl-gcc for d in newfs_hfs.tproj fsck_hfs.tproj; do make -C $d -f Makefile.lnx all; done make[1]: Entering directory '/var/tmp/portage/sys-fs/diskdev_cmds-332.14_p1-r2/work/diskdev_cmds-332.14/newfs_hfs.tproj' x86_64-gentoo-linux-musl-gcc -O2 -pipe -march=native -Wall -I/var/tmp/portage/sys-fs/diskdev_cmds-332.14_p1-r2/work/diskdev_cmds-332.14/include -DDEBUG_BUILD=0 -D_FILE_OFFSET_BITS=64 -D LINUX=1 -D BSD=1 -c -o hfs_endian.o hfs_endian.c x86_64-gentoo-linux-musl-gcc -O2 -pipe -march=native -Wall -I/var/tmp/portage/sys-fs/diskdev_cmds-332.14_p1-r2/work/diskdev_cmds-332.14/include -DDEBUG_BUILD=0 -D_FILE_OFFSET_BITS=64 -D LINUX=1 -D BSD=1 -c -o makehfs.o makehfs.c In file included from makehfs.c:38: /usr/include/sys/errno.h:1:2: warning: #warning redirecting incorrect #include to [-Wcpp] 1 | #warning redirecting incorrect #include to | ^~~~~~~ makehfs.c:40:10: fatal error: sys/sysctl.h: No such file or directory 40 | #include | ^~~~~~~~~~~~~~ compilation terminated. make[1]: *** [: makehfs.o] Error 1 make[1]: Leaving directory '/var/tmp/portage/sys-fs/diskdev_cmds-332.14_p1-r2/work/diskdev_cmds-332.14/newfs_hfs.tproj' make[1]: Entering directory '/var/tmp/portage/sys-fs/diskdev_cmds-332.14_p1-r2/work/diskdev_cmds-332.14/fsck_hfs.tproj' x86_64-gentoo-linux-musl-gcc -O2 -pipe -march=native -Wall -I/var/tmp/portage/sys-fs/diskdev_cmds-332.14_p1-r2/work/diskdev_cmds-332.14/include -DDEBUG_BUILD=0 -D_FILE_OFFSET_BITS=64 -D LINUX=1 -D BSD=1 -c -o fsck_hfs.o fsck_hfs.c In file included from fsck_hfs.c:45: fsck_hfs.h:50:25: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘__P’ 50 | char *blockcheck __P((char *name)); | ^~~ fsck_hfs.h:51:13: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘__P’ 51 | void catch __P((int)); | ^~~ fsck_hfs.h:52:14: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘__P’ 52 | void ckfini __P((int markclean)); | ^~~ fsck_hfs.h:53:14: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘__P’ 53 | void pfatal __P((const char *fmt, ...)); | ^~~ fsck_hfs.h:54:13: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘__P’ 54 | void pwarn __P((const char *fmt, ...)); | ^~~ fsck_hfs.h:55:12: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘__P’ 55 | int reply __P((char *question)); | ^~~ fsck_hfs.c:91:25: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘__P’ 91 | static int checkfilesys __P((char * filesys)); | ^~~ fsck_hfs.c:92:18: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘__P’ 92 | static int setup __P(( char *dev, int *blockDevice_fdPtr, int *canWritePtr )); | ^~~ fsck_hfs.c:93:19: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘__P’ 93 | static void usage __P((void)); | ^~~ fsck_hfs.c:94:28: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘__P’ 94 | static void getWriteAccess __P(( char *dev, int *blockDevice_fdPtr, int *canWritePtr )); | ^~~ fsck_hfs.c:95:24: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘__P’ 95 | extern char *unrawname __P((char *name)); | ^~~ fsck_hfs.c: In function ‘main’: fsck_hfs.c:139:5: warning: implicit declaration of function ‘usage’ [-Wimplicit-function-declaration] 139 | usage(); | ^~~~~ fsck_hfs.c:191:10: warning: implicit declaration of function ‘checkfilesys’ [-Wimplicit-function-declaration] 191 | ret |= checkfilesys(blockcheck(*argv++)); | ^~~~~~~~~~~~ fsck_hfs.c:191:23: warning: implicit declaration of function ‘blockcheck’ [-Wimplicit-function-declaration] 191 | ret |= checkfilesys(blockcheck(*argv++)); | ^~~~~~~~~~ fsck_hfs.c: At top level: fsck_hfs.c:197:1: error: static declaration of ‘checkfilesys’ follows non-static declaration 197 | checkfilesys(char * filesys) | ^~~~~~~~~~~~ fsck_hfs.c:191:10: note: previous implicit declaration of ‘checkfilesys’ was here 191 | ret |= checkfilesys(blockcheck(*argv++)); | ^~~~~~~~~~~~ fsck_hfs.c: In function ‘checkfilesys’: fsck_hfs.c:249:3: warning: implicit declaration of function ‘pwarn’ [-Wimplicit-function-declaration] 249 | pwarn("starting\n"); | ^~~~~ fsck_hfs.c:251:6: warning: implicit declaration of function ‘setup’; did you mean ‘setuid’? [-Wimplicit-function-declaration] 251 | if (setup( filesys, &blockDevice_fd, &canWrite ) == 0) { | ^~~~~ | setuid fsck_hfs.c:253:4: warning: implicit declaration of function ‘pfatal’ [-Wimplicit-function-declaration] 253 | pfatal("CAN'T CHECK FILE SYSTEM."); | ^~~~~~ fsck_hfs.c:300:3: warning: implicit declaration of function ‘ckfini’ [-Wimplicit-function-declaration] 300 | ckfini(1); | ^~~~~~ fsck_hfs.c:199:6: warning: variable ‘flags’ set but not used [-Wunused-but-set-variable] 199 | int flags; | ^~~~~ fsck_hfs.c: At top level: fsck_hfs.c:391:1: error: static declaration of ‘setup’ follows non-static declaration 391 | setup( char *dev, int *blockDevice_fdPtr, int *canWritePtr ) | ^~~~~ fsck_hfs.c:251:6: note: previous implicit declaration of ‘setup’ was here 251 | if (setup( filesys, &blockDevice_fd, &canWrite ) == 0) { | ^~~~~ fsck_hfs.c: In function ‘setup’: fsck_hfs.c:418:2: warning: implicit declaration of function ‘getWriteAccess’ [-Wimplicit-function-declaration] 418 | getWriteAccess( dev, blockDevice_fdPtr, canWritePtr ); | ^~~~~~~~~~~~~~ fsck_hfs.c: At top level: fsck_hfs.c:459:13: warning: conflicting types for ‘getWriteAccess’ 459 | static void getWriteAccess( char *dev, int *blockDevice_fdPtr, int *canWritePtr ) | ^~~~~~~~~~~~~~ fsck_hfs.c:459:13: error: static declaration of ‘getWriteAccess’ follows non-static declaration fsck_hfs.c:418:2: note: previous implicit declaration of ‘getWriteAccess’ was here 418 | getWriteAccess( dev, blockDevice_fdPtr, canWritePtr ); | ^~~~~~~~~~~~~~ fsck_hfs.c:531:1: warning: conflicting types for ‘usage’ 531 | usage() | ^~~~~ fsck_hfs.c:531:1: error: static declaration of ‘usage’ follows non-static declaration fsck_hfs.c:139:5: note: previous implicit declaration of ‘usage’ was here 139 | usage(); | ^~~~~ fsck_hfs.c:531:1: warning: ‘usage’ defined but not used [-Wunused-function] 531 | usage() | ^~~~~ fsck_hfs.c:459:13: warning: ‘getWriteAccess’ defined but not used [-Wunused-function] 459 | static void getWriteAccess( char *dev, int *blockDevice_fdPtr, int *canWritePtr ) | ^~~~~~~~~~~~~~ fsck_hfs.c:391:1: warning: ‘setup’ defined but not used [-Wunused-function] 391 | setup( char *dev, int *blockDevice_fdPtr, int *canWritePtr ) | ^~~~~ fsck_hfs.c:197:1: warning: ‘checkfilesys’ defined but not used [-Wunused-function] 197 | checkfilesys(char * filesys) | ^~~~~~~~~~~~ make[1]: *** [: fsck_hfs.o] Error 1 make[1]: Leaving directory '/var/tmp/portage/sys-fs/diskdev_cmds-332.14_p1-r2/work/diskdev_cmds-332.14/fsck_hfs.tproj' make: *** [Makefile.lnx:6: all] Error 2 * ERROR: sys-fs/diskdev_cmds-332.14_p1-r2::gentoo failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=sys-fs/diskdev_cmds-332.14_p1-r2::gentoo'`, * the complete build log and the output of `emerge -pqv '=sys-fs/diskdev_cmds-332.14_p1-r2::gentoo'`. * The complete build log is located at '/var/log/portage/sys-fs:diskdev_cmds-332.14_p1-r2:20200402-021314.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/sys-fs/diskdev_cmds-332.14_p1-r2/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/sys-fs/diskdev_cmds-332.14_p1-r2/temp/environment'. * Working directory: '/var/tmp/portage/sys-fs/diskdev_cmds-332.14_p1-r2/work/diskdev_cmds-332.14' * S: '/var/tmp/portage/sys-fs/diskdev_cmds-332.14_p1-r2/work/diskdev_cmds-332.14'