Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 104545 - compiling crystalspace-0.99_pre20050823 and cel-0.99_pre20050823 failed
Summary: compiling crystalspace-0.99_pre20050823 and cel-0.99_pre20050823 failed
Status: RESOLVED TEST-REQUEST
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal
Assignee: Philip Walls (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-09-01 21:55 UTC by David Grant
Modified: 2007-02-03 04:01 UTC (History)
6 users (show)

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


Attachments
emerge --info (emerge--info.txt,3.38 KB, text/plain)
2005-09-02 06:10 UTC, Martin Walch
Details
config.log (config.log,284.62 KB, text/plain)
2005-09-03 04:45 UTC, Bartosz Krzeszewski
Details
Patch for bug in java module of crystalspace (cspace.i.patch,429 bytes, patch)
2005-09-03 13:14 UTC, Sigurd Schneider
Details | Diff
Modified ebuild that applies cspace.i.patch (crystalspace-0.99_pre20050823.ebuild,2.27 KB, text/plain)
2005-09-03 13:15 UTC, Sigurd Schneider
Details
emerge info (emerge-info.txt,4.67 KB, text/plain)
2006-07-06 11:13 UTC, NightTwix
Details

Note You need to log in before you can comment on or make changes to this bug.
Description David Grant 2005-09-01 21:55:55 UTC
Error:

Copy xmlshader.csplugin
...on 1200th target...
MkDir1 ./out/linuxx86/optimize/plugins/video/render3d/null
C++ ./out/linuxx86/optimize/plugins/video/render3d/null/null_txt.o
C++ ./out/linuxx86/optimize/plugins/video/render3d/null/null_render3d.o
C++ ./out/linuxx86/optimize/plugins/video/render3d/null/null_pix.o
LinkPlugin null3d.so
Copy null3d.csplugin
MkDir1 ./out/linuxx86/optimize/plugins/video/cursor
C++ ./out/linuxx86/optimize/plugins/video/cursor/cursor.o
LinkPlugin cscursor.so
Copy cscursor.csplugin
...failed updating 1 target(s)...
...skipped 1 target(s)...
...updated 1208 target(s)...

!!! ERROR: dev-games/crystalspace-0.99_pre20050823 failed.
!!! Function src_compile, Line 52, Exitcode 1
!!! compile failed

emerge info:

Portage 2.0.51.22-r2 (default-linux/x86/2005.0, gcc-3.3.5-20050130,
glibc-2.3.5-r1, 2.6.12-gentoo-r6 i686)
=================================================================
System uname: 2.6.12-gentoo-r6 i686 AMD Athlon(tm) XP 2500+
Gentoo Base System version 1.6.13
ccache version 2.3 [disabled]
dev-lang/python:     2.1.3-r1, 2.2.3-r6, 2.3.5
sys-apps/sandbox:    1.2.12
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6
sys-devel/binutils:  2.15.92.0.2-r10
sys-devel/libtool:   1.5.18-r1
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=athlon-xp -O3 -pipe -fomit-frame-pointer -m3dnow -msse
-mfpmath=sse -mmmx"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /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.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown
/usr/kde/3/share/config /usr/lib/X11/xkb /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/splash /etc/terminfo /etc/env.d"
CXXFLAGS="-march=athlon-xp -O3 -pipe -fomit-frame-pointer -m3dnow -msse
-mfpmath=sse -mmmx"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://gentoo.osuosl.org/
http://gentoo.mirrors.easynews.com/linux/gentoo/
http://mirror.datapipe.net/gentoo ftp://ftp.ussg.iu.edu/pub/linux/gentoo
ftp://ftp.ndlug.nd.edu/pub/gentoo/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 3dnow 3dnowex 3dnowext 3ds 4kstacks X Xaw3d aalib acl ada alsa
altcolors anthy apache2 apm artworkextra async atlas audiofile authdaemond avi
bash-completion berkdb bigger-fonts bitmap-fonts bonobo browserplugin bzip2 c++
cdparanoia cdr cpudetection crypt cscope css cups curl dga dhcp directfb
divx4linux dv dvd dvdr dvdread eds emacs emboss encode escreen fam fame fastcgi
fbcon ffmpeg fftw flac foomaticdb fortran gd gdbm geoip gif gimp gimpprint ginac
gnome gnuplot gphoto2 gpm gstreamer gtk gtk2 gtkhtml guile hal icq imagemagick
imap imlib imlib2 ipv6 java javascript jikes joystick jpeg jpeg2k junit kde
kdeenablefinal kdexdeltas kerberos krb4 latex ldap lesstif libclamav libg++
libwww live lm_sensors logrotate lzo mad maildir matroska migemo mikmod mjpeg
mmx mmx2 mmxext mng monkey mono motif mozcalendar mozdevelop mozilla mozp3p
mozsvg mp3 mpeg mpi mppe-mppc msn msoffice musepack mysql nas ncurses net
nethack network nls nntp no-old-linux noplugin nptl nptlonly nvidia oav odbc
offensive ofx ogg oggvorbis openal opengl operanom2 oscar oss pam pcre pda
pdflib perl php pic plotutils png postgres ppds python qhull qt quicktime quotas
quotes readline real ruby samba sasl scanner screen sdl sensord server slang
smtp spell sqlite sse ssl subversion svg svga symlink tcltk tcpd tetex theora
threads tiff truetype truetype-fonts type1 type1-fonts usb userlocales v4l v4l2
vhosts virus-scan visualization vorbis win32codecs wmf wxwindows xanim xbase
xine xml xml2 xprint xscreensaver xv xvid yahoo yv12 zlib userland_GNU
kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS
Comment 1 Martin Walch 2005-09-02 06:10:51 UTC
Created attachment 67473 [details]
emerge --info

Same problem here. Inverted the USE-Flags. No difference.
Comment 2 David Grant 2005-09-02 09:57:01 UTC
cel fails for me as well:

...failed C++ ./out/linuxx86/optimize/plugins/tools/quests/trig_inventory.o ...
...skipped mgr_quests.so for lack of <plugins!tools!quests!>trig_entersector.o...
Copy mgr_quests.csplugin
CelConfigGen cel-config
...failed updating 73 target(s)...
...skipped 35 target(s)...
...updated 74 target(s)...

!!! ERROR: dev-games/cel-0.99_pre20050823 failed.
!!! Function src_compile, Line 48, Exitcode 1
!!! jam failed
Comment 3 Bartosz Krzeszewski 2005-09-03 04:36:05 UTC
SAME HERE 
 
Copy xmlshader.csplugin 
MkDir1 ./out/linuxx86/optimize/plugins/video/render3d/null 
C++ ./out/linuxx86/optimize/plugins/video/render3d/null/null_pix.o 
C++ ./out/linuxx86/optimize/plugins/video/render3d/null/null_render3d.o 
C++ ./out/linuxx86/optimize/plugins/video/render3d/null/null_txt.o 
LinkPlugin null3d.so 
Copy null3d.csplugin 
MkDir1 ./out/linuxx86/optimize/plugins/video/cursor 
C++ ./out/linuxx86/optimize/plugins/video/cursor/cursor.o 
LinkPlugin cscursor.so 
Copy cscursor.csplugin 
...failed updating 1 target(s)... 
...skipped 1 target(s)... 
...updated 1192 target(s)... 
 
!!! ERROR: dev-games/crystalspace-0.99_pre20050823 failed. 
!!! Function src_compile, Line 52, Exitcode 1 
!!! compile failed 
!!! If you need support, post the topmost build error, NOT this status message. 
 
 
 
emerge --info 
Portage 2.0.51.22-r2 (default-linux/x86/2005.0, gcc-3.3.5-20050130, 
glibc-2.3.5-r1, 2.6.12-suspend2-r3 i686) 
================================================================= 
System uname: 2.6.12-suspend2-r3 i686 AMD Athlon(tm) XP 2400+ 
Gentoo Base System version 1.6.13 
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) 
[disabled] 
dev-lang/python:     2.3.5 
sys-apps/sandbox:    1.2.12 
sys-devel/autoconf:  2.13, 2.59-r6 
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6 
sys-devel/binutils:  2.15.92.0.2-r10 
sys-devel/libtool:   1.5.18-r1 
virtual/os-headers:  2.6.11-r2 
ACCEPT_KEYWORDS="x86" 
AUTOCLEAN="yes" 
CBUILD="i686-pc-linux-gnu" 
CFLAGS="-O3 -march=athlon-xp -funroll-loops -fprefetch-loop-arrays -pipe" 
CHOST="i686-pc-linux-gnu" 
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /var/qmail/control" 
CONFIG_PROTECT_MASK="/etc/gconf /etc/splash /etc/terminfo /etc/env.d" 
CXXFLAGS="-march=athlon-xp -pipe -O3" 
DISTDIR="/usr/portage/distfiles" 
FEATURES="autoconfig distlocks sandbox sfperms strict" 
GENTOO_MIRRORS="http://gentoo.prz.rzeszow.pl http://gentoo.inode.at/ 
http://gentoo.mirror.icd.hu/" 
LANG="pl_PL" 
LC_ALL="pl_PL" 
LINGUAS="pl de" 
MAKEOPTS="-j2" 
PKGDIR="/usr/portage/packages" 
PORTAGE_TMPDIR="/var/tmp" 
PORTDIR="/usr/portage" 
PORTDIR_OVERLAY="/usr/local/portage" 
SYNC="rsync://serwer/gentoo-portage" 
USE="x86 3dnow 3dnowex X Xaw3d alsa apm avi berkdb bitmap-fonts cdr crypt curl 
dga divx4linux dvd dvdr eds emboss encode fam flac foomaticdb fortran gd gdbm 
gif gstreamer imlib ipv6 jack java jpeg jpeg2k junit kde kdeenablefinal libg++ 
libwww mad mikmod mmx mmxext motif mp3 mpeg nas ncurses nls nptl ogg oggvorbis 
openal opengl pam pdflib perl png python qt quicktime readline samba sdl slang 
speex spell sse ssl tcpd tiff truetype truetype-fonts type1-fonts v4l v4l2 
vorbis xinerama xml2 xv xvid zlib linguas_pl linguas_de userland_GNU 
kernel_linux elibc_glibc" 
Unset:  ASFLAGS, CTARGET, LDFLAGS 
 
