Summary: | svgalib-1.9.18-p1 fails to install (sandbox ACCESS DENIED) on Linux 2.6.5-gentoo-r1 | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Henrik Grubbström <grubba> |
Component: | New packages | Assignee: | SpanKY <vapier> |
Status: | RESOLVED INVALID | ||
Severity: | normal | ||
Priority: | High | ||
Version: | unspecified | ||
Hardware: | x86 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Henrik Grubbström
2004-07-06 02:21:14 UTC
sync up in a bit and try again ... then post the failure message again if it fails ... is your /usr/src/linux symlink pointing to 2.6.5 ? > is your /usr/src/linux symlink pointing to 2.6.5 ?
Ah, that's probably the cause:
# ls -l /usr/src
total 996
lrwxr-xr-x 1 root root 10 Feb 6 21:10 linux -> linux-beta
...
drwxr-xr-x 19 root root 4096 Jun 29 15:44 linux-2.6.5-gentoo-r1
drwxr-xr-x 19 root root 4096 Jun 22 19:01 linux-2.6.7-gentoo-r3
drwxr-xr-x 18 root root 4096 Jun 29 16:46 linux-2.6.7-gentoo-r6
lrwxr-xr-x 1 root root 21 Jun 22 17:52 linux-beta -> linux-2.6.7-gentoo-r3
Yes, worked with an updated (or rather reverted) symlink. So the question is now if the ebuild should detect this problem? not really ... it's kind of an ugly situation ... if you try to 'get smart' and figure out what the user wants to happen with building kernel modules you'll most likely end up doing exactly what they dont want :) portage requires /usr/src/linux to point to the kernel tree you wish to build against ... this way the user can build modules against either their current running kernel or maybe against a kernel that they'll be deploying on another machine but not run on their own in this case, svgalib has to figure out whether it can build the kernel module for 2.6.x the 'ugly' way (2.6.0 - 2.6.5) or the 'clean' way (2.6.6+) ... choose the wrong way and we see errors like you got or maybe it'll work but the resulting module is unusable :) True, I didn't suggest a DWIM. I suggested a better diagnostic. DWIM ? and i dont know what you mean by a 'better' diagnostic DWIM: Do What I Mean. ie try to guess what the user intended. Better diagnostic: Detect the problem, and inform the user that /usr/src/linux needs to point to the kernel source for the currently running kernel. |