Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 900332 Details for
Bug 938025
sys-fs/compsize-1.5: fails to compile with >=sys-fs/btrfs-progs-6.10.1 (compsize.c: error: GFP_KERNEL undeclared (first use in this function))
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
sys-fs:compsize-1.5:20240816-180323.log
sys-fs:compsize-1.5:20240816-180323.log (text/plain), 6.86 KB, created by
Toralf Förster
on 2024-08-16 21:19:13 UTC
(
hide
)
Description:
sys-fs:compsize-1.5:20240816-180323.log
Filename:
MIME Type:
Creator:
Toralf Förster
Created:
2024-08-16 21:19:13 UTC
Size:
6.86 KB
patch
obsolete
> * 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 â<errno.h>â; this is probably fixable by adding â#include <errno.h>â > 18 | #include "endianness.h" > +++ |+#include <errno.h> > 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 â<errno.h>â; this is probably fixable by adding â#include <errno.h>â >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 â<string.h>â or provide a declaration of âstrlenâ > 18 | #include "endianness.h" > +++ |+#include <string.h> > 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 â<string.h>â 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 â<string.h>â 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 â<string.h>â 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 â<string.h>â 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' >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 938025
:
900326
|
900327
|
900328
|
900329
|
900330
|
900331
| 900332 |
900333