Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 27533 - emerge app-games/planeshift-0.2.010-r1 failed
Summary: emerge app-games/planeshift-0.2.010-r1 failed
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:
Depends on:
Blocks:
 
Reported: 2003-08-29 07:05 UTC by Daniel Schroeter
Modified: 2003-09-02 18:28 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Daniel Schroeter 2003-08-29 07:05:12 UTC
I tried to emerge planeshift several times but it always fails:

LinkApplication updater
...failed updating 56 target(s)...
...skipped 10 target(s)...
...updated 95 target(s)...

!!! ERROR: app-games/planeshift-0.2.010-r1 failed.
!!! Function src_compile, Line 32, Exitcode 1
!!! (no error message)

There are several (56) problems like these:
g++ -c -o ./out/linuxx86/psdcupload.o -I/opt/crystal/include -D__CRYSTAL_SPACE__
-Wall -Wno-unknown-pragmas -fno-exceptions -mcpu=pentiumpro -march=i686  -O3
-fomit-frame-pointer -ffast-math   -fexceptions  -Isrc/client/gui
-Isrc/client/gui/base -I. -I./include -I./src/common -I./src/client
-I./src/server src/client/gui/psdcupload.cpp

...failed C++ ./out/linuxx86/psdcupload.o ...
g++ -c -o ./out/linuxx86/psgwskill.o -I/opt/crystal/include -D__CRYSTAL_SPACE__
-Wall -Wno-unknown-pragmas -fno-exceptions -mcpu=pentiumpro -march=i686  -O3
-fomit-frame-pointer -ffast-math   -fexceptions  -Isrc/client/gui
-Isrc/client/gui/base -I. -I./include -I./src/common -I./src/client
-I./src/server src/client/gui/psgwskill.cpp

...failed C++ ./out/linuxx86/psgwskill.o ...

This may be related to: http://bugs.gentoo.org/show_bug.cgi?id=20815 (56 failed)
but the headerfiles are in the right location!



Reproducible: Always
Steps to Reproduce:
1. emerge planeshift




*  dev-games/crystalspace      Latest version installed: 20030413-r1
*  dev-games/cel         Latest version installed: 20030413-r2
*  sys-devel/gcc       Latest version installed: 3.2.3-r1

morpheus root # emerge info
Portage 2.0.48-r5 (default-x86-1.4, gcc-3.2.3, glibc-2.3.2-r1)
=================================================================
System uname: 2.4.20-pfeifer-r1_pre11 i686 Intel(R) Pentium(R) III Mobile CPU  
   1000MHz
GENTOO_MIRRORS="http://gentoo.oregonstate.edu
http://distro.ibiblio.org/pub/Linux/distributions/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/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 foomaticdb gif jpeg libg++ mad mikmod mmx
mpeg ncurses nls pdflib png quicktime spell truetype xml2 xmms xv zlib directfb
gtkhtml gdbm berkdb slang readline arts tetex aalib nas bonobo svga ggi tcltk
java guile mysql X sdl gpm tcpd pam libwww ssl perl python esd imlib oggvorbis
gtk qt kde motif opengl mozilla ldap snmp acpi acpi4linux amd dga dvd fbcon
flash gd imap innodb jikes junit kerberos lcd lcms maildir md5sum
mozinterfaceinfo moznocompose moznomail mozp3p mozsvg mozxmlterm oav radeon
samba sse tiff wmf xface xml -3dnow -gnome -alsa"
COMPILER="gcc3"
CHOST="i686-pc-linux-gnu"
CFLAGS="-march=pentium3 -O3 -pipe"
CXXFLAGS="-march=pentium3 -O3 -pipe"
ACCEPT_KEYWORDS="x86"
MAKEOPTS="-j2"
AUTOCLEAN="yes"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
FEATURES="buildpkg -ccache sandbox userpriv usersandbox"
Comment 1 Mr. Bones. (RETIRED) gentoo-dev 2003-08-29 15:13:28 UTC
Just merged fine for me.  Can you try with CFLAGS and CXXFLAGS set to just "-pipe"
to see if that makes a difference?
Comment 2 Daniel Schroeter 2003-08-29 15:30:51 UTC
nope makes no difference :-(
Comment 3 Daniel Schroeter 2003-08-30 05:21:24 UTC
Hmm I unpacked and compiled the sources by hand and it worked!
tar...
cd planeshift
./autogen.sh
./configure
jam

Now I wonder if anyone has the same problem!?! It is strange, that the ebuild apparently  work s on some machines but not on mine. I think that the problem lies in the cel-environment-vars in the ebuild. When I built ps I did not set them!

I had to change permissions on some libraries in /opt/crystal/lib/ to be able to start the game.

Comment 4 SpanKY gentoo-dev 2003-09-01 17:27:21 UTC
take off userpriv and usersandbox and try again
Comment 5 Daniel Schroeter 2003-09-02 18:24:38 UTC
Got it. I looked a little bit deeper and found those files in /opt/crystal which have wrong accessrights. After chmod 644 on them emerge planeshift worked just fine :)
I checked and found out, that dev-games/cel installs those headerfiles.
Think this bug can be closed and replaced by a bug for cel. Please confirm.

