Summary: | rfswitch-0.1-r1 fails to emerge | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | David Raison <david> |
Component: | New packages | Assignee: | Gentoo Linux bug wranglers <bug-wranglers> |
Status: | RESOLVED NEEDINFO | ||
Severity: | normal | CC: | estar |
Priority: | High | ||
Version: | 2006.0 | ||
Hardware: | x86 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | patch to make the Makefile use a different value for MODVERDIR |
Description
David Raison
2006-07-11 01:15:32 UTC
Erm, just post the errors and attach the build log, we can't guess. MAKEOPTS="-j1" emerge rfswitch &> emerge.log sorry, didn't think of that... shame on me ------------- Calculating dependencies ... done! >>> Emerging (1 of 1) net-wireless/rfswitch-0.1-r1 to / >>> checking ebuild checksums ;-) >>> checking auxfile checksums ;-) >>> checking miscfile checksums ;-) >>> checking rfswitch-0.1.tgz ;-) * Determining the location of the kernel source code * Found kernel source directory: * /usr/src/linux * Found sources for kernel version: * 2.6.17-gentoo-r2 >>> Unpacking source... >>> Unpacking rfswitch-0.1.tgz to /var/tmp/portage/rfswitch-0.1-r1/work * Converting rfswitch-0.1/Makefile to use M= instead of SUBDIRS= ... [ ok ] >>> Source unpacked. >>> Compiling source in /var/tmp/portage/rfswitch-0.1-r1/work/rfswitch-0.1 ... * Preparing av5100 module make -C /usr/src/linux M=/var/tmp/portage/rfswitch-0.1-r1/work/rfswitch-0.1 MODVERDIR=/var/tmp/portage/rfswitch-0.1-r1/work/rfswitch-0.1 modules make[1]: Entering directory `/usr/src/linux-2.6.17-gentoo-r2' scripts/Makefile.build:17: /var/tmp/portage/rfswitch-0.1-r1/work/rfswitch-0.1/Makefile: No such file or directory make[2]: *** No rule to make target `/var/tmp/portage/rfswitch-0.1-r1/work/rfswitch-0.1/Makefile'. Stop. make[1]: *** [_module_/var/tmp/portage/rfswitch-0.1-r1/work/rfswitch-0.1] Error 2 make[1]: Leaving directory `/usr/src/linux-2.6.17-gentoo-r2' make: *** [modules] Error 2 !!! ERROR: net-wireless/rfswitch-0.1-r1 failed. Call stack: ebuild.sh, line 1539: Called dyn_compile ebuild.sh, line 939: Called src_compile rfswitch-0.1-r1.ebuild, line 37: Called linux-mod_src_compile linux-mod.eclass, line 515: Called die !!! Unable to make KSRC=/usr/src/linux modules. !!! If you need support, post the topmost build error, and the call stack if relevant. after my latest emerge --sync (23:35 GMT), the merge went well and without problems (just complaining about my patched 80211 stack) so this may have been caused by a previous broken sync.. In that case I apologize for the bug report (although we checked the ebuild and the merge process quite thouroughly) Ok, it wasn't the sync, seems rather to be the kernel version. It doesn't build against 2.6.17-r2, but fine against 2.6.16-r12 Created attachment 96093 [details, diff]
patch to make the Makefile use a different value for MODVERDIR
The crmodverdir rule of linux-2.6.17*/Makefile has gained a line to clear the $(MODVERDIR) directory. Passing $(PWD) as $(MODVERDIR), as is done in the rfswitch 0.1 Makefile, is therefore a problem.
This patch fixes the issue for me when compiling for linux-2.6.17-gentoo-r7 and is unlikely to break stuff, but I would appreciate it if somebody considered updating the ebuild for the 1.1 release of rfswitch, where the issue is already fixed, as well.
|