* Package: sys-fs/compsize-1.5:0 * Repository: gentoo * USE: abi_x86_64 amd64 elibc_glibc kernel_linux * FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox >>> Unpacking source... >>> Unpacking compsize-1.5.tar.gz to /var/tmp/portage/sys-fs/compsize-1.5/work >>> Source unpacked in /var/tmp/portage/sys-fs/compsize-1.5/work >>> Preparing source in /var/tmp/portage/sys-fs/compsize-1.5/work/compsize-1.5 ... >>> Source prepared. >>> Configuring source in /var/tmp/portage/sys-fs/compsize-1.5/work/compsize-1.5 ... >>> Source configured. >>> Compiling source in /var/tmp/portage/sys-fs/compsize-1.5/work/compsize-1.5 ... make -j4 x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -c -o compsize.o compsize.c x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -c -o radix-tree.o radix-tree.c In file included from radix-tree.c:39: kerncompat.h:124:9: warning: "__bitwise__" redefined 124 | #define __bitwise__ | ^~~~~~~~~~~ In file included from kerncompat.h:30: /usr/include/linux/types.h:29:9: note: this is the location of the previous definition 29 | #define __bitwise__ __bitwise | ^~~~~~~~~~~ In file included from compsize.c:17: radix-tree.h:51:9: error: unknown type name ‘gfp_t’ 51 | gfp_t gfp_mask; | ^~~~~ radix-tree.h:78:24: error: unknown type name ‘gfp_t’ 78 | int radix_tree_preload(gfp_t gfp_mask); | ^~~~~ radix-tree.h: In function ‘radix_tree_preload_end’: radix-tree.h:94:9: error: implicit declaration of function ‘preempt_enable’ [-Wimplicit-function-declaration] 94 | preempt_enable(); | ^~~~~~~~~~~~~~ compsize.c: In function ‘parse_file_extent_item’: compsize.c:163:10: error: implicit declaration of function ‘IS_ALIGNED’ [-Wimplicit-function-declaration] 163 | if (!IS_ALIGNED(disk_bytenr, 1 << 12)) | ^~~~~~~~~~ compsize.c:167:5: error: implicit declaration of function ‘radix_tree_preload’; did you mean ‘radix_tree_preload_end’? [-Wimplicit-function-declaration] 167 | radix_tree_preload(GFP_KERNEL); | ^~~~~~~~~~~~~~~~~~ | radix_tree_preload_end compsize.c:167:24: error: ‘GFP_KERNEL’ undeclared (first use in this function); did you mean ‘SI_KERNEL’? 167 | radix_tree_preload(GFP_KERNEL); | ^~~~~~~~~~ | SI_KERNEL compsize.c:167:24: note: each undeclared identifier is reported only once for each function it appears in compsize.c: In function ‘do_file’: compsize.c:194:13: error: ‘errno’ undeclared (first use in this function) 194 | if (errno == ENOTTY) | ^~~~~ compsize.c:19:1: note: ‘errno’ is defined in header ‘’; this is probably fixable by adding ‘#include ’ 18 | #include "endianness.h" +++ |+#include 19 | compsize.c:194:22: error: ‘ENOTTY’ undeclared (first use in this function); did you mean ‘N_TTY’? 194 | if (errno == ENOTTY) | ^~~~~~ | N_TTY compsize.c: In function ‘do_recursive_search’: compsize.c:246:17: error: ‘errno’ undeclared (first use in this function) 246 | if (errno == ELOOP // symlink | ^~~~~ compsize.c:246:17: note: ‘errno’ is defined in header ‘’; this is probably fixable by adding ‘#include ’ compsize.c:246:26: error: ‘ELOOP’ undeclared (first use in this function) 246 | if (errno == ELOOP // symlink | ^~~~~ compsize.c:247:26: error: ‘ENXIO’ undeclared (first use in this function) 247 | || errno == ENXIO // some device nodes | ^~~~~ compsize.c:248:26: error: ‘ENODEV’ undeclared (first use in this function); did you mean ‘NODEV’? 248 | || errno == ENODEV // /dev/ptmx | ^~~~~~ | NODEV compsize.c:249:26: error: ‘ENOMEDIUM’ undeclared (first use in this function) 249 | || errno == ENOMEDIUM// more device nodes | ^~~~~~~~~ compsize.c:250:26: error: ‘ENOENT’ undeclared (first use in this function) 250 | || errno == ENOENT) // something just deleted | ^~~~~~ compsize.c:252:31: error: ‘EACCES’ undeclared (first use in this function) 252 | else if (errno == EACCES) | ^~~~~~ compsize.c:275:26: error: implicit declaration of function ‘strlen’ [-Wimplicit-function-declaration] 275 | path_size += strlen(path) + NAME_MAX; | ^~~~~~ compsize.c:19:1: note: include ‘’ or provide a declaration of ‘strlen’ 18 | #include "endianness.h" +++ |+#include 19 | compsize.c:275:26: warning: incompatible implicit declaration of built-in function ‘strlen’ [-Wbuiltin-declaration-mismatch] 275 | path_size += strlen(path) + NAME_MAX; | ^~~~~~ compsize.c:275:26: note: include ‘’ or provide a declaration of ‘strlen’ compsize.c:290:26: error: implicit declaration of function ‘strcmp’ [-Wimplicit-function-declaration] 290 | if (!strcmp(de->d_name, ".")) | ^~~~~~ compsize.c:290:26: note: include ‘’ or provide a declaration of ‘strcmp’ compsize.c:294:41: error: implicit declaration of function ‘strrchr’ [-Wimplicit-function-declaration] 294 | const char *slash = strrchr(path, '/'); | ^~~~~~~ compsize.c:294:41: note: include ‘’ or provide a declaration of ‘strrchr’ compsize.c:294:41: warning: incompatible implicit declaration of built-in function ‘strrchr’ [-Wbuiltin-declaration-mismatch] compsize.c:294:41: note: include ‘’ or provide a declaration of ‘strrchr’ make: *** [Makefile:19: compsize.o] Error 1 make: *** Waiting for unfinished jobs.... * ERROR: sys-fs/compsize-1.5::gentoo failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=sys-fs/compsize-1.5::gentoo'`, * the complete build log and the output of `emerge -pqv '=sys-fs/compsize-1.5::gentoo'`. * The complete build log is located at '/var/log/portage/sys-fs:compsize-1.5:20240816-180323.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/sys-fs/compsize-1.5/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/sys-fs/compsize-1.5/temp/environment'. * Working directory: '/var/tmp/portage/sys-fs/compsize-1.5/work/compsize-1.5' * S: '/var/tmp/portage/sys-fs/compsize-1.5/work/compsize-1.5'