Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 71841 - games-fps/industri-1.01 doesn't compile
Summary: games-fps/industri-1.01 doesn't compile
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Games (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Games
URL:
Whiteboard:
Keywords:
: 96056 (view as bug list)
Depends on:
Blocks:
 
Reported: 2004-11-20 06:41 UTC by Andreas Korinek
Modified: 2005-06-14 08:30 UTC (History)
7 users (show)

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


Attachments
1.01-glheaders.patch (1.01-glheaders.patch,20.69 KB, patch)
2005-06-12 05:50 UTC, Anton Romanov
Details | Diff
1.01-glheaders.patch (1.01-glheaders.patch,17.01 KB, patch)
2005-06-12 06:18 UTC, Anton Romanov
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Andreas Korinek 2004-11-20 06:41:39 UTC
>>> md5 src_uri ;-) industri_BIN-1.01-src.tar.gz
>>> md5 src_uri ;-) industri-1.00.zip
>>> Unpacking source...
>>> Unpacking industri_BIN-1.01-src.tar.gz to /var/tmp/portage/industri-1.01/work
>>> Unpacking industri-1.00.zip to /var/tmp/portage/industri-1.01/work
>>> Source unpacked.
make targets BUILDDIR=releasei386.glibc CFLAGS="-DBASEDIR="/usr/share/games/quake-data" -DUSERPREF_DIR -D__glx__ -DGLQUAKE  -I../ -O2 -march=athlon-tbird -pipe -fomit-frame-pointer -fomit-frame-pointer -fexpensive-optimizations"
make[1]: Entering directory `/var/tmp/portage/industri-1.01/work/industri_BIN/linux'
/usr/bin/gcc -DBASEDIR=/usr/share/games/quake-data -DUSERPREF_DIR -D__glx__ -DGLQUAKE  -I../ -O2 -march=athlon-tbird -pipe -fomit-frame-pointer -fomit-frame-pointer -fexpensive-optimizations -o releasei386.glibc/glquake/cl_demo.o -c ..//cl_demo.c
/usr/bin/gcc -DBASEDIR=/usr/share/games/quake-data -DUSERPREF_DIR -D__glx__ -DGLQUAKE  -I../ -O2 -march=athlon-tbird -pipe -fomit-frame-pointer -fomit-frame-pointer -fexpensive-optimizations -o releasei386.glibc/glquake/cl_input.o -c ..//cl_input.c
In file included from ..//quakedef.h:289,
                 from ..//cl_demo.c:21:
..//glquake.h:423:1: warning: "APIENTRY" redefined
In file included from ..//glquake.h:35,
                 from ..//quakedef.h:289,
                 from ..//cl_demo.c:21:
/usr/include/GL/gl.h:99:1: warning: this is the location of the previous definition
In file included from ..//quakedef.h:289,
                 from ..//cl_demo.c:21:
..//glquake.h:1134: error: conflicting types for 'PFNGLFLUSHVERTEXARRAYRANGEAPPLEPROC'
/usr/include/GL/glext.h:5761: error: previous declaration of 'PFNGLFLUSHVERTEXARRAYRANGEAPPLEPROC' was here
..//glquake.h:1135: error: conflicting types for 'PFNGLVERTEXARRAYRANGEAPPLEPROC'
/usr/include/GL/glext.h:5760: error: previous declaration of 'PFNGLVERTEXARRAYRANGEAPPLEPROC' was here
In file included from ..//quakedef.h:289,
                 from ..//cl_input.c:25:
..//glquake.h:423:1: warning: "APIENTRY" redefined
In file included from ..//glquake.h:35,
                 from ..//quakedef.h:289,
                 from ..//cl_input.c:25:
/usr/include/GL/gl.h:99:1: warning: this is the location of the previous definition
In file included from ..//quakedef.h:289,
                 from ..//cl_input.c:25:
..//glquake.h:1134: error: conflicting types for 'PFNGLFLUSHVERTEXARRAYRANGEAPPLEPROC'
/usr/include/GL/glext.h:5761: error: previous declaration of 'PFNGLFLUSHVERTEXARRAYRANGEAPPLEPROC' was here
..//glquake.h:1135: error: conflicting types for 'PFNGLVERTEXARRAYRANGEAPPLEPROC'
/usr/include/GL/glext.h:5760: error: previous declaration of 'PFNGLVERTEXARRAYRANGEAPPLEPROC' was here
make[1]: *** [releasei386.glibc/glquake/cl_demo.o] Error 1
make[1]: *** Waiting for unfinished jobs....
make[1]: *** [releasei386.glibc/glquake/cl_input.o] Error 1
make[1]: Leaving directory `/var/tmp/portage/industri-1.01/work/industri_BIN/linux'
make: *** [build_release] Error 2


Reproducible: Always
Steps to Reproduce:
1.
2.
3.




