Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 54198 - svgalib fais to compile, complains about mising vga.h
Summary: svgalib fais to compile, complains about mising vga.h
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: SpanKY
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-06-17 06:37 UTC by Simon Strandman
Modified: 2004-06-19 00:11 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
Patch for utils/Makefile (utils-makefile.patch,386 bytes, patch)
2004-06-17 06:52 UTC, Simon Strandman
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Simon Strandman 2004-06-17 06:37:46 UTC
Svgalib-1.9.18-r1 fails to compile with this message:

make[1]: Entering directory `/var/tmp/portage/svgalib-1.9.18-r1/work/svgalib-1.9.18/utils'
gcc -MM /var/tmp/portage/svgalib-1.9.18-r1/work/svgalib-1.9.18/utils/restorefont.c /var/tmp/portage/svgalib-1.9.18-r1/work/svgalib-1.9.18/utils/convfont.c /var/tmp/portage/svgalib-1.9.18-r1/work/svgalib-1.9.18/utils/restoretextmode.c /var/tmp/portage/svgalib-1.9.18-r1/work/svgalib-1.9.18/utils/restorepalette.c /var/tmp/portage/svgalib-1.9.18-r1/work/svgalib-1.9.18/utils/dumpreg.c /var/tmp/portage/svgalib-1.9.18-r1/work/svgalib-1.9.18/utils/fix132x43.c /var/tmp/portage/svgalib-1.9.18-r1/work/svgalib-1.9.18/utils/setmclk.c >.depend
/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 63, Exitcode 2
!!! Failed to build libraries and utils!

This may be a gcc problem bacause it fails to compile on two computers with gcc 3.4.0-r6 but works on another with gcc 3.3.3-r6.

Portage 2.0.50-r8 (default-x86-2004.0, gcc-3.4.0, glibc-2.3.3.20040420-r0, 2.6.7-ck1)
=================================================================
System uname: 2.6.7-ck1 i686 mobile AMD Athlon(tm) XP 1600+
Gentoo Base System version 1.4.15
Autoconf: sys-devel/autoconf-2.59-r3
Automake: sys-devel/automake-1.8.3
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-O3 -march=athlon-xp -mfpmath=sse -pipe -fomit-frame-pointer -ffast-math -fprefetch-loop-arrays -frerun-loop-opt -fPIC -DPIC"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/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-xp -mfpmath=sse -pipe -fomit-frame-pointer -ffast-math -fprefetch-loop-arrays -frerun-loop-opt -fPIC -DPIC"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS="http://mirror.pudas.net/gentoo ftp://ftp.rhnet.is/pub/gentoo/ ftp://linux.rz.ruhr-uni-bochum.de/gentoo-mirror/ http://ftp.rhnet.is/pub/gentoo/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow X aalib acpi alsa apm avi berkdb bonobo cdr crypt dga dvd encode esd esound f77 fbcon foomaticdb gdbm gif gnome gphoto2 gpm gstreamer gtk gtk2 imlib jpeg libg++ libwww linguas_sv lirc mad mikmod mmx mng motif mozilla mpeg ncurses nls nptl objc offensive oggvorbis opengl pam pdflib perl pic png pnp python quicktime readline samba sdl slang spell sse ssl svga tcpd tiff truetype unicode usb video_cards_savage x86 xine xml2 xmms xv xvid zlib"
Comment 1 Simon Strandman 2004-06-17 06:52:34 UTC
Created attachment 33422 [details, diff]
Patch for utils/Makefile

This small patch for utils/Makefile fixes the problem.
Comment 2 SpanKY gentoo-dev 2004-06-19 00:11:57 UTC
this only crops up when you dont have svgalib already on your system :)

added your patch and also snuck in a patch to build lrmi with user's $CFLAGS

thanks