Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 57079

Summary: svgalib tries to install module to `uname -r`, not where /usr/src/linux points
Product: Gentoo Linux Reporter: Elan Ruusamäe <glen>
Component: [OLD] LibraryAssignee: SpanKY <vapier>
Status: RESOLVED FIXED    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Elan Ruusamäe 2004-07-14 16:41:52 UTC
this is obviously wrong. not everyone compiles there where he also runs gentoo.


# emerge svgalib
Calculating dependencies ...done!
>>> emerge (1 of 1) media-libs/svgalib-1.9.18-r1 to /
>>> md5 src_uri ;-) svgalib-1.9.18.tar.gz
[cut]
wrapdemo.c:495: warning: return type of `main' is not `int'
# chown root wrapdemo
# chmod u+s wrapdemo
make[1]: Leaving directory `/var/tmp/portage/svgalib-1.9.18-r1/work/svgalib-1.9.18/threeDKit'
make -C /lib/modules/2.4.22-1.2115.nptlsmp/build SUBDIRS=/var/tmp/portage/svgalib-1.9.18-r1/work/svgalib-1.9.18/kernel/svgalib_helper modules
make: *** /lib/modules/2.4.22-1.2115.nptlsmp/build: No such file or directory.  Stop.
make: *** [default] Error 2

!!! ERROR: media-libs/svgalib-1.9.18-r1 failed.
!!! Function src_compile, Line 95, Exitcode 2
!!! Failed to build kernel module!


# l /usr/src/linux
lrwxrwxrwx  1 root root 15 Jul 13 23:47 /usr/src/linux -> linux-2.6.7-ck5/

# l /lib/modules/2.6.7-ck5/build
lrwxrwxrwx  1 root root 24 Jul 14 02:25 /lib/modules/2.6.7-ck5/build -> /usr/src/linux-2.6.7-ck5/



Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Comment 1 SpanKY gentoo-dev 2004-07-14 16:58:58 UTC
try svgalib-1.9.19
Comment 2 Elan Ruusamäe 2004-07-15 04:18:53 UTC
works there, but it's ~ARCH masked.
Comment 3 SpanKY gentoo-dev 2004-07-15 06:20:48 UTC
i patched 1.9.19 ;)

lets push it to stable shall we
Comment 4 SpanKY gentoo-dev 2004-07-15 06:22:21 UTC
1.9.19 is now stable