Portage 2.0.51-r3 (default-linux/x86/2004.2, gcc-3.4.3, 
glibc-2.3.4.20041102-r0, 2.6.9-gentoo-r4 i686) 
================================================================= 
System uname: 2.6.9-gentoo-r4 i686 AMD Athlon(tm) processor 
Gentoo Base System version 1.6.6 
ccache version 2.3 [enabled] 
Autoconf: sys-devel/autoconf-2.59-r5 
Automake: sys-devel/automake-1.8.5-r1 
Binutils: sys-devel/binutils-2.15.92.0.2-r1 
Headers:  sys-kernel/linux26-headers-2.6.8.1-r1 
Libtools: sys-devel/libtool-1.5.2-r7 
ACCEPT_KEYWORDS="x86 ~x86" 
AUTOCLEAN="yes" 
CFLAGS="-O2 -march=athlon-tbird -pipe -fomit-frame-pointer" 
CHOST="i686-pc-linux-gnu" 
COMPILER="" 
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3/share/config /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control" 
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" 
CXXFLAGS="-O2 -march=athlon-tbird -pipe -fomit-frame-pointer" 
DISTDIR="/usr/portage/distfiles" 
FEATURES="autoaddcvs autoconfig candy ccache distlocks sandbox sfperms" 
GENTOO_MIRRORS="http://gentoo.ynet.sk/pub 
http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ 
http://mirror.switch.ch/mirror/gentoo/ http://mir.zyrianes.net/gentoo/ 
http://gentoo.mirror.solnet.ch 
http://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/" 
MAKEOPTS="-j2" 
PKGDIR="/usr/portage/packages" 
PORTAGE_TMPDIR="/var/tmp" 
PORTDIR="/usr/portage" 
PORTDIR_OVERLAY="" 
SYNC="rsync://rsync.de.gentoo.org/gentoo-portage" 
USE="3dnow X aalib acpi adns alsa apache2 arts artswrappersuid avi bcmath 
berkdb bitmap-fonts bootsplash bzlib cdparanoia cdr codecs crypt cups dba dga 
divx4linux dvd encode esd exif f77 fam fftw flac foomaticdb fortran gd gdbm 
gif gimp gimpprint gnuplot gphoto2 gpm gsl gtk gtk2 hbci imagemagick imlib 
java jpeg junit kde latex libg++ libwww mad mikmod mmx motif moznoirc 
moznomail mpeg mysql ncurses nls nptl oggvorbis opengl oss pam pcre pdflib 
perl php png ppds python qt quicktime readline rtc scanner sdl session 
simplexml slang soap spell spl sqlite ssl svg svga tcltk tcpd tetex tiff 
truetype usb v4l2 x86 xine xml xml2 xmms xosd xsl xv zlib video_cards_matrox"
Comment 1 Mr. Bones. (RETIRED) gentoo-dev 2004-11-20 18:38:30 UTC
What are you using for opengl?  please post the name and version.  If nvidia, please include the output of this command:

head -vn3 /var/db/pkg/media-video/nvidia-glx-*/*ebuild
Comment 2 Mr. Bones. (RETIRED) gentoo-dev 2004-12-05 04:41:03 UTC
reopen after reporting the info please.
Comment 3 Mr. Bones. (RETIRED) gentoo-dev 2004-12-27 21:18:50 UTC
confirmed with nvidia-glx-1.0.6111
Comment 4 Mr. Bones. (RETIRED) gentoo-dev 2004-12-27 21:19:22 UTC
cyfred - what seems to have changed in the glx headers?  This used to be fine.
Comment 5 Shaun Crampton 2005-01-16 13:34:07 UTC
I've got this problem using the DRI ATI radeon driver as well.
Comment 6 Daniel Herzog 2005-02-25 06:38:35 UTC
same problem, using the newest stable nvidia stuff:

==> /var/db/pkg/media-video/nvidia-glx-1.0.6629-r1/nvidia-glx-1.0.6629-r1.ebuild  <==
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-video/nvidia-glx/nvidia-glx-1.0.6629-r1 .ebuild,v 1.3 2005/01/17 08:47:43 cyfred Exp $
Comment 7 Daniel Herzog 2005-02-25 06:39:37 UTC
This bug is now 4 months old, and not solved yet. You should definitely mask this ebuild, be it using keywords or packages.mask.
Comment 8 Mr. Bones. (RETIRED) gentoo-dev 2005-04-12 07:34:30 UTC
*** Bug 88848 has been marked as a duplicate of this bug. ***
Comment 9 Benno Schulenberg 2005-05-14 11:00:18 UTC
Still the same problem.  If it can't be solved, then please mask the ebuild.
Comment 10 Anton Romanov 2005-06-12 05:50:22 UTC
Created attachment 61107 [details, diff]
1.01-glheaders.patch

this can be "solved" by using this patch after patching with
1.01-nvidia-opengl.patch

also you can add make_desktop_entry to this ebuild ...
Comment 11 Anton Romanov 2005-06-12 06:18:15 UTC
Created attachment 61109 [details, diff]
1.01-glheaders.patch

more clean patch version
Comment 12 Joshua Baergen (RETIRED) gentoo-dev 2005-06-12 08:29:38 UTC
The problem with the patch being applied after the nVidia patch is that the
nVidia patch is only applied if the local GL provider is nVidia.  We've seen
here that it affects ATI as well.

If you could make a glheaders patch that applies before the nvidia patch then
modify the nvidia patch, that'd be awesome.  It'd also be nice if you could
modify the ebuild to use your patch, but if you don't feel comfortable doing
that I can do it with the new patches.
Comment 13 SpanKY gentoo-dev 2005-06-12 17:39:17 UTC
fixed in cvs

sync up and try it out
Comment 14 SpanKY gentoo-dev 2005-06-14 08:30:44 UTC
*** Bug 96056 has been marked as a duplicate of this bug. ***