Summary: | linux-wlan-ng fails to compile, but same version compile successful by hand | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Andrea Cerrito <is> |
Component: | [OLD] Unspecified | Assignee: | Peter Johanson (RETIRED) <latexer> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | sebsjo |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | patch |
Description
Andrea Cerrito
2003-08-03 15:36:29 UTC
I have the same problem. I figured out that it was the ARCH variable that interfered with the kernel buildsystem thus this error: Makefile:272: arch/x86/Makefile: No such file or directory When I unset the ARCH variable in the ebuild it seems to compile but I get a sandbox violation instead when the kernel buildsystem is about to perform stage 2 of the module building. Just some additional info, I don't know how to fix it. Ok, I had some time to fix this now however I did it against linux-wlan-ng-0.2.1_pre13 since it was the only version that seemed to work with linux-2.6.0-test7. Note, this is a strange way to fix it... 1. Copy pre11 to pre13 and make all that other stuff (digest). 2. Add an "unset ARCH" into the ebuild after the MY_ARCH assignment. 3. Get the Configure file from the pcmcia_cs package, edit it by removing the test that tests for the right version of module utilities. It might be updated in a later pcmcia_cs but I didn't bother to look. 4. I added a "cp <the edited pcmcia_cs Configure file > ." before the place where it gets called in the ebuild. 5. DISABLE_SANDBOX=1 emerge linux-wlan-ng It worked! DISABLE_SANDBOX=1 is wrong, it should be SANDBOX_DISABLED=1. Sorry! Why do you need SANDBOX_DISABLED=1? I think I've found the probelm. There are too many "mv default.config config.in". This little patch seems to solve all problems. Can someone test it? Created attachment 19805 [details, diff]
patch
Okay. 0.2.1_pre17 is in portage now with unsetting ARCH, using sed-4 so we can avoid all the annoying copies of that one file. There's info in the pkg_postinst about the sandbox issues, but i'll add a check for sandbox and 2.6 and die if it's a problem and let people know. Closing this mishmash of bugs as FIXED. reopen if there's still problems. |