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

Bug 63170

Summary: splashutils-0.9_pre09 doesn't compile
Product: Gentoo Linux Reporter: TGL <tom.gl>
Component: Current packagesAssignee: Michal Januszewski (RETIRED) <spock>
Status: RESOLVED FIXED    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: All   
Whiteboard:
Package list:
Runtime testing required: ---

Description TGL 2004-09-07 15:42:34 UTC
Here is the end of the compilation log:

-------------
install -D fbres /var/tmp/portage/splashutils-0.9_pre09/image//sbin/fbres
make[1]: Entering directory `/var/tmp/portage/splashutils-0.9_pre09/work/miscsplashutils-0.1.2/fbtruetype'
install -D fbtruetype /var/tmp/portage/splashutils-0.9_pre09/image//sbin/fbtruetype
install -D fbtruetype.static /var/tmp/portage/splashutils-0.9_pre09/image//sbin/fbtruetype.static
make[1]: Leaving directory `/var/tmp/portage/splashutils-0.9_pre09/work/miscsplashutils-0.1.2/fbtruetype'
  MAKE    klibc
opening ../linux/include/linux/errno.h
opening ../linux/include/asm/errno.h
makeerrlist.pl: cannot open ../linux/include/asm/errno.h
gcc: errlist.c: No such file or directory
gcc: no input files
make[1]: *** [errlist.o] Error 1
make: *** [klibc] Error 2
-------------

The bug is in the ebuild, where the klibc version has not been updated:
-                       sed -e "s@#CHANGEME#@${T}/@" -i ${S}/libs/klibc-0.159/klibc/makeerrlist.pl
+                       sed -e "s@#CHANGEME#@${T}/@" -i ${S}/libs/klibc-0.172/klibc/makeerrlist.pl

Once this is corrected, the build process works fine.
Comment 1 Omer Hasan 2004-09-07 21:56:03 UTC
I'm getting an error as well but I dont think it's related to the above.

>>> Install splashutils-0.9_pre09 into /var/tmp/portage/splashutils-0.9_pre09/image/ category media-gfx
install -D fbres /var/tmp/portage/splashutils-0.9_pre09/image//sbin/fbres
make[1]: Entering directory `/var/tmp/portage/splashutils-0.9_pre09/work/miscsplashutils-0.1.2/fbtruetype'
install -D fbtruetype /var/tmp/portage/splashutils-0.9_pre09/image//sbin/fbtruetype
install -D fbtruetype.static /var/tmp/portage/splashutils-0.9_pre09/image//sbin/fbtruetype.static
make[1]: Leaving directory `/var/tmp/portage/splashutils-0.9_pre09/work/miscsplashutils-0.1.2/fbtruetype'
  CC      kernel/splash_kernel.o
In file included from splash_kernel.c:18:
/var/tmp/portage/splashutils-0.9_pre09/work/splashutils-0.9-pre09/linux/include/linux/fb.h:305: error: field `modelist' has incomplete type
make: *** [kernel/splash_kernel.o] Error 1

!!! ERROR: media-gfx/splashutils-0.9_pre09 failed.
!!! Function src_install, Line 79, Exitcode 2
!!! (no error message)

emerge info shows:
Portage 2.0.50-r10 (default-x86-2004.2, gcc-3.3.4, glibc-2.3.3.20040420-r1, 2.6. 9-rc1-nitro3)
=================================================================
System uname: 2.6.9-rc1-nitro3 i686 AMD Athlon(tm) processor
Gentoo Base System version 1.5.3
distcc 2.13 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.3 [enabled]
Autoconf: sys-devel/autoconf-2.59-r4
Automake: sys-devel/automake-1.8.5-r1
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O3 -march=athlon-tbird -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
COMPILER=""
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.2 /share/config /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/ config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O3 -march=athlon-tbird -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache cups fixpackages foomaticdb nls ppds usb"
GENTOO_MIRRORS="http://gentoo.osuosl.org http://distro.ibiblio.org/pub/Linux/dis tributions/gentoo"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage /usr/local/bmg-main"
SYNC="rsync://rsync.us.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext X aalib alsa apache2 apm arts avi berkdb bonobo cdr crypt cu ps distcc dvd encode esd foomaticdb gdbm gif gnome gpm gtk gtk2 gtkhtml guile im lib java jpeg kde ldap libg++ libwww mad mikmod mmx mmxext motif mozilla mpeg my sql ncurses nls oggvorbis opengl oss pam pdflib perl png ppds python qt quicktim e readline samba sdl slang spell ssl svga syscall tcltk tcpd truetype x x86 xml2  xmms xv zlib"
Comment 2 Michal Januszewski (RETIRED) gentoo-dev 2004-09-08 08:32:47 UTC
TGL: Thanks, it has been fixed now. 
Omer: Your problem is related to a bug in the kernel headers of the kernel you're using, please search bugs.gentoo.org for previous reports of this problem - they contain a description of a possible solution.