Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 51279 - broken svgalib ebuild
Summary: broken svgalib ebuild
Status: RESOLVED DUPLICATE of bug 43277
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High blocker (vote)
Assignee: SpanKY
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-05-17 06:33 UTC by Antonio D'souza
Modified: 2005-07-17 13:06 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 Antonio D'souza 2004-05-17 06:33:16 UTC
The Ebuild is looking for autoconf.h in /usr/src/linux/include/linux/ when it should be looking for it in /usr/include/linux/ instead (I assume).

Reproducible: Always
Steps to Reproduce:
1. emerge rsync
2. emerge -u world
Actual Results:  
# chown root wrapdemo
# chmod u+s wrapdemo
make[1]: Leaving directory
`/usr/portage/tmp/portage/svgalib-1.9.18-r1/work/svgalib-1.9.18/threeDKit'
grep: /usr/src/linux/include/linux/autoconf.h: No such file or directory
Makefile.alt:11: *** commands commence before first target.  Stop.
 
!!! ERROR: media-libs/svgalib-1.9.18-r1 failed.
!!! Function src_compile, Line 83, Exitcode 2
!!! Failed to build kernel module!

Expected Results:  
A successful Ebuild update.
Comment 1 Chris White (RETIRED) gentoo-dev 2004-05-17 17:38:27 UTC
It worked ok on my side..

sys-devel/autoconf-2.58-r1 *

That's my version of autoconfig if it helps.

Also you might want to try emerge sync again to see if it was fixed in a recent update.
Comment 2 Antonio D'souza 2004-05-17 18:06:27 UTC
My autoconf is at version 2.59-r3, which is newer than yours. I did an rsync this afternoon but it didn't help any. I even tried removing & reinstalling svgalib but to no avail. 
Comment 3 Tuan Van (RETIRED) gentoo-dev 2004-05-17 22:29:19 UTC
take a look at bug #43277. It looks similar.
Comment 4 Nanouck 2004-05-18 15:20:54 UTC
Hello,

I have nearly the same problem. I've just compiled a new linux-2.6.6 kernel, so this one has no CONFIG_MODVERSION flag, which is required in 
the Makefile.alt:
MODVER = $(shell grep CONFIG_MODVERSIONS $(INCLUDEDIR)/linux/autoconf.h)
ifeq ($(MODVER),)
    @echo INCLUDEDIR is not set up correctly
    exit 1
endif

A patch is needed to correct all referencies to MODVER.

What do you think about it ?
Comment 5 SpanKY gentoo-dev 2004-05-23 20:15:56 UTC
svgalib needs your kernel source (/usr/src/linux)

the only way i could get CONFIG_MODVERSIONS to not appear in include/linux/autoconf.h
was to disable module support ... as soon as i enabled it, this appeared in the file:
#define CONFIG_MODVERSIONS 1

so if you have modules disabled, well svgalib isnt going to work anyways :)

*** This bug has been marked as a duplicate of 43277 ***