Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 50736 - emerge svgalib fails (media-libs/svgalib-1.9.18-r1)
Summary: emerge svgalib fails (media-libs/svgalib-1.9.18-r1)
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: SpanKY
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-05-11 04:19 UTC by Gunar Dierigen
Modified: 2004-05-16 12:16 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 Gunar Dierigen 2004-05-11 04:19:36 UTC
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
Comment 1 Gunar Dierigen 2004-05-11 04:20:49 UTC
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"
Comment 2 Jory A. Pratt 2004-05-11 07:23:23 UTC
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.
Comment 3 Jory A. Pratt 2004-05-11 07:26:53 UTC
/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.
Comment 4 SpanKY gentoo-dev 2004-05-16 01:46:39 UTC
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
Comment 5 Gunar Dierigen 2004-05-16 12:06:43 UTC
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...
Comment 6 SpanKY gentoo-dev 2004-05-16 12:16:22 UTC
ignore jory/gcc-3.4 comment

the point is your /usr/src/linux/Makefile must exist otherwise you're going to get that error