Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug
Bug#: 54198
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: SpanKY <vapier@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Simon Strandman <simon.strandman@telia.com>
Add CC:
CC:
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
utils-makefile.patch Patch for utils/Makefile patch Simon Strandman 2004-06-17 06:52 0000 386 bytes Details | Diff
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 54198 depends on: Show dependency tree
Bug 54198 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2004-06-17 06:37 0000
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 From Simon Strandman 2004-06-17 06:52:34 0000 -------
Created an attachment (id=33422) [details]
Patch for utils/Makefile

This small patch for utils/Makefile fixes the problem.

------- Comment #2 From SpanKY 2004-06-19 00:11:57 0000 -------
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

Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug