Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 156053 - x11-misc/gaia/gaia-0.1.0 have problems with installing (it compiles fine) / runtime errors
Summary: x11-misc/gaia/gaia-0.1.0 have problems with installing (it compiles fine) / r...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-11-23 12:23 UTC by Albert Zeyer
Modified: 2006-11-24 06:02 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 Albert Zeyer 2006-11-23 12:23:33 UTC
I am on a PPC, but there is not any hint that it is PPC related.

Here is the error:
g++ -Wall -g -DWITH_GPSD -I/usr/local/include -I/usr/X11R6/include -Ilibgefetch -I/usr/include/SDL -c -o src/GPSSourceGPSD.o src/GPSSourceGPSD.cc
g++ -Wl,-rpath -Wl,/usr/lib -o gaia libgefetch/libgefetch.a src/main.o src/Viewpoint.o src/Timer.o src/RawBuffer.o src/EarthView.o src/FlatEarthView.o src/SphereEarthView.o src/MasterLayer.o src/TestMasterLayer.o src/GoogleLayer.o src/SlaveLayer.o src/TestSlaveLayer.o src/GridLayer.o src/GPSLayer.o src/Texture.o src/SimpleTileStorage.o src/KeyholeConnection.o src/FilesystemStorage.o src/TileManager.o src/Tile.o src/TextureTile.o src/PreloadedTextureManager.o src/global.o src/glutil.o src/GPSSourceNMEA.o src/GPSSourceTest.o src/Hud.o src/HudObject.o src/HudIcon.o src/GPSSourceGPSD.o -L/usr/X11R6/lib -L/usr/local/lib -Llibgefetch -L/usr/lib -L/usr/lib -lz -lm -ljpeg -lpng -lGL -lGLU -lgefetch -lSDL -lpthread -lcurl -lgssapi_krb5 -lkrb5 -lk5crypto -lkrb5support -lcom_err -lresolv -lidn -lssl -lcrypto -ldl -lssl -lcrypto -ldl -lz -lgps
scons: done building targets.
>>> Source compiled.
>>> Test phase [not enabled]: x11-misc/gaia-0.1.0

>>> Install gaia-0.1.0 into /var/tmp/portage/gaia-0.1.0/image/ category x11-misccp: target `/var/tmp/portage/gaia-0.1.0/image//usr/share/gaia/' is not a directory: No such file or directory

!!! ERROR: x11-misc/gaia-0.1.0 failed.
Call stack:
  ebuild.sh, line 1546:   Called dyn_install
  ebuild.sh, line 1020:   Called src_install
  gaia-0.1.0.ebuild, line 54:   Called die

!!! (no error message)
!!! If you need support, post the topmost build error, and the call stack if relevant.


Also, I does a look into the image-dir:
ibook ~ # find /var/tmp/portage/gaia-0.1.0/image
/var/tmp/portage/gaia-0.1.0/image
/var/tmp/portage/gaia-0.1.0/image/usr
/var/tmp/portage/gaia-0.1.0/image/usr/bin
/var/tmp/portage/gaia-0.1.0/image/usr/bin/gaia
/var/tmp/portage/gaia-0.1.0/image/usr/share
/var/tmp/portage/gaia-0.1.0/image/usr/share/doc
/var/tmp/portage/gaia-0.1.0/image/usr/share/doc/gaia-0.1.0
/var/tmp/portage/gaia-0.1.0/image/usr/share/doc/gaia-0.1.0/README.gz
/var/tmp/portage/gaia-0.1.0/image/usr/share/doc/gaia-0.1.0/TODO.gz
/var/tmp/portage/gaia-0.1.0/image/usr/share/doc/gaia-0.1.0/COPYING.gz
/var/tmp/portage/gaia-0.1.0/image/usr/share/doc/gaia-0.1.0/ChangeLog.gz

The needed usr/share/gaia is missing there.

Then I add the following to the src_install-section of the ebuild:
    if [ ! -d "${D}/usr/share/gaia" ]; then
        mkdir "${D}/usr/share/gaia"
    fi

After this modification, the application emerges fine.

But after starting, a window opens and closes immediatly and I got the following output:
az@ibook ~ % gaia
libGL warning: 3D driver claims to not support visual 0x4b
1164320457.012720 Initializing
1164320457.013931 Initialization failed: fopen() failed
1164320457.014044 Destroying objects
1164320457.014061 Shutting down SDL

The libGL warning can be ignored, I got it by almost all OpenGL applications but I have no problems with OpenGL.

It seems that it cannot find a file.

But my modification of the ebuild seems to work, at least I have:
az@ibook ~ % find /usr/share/gaia
/usr/share/gaia
/usr/share/gaia/data
/usr/share/gaia/data/font.png
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2006-11-23 13:37:37 UTC
Should be fixed, emerge --sync in an hour or so...

http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-misc/gaia/gaia-0.1.0.ebuild?r1=1.2&r2=1.3
Comment 2 Albert Zeyer 2006-11-24 06:02:25 UTC
Thanks, it works great now.