root # 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 * * Could not determine your kernel version. * Make sure that you have /usr/src/linux symlink. * And that said kernel has been configured. * You can also simply run the following command * in the kernel referenced by /usr/src/linux: * make include/linux/version.h * !!! ERROR: media-libs/svgalib-1.9.18-r1 failed. !!! Function check_KV, Line 256, Exitcode 0 !!! (no error message) root # Reproducible: Always Steps to Reproduce: 1. emerge svgalib Actual Results: !!! ERROR: media-libs/svgalib-1.9.18-r1 failed. !!! Function check_KV, Line 256, Exitcode 0 !!! (no error message) Expected Results: correct emerge of svgalib
emerge info: Portage 2.0.50-r6 (default-x86-1.4, gcc-3.3.3, glibc-2.3.3_pre20040420-r0, 2.4.20-gentoo-r6) ================================================================= System uname: 2.4.20-gentoo-r6 i686 VIA Nehemiah Gentoo Base System version 1.4.10 Autoconf: sys-devel/autoconf-2.59-r3 Automake: sys-devel/automake-1.8.3 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CFLAGS="-O2 -mcpu=i686 -pipe" CHOST="i686-pc-linux-gnu" COMPILER="gcc3" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.1/share/config /usr/kde/3/share/config /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O2 -mcpu=i686 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache sandbox" GENTOO_MIRRORS="http://gentoo.inode.at http://gentoo.oregonstate.edu http://www.ibiblio.org/pub/Linux/distributions/gentoo" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="apm arts avi berkdb crypt cups encode esd foomaticdb gdbm gif gpm gtk2 imlib java jpeg libg++ libwww mad mikmod motif mpeg ncurses nls oggvorbis opengl oss pam pdflib perl png python quicktime readline sdl slang spell ssl svga tcltk tcpd x86 xml2 xmms xv zlib"
You dont have your symlink correct ... there is a problem with the ebuild which I will post the error with later in the morning but a linux kernel error is not the problem adjust your symlink.
/var/tmp/portage/svgalib-1.9.18-r1/work/svgalib-1.9.18/utils/restorefont.c:3:17: vga.h: No such file or directory /var/tmp/portage/svgalib-1.9.18-r1/work/svgalib-1.9.18/utils/restoretextmode.c:4:17: vga.h: No such file or directory /var/tmp/portage/svgalib-1.9.18-r1/work/svgalib-1.9.18/utils/restorepalette.c:4:17: vga.h: No such file or directory /var/tmp/portage/svgalib-1.9.18-r1/work/svgalib-1.9.18/utils/dumpreg.c:1:17: vga.h: No such file or directory /var/tmp/portage/svgalib-1.9.18-r1/work/svgalib-1.9.18/utils/fix132x43.c:49:17: vga.h: No such file or directory /var/tmp/portage/svgalib-1.9.18-r1/work/svgalib-1.9.18/utils/setmclk.c:41:17: vga.h: No such file or directory make[1]: *** [.depend] Error 1 make[1]: Leaving directory `/var/tmp/portage/svgalib-1.9.18-r1/work/svgalib-1.9.18/utils' make: *** [textutils] Error 2 !!! ERROR: media-libs/svgalib-1.9.18-r1 failed. !!! Function src_compile, Line 60, Exitcode 2 !!! Failed to build libraries and utils! This is the correct error you get when running emerge svgalib if your using gcc-3.4.
Gunar: like avenj said, your system isnt setup properly Jory: dunno what's going on with your error ... provide more info in a new bug report please
I'm able to read the error message and certainly I checked the symlink under /usr/src/... My System is working properly, even after reboot (just for test). One thing I remember: I compiled a new 2.6 kernel but it is not activated, maybe that is important. And why should I use gcc-3.4.x? I use the gcc-3.3.3 version and there are no (other) problems with that. I just tried again to emerge the svgalib packet (after emerge sync and fixpackages), same error message...
ignore jory/gcc-3.4 comment the point is your /usr/src/linux/Makefile must exist otherwise you're going to get that error