Summary: | sys-apps/modutils-2.4.27-r1 - sys_nim.c:48:16: error: expected declaration specifiers or '...' before 'sys_init_module' | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Martin Mokrejš <mmokrejs> |
Component: | Current packages | Assignee: | Gentoo's Team for Core System packages <base-system> |
Status: | RESOLVED OBSOLETE | ||
Severity: | normal | CC: | bug, moixa, treecleaner |
Priority: | Normal | Keywords: | PMASKED |
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Deadline: | 2020-09-07 | ||
Attachments: | build.log |
Description
Martin Mokrejš
2016-12-08 17:36:30 UTC
I tried gcc version from 4.7.4 to 5.4.0 and they all failed. Can you please attach the full build.log to this bug? you have a 2.6 kernel, so why are you trying to install modutils ? that package is only for linux-2.4 users. you want kmod instead. (In reply to SpanKY from comment #3) > you have a 2.6 kernel, so why are you trying to install modutils ? that > package is only for linux-2.4 users. you want kmod instead. I do not know how I got to emerge this but I agree with you. Could the ebuild die sooner with a clearer message? Created attachment 456060 [details]
build.log
we can probably add a dep on linux-headers-2.4, but i don't think trying to add code to guess the user's intentions is worth the effort Or checking some version number in the headers right away? That woudl be even better IMHO. The below did not really help me to find out where is the kernel version stored. grep -i version /usr/include/linux/* | grep 4\\.8 Maybe you know from top of your head anyway. I can confirm. It started happening to me after I changed the profile to "17.0". "emerge -e world" halts at modutils with these errors. I don't have a 2.4 kernel, so I've solved this problem by installing sys-apps/kmod[tools]. It's an optional dependency of virtual/modutils: https://github.com/gentoo/gentoo/blob/master/virtual/modutils/modutils-0.ebuild After installing kmod, virtual/modutils is happy and doesn't want sys-apps/modutils anymore. Confirmed here on an ~amd64 system, does not build with the same failure. Prolly time to last rite it; do we even have any 2.4 kernels in the tree? modutils is obsolete and has been masked for removal. Package removed. |