Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 93097 - snes9x-1.43 Build Fails to build with glide support
Summary: snes9x-1.43 Build Fails to build with glide support
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Games (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Games
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-05-18 13:01 UTC by Ben Graver
Modified: 2005-07-20 21:33 UTC (History)
0 users

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


Attachments
emerge --info from #7 (emerge --info.txt,3.17 KB, text/plain)
2005-07-19 12:13 UTC, Martin Walch
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Ben Graver 2005-05-18 13:01:27 UTC
Attempting to emerge goosnes, the build fails on the snes9x package.

Reproducible: Always
Steps to Reproduce:
1. emerge goosnes

Actual Results:  
In file included from
/var/tmp/portage/snes9x-1.43/work/snes9x-1.43-src/snes9x/tile.cpp:98:
/var/tmp/portage/snes9x-1.43/work/snes9x-1.43-src/snes9x/3d.h:127:19: glide.h:
No such file or directory
In file included from
/var/tmp/portage/snes9x-1.43/work/snes9x-1.43-src/snes9x/tile.cpp:98:
/var/tmp/portage/snes9x-1.43/work/snes9x-1.43-src/snes9x/3d.h:132: error: parse
   error before `[' token
/var/tmp/portage/snes9x-1.43/work/snes9x-1.43-src/snes9x/3d.h:133: error: '
   GrTexInfo' is used as a type, but is not defined as a type.
make: *** [tile.o] Error 1
make: *** Waiting for unfinished jobs....

!!! ERROR: games-emulation/snes9x-1.43 failed.
!!! Function src_compile, Line 70, Exitcode 2
!!! making gsnes9x


Expected Results:  
Emerged correctly.

Portage 2.0.51.19 (default-linux/x86/2005.0, gcc-3.3.5-20050130,
glibc-2.3.4.20041102-r1, 2.6.11-gentoo-r5 i686)
=================================================================
System uname: 2.6.11-gentoo-r5 i686 AMD Athlon(tm) Processor
Gentoo Base System version 1.4.16
Python:              dev-lang/python-2.2.3-r5,dev-lang/python-2.3.5 [2.3.5 (#1,
Apr 29 2005, 13:19:12)]
distcc 2.16 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.3 [enabled]
dev-lang/python:     2.2.3-r5, 2.3.5
sys-apps/sandbox:    [Not Present]
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.5, 1.6.3, 1.9.5, 1.4_p6, 1.8.5-r3, 1.7.9-r1
sys-devel/binutils:  2.15.92.0.2-r7
sys-devel/libtool:   1.5.16
virtual/os-headers:  2.6.8.1-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O3 -march=i686 -funroll-loops -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.1/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/lib/X11/xkb /usr/share/config
/var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O3 -march=i686 -funroll-loops -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org
http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 3dfx 3dnow X alsa apm arts avi berkdb bitmap-fonts bonobo crypt cups
curl dga emboss encode esd fam flac foomaticdb fortran gdbm gif gpm gtk gtk2
gtkhtml guile imagemagick imlib ipv6 java jpeg junit kde libg++ libwww mad
mikmod mmx motif mp3 mpeg ncurses nls ogg oggvorbisopengl oss pam pdflib perl
png python qt quicktime readline samba sdl slang spell ssl svga tcltk tcpd tiff
truetype truetype-fonts type1-fonts voodoo3 vorbis xine xml xml2 xmms xv zlib
userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTDIR_OVERLAY
Comment 1 Mr. Bones. (RETIRED) gentoo-dev 2005-05-18 13:10:36 UTC
let's see the output from "emerge -evp snes9x" please.
Comment 2 Ben Graver 2005-05-18 13:26:03 UTC
fragile root # emerge -epv snes9x

These are the packages that I would merge, in order:

Calculating dependencies ...done!
[ebuild  N    ] sys-devel/patch-2.5.9  -build -debug -static 197 kB
[ebuild  N    ] sys-libs/zlib-1.2.2  -build -debug 0 kB
[ebuild  N    ] media-libs/libpng-1.2.8  -debug 0 kB
[ebuild  N    ] sys-kernel/linux-headers-2.6.8.1-r2  0 kB
[ebuild  N    ] sys-libs/gpm-1.20.1-r4  -emacs (-selinux) 0 kB
[ebuild  N    ] sys-libs/ncurses-5.4-r6  -bootstrap -build -debug -doc +gpm
-minimal -nocxx -unicode 0 kB
[ebuild  N    ] app-shells/bash-2.05b-r9  -build -debug -minimal +nls 1,923 kB
[ebuild  N    ] sys-devel/binutils-config-1.8-r2  0 kB
[ebuild  N    ] sys-devel/gnuconfig-20050324  0 kB
[ebuild  N    ] sys-devel/gettext-0.14.1-r1  -emacs +nls 0 kB
[ebuild  N    ] sys-devel/binutils-2.15.92.0.2-r7  -debug -multislot
-multitarget +nls -test 0 kB
[ebuild  N    ] sys-libs/glibc-2.3.4.20041102-r1  -build -debug -erandom
-hardened (-multilib) +nls -nomalloccheck -nptl -nptlonly -pic -userlocales 0 kB
[ebuild  N    ] sys-devel/m4-1.4.2-r1  +nls 0 kB
[ebuild  N    ] sys-devel/bison-1.875d  -debug +nls -static 0 kB
[ebuild  N    ] sys-apps/sed-4.1.4  -bootstrap -build -debug +nls -static 0 kB
[ebuild  N    ] dev-python/python-fchksum-1.7.1  26 kB
[ebuild  N    ] app-arch/bzip2-1.0.3  -build -debug -static 0 kB
[ebuild  N    ] sys-apps/debianutils-1.16.7-r4  -build -debug -static 25 kB
[ebuild  N    ] sys-libs/readline-4.3-r5  947 kB
[ebuild  N    ] sys-devel/flex-2.5.4a-r5  -build -debug -static 372 kB
[ebuild  N    ] sys-devel/bc-1.06-r6  -debug +readline -static 0 kB
[ebuild  N    ] sys-apps/diffutils-2.8.7-r1  -debug +nls -static 0 kB
[ebuild  N    ] media-libs/svgalib-1.9.19-r3  -build -debug 0 kB
[ebuild  N    ] media-libs/audiofile-0.2.6-r1  365 kB
[ebuild  N    ] sys-apps/tcp-wrappers-7.6-r8  +ipv6* 115 kB
[ebuild  N    ] sys-devel/make-3.80-r1  -build -debug -hardened +nls -static 899 kB
[ebuild  N    ] sys-kernel/gentoo-sources-2.6.11-r9  -build -doc -symlink
(-ultra1) 247 kB
[ebuild  N    ] media-sound/alsa-headers-1.0.8  0 kB
[ebuild  N    ] media-libs/alsa-lib-1.0.8  -doc -jack 0 kB
[ebuild  N    ] media-sound/esound-0.2.34  +alsa* +ipv6* +tcpd 310 kB
[ebuild  N    ] dev-libs/glib-1.2.10-r5  -debug -hardened 411 kB
[ebuild  N    ] sys-apps/texinfo-4.8  -build -debug +nls -static 0 kB
[ebuild  N    ] sys-devel/autoconf-2.13  0 kB
[ebuild  N    ] sys-devel/autoconf-wrapper-2-r1  0 kB
[ebuild  N    ] sys-devel/autoconf-2.59-r6  0 kB
[ebuild  N    ] sys-devel/automake-1.5  0 kB
[ebuild  N    ] sys-devel/automake-1.8.5-r3  0 kB
[ebuild  N    ] sys-devel/automake-1.6.3  0 kB
[ebuild  N    ] sys-devel/automake-1.7.9-r1  0 kB
[ebuild  N    ] sys-devel/automake-1.4_p6  0 kB
[ebuild  N    ] sys-devel/automake-wrapper-1-r1  0 kB
[ebuild  N    ] sys-devel/automake-1.9.5  0 kB
[ebuild  N    ] sys-apps/miscfiles-1.4.2  -minimal 0 kB
[ebuild  N    ] sys-libs/cracklib-2.7-r11  -debug -minimal +pam 0 kB
[ebuild  N    ] sys-libs/pam-0.77-r6  +berkdb -debug -pwdb (-selinux) 0 kB
[ebuild  N    ] sys-apps/pam-login-3.14  -livecd +nls (-selinux) 137 kB
[ebuild  N    ] sys-fs/e2fsprogs-1.35-r1  -debug -diet +nls -static 3,078 kB
[ebuild  N    ] sys-apps/grep-2.5.1-r7  -build -debug +nls -pcre -static
(-uclibc) 0 kB
[ebuild  N    ] sys-apps/gawk-3.1.3-r2  -build +nls (-uclibc) 0 kB
[ebuild  N    ] app-crypt/hashalot-0.3  78 kB
[ebuild  N    ] sys-apps/util-linux-2.12i-r1  +crypt -debug +nls +pam +perl
(-selinux) -static 0 kB
[ebuild  N    ] sys-devel/libtool-1.5.16  0 kB
[ebuild  N    ] media-libs/freetype-2.1.9-r1  -bindist -debug -doc +zlib 0 kB
[ebuild  N    ] x11-misc/ttmkfdir-3.0.9-r3  -debug 19 kB
[ebuild  N    ] dev-libs/expat-1.95.8  -test 310 kB
[ebuild  N    ] x11-base/opengl-update-2.2.1  32 kB
[ebuild  N    ] media-libs/fontconfig-2.2.3  732 kB
[ebuild  N    ] x11-base/xorg-x11-6.8.2-r1  +3dfx +3dnow +bitmap-fonts -cjk
-debug -dlloader -dmx -doc -font-server* -hardened -insecure-drivers +ipv6
-minimal +mmx +nls +opengl +pam -sdk -sse -static +truetype-fonts +type1-fonts
(-uclibc) -xprint +xv 0 kB
[ebuild  N    ] sys-apps/file-4.12  -build -debug +python 0 kB
[ebuild  N    ] sys-apps/which-2.16  122 kB
[ebuild  N    ] app-arch/cpio-2.6-r3  +nls 0 kB
[ebuild  N    ] app-arch/rpm2targz-9.0-r2  0 kB
[ebuild  N    ] sys-apps/utempter-0.5.5.5-r1  -debug 0 kB
[ebuild  N    ] x11-terms/xterm-200-r1  -Xaw3d -debug -toolbar +truetype
-unicode 681 kB
[ebuild  N    ] media-libs/glide-v3-3.10-r4  +3dnow +voodoo3 3,573 kB
[ebuild  N    ] media-libs/libmad-0.15.1b  -debug 490 kB
[ebuild  N    ] dev-util/pkgconfig-0.15.0  -debug -hardened 596 kB
[ebuild  N    ] dev-libs/glib-2.6.3  -debug -doc -hardened 0 kB
[ebuild  N    ] media-libs/libogg-1.1.2  410 kB
[ebuild  N    ] kde-base/kde-env-3-r3  0 kB
[ebuild  N    ] media-libs/libvorbis-1.1.0  -aotuv -debug 1,281 kB
[ebuild  N    ] media-libs/libid3tag-0.15.1b  -debug 330 kB
[ebuild  N    ] media-libs/jpeg-6b-r4  -debug 598 kB
[ebuild  N    ] media-libs/tiff-3.7.2  1,231 kB
[ebuild  N    ] media-libs/lcms-1.13-r1  +jpeg +python +tiff +zlib 572 kB
[ebuild  N    ] media-libs/libmng-1.0.4  555 kB
[ebuild  N    ] net-print/cups-1.1.23-r1  -debug +nls +pam +samba -slp +ssl 0 kB
[ebuild  N    ] x11-libs/qt-3.3.4-r3  +cups -debug -doc -examples -firebird +gif
-immqt -immqt-bc +ipv6 -mysql -nas -odbc +opengl -postgres -sqlite -xinerama
+zlib 0 kB
[ebuild  N    ] kde-base/arts-1.3.2-r1  +alsa +arts -artswrappersuid -debug +esd
-hardened -jack -kdeenablefinal +mad +oggvorbis -xinerama 0kB
[ebuild  N    ] media-libs/libsdl-1.2.8-r1  +X -aalib +alsa +arts -debug +dga*
-directfb +esd -fbcon -ggi -libcaca -nas -noaudio -nojoystick-novideo +opengl
+oss +svga -xinerama +xv 0 kB
[ebuild  N    ] sys-libs/lib-compat-1.4  +sdl 3,090 kB
[ebuild  N    ] dev-libs/libxml2-2.6.17  -debug +ipv6 +python +readline 0 kB
[ebuild  N    ] dev-libs/popt-1.7-r1  -debug +nls 561 kB
[ebuild  N    ] net-fs/samba-3.0.10  -acl +cups -debug -doc -kerberos -ldap
-libclamav -mysql -oav +pam -postgres +python -quotas +readline (-selinux)
-winbind +xml +xml2 0 kB
[ebuild  N    ] dev-java/java-config-1.2.11  15 kB
[ebuild  N    ] dev-java/blackdown-jdk-1.4.2.01-r2  -doc -mozilla 0 kB
[ebuild  N    ] dev-lang/tcl-8.4.9  -threads 0 kB
[ebuild  N    ] sys-libs/db-4.1.25_p1-r4  -bootstrap -doc +java -nocxx +tcltk 0 kB
[ebuild  N    ] sys-apps/groff-1.19.1-r2  +X -debug 2,567 kB
[ebuild  N    ] sys-process/cronbase-0.3.2  0 kB
[ebuild  N    ] sys-apps/man-1.5p  -debug +nls 0 kB
[ebuild  N    ] sys-libs/gdbm-1.8.3-r1  +berkdb -debug 223 kB
[ebuild  N    ] sys-devel/libperl-5.8.5  +berkdb -debug +gdbm -ithreads
(-uclibc) 0 kB
[ebuild  N    ] dev-lang/perl-5.8.5-r5  +berkdb -debug -doc +gdbm -ithreads
-perlsuid (-uclibc) 0 kB
[ebuild  N    ] dev-libs/openssl-0.9.7e-r1  -bindist -debug -emacs -test 0 kB
[ebuild  N    ] dev-lang/tk-8.4.9  -threads 0 kB
[ebuild  N    ] dev-lang/python-2.3.5  +X +berkdb -bootstrap -build -debug -doc
+gdbm +ipv6 +ncurses +readline +ssl +tcltk -ucs2 0 kB
[ebuild  N    ] sys-apps/portage-2.0.51.19  -build -debug (-selinux) 0 kB
*** Please update portage to the above version before proceeding.
    Failure to do so may result in failed or improper merges.
    A simple 'emerge -u portage' is sufficient.

[ebuild  N    ] sys-devel/gcc-config-1.3.10-r2  0 kB
[ebuild  N    ] sys-devel/gcc-3.3.5.20050130-r1  (-altivec) -bootstrap
-boundschecking -build -debug +fortran -gcj +gtk -hardened -ip28 (-multilib)
-multislot (-n32) (-n64) +nls -nocxx -objc -static (-uclibc) 0 kB
[ebuild  N    ] dev-lang/nasm-0.98.39-r1  -build -doc 0 kB
[ebuild  N    ] games-emulation/snes9x-1.43  +3dfx +X +dga -joystick +opengl
+zlib 0 kB

Total size of downloads: 27,134 kB
Comment 3 Mr. Bones. (RETIRED) gentoo-dev 2005-05-22 13:37:41 UTC
remerging glide, whatever you're using for opengl, and opengl-update and then
rerunning opengl-update might help.
Comment 4 Mr. Bones. (RETIRED) gentoo-dev 2005-06-23 11:08:50 UTC
no reply...closing WORKSFORME.
Comment 5 Mr. Bones. (RETIRED) gentoo-dev 2005-06-23 11:09:38 UTC
bugzilla.
Comment 6 Mr. Bones. (RETIRED) gentoo-dev 2005-06-23 11:09:58 UTC
try again.
Comment 7 Martin Walch 2005-07-19 12:11:05 UTC
Can reproduce error with all USE-Flags of snes9x-1.43 set.
I get exactly the same error:

/var/tmp/portage/snes9x-1.43/work/snes9x-1.43-src/snes9x/srtc.cpp -o srtc.o
In file included from
/var/tmp/portage/snes9x-1.43/work/snes9x-1.43-src/snes9x/tile.cpp:98:
/var/tmp/portage/snes9x-1.43/work/snes9x-1.43-src/snes9x/3d.h:127:19: glide.h:
No such file or directory
In file included from
/var/tmp/portage/snes9x-1.43/work/snes9x-1.43-src/snes9x/tile.cpp:98:
/var/tmp/portage/snes9x-1.43/work/snes9x-1.43-src/snes9x/3d.h:132: error: parse
   error before `[' token
/var/tmp/portage/snes9x-1.43/work/snes9x-1.43-src/snes9x/3d.h:133: error: '
   GrTexInfo' is used as a type, but is not defined as a type.
c++  -fno-rtti -INONE -I/var/tmp/portage/snes9x-1.43/work/snes9x-1.43-src/snes9x
-I/var/tmp/portage/snes9x-1.43/work/snes9x-1.43-src/snes9x/unzip -Ii386 -c -O2
-march=pentium3 -fomit-frame-pointer -pipe -INONE  -INONE
-I/var/tmp/portage/snes9x-1.43/work/snes9x-1.43-src/snes9x
-I/var/tmp/portage/snes9x-1.43/work/snes9x-1.43-src/snes9x/unzip -Ii386 -DMITSHM
-DVAR_CYCLES -DCPU_SHUTDOWN -DSPC700_SHUTDOWN -DZSNES_FX
-DEXECUTE_SUPERFX_PER_LINE -DZSNES_C4 -DUSE_THREADS -DSPC700_C -DNETPLAY_SUPPORT
-DUNZIP_SUPPORT  -DUSE_GLIDE -I/usr/include/glide   -DMMX -DSDD1_DECOMP
-DJOYSTICK_SUPPORT -DNO_INLINE_SET_GET  -DZLIB -DHAVE_LIBPNG -DHAVE_MKSTEMP
-DUSE_DGA_EXTENSION -DUSE_VIDMODE_EXTENSION -DHAVE_STRINGS_H -DHAVE_SYS_IOCTL_H
'-DACCEPT_SIZE_T=socklen_t'
/var/tmp/portage/snes9x-1.43/work/snes9x-1.43-src/snes9x/gfx.cpp -o gfx.o
make: *** [tile.o] Error 1
make: *** Waiting for unfinished jobs....


When emerging with USE="-3dfx" everything works fine.
Comment 8 Martin Walch 2005-07-19 12:13:38 UTC
Created attachment 63804 [details]
emerge --info from #7
Comment 9 SpanKY gentoo-dev 2005-07-20 21:26:01 UTC
glide sucks
Comment 10 SpanKY gentoo-dev 2005-07-20 21:33:47 UTC
ok, snes9x requires glide2 but we only have glide3 in portage

for now i've removed 3dfx support from snes9x