Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 57079 - svgalib tries to install module to `uname -r`, not where /usr/src/linux points
Summary: svgalib tries to install module to `uname -r`, not where /usr/src/linux points
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: All Linux
: High normal
Assignee: SpanKY
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-07-14 16:41 UTC by Elan Ruusamäe
Modified: 2004-07-15 06:22 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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