SpanKY: Thanks - your suggestion would have worked too.



morpheus bl # pwd
/opt/crystal/include/bl
morpheus bl # l
total 16K
-rw-r-----    1 root     root         1.8K Aug 30 01:04 behave.h
-rw-r-----    1 root     root         1.4K Aug 30 01:04 bl.h
drwxr-xr-x    2 root     root         4.0K Aug 29 14:45 .
drwxr-xr-x   23 root     root         4.0K Aug 29 14:45 ..
morpheus bl #cd ../pl
morpheus pl # l
total 56K
-rw-r-----    1 root     root         3.6K Aug 30 01:04 databhlp.h
-rw-r-----    1 root     root         3.2K Aug 30 01:04 datatype.h
-rw-r-----    1 root     root         2.9K Aug 30 01:04 entity.h
-rw-r-----    1 root     root         3.1K Aug 30 01:04 facttmpl.h
-rw-r-----    1 root     root         1.4K Aug 30 01:04 message.h
-rw-r-----    1 root     root         3.1K Aug 30 01:04 persist.h
-rw-r-----    1 root     root         6.8K Aug 30 01:04 pl.h
-rw-r-----    1 root     root         1.4K Aug 30 01:04 propchg.h
-rw-r-----    1 root     root         6.5K Aug 30 01:04 propclas.h
-rw-r-----    1 root     root         1.4K Aug 30 01:04 propfact.h
drwxr-xr-x    2 root     root         4.0K Aug 29 14:45 .
drwxr-xr-x   23 root     root         4.0K Aug 29 14:45 ..
morpheus pl # cd ../pf
morpheus pf # l
total 72K
-rw-r-----    1 root     root         2.7K Aug 30 01:04 camera.h
-rw-r-----    1 root     root         3.8K Aug 30 01:04 chars.h
-rw-r-----    1 root     root         3.2K Aug 30 01:04 gravity.h
-rw-r-----    1 root     root         1.7K Aug 30 01:04 input.h
-rw-r-----    1 root     root         4.2K Aug 30 01:04 inv.h
-rw-r-----    1 root     root         2.8K Aug 30 01:04 mesh.h
-rw-r-----    1 root     root         5.0K Aug 30 01:04 meshsel.h
-rw-r-----    1 root     root         3.4K Aug 30 01:04 move.h
-rw-r-----    1 root     root         3.3K Aug 30 01:04 prop.h
-rw-r-----    1 root     root         2.6K Aug 30 01:04 region.h
-rw-r-----    1 root     root         1.7K Aug 30 01:04 solid.h
-rw-r-----    1 root     root         1.1K Aug 30 01:04 test.h
-rw-r-----    1 root     root         1.3K Aug 30 01:04 timer.h
-rw-r-----    1 root     root         1.6K Aug 30 01:04 tooltip.h
drwxr-xr-x    2 root     root         4.0K Aug 29 14:45 .
drwxr-xr-x   23 root     root         4.0K Aug 29 14:45 ..
Comment 6 SpanKY gentoo-dev 2003-09-02 18:28:10 UTC
yeah, updated cel to use 644 and 755 instead of 640 and 750 ... i think this is left 
over from when cel used the games.eclass ... 
 
thanks for your work :)