Summary: | sys-kernel/kpatch-0.6.3[kmod]: kmod/core/core.c:143:15: error: variable ‘trace’ has initializer but incomplete type | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Stefan Strogin <steils> |
Component: | Current packages | Assignee: | Alice Ferrazzi <alicef> |
Status: | RESOLVED UPSTREAM | ||
Severity: | normal | ||
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
See Also: | https://github.com/dynup/kpatch/issues/966 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
build.log
config.gz |
Created attachment 584964 [details]
config.gz
5.2.3-gentoo
issues/966 as been close upstream and the package as been updated |
Created attachment 584912 [details] build.log USE="kmod kpatch kpatch-build -contrib -doc -test" make -C core make[1]: Entering directory '/var/tmp/portage/sys-kernel/kpatch-0.6.3/work/kpatch-0.6.3/kmod/core' make -C /lib/modules/5.2.3-gentoo/build M=/var/tmp/portage/sys-kernel/kpatch-0.6.3/work/kpatch-0.6.3/kmod/core kpatch.ko make[2]: Entering directory '/usr/src/linux-5.2.3-gentoo' CC [M] /var/tmp/portage/sys-kernel/kpatch-0.6.3/work/kpatch-0.6.3/kmod/core/core.o /var/tmp/portage/sys-kernel/kpatch-0.6.3/work/kpatch-0.6.3/kmod/core/core.c:143:15: error: variable ‘trace’ has initializer but incomplete type 143 | static struct stack_trace trace = { | ^~~~~~~~~~~ /var/tmp/portage/sys-kernel/kpatch-0.6.3/work/kpatch-0.6.3/kmod/core/core.c:144:3: error: ‘struct stack_trace’ has no member named ‘max_entries’ 144 | .max_entries = ARRAY_SIZE(stack_entries), | ^~~~~~~~~~~ In file included from ./include/linux/list.h:9, from ./include/linux/module.h:9, from /var/tmp/portage/sys-kernel/kpatch-0.6.3/work/kpatch-0.6.3/kmod/core/core.c:37: ./include/linux/kernel.h:47:25: warning: excess elements in struct initializer 47 | #define ARRAY_SIZE(arr) (sizeof(arr) / sizeof((arr)[0]) + __must_be_array(arr)) | ^ /var/tmp/portage/sys-kernel/kpatch-0.6.3/work/kpatch-0.6.3/kmod/core/core.c:144:17: note: in expansion of macro ‘ARRAY_SIZE’ 144 | .max_entries = ARRAY_SIZE(stack_entries), | ^~~~~~~~~~ ./include/linux/kernel.h:47:25: note: (near initialization for ‘trace’) 47 | #define ARRAY_SIZE(arr) (sizeof(arr) / sizeof((arr)[0]) + __must_be_array(arr)) | ^ /var/tmp/portage/sys-kernel/kpatch-0.6.3/work/kpatch-0.6.3/kmod/core/core.c:144:17: note: in expansion of macro ‘ARRAY_SIZE’ 144 | .max_entries = ARRAY_SIZE(stack_entries), | ^~~~~~~~~~ /var/tmp/portage/sys-kernel/kpatch-0.6.3/work/kpatch-0.6.3/kmod/core/core.c:145:3: error: ‘struct stack_trace’ has no member named ‘entries’ 145 | .entries = &stack_entries[0], | ^~~~~~~ /var/tmp/portage/sys-kernel/kpatch-0.6.3/work/kpatch-0.6.3/kmod/core/core.c:145:13: warning: excess elements in struct initializer 145 | .entries = &stack_entries[0], (...) cc1: some warnings being treated as errors make[3]: *** [scripts/Makefile.build:279: /var/tmp/portage/sys-kernel/kpatch-0.6.3/work/kpatch-0.6.3/kmod/core/core.o] Error 1 make[2]: *** [Makefile:1746: kpatch.o] Error 2 make[2]: Leaving directory '/usr/src/linux-5.2.3-gentoo' make[1]: *** [Makefile:13: kpatch.ko] Error 2 make[1]: Leaving directory '/var/tmp/portage/sys-kernel/kpatch-0.6.3/work/kpatch-0.6.3/kmod/core' make: *** [Makefile:7: all] Error 2 make: Leaving directory '/var/tmp/portage/sys-kernel/kpatch-0.6.3/work/kpatch-0.6.3/kmod'