Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 15841

Summary: While building tuxracer it failed saying the version of glx.h was wrong.
Product: Gentoo Linux Reporter: Dominic White <singe>
Component: [OLD] GamesAssignee: Gentoo Games <games>
Status: RESOLVED FIXED    
Severity: normal CC: azarah, simon
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Dominic White 2003-02-17 07:38:32 UTC
Tuxracer as it's e-build says fails on building with a glx.h wrong version
error. The ebuild already contains a patch for this for the ppc arch. Here is
the unified diff:

--- /usr/portage/app-games/tuxracer/tuxracer-0.61-r2.ebuild     2003-02-16
16:17:27.000000000 +0200
+++ /usr/portage/app-games/tuxracer/tuxracer-0.61-r2.ebuild~    2003-02-16
16:17:27.000000000 +0200
@@ -22,7 +22,7 @@
        unpack ${PN}-data-${PV}.tar.gz
 
        # braindead check in configure fails - hack approach
-       patch -p0 < ${FILESDIR}/tuxracer-ppc-glxfix.diff || die
+       use ppc && ( patch -p0 < ${FILESDIR}/tuxracer-ppc-glxfix.diff || die )
 
        cd ${S}/src
        #  Apply patch to fix the data_dir #define so that tuxracer will

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




Portage 2.0.46-r12 (default-x86-1.4, gcc-3.2.2, glibc-2.3.1-r3)
=================================================================
System uname: 2.4.20-gentoo-r1 i686 Intel(R) Pentium(R) 4 CPU 1.70GHz
GENTOO_MIRRORS="ftp://ftp.is.co.za/linux/distributions/gentoo"
CONFIG_PROTECT="/etc /var/qmail/control /usr/share/config
/usr/kde/2/share/config /usr/kde/3/share/config /usr/X11R6/lib/X11/xkb
/opt/jakarta/tomcat/conf /usr/share/texmf/tex/generic/config/
/usr/share/texmf/tex/platex/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="/usr/local/portage"
USE="x86 oss apm avi encode gif jpeg libg++ mikmod mmx mpeg ncurses nls pdflib
png qt qtmt quicktime spell truetype xml2 xmms xv zlib gdbm slang readline tetex
svga tcltk java sdl gpm tcpd pam libwww ssl python imlib oggvorbis gtk motif
opengl X -3dnow aalib acpi alsa -arts -berkdb -crypt -cups dga directfb fbcon
-gnome gtk2 jikes -kde mozilla odbc perl pic samba sse tiff usb"
COMPILER="gcc3"
CHOST="i686-pc-linux-gnu"
CFLAGS="-march=pentium4 -O3 -pipe"
CXXFLAGS="-march=pentium4 -O3 -pipe"
ACCEPT_KEYWORDS="x86 ~x86"
MAKEOPTS="-j3"
AUTOCLEAN="yes"
SYNC="rsync://rsync.rucus.ru.ac.za/gentoo-portage"
FEATURES="sandbox ccache"
Comment 1 SpanKY gentoo-dev 2003-02-17 12:51:53 UTC
*** Bug 15813 has been marked as a duplicate of this bug. ***
Comment 2 Dominic White 2003-02-17 13:05:30 UTC
Um.... I am new to this.

Where do I submit the fix for a bug as that is what I was attempting to do
with the unified diff I posted?
Comment 3 Martin Schlemmer (RETIRED) gentoo-dev 2003-02-17 13:33:13 UTC
Add it as attachment to this bug.
Comment 4 Dominic White 2003-02-17 13:35:15 UTC
It's there already but here it is again:

--- /usr/portage/app-games/tuxracer/tuxracer-0.61-r2.ebuild     2003-02-16
16:17:27.000000000 +0200
+++ /usr/portage/app-games/tuxracer/tuxracer-0.61-r2.ebuild~    2003-02-16
16:17:27.000000000 +0200
@@ -22,7 +22,7 @@
        unpack ${PN}-data-${PV}.tar.gz
 
        # braindead check in configure fails - hack approach
-       patch -p0 < ${FILESDIR}/tuxracer-ppc-glxfix.diff || die
+       use ppc && ( patch -p0 < ${FILESDIR}/tuxracer-ppc-glxfix.diff || die )
 
        cd ${S}/src
        #  Apply patch to fix the data_dir #define so that tuxracer will
Comment 5 Hanno Böck gentoo-dev 2003-03-02 12:55:36 UTC
Is fixed, just applying the ppc-fix also for other archs.