Comment 4 Bartosz Krzeszewski 2005-09-03 04:38:15 UTC
I read on gentoo forums that crystalspace-cvs works but it fails on 
dependencies with planeshift 
Comment 5 Bartosz Krzeszewski 2005-09-03 04:45:40 UTC
Created attachment 67547 [details]
config.log
Comment 6 Sigurd Schneider 2005-09-03 13:07:09 UTC
Hi,
crystalspace-0.99_pre20050823 fails, on a swig-generated java source file:
>>>
Ant ./out/linuxx86/optimize/plugins/cscript/csjava/crystalspace.jar
/var/tmp/portage/crystalspace-0.99_pre20050823/work/crystalspace/out/linuxx86/optimize/plugins/cscript/csjava/src/org/crystalspace3d/csEllipsoid.java:53:
GetCenter() is already defined in org.crystalspace3d.csEllipsoid
  public csVector3 GetCenter() {
                   ^
/var/tmp/portage/crystalspace-0.99_pre20050823/work/crystalspace/out/linuxx86/optimize/plugins/cscript/csjava/src/org/crystalspace3d/csEllipsoid.java:65:
GetRadius() is already defined in org.crystalspace3d.csEllipsoid
  public csVector3 GetRadius() {
                   ^
2 errors

BUILD FAILED
<<<
This error is caused by swig when generating csEllipsoid.java from the C++
header file include/csgeom/sphere.h, because it does not realize that
these functions
>>>
/// Get the radius of this ellipsoid.
inline csVector3& GetRadius () { return radius; }
/// Get the radius of this ellipsoid.
inline const csVector3& GetRadius () const { return radius; }
<<< 
produce only ONE function
>>>
public csVector3 GetCenter() {
   return new csVector3(cspaceJNI.csEllipsoid_GetCenter__SWIG_0(swigCPtr), false);
}
<<<
in java for const doesn't exist there (in that form).

I consider this an upstream bug.

POSSIBLE RESOLUTIONS:
o   ./confgure with --without-java option, downside obviously is that you're
    loosing java support
o   Apply
>>>
--- cspace.i    2005-08-13 08:55:03.000000000 +0200
+++ cspace.i.patched    2005-09-03 21:39:38.000000000 +0200
@@ -740,6 +740,9 @@

 %ignore csSphere::operator+ (const csSphere &, const csSphere &);
 %ignore csSphere::GetCenter (); // Non-const.
+
+%ignore csEllipsoid::GetCenter (); // Non-const.
+%ignore csEllipsoid::GetRadius (); // Non-const.
 %include "csgeom/sphere.h"

 %ignore csPlane2::A ();
<<< to include/ivaria/cspace.i before compiling.

I've attached the patch and an modified version of the ebuild, which applies the
patch.
Comment 7 Sigurd Schneider 2005-09-03 13:14:10 UTC
Created attachment 67584 [details, diff]
Patch for bug in java module of crystalspace

This patch fixed a bug caused by a missing %ignore statement in a swig config
file, which in turn caused swig to generate bogous java code.
Comment 8 Sigurd Schneider 2005-09-03 13:15:29 UTC
Created attachment 67585 [details]
Modified ebuild that applies cspace.i.patch
Comment 9 Martin Walch 2005-09-06 12:18:05 UTC
Emerging crystalspace with the patch and the new ebuild works fine on my system.
The new versions of cal and planeshift also work now.
Comment 10 Martin Walch 2005-09-12 06:51:52 UTC
Tested on a different system. Without patch and modified ebuild I get the same
error. Using them, the packages compile cleanly.
Comment 11 Matija "hook" Šuklje 2005-09-25 04:05:40 UTC
Works for me as well (x86) 
Comment 12 Mauro Iazzi 2005-10-01 09:18:15 UTC
Seems like the patch does not work for me.

Portage 2.0.51.22-r2 (default-linux/amd64/2005.1, gcc-3.4.4, glibc-2.3.5-r1, 2.6
.12-gentoo-r10 x86_64)
=================================================================
System uname: 2.6.12-gentoo-r10 x86_64 AMD Athlon(tm) 64 Processor 3500+
Gentoo Base System version 1.6.13
dev-lang/python:     2.3.5
sys-apps/sandbox:    1.2.12
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6
sys-devel/binutils:  2.15.92.0.2-r10
sys-devel/libtool:   1.5.18-r1
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=k8 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/lib/X1
1/xkb /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/splash /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=k8 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://www.die.unipd.it/pub/Linux/distributions/gentoo-sources/ 
ftp://ftp.unina.it/pub/linux/distributions/gentoo http://gd.tuwien.ac.at/opsys/l
inux/gentoo/ ftp://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ ftp://212.219.5
6.146/sites/www.ibiblio.org/gentoo/ http://ftp.snt.utwente.nl/pub/os/linux/gento
o"
LC_ALL="en_US.utf8"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="amd64 X a52 aac alsa avi berkdb bitmap-fonts browserplugin bzip2 cdparanoia
 cdr crypt cups curl dga doc dvd dvdr editor eds emboss emul-linux-x86 encode es
d fbcon foomaticdb fortran ftp gif gpm gstreamer guile imlib ipv6 java jpeg kde 
libwww lzw lzw-tiff mikmod mng motif mp3 mpeg mysql ncurses nls nvidia ogg opena
l opengl pam pdflib perl png posix python qt quicktime readline sdl server spell
 ssl tcltk tcpd tetex tiff tools truetype truetype-fonts type1-fonts unicode usb
 vorbis xine xml2 xmms xpm xv xvid zlib userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LDFLAGS, LINGUAS, PORTDIR_OVERLAY

(saved patch as dev-games/crystalspace/files/cspace.i.patch)
(saved ebuild as dev-games/crystalspace-0.99_pre20050823-r1.ebuild)

# ebuild crystalspace-0.99_pre20050823-r1.ebuild digest

# ACCEPT_KEYWORDS="~amd64" emerge -av crystalspace


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

Calculating dependencies ...done!
[ebuild  N    ] dev-games/crystalspace-0.99_pre20050823-r1  -3ds -debug +mikmod
+mng -oggvorbis +openal +truetype 0 kB 

Total size of downloads: 0 kB

Do you want me to merge these packages? [Yes/No] y

>>>>>>>> SOME OUTPUT <<<<<<<<

MkDir1
./out/linuxamd64/optimize/plugins/video/render3d/shader/shadercompiler/xmlshader 
C++
./out/linuxamd64/optimize/plugins/video/render3d/shader/shadercompiler/xmlshader/expparser.o

C++
./out/linuxamd64/optimize/plugins/video/render3d/shader/shadercompiler/xmlshader/xmlshader.o

C++
./out/linuxamd64/optimize/plugins/video/render3d/shader/shadercompiler/xmlshader/docwrap.o

C++
./out/linuxamd64/optimize/plugins/video/render3d/shader/shadercompiler/xmlshader/condeval.o

LinkPlugin xmlshader.so 
Copy xmlshader.csplugin 
MkDir1 ./out/linuxamd64/optimize/plugins/video/render3d/null 
C++ ./out/linuxamd64/optimize/plugins/video/render3d/null/null_txt.o 
C++ ./out/linuxamd64/optimize/plugins/video/render3d/null/null_render3d.o 
C++ ./out/linuxamd64/optimize/plugins/video/render3d/null/null_pix.o 
LinkPlugin null3d.so 
Copy null3d.csplugin 
MkDir1 ./out/linuxamd64/optimize/plugins/video/cursor 
C++ ./out/linuxamd64/optimize/plugins/video/cursor/cursor.o 
LinkPlugin cscursor.so 
Copy cscursor.csplugin 
...failed updating 1 target(s)...
...updated 1179 target(s)...

!!! ERROR: dev-games/crystalspace-0.99_pre20050823-r1 failed.
!!! Function src_compile, Line 58, Exitcode 1
!!! compile failed
!!! If you need support, post the topmost build error, NOT this status message.

I checked for the patch to apply cleanly. It seems that ivaria/cspace.i is correct.

Am I doing something wrong?

Comment 13 Robert T Childers 2005-10-17 03:55:43 UTC
output from emerge of crystalspace.

MkDir1 ./out/linuxx86/optimize/plugins/cscript/csjava
RunSwig ./out/linuxx86/optimize/plugins/cscript/csjava/csjava.cpp
./include/csgeom/math3d.h:660: Warning(401): Nothing known about class
'scfImplementation1<csGeomDebugHelper,iDebugHelper >'. Ignored.
./include/csgeom/math3d.h:660: Warning(401): Maybe you forgot to instantiate
'scfImplementation1<csGeomDebugHelper,iDebugHelper >' using %template.
./include/csgeom/path.h:45: Warning(401): Nothing known about class
'scfImplementation1<csPath,iPath >'. Ignored.
./include/csgeom/path.h:45: Warning(401): Maybe you forgot to instantiate
'scfImplementation1<csPath,iPath >' using %template.
./include/csgeom/polymesh.h:47: Warning(401): Nothing known about class
'scfImplementation1<csPolygonMesh,iPolygonMesh >'. Ignored.
./include/csgeom/polymesh.h:47: Warning(401): Maybe you forgot to instantiate
'scfImplementation1<csPolygonMesh,iPolygonMesh >' using %template.
./include/csgeom/polymesh.h:212: Warning(401): Nothing known about class
'scfImplementation1<csPolygonMeshBox,iPolygonMesh >'. Ignored.
./include/csgeom/polymesh.h:212: Warning(401): Maybe you forgot to instantiate
'scfImplementation1<csPolygonMeshBox,iPolygonMesh >' using %template.
C++ ./out/linuxx86/optimize/plugins/cscript/csjava/csjava.o
C++ ./out/linuxx86/optimize/plugins/cscript/csjava/javamod.o
LinkPlugin libcsjava.so
Copy ./out/linuxx86/optimize/plugins/cscript/csjava/build.xml
Copy
./out/linuxx86/optimize/plugins/cscript/csjava/src/org/crystalspace3d/csJEventHandler.java
Copy ./out/linuxx86/optimize/plugins/cscript/csjava/src/org/crystalspace3d/CS.java
Ant ./out/linuxx86/optimize/plugins/cscript/csjava/crystalspace.jar
/var/tmp/portage/crystalspace-0.99_pre20050823/work/crystalspace/out/linuxx86/optimize/plugins/cscript/csjava/src/org/crystalspace3d/csEllipsoid.java:53:
GetCenter() is already defined in org.crystalspace3d.csEllipsoid
  public csVector3 GetCenter() {
                   ^
/var/tmp/portage/crystalspace-0.99_pre20050823/work/crystalspace/out/linuxx86/optimize/plugins/cscript/csjava/src/org/crystalspace3d/csEllipsoid.java:65:
GetRadius() is already defined in org.crystalspace3d.csEllipsoid
  public csVector3 GetRadius() {
                   ^
2 errors

BUILD FAILED
/var/tmp/portage/crystalspace-0.99_pre20050823/work/crystalspace/out/linuxx86/optimize/plugins/cscript/csjava/build.xml:28:
Compile failed; see the compiler error output for details.

Total time: 25 seconds

(snip)

...failed updating 1 target(s)...
...skipped 1 target(s)...
...updated 1200 target(s)...
Comment 14 Franklin Marmon 2005-11-01 08:23:43 UTC
Just wanted to say the cspace and ebuild patches worked fine for me as well.
It'd be nice to have them in the portage tree.
Comment 15 jaBo 2005-11-16 01:59:24 UTC
emerge crystalspace cel

checking if Crystal Space version >= 0.99... yes (version 0.99)
checking if Crystal Space SDK is usable... no
configure: error:
*** Crystal Space could not be found or was unusable. The latest version is
*** always available from http://www.crystalspace3d.org/
*** Also, be sure that you have either installed Crystal Space or set the
*** CRYSTAL environment variable properly.


!!! ERROR: dev-games/cel-0.99_pre20050823 failed.
!!! Function src_compile, Line 45, Exitcode 1
!!! configure failed
!!! If you need support, post the topmost build error, NOT this status message.

also tried emering crystalspace and cel with debug flag on, no difference. 
Comment 16 jaBo 2005-11-16 02:01:49 UTC
why is crystalspace SDK unusable ? cos its not there, then  why isnt ? pff

Comment 17 Richard Westwell 2005-11-20 13:09:06 UTC
LinkPlugin xmlshader.so 
Copy xmlshader.csplugin 
MkDir1 ./out/linuxamd64/optimize/plugins/video/render3d/null 
C++ ./out/linuxamd64/optimize/plugins/video/render3d/null/null_txt.o 
C++ ./out/linuxamd64/optimize/plugins/video/render3d/null/null_render3d.o 
C++ ./out/linuxamd64/optimize/plugins/video/render3d/null/null_pix.o 
LinkPlugin null3d.so 
Copy null3d.csplugin 
MkDir1 ./out/linuxamd64/optimize/plugins/video/cursor 
C++ ./out/linuxamd64/optimize/plugins/video/cursor/cursor.o 
LinkPlugin cscursor.so 
Copy cscursor.csplugin 
...failed updating 1 target(s)...
...updated 1179 target(s)...

!!! ERROR: dev-games/crystalspace-0.99_pre20050823-r1 failed.
!!! Function src_compile, Line 58, Exitcode 1
!!! compile failed
!!! If you need support, post the topmost build error, NOT this status message.

I was getting a similar error above
the solution for me was to re-emerge lib3ds with -fPIC temporarily enabled in
the CFLAGS
(not usualy a good idea)
I think a patch is needed for lib3ds to add -fPIC in the right place in the
right Makefile for amd64 systems
Comment 18 Daren Hayward 2005-12-14 23:36:41 UTC
Guys please read! THE FOLLOWING IS NOT THE ERROR, it's a status message

!!! ERROR: dev-games/cel-0.99_pre20050823 failed.
!!! Function src_compile, Line 45, Exitcode 1
!!! configure failed
!!! <b>If you need support, post the topmost build error, NOT this status
message.</b>

There are two errors that appear to crop up, this one is specific to java and
looks like below, the other can be fixed by adding "dev-games/crystalspace
-fPIC" without the quotes to /etc/portage/package.use 

Java Error:
/var/tmp/portage/crystalspace-0.99_pre20050823/work/crystalspace/out/linuxx86/optimize/plugins/cscript/csjava/src/org/crystalspace3d/csEllipsoid.java:53:
GetCenter() is already defined in org.crystalspace3d.csEllipsoid
  public csVector3 GetCenter() {
                   ^
/var/tmp/portage/crystalspace-0.99_pre20050823/work/crystalspace/out/linuxx86/optimize/plugins/cscript/csjava/src/org/crystalspace3d/csEllipsoid.java:65:
GetRadius() is already defined in org.crystalspace3d.csEllipsoid
  public csVector3 GetRadius() {
                   ^
2 errors

BUILD FAILED
/var/tmp/portage/crystalspace-0.99_pre20050823/work/crystalspace/out/linuxx86/optimize/plugins/cscript/csjava/build.xml:28:
Compile failed; see the compiler error output for details. 

/var/tmp/portage/crystalspace-0.99_pre20050823/work/crystalspace/out/linuxx86/optimize/plugins/cscript/csjava/src/org/crystalspace3d/csEllipsoid.java:53:
GetCenter() is already defined in org.crystalspace3d.csEllipsoid
  public csVector3 GetCenter() {
                   ^
/var/tmp/portage/crystalspace-0.99_pre20050823/work/crystalspace/out/linuxx86/optimize/plugins/cscript/csjava/src/org/crystalspace3d/csEllipsoid.java:65:
GetRadius() is already defined in org.crystalspace3d.csEllipsoid
  public csVector3 GetRadius() {
                   ^
2 errors

BUILD FAILED
/var/tmp/portage/crystalspace-0.99_pre20050823/work/crystalspace/out/linuxx86/optimize/plugins/cscript/csjava/build.xml:28:
Compile failed; see the compiler error output for details.
Comment 19 Daren Hayward 2005-12-14 23:39:13 UTC
I have modified the ebuild to use --without-java which also allows crystalspace
to compile successfully, however I will not know whether this is successfull
until after the emerge of planeshift....

emerging now will post my findings
Comment 20 Daren Hayward 2005-12-15 14:01:38 UTC
#Start of Patch
--- portage/dev-games/crystalspace/crystalspace-0.99_pre20050823.ebuild 
2005-12-15 07:14:04.000000000 +0000
+++ local/dev-games/crystalspace/crystalspace-0.99_pre20050823.ebuild   
2005-09-06 14:05:36.000000000 +0100
@@ -41,7 +41,6 @@
        # Disabling python entirely, some parts don't build
        #use python || \
        my_conf="${my_conf} --without-python"
-       my_conf="${my_conf} --without-java"

        use debug && my_conf="${my_conf} --enable-debug"

#End of Patch

Patch for building crystal space and solving the problem with java, I don't know
how to add a -java option that does this automatically....

Regards

Daren

I also have to have -3ds or it fails to compile, but I haven't looked into that
as I have a working system at the moment
Comment 21 Daren Hayward 2005-12-15 14:03:06 UTC
Ooops that patch should have a + on that line as I have added it must have got
it round the wrong way
Comment 22 Jan Notka 2006-05-19 10:46:43 UTC
[...]
Ant ./out/linux/optimize/plugins/cscript/csjava/crystalspace.jar 
/var/tmp/portage/crystalspace-0.99_pre20050823/work/crystalspace/out/linux/optimize/plugins/cscript/csjava/src/org/crystalspace3d/csEllipsoid.java:53: GetCenter() is already defined in org.crystalspace3d.csEllipsoid
  public csVector3 GetCenter() {
                   ^
/var/tmp/portage/crystalspace-0.99_pre20050823/work/crystalspace/out/linux/optimize/plugins/cscript/csjava/src/org/crystalspace3d/csEllipsoid.java:65: GetRadius() is already defined in org.crystalspace3d.csEllipsoid
  public csVector3 GetRadius() {
                   ^
2 errors

BUILD FAILED
/var/tmp/portage/crystalspace-0.99_pre20050823/work/crystalspace/out/linux/optimize/plugins/cscript/csjava/build.xml:28: Compile failed; see the compiler error output for details.

Total time: 7 seconds

    
    "/usr/bin/ant" -quiet -emacs -Dbuild.compiler.emacs=true -buildfile ./out/linux/optimize/plugins/cscript/csjava/build.xml
  
...failed Ant ./out/linux/optimize/plugins/cscript/csjava/crystalspace.jar ...
...skipped <csjavafinal>crystalspace.jar for lack of <csjava>crystalspace.jar...

[...]

MkDir1 ./out/linux/optimize/plugins/video/cursor 
C++ ./out/linux/optimize/plugins/video/cursor/cursor.o 
LinkPlugin cscursor.so 
Copy cscursor.csplugin 
...failed updating 1 target(s)...
...skipped 1 target(s)...
...updated 1196 target(s)...
Comment 23 Triffid Hunter 2006-05-30 00:36:31 UTC
I get the exact same error with and without the patch:

MkDir1 ./out/linuxx86/optimize/plugins/cscript/csjava/src/org/crystalspace3d
MkDir1 ./out/linuxx86/optimize/plugins/cscript/csjava
RunSwig ./out/linuxx86/optimize/plugins/cscript/csjava/csjava.cpp
./include/cstypes.h:79: Error: CPP #error "Do not know how to declare 64-bit integers". Use the -cpperraswarn option to continue swig processing.
./include/cstypes.h:119: Error: CPP #error "Do not know how to contruct 64-bit integer constants". Use the -cpperraswarn option to continue swig processing.
./include/cstypes.h:217: Error: CPP #error "Do not know how to declare (u)longlong types". Use the -cpperraswarn option to continue swig processing.
/bin/sh: line 15: ./out/linuxx86/optimize/plugins/cscript/csjava/csjava.cpp: No such file or directory
mv: cannot stat `./out/linuxx86/optimize/plugins/cscript/csjava/csjava.cpp.sed': No such file or directory

    swig -java -c++ -java -package org.crystalspace3d -I./include -outdir ./out/linuxx86/optimize/plugins/cscript/csjava/src/org/crystalspace3d -o ./out/linuxx86/optimize/plugins/cscript/csjava/csjava.cpp ./include/ivaria/cspace.i
    sed 's/\([  ]*#[    ]*include[      ][      ]*[<"]Python.h[>"]\)/\
    #ifndef __STDC_CONSTANT_MACROS\
    #define __STDC_CONSTANT_MACROS\
    #endif\
    #ifndef __STDC_LIMIT_MACROS\
    #define __STDC_LIMIT_MACROS\
    #endif\
    #ifndef DEBUG_PYTHON\
    #undef _DEBUG\
    #endif\
    \1/g
    /$Header:/d
    s/new[      ][      ]*(\([^)][^)]*\))[      ]*\[/new \1 [/g
    s/[         ]*#[    ]*define[       ][      ]*SWIG_init[    ]*init_\(.*\)/#define SWIG_init SWIG_init_\1/g' < ./out/linuxx86/optimize/plugins/cscript/csjava/csjava.cpp > ./out/linuxx86/optimize/plugins/cscript/csjava/csjava.cpp.sed
    rm -f ./out/linuxx86/optimize/plugins/cscript/csjava/csjava.cpp
    mv -f ./out/linuxx86/optimize/plugins/cscript/csjava/csjava.cpp.sed ./out/linuxx86/optimize/plugins/cscript/csjava/csjava.cpp

...failed RunSwig ./out/linuxx86/optimize/plugins/cscript/csjava/csjava.cpp ...
...skipped <plugins!cscript!csjava!>csjava.o for lack of <plugins!cscript!csjava>csjava.cpp...
C++ ./out/linuxx86/optimize/plugins/cscript/csjava/javamod.o
...skipped libcsjava.so for lack of <plugins!cscript!csjava!>csjava.o...
Copy ./out/linuxx86/optimize/plugins/cscript/csjava/build.xml
Copy ./out/linuxx86/optimize/plugins/cscript/csjava/src/org/crystalspace3d/csJEventHandler.java
Copy ./out/linuxx86/optimize/plugins/cscript/csjava/src/org/crystalspace3d/CS.java
...skipped <csjava>crystalspace.jar for lack of <plugins!cscript!csjava>csjava.cpp...
...skipped <csjavafinal>crystalspace.jar for lack of <csjava>crystalspace.jar...
MkDir1 ./out/linuxx86/optimize/plugins/csparser
C++ ./out/linuxx86/optimize/plugins/csparser/prshtgen.o
C++ ./out/linuxx86/optimize/plugins/csparser/loadsnd.o
C++ ./out/linuxx86/optimize/plugins/csparser/loadtex.o
...
[several pages of output]
...
C++ ./out/linuxx86/optimize/plugins/video/render3d/null/null_render3d.o
C++ ./out/linuxx86/optimize/plugins/video/render3d/null/null_pix.o
LinkPlugin null3d.so
Copy null3d.csplugin
MkDir1 ./out/linuxx86/optimize/plugins/video/cursor
...on 1200th target...
C++ ./out/linuxx86/optimize/plugins/video/cursor/cursor.o
LinkPlugin cscursor.so
Copy cscursor.csplugin
...failed updating 1 target(s)...
...skipped 4 target(s)...
...updated 1201 target(s)...

!!! ERROR: dev-games/crystalspace-0.99_pre20050823 failed.
Call stack:
  ebuild.sh, line 1531:   Called dyn_compile
  ebuild.sh, line 931:   Called src_compile
  crystalspace-0.99_pre20050823.ebuild, line 58:   Called die



appariently my emerge info is too long, ask if you want it
Comment 24 NightTwix 2006-07-06 11:13:39 UTC
Created attachment 91063 [details]
emerge info
Comment 25 NightTwix 2006-07-06 11:17:22 UTC
i was able to install crystalspace and planeshift using the patch and ebuild above.
After running planeshift-updater (which worked as well except one warning: 
WARNING: Could not open driver database file '/config/gldrivers.xml') i encounter errors starting planeshift or planeshift-setup:


$ planeshift-setup 
crystalspace.syntax.badtoken:  Unexpected token 'conditions'!
[node: gldriverdb,rules,rule,conditions,conditions]
crystalspace.graphics3d.shadercompiler.xmlshader:  Unknown command 'Include'
[node: shader(name=std_lighting),?Include /shader/snippets/cg-base.inc ?]
crystalspace.graphics3d.shadercompiler.xmlshader:  Unknown command 'Include'
[node: shader(name=std_lighting),?Include /shader/lighting/cg-light-classic.inc ?]
crystalspace.graphics3d.shadercompiler.xmlshader:  Unknown command 'Include'
[node: shader(name=std_lighting),?Include /shader/surface/cg-surface-classic.inc ?]
crystalspace.graphics3d.shadercompiler.xmlshader:  Unknown command 'Include'
[node: shader(name=std_lighting),?Include /shader/fog/cg-sectorfog.inc ?]
crystalspace.graphics3d.shadercompiler.xmlshader:  Unknown command 'Include'
[node: shader(name=std_lighting),technique(priority=150),?Include /shader/snippets/std_lighting-pass.inc ?]
crystalspace.graphics3d.shadercompiler.xmlshader:  Unknown command 'Include'
[node: shader(name=std_lighting_fixed),technique(priority=200),pass,?Include snippets/fog-mappings.inc ?]
crystalspace.graphics3d.shadercompiler.xmlshader:  Unknown command 'Include'
[node: shader(name=std_lighting_fixed),technique(priority=200),pass,vp,fixedvp,?Include snippets/fog-fvp.inc ?]
crystalspace.graphics3d.shadercompiler.xmlshader:  Unknown command 'Include'
[node: shader(name=std_lighting_fixed),technique(priority=200),pass,fp,fixedfp,?Include snippets/fog-ffp.inc ?]
crystalspace.graphics3d.shadercompiler.xmlshader:  Unknown command 'Include'
[node: shader(name=std_lighting_fixed),technique(priority=50),?Include snippets/fog-pass.inc ?]
Mounting skin: /planeshift/art/apps.zip
Skipping 'YesNo' because it's already loaded
/usr/games/bin/planeshift-setup: line 15: 25227 Segmentation fault      ./pssetup $@

$ planeshift
WARNING: could not load plugin 'crystalspace.sndsys.renderer.software'
WARNING: could not load plugin 'crystalspace.sndsys.element.loader'
crystalspace.syntax.badtoken:  Unexpected token 'conditions'!
[node: gldriverdb,rules,rule,conditions,conditions]
crystalspace.graphics3d.shadercompiler.xmlshader:  Unknown command 'Include'
[node: shader(name=std_lighting),?Include /shader/snippets/cg-base.inc ?]
crystalspace.graphics3d.shadercompiler.xmlshader:  Unknown command 'Include'
[node: shader(name=std_lighting),?Include /shader/lighting/cg-light-classic.inc ?]
crystalspace.graphics3d.shadercompiler.xmlshader:  Unknown command 'Include'
[node: shader(name=std_lighting),?Include /shader/surface/cg-surface-classic.inc ?]
crystalspace.graphics3d.shadercompiler.xmlshader:  Unknown command 'Include'
[node: shader(name=std_lighting),?Include /shader/fog/cg-sectorfog.inc ?]
crystalspace.graphics3d.shadercompiler.xmlshader:  Unknown command 'Include'
[node: shader(name=std_lighting),technique(priority=150),?Include /shader/snippets/std_lighting-pass.inc ?]
crystalspace.graphics3d.shadercompiler.xmlshader:  Unknown command 'Include'
[node: shader(name=std_lighting_fixed),technique(priority=200),pass,?Include snippets/fog-mappings.inc ?]
crystalspace.graphics3d.shadercompiler.xmlshader:  Unknown command 'Include'
[node: shader(name=std_lighting_fixed),technique(priority=200),pass,vp,fixedvp,?Include snippets/fog-fvp.inc ?]
crystalspace.graphics3d.shadercompiler.xmlshader:  Unknown command 'Include'
[node: shader(name=std_lighting_fixed),technique(priority=200),pass,fp,fixedfp,?Include snippets/fog-ffp.inc ?]
crystalspace.graphics3d.shadercompiler.xmlshader:  Unknown command 'Include'
[node: shader(name=std_lighting_fixed),technique(priority=50),?Include snippets/fog-pass.inc ?]

planeshift.application.client:
  PlaneShift Crystal Blue
  This game uses Crystal Space Engine created by Jorrit and others
  0.99 r0 [Unix-x86-GCC]
  No iSoundManager plugin!
  Failed to init app!
Comment 26 Stuart Shelton 2006-09-20 16:08:54 UTC
Even after adding 'CFLAGS="${CFLAGS} -fPIC' to the crystalspace ebulid, it still fails for me:

MkDir1 ./out/linuxx86/optimize/plugins/video/cursor 
C++ ./out/linuxx86/optimize/plugins/video/cursor/cursor.o 
./include/csutil/scf_interface.h:105: warning: 'struct iBase' has virtual functions but non-virtual destructor
./include/csutil/scf_interface.h:143: warning: 'struct iSCF' has virtual functions but non-virtual destructor
./include/csutil/scf.h:690: warning: 'struct iFactory' has virtual functions but non-virtual destructor
./include/iutil/strset.h:67: warning: 'struct iStringSet' has virtual functions but non-virtual destructor
./include/ivideo/rndbuf.h:111: warning: 'struct iRenderBuffer' has virtual functions but non-virtual destructor
./include/ivideo/rndbuf.h:272: warning: 'struct iRenderBufferAccessor' has virtual functions but non-virtual destructor
./include/ivideo/graph3d.h:546: warning: 'struct iGraphics3D' has virtual functions but non-virtual destructor
./include/ivideo/graph2d.h:145: warning: 'struct iOffscreenCanvasCallback' has virtual functions but non-virtual destructor
./include/ivideo/graph2d.h:182: warning: 'struct iGraphics2D' has virtual functions but non-virtual destructor
./include/ivideo/custcursor.h:46: warning: 'struct iCursor' has virtual functions but non-virtual destructor
./include/ivideo/txtmgr.h:104: warning: 'struct iRendererLightmap' has virtual functions but non-virtual destructor
./include/ivideo/txtmgr.h:124: warning: 'struct iSuperLightmap' has virtual functions but non-virtual destructor
./include/ivideo/txtmgr.h:157: warning: 'struct iTextureManager' has virtual functions but non-virtual destructor
./include/iutil/comp.h:51: warning: 'struct iComponent' has virtual functions but non-virtual destructor
./include/iutil/eventh.h:37: warning: 'struct iEventHandler' has virtual functions but non-virtual destructor
./include/iutil/event.h:60: warning: 'struct iEventAttributeIterator' has virtual functions but non-virtual destructor
./include/iutil/event.h:301: warning: 'struct iEvent' has virtual functions but non-virtual destructor
./include/iutil/event.h:420: warning: 'struct iEventPlug' has virtual functions but non-virtual destructor
./include/iutil/event.h:468: warning: 'struct iEventOutlet' has virtual functions but non-virtual destructor
./include/iutil/event.h:566: warning: 'struct iEventCord' has virtual functions but non-virtual destructor
plugins/video/cursor/cursor.h:156: warning: 'struct csCursor::eiComponent' has virtual functions but non-virtual destructor
plugins/video/cursor/cursor.h:166: warning: 'struct csCursor::eiEventHandler' has virtual functions but non-virtual destructor
./include/iutil/cfgfile.h:36: warning: 'struct iConfigFile' has virtual functions but non-virtual destructor
./include/iutil/cfgfile.h:154: warning: 'struct iConfigIterator' has virtual functions but non-virtual destructor
./include/iutil/cfgmgr.h:83: warning: 'struct iConfigManager' has virtual functions but non-virtual destructor
./include/iutil/databuff.h:40: warning: 'struct iDataBuffer' has virtual functions but non-virtual destructor
./include/igraphic/image.h:100: warning: 'struct iImage' has virtual functions but non-virtual destructor
./include/iutil/objreg.h:53: warning: 'struct iObjectRegistry' has virtual functions but non-virtual destructor
./include/iutil/objreg.h:135: warning: 'struct iObjectRegistryIterator' has virtual functions but non-virtual destructor
./include/iutil/eventq.h:57: warning: 'struct iEventQueue' has virtual functions but non-virtual destructor
./include/iutil/csinput.h:64: warning: 'struct iKeyComposer' has virtual functions but non-virtual destructor
./include/iutil/csinput.h:117: warning: 'struct iKeyboardDriver' has virtual functions but non-virtual destructor
./include/iutil/csinput.h:187: warning: 'struct iMouseDriver' has virtual functions but non-virtual destructor
./include/iutil/csinput.h:243: warning: 'struct iJoystickDriver' has virtual functions but non-virtual destructor
./include/iutil/virtclk.h:43: warning: 'struct iVirtualClock' has virtual functions but non-virtual destructor
./include/iutil/vfs.h:115: warning: 'struct iFile' has virtual functions but non-virtual destructor
./include/iutil/vfs.h:214: warning: 'struct iVFS' has virtual functions but non-virtual destructor
./include/igraphic/imageio.h:67: warning: 'struct iImageIO' has virtual functions but non-virtual destructor
./include/ivaria/reporter.h:89: warning: 'struct iReporterListener' has virtual functions but non-virtual destructor
./include/ivaria/reporter.h:110: warning: 'struct iReporterIterator' has virtual functions but non-virtual destructor
./include/ivaria/reporter.h:161: warning: 'struct iReporter' has virtual functions but non-virtual destructor
./include/ivideo/texture.h:57: warning: 'struct iTextureHandle' has virtual functions but non-virtual destructor
./include/csutil/weakref.h: In member function 'void csWeakRef<T>::Unlink() [with T = iEventQueue]':
./include/csutil/weakref.h:119:   instantiated from 'csWeakRef<T>::~csWeakRef() [with T = iEventQueue]'
plugins/video/cursor/cursor.cpp:59:   instantiated from here
./include/csutil/weakref.h:60: warning: dereferencing type-punned pointer will break strict-aliasing rules
./include/csutil/weakref.h: In member function 'void csWeakRef<T>::Unlink() [with T = iGraphics3D]':
./include/csutil/weakref.h:119:   instantiated from 'csWeakRef<T>::~csWeakRef() [with T = iGraphics3D]'
plugins/video/cursor/cursor.cpp:59:   instantiated from here
./include/csutil/weakref.h:60: warning: dereferencing type-punned pointer will break strict-aliasing rules
./include/csutil/weakref.h: In member function 'void csWeakRef<T>::Link() [with T = iEventQueue]':
./include/csutil/weakref.h:161:   instantiated from 'csWeakRef<T>& csWeakRef<T>::operator=(csPtr<T>) [with T = iEventQueue]'
plugins/video/cursor/cursor.cpp:84:   instantiated from here
./include/csutil/weakref.h:68: warning: dereferencing type-punned pointer will break strict-aliasing rules
./include/csutil/weakref.h: In member function 'void csWeakRef<T>::Link() [with T = iGraphics3D]':
./include/csutil/weakref.h:131:   instantiated from 'csWeakRef<T>& csWeakRef<T>::operator=(T*) [with T = iGraphics3D]'
plugins/video/cursor/cursor.cpp:282:   instantiated from here
./include/csutil/weakref.h:68: warning: dereferencing type-punned pointer will break strict-aliasing rules
LinkPlugin cscursor.so 
Copy cscursor.csplugin 
...failed updating 1 target(s)...
...skipped 1 target(s)...
...updated 1223 target(s)...

!!! ERROR: dev-games/crystalspace-0.99_pre20050823 failed.
Call stack:
  ebuild.sh, line 1546:   Called dyn_compile
  ebuild.sh, line 937:   Called src_compile
  crystalspace-0.99_pre20050823.ebuild, line 53:   Called die


... it looks as if this has been broken for over a year now - can this ebulid /please/ be fixed or masked?

('emerge --info' follows - post is to long)
Comment 27 Stuart Shelton 2006-09-20 16:09:33 UTC
emerge --info:

Portage 2.1.1 (default-linux/x86/2006.1, gcc-4.1.1, glibc-2.4-r3, 2.6.17-gentoo-r8 i686)
=================================================================
System uname: 2.6.17-gentoo-r8 i686 Intel(R) Pentium(R) M processor 1700MHz
Gentoo Base System version 1.12.5
Last Sync: Tue, 19 Sep 2006 17:20:01 +0000
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
app-admin/eselect-compiler: [Not Present]
dev-java/java-config: 1.2.11-r1
dev-lang/python:     2.4.3-r1
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     [Not Present]
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils:  2.16.1-r3
sys-devel/gcc-config: 1.3.13-r3
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.17-r1
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=pentium-m -mfpmath=sse -mmmx -msse -msse2 -fomit-frame-pointer -fprefetch-loop-arrays -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /etc/env.d /opt/openjms/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/lib/fax /usr/lib/mozilla/defaults/pref /usr/share/X11/xkb /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/spool/fax/etc"
CONFIG_PROTECT_MASK="/etc/X11/xkb /etc/chipcard2-server /etc/env.d /etc/gconf /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-O2 -march=pentium-m -mfpmath=sse -mmmx -msse -msse2 -fomit-frame-pointer -fprefetch-loop-arrays -pipe"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--alphabetical"
FEATURES="autoconfig distlocks fixpackages metadata-transfer parallel-fetch sandbox sfperms strict test userfetch userpriv usersandbox"
GENTOO_MIRRORS="        http://distfiles.gentoo.org     http://www.ibiblio.org/pub/Linux/distributions/gentoo   http://ftp.heanet.ie/pub/gentoo         http://www.mirror.ac.uk/sites/www.ibiblio.org/gentoo      http://gentoo.osuosl.org        http://gentoo.oregonstate.edu "
LINGUAS="en_GB"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.uk.gentoo.org/gentoo-portage"
USE="x86 X Xaw3d a52 aac aalib accessibility acl acpi adns aio alsa amr ao arts async audiofile automount avahi avi bash-completion berkdb bitmap-fonts bluetooth bonobo browserplugin bzip2 cairo caps cdr cli crypt cscope cups curl dbus dga directfb dlloader dri dts dv dvd dvdread eds elibc_glibc encode esd ethereal evo exif expat fam fastcgi fbcon ffmpeg fftw firebird flac flash fltk fluidsynth font-server foomaticdb fortran freetds freetype gb gd gdbm ggi gif gimp glut gmp gnome gnomedb gnutls gphoto2 gpm gs gstreamer gtk gtk2 gtkhtml guile hal howl icc-pgo idn ieee1394 imagemagick imap imlib informix innodb input_devices_evdev input_devices_keyboard input_devices_mouse input_devices_synaptics input_devices_vmmouse input_devices_void ipv6 isdnlog jack java javamail javascript jbig jms jmx jpeg jpeg2k junit kde kdeenablefinal kerberos kernel_linux krb4 ladcca lcms ldap libcaca libedit libg++ libgda libsamplerate libwww linguas_en_GB logrotate lua lzo mad maildir mailwrapper matroska mbox mcal memlimit mikmod milter mmap mmx mng modplug mono motif mozilla mp3 mpeg mpi mplayer msn mssql musepack mysql nas ncurses net netboot network nis nls nntp nptl nptlonly nsplugin numeric oci8 odbc ogg oggvorbis openal openexr opengl oss pam pam_console pango pcmcia pcre pdf pdflib perl pic plotutils png pnp portaudio postgres ppds pppd prelude python qdbm qt qt3 qt4 quicktime radius rar readline real reflection ruby samba sasl scanner sdl session shorten sid skey slang slp smartcard sndfile snmp socks5 sox spamassassin speex spell spl sqlite sse sse2 ssl startup-notification subtitles svg svga sysfs syslog t1lib tcl tcltk tcpd test tetex theora threads tiff timidity tk truetype truetype-fonts type1-fonts udev unicode urandom usb userland_GNU v4l v4l2 vcd video_cards_ati video_cards_fbdev video_cards_fglrx video_cards_radeon video_cards_vesa video_cards_vmware vidix vorbis win32codecs wmf wxwindows x264 xanim xbase xface xim xine xinerama xinetd xml xml2 xmms xorg xosd xpm xprint xscreensaver xv xvid zeo zlib"
Unset:  CTARGET, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, MAKEOPTS, PORTAGE_RSYNC_EXTRA_OPTS

Comment 28 Tupone Alfredo gentoo-dev 2007-02-03 00:08:20 UTC
Please retest with 1.0 
Comment 29 Matthias Langer 2007-02-03 04:01:13 UTC
i've just merged

dev-games/crystalspace-1.0  USE="alsa java javascript jpeg perl png python sdl truetype vorbis -3ds -cal3d -cegui -cg -doc -mng -ode -wxwindows"

without any problems; note that i did not yet test if it works ...

Portage 2.1.1-r2 (default-linux/x86/2006.1/desktop, gcc-4.1.1, glibc-2.4-r4, 2.6.19-gentoo-r5 i686)
=================================================================
System uname: 2.6.19-gentoo-r5 i686 AMD Athlon(tm) XP 2400+
Gentoo Base System version 1.12.6
Last Sync: Sat, 03 Feb 2007 01:50:01 +0000
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
app-admin/eselect-compiler: [Not Present]
dev-java/java-config: 1.3.7, 2.0.31
dev-lang/python:     2.4.3-r4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     [Not Present]
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.61
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.16.1-r3
sys-devel/gcc-config: 1.3.14
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.17-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=athlon-xp -O2 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c"
CXXFLAGS="-march=athlon-xp -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig collision-protect distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://gentoo.ynet.sk/pub "
LANG="en_US.utf8"
LC_ALL="en_US.utf8"
LINGUAS="en de"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://192.168.0.1/gentoo-portage"
USE="x86 3dnow 3dnowext X a52 aac acpi aiglx alsa audiofile avahi beagle berkdb bitmap-fonts bzip2 cairo cdr cli cracklib crypt css cups dbus dlloader dri dvd dvdr dvdread eds elibc_glibc emboss encode evo exif fam fbcon ffmpeg firefox flac fortran gdbm gif ginac gmp gnome gnutls gphoto2 gpm gstreamer gtk gtk2 hal iconv icq input_devices_keyboard input_devices_mouse ipod ipv6 isdnlog java javascript jpeg jpeg2k kernel_linux lcms ldap libg++ linguas_de linguas_en mad midi mikmod mime mmx mmxext mono mozsvg mp3 mpeg msn nautilus ncurses nfs nls nptl nptlonly nsplugin nvidia offensive ogg oggvorbis opengl pam pcre pdf perl plotutils png posix ppds pppd python qt3 qt4 quicktime readline real reflection ruby sdl session sockets spell spl sqlite3 sse ssl subtitles svg tcpd tetex theora threads tiff truetype truetype-fonts type1-fonts udev unicode usb userland_GNU vcd video_cards_nvidia vorbis win32codecs wma xine xml xorg xv xvid zlib"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS