Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 26838 - svgalib-1.9.17-r3 fails to build with error "INCLUDEDIR is not set up correctly."
Summary: svgalib-1.9.17-r3 fails to build with error "INCLUDEDIR is not set up correct...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL: http://www.gangwarily.ca/svgalib-err.txt
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-08-17 19:48 UTC by Mark E. Drummond
Modified: 2003-09-03 18:42 UTC (History)
2 users (show)

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 Mark E. Drummond 2003-08-17 19:48:41 UTC
Updating my desktop. It is quite out of date (130 packages to be updated), at 
least compared to my other boxes. The build of svgalib is failing. See the URL 
for gcc output. 

Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Comment 1 Mark E. Drummond 2003-08-17 19:51:10 UTC
Platform is a P-II 400MHz. 
 
USE="acl apache2 athena cscope curl dga dvd fbcon gb gd imap innodb ipv6 \ 
     jikes junit kerberos ldap libgda maildir mbox mcal pda plotutils ppds \ 
     samba sasl slp snmp socks5 sse tiff usagi usb vim-with-x wmf Xaw3d \ 
     xinerama -3dnow" 
 
CFLAGS="-march=pentium2 -O2 -pipe" 
CXXFLAGS="${CFLAGS}" 
ACCEPT_KEYWORDS="~x86" 
SYNC="rsync://rsync.ca.gentoo.org/gentoo-portage" 
FEATURES="distcc" 
 
 
Comment 2 Brandy Westcott (RETIRED) gentoo-dev 2003-08-26 19:52:08 UTC
The compile dies with the error: 
 
	make: Entering directory 
`/var/tmp/portage/svgalib-1.9.17-r3/work/svgalib-1.9.17/kernel/svgalib_helper' 
	Makefile:10: *** INCLUDEDIR is not set up correctly.  Stop. 
 
INCLUDEDIR is set in the svgalib ebuild: 
 
	make INCLUDEDIR="/usr/src/linux/include" -C kernel/svgalib_helper \ 
		clean all || die "Failed to build kernel module!" 
 
This error is easily reproduced by upgrading kernel sources without running make 
menuconfig or make dep on the new sources: 
 
1.  2.4.20-gentoo-r5 is the currently used kernel 
2.  emerge gentoo-sources-2.4.20-r6 
3.  ln -sf /usr/src/linux-2.4.20-gentoo-r6 /usr/src/linux 
4.  emerge /usr/portage/media-libs/svgalib/svgalib-1.9.17-r3.ebuild 
 
Comment 3 Mark E. Drummond 2003-09-03 18:42:35 UTC
That look's to be it. I built 2.4.20-gentoo-r6 on Aug 22 and svgalib has since 
been updated. 
 
Thanks, 
 
Mark