Bug 19025 - prboom fails to emerge
Bug#: 19025 Product:  Gentoo Linux Version: 1.4_rc2 Platform: x86
OS/Version: Linux Status: RESOLVED Severity: major Priority: P2
Resolution: FIXED Assigned To: games@gentoo.org Reported By: nbensa@gmail.com
Component: Games
URL: 
Summary: prboom fails to emerge
Keywords:  
Status Whiteboard: 
Opened: 2003-04-09 00:47 0000
Description:   Opened: 2003-04-09 00:47 0000
gcc -DHAVE_CONFIG_H -I. -I. -I..     -march=pentium3 -O3 -pipe
-fomit-frame-pointer 
-ffast-math -Wall -Winline -Wwrite-strings -ffast-math -O2 -fomit-frame-pointer 
-mcpu=i686 -march=i686 -I../src  -I/usr/X11R6/include -I/usr/include/SDL 
-D_REENTRANT -c gl_main.c 
In file included from gl_main.c:33: 
gl_intern.h:117: parse error before "glColorTableEXT" 
gl_intern.h:117: warning: type defaults to `int' in declaration of
`glColorTableEXT' 
gl_intern.h:117: `glColorTableEXT' redeclared as different kind of symbol 
/usr/X11R6/include/GL/gl.h:2496: previous declaration of `glColorTableEXT' 
gl_intern.h:117: warning: data definition has no type or storage class 
gl_main.c: In function `gld_InitExtensions': 
gl_main.c:279: warning: assignment makes integer from pointer without a cast 
gl_main.c:280: warning: too many arguments for format 
gl_main.c:286: warning: assignment makes integer from pointer without a cast 
gl_main.c:287: warning: too many arguments for format 
gl_main.c: In function `gld_SetPalette': 
gl_main.c:746: called object is not a function 
gl_main.c: In function `gld_DrawScene': 
gl_main.c:2563: warning: enumeration value `GLDIT_NONE' not handled in switch 
gl_main.c:2563: warning: enumeration value `GLDIT_WALL' not handled in switch 
gl_main.c:2563: warning: enumeration value `GLDIT_SPRITE' not handled in switch 
gl_main.c:2628: warning: enumeration value `GLDIT_NONE' not handled in switch 
gl_main.c:2628: warning: enumeration value `GLDIT_FLAT' not handled in switch 
make[3]: *** [gl_main.o] Error 1 
make[3]: *** Waiting for unfinished jobs.... 
make[3]: Leaving directory
`/var/tmp/portage/prboom-2.2.3/work/prboom-2.2.3/src' 
make[2]: *** [all-recursive] Error 1 
make[2]: Leaving directory
`/var/tmp/portage/prboom-2.2.3/work/prboom-2.2.3/src' 
make[1]: *** [all-recursive] Error 1 
make[1]: Leaving directory `/var/tmp/portage/prboom-2.2.3/work/prboom-2.2.3' 
make: *** [all-recursive-am] Error 2 

!!! ERROR: app-games/prboom-2.2.3 failed. 
!!! Function src_compile, Line 30, Exitcode 2 
!!! (no error message) 


nbensa@venkman nbensa $ emerge info 
Portage 2.0.47-r10 (default-x86-1.4, gcc-3.2.2, glibc-2.3.2-r1) 
================================================================= 
System uname: 2.4.20-gentoo-r1 i686 Pentium III (Coppermine) 
GENTOO_MIRRORS="ftp://ftp.ibiblio.org/pub/linux/distributions/gentoo 
http://distro.ibiblio.org/gentoo " 
CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config 
/usr/kde/3/share/config /usr/X11R6/lib/X11/xkb /usr/kde/3.1/share/config 
/usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ 
/usr/share/config" 
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" 
PORTDIR="/usr/portage" 
DISTDIR="/usr/portage/distfiles" 
PKGDIR="/usr/portage/packages" 
PORTAGE_TMPDIR="/var/tmp" 
PORTDIR_OVERLAY="" 
USE="x86 oss apm avi crypt cups encode gif java jpeg libg++ mikmod mmx mpeg 
ncurses nls pdflib png quicktime spell truetype xml2 xmms xv zlib alsa gdbm
berkdb 
slang readline arts tetex svga X sdl tcpd pam libwww python esd imlib oggvorbis
gtk qt 
kde motif opengl -3dnow aalib acl acpi acpi4linux -afs cdr dvd ethereal -gnome
-gpm 
gtk2 imap -innodb ipv6 jikes ldap -mysql -odbc perl ruby samba scanner slp
-snmp 
socks5 sse ssl tcltk threads tiff usb wmf xface xfs xml" 
COMPILER="gcc3" 
CHOST="i686-pc-linux-gnu" 
CFLAGS="-march=pentium3 -O3 -pipe -fomit-frame-pointer -ffast-math" 
CXXFLAGS="-march=pentium3 -O3 -pipe -fomit-frame-pointer -ffast-math" 
ACCEPT_KEYWORDS="x86 ~arch ~x86" 
MAKEOPTS="-j2" 
AUTOCLEAN="yes" 
SYNC="rsync://rsync.gentoo.org/gentoo-portage" 
FEATURES="sandbox ccache distcc userpriv usersandbox" 

X 4.3.0-r1 
nvidia-glx 1.0.4349

------- Comment #1 From Norberto Bensa 2003-04-19 03:44:09 0000 -------
Please Close. prboom doesn't compile with nvidia opengl, switching to xfree
fixes this 
problem. 

With best regards, 
Norberto 


------- Comment #2 From SpanKY 2003-06-27 22:27:29 0000 -------
yeah thats always bugged me so i went ahead and added a patch for nvidia ;) 
 
http://cvs.gentoo.org/cgi-bin/viewcvs.cgi/gentoo-x86/app-games/prboom/prboom-2.2.3.ebuild.diff?r1=1.3&r2=1.4 
http://cvs.gentoo.org/cgi-bin/viewcvs.cgi/gentoo-x86/app-games/prboom/files/2.2.3-nvidia.patch?rev=1.1&content-type=text/vnd.viewcvs-markup 
http://cvs.gentoo.org/cgi-bin/viewcvs.cgi/gentoo-x86/app-games/prboom/files/2.2.3-nvidia-test.c?rev=1.1&content-type=text/vnd.viewcvs-markup