Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 59456 - emerge stellarium fails
Summary: emerge stellarium fails
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High blocker (vote)
Assignee: Gentoo Science Related Packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-08-04 14:57 UTC by Bruce Bertrand
Modified: 2004-08-08 21:55 UTC (History)
0 users

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


Attachments
Output of 'ACCEPT_KEYWORDS="~x86" emerge stellarium" (stellarium_error.txt,94.32 KB, text/plain)
2004-08-04 15:01 UTC, Bruce Bertrand
Details
emerge output (output,43.88 KB, text/plain)
2004-08-07 09:04 UTC, f5d8fd51ed1e804c9e8d0357e8614e0493b06e96
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Bruce Bertrand 2004-08-04 14:57:18 UTC
Attempting to emerge stellarium 0.6.0 fails with exitcode 2.

Reproducible: Always
Steps to Reproduce:
1. in a terminal, run 'ACCEPT_KEYWORDS="~x86" emerge stellarium'

Actual Results:  
emerge goes through the "configure" section as normal and begins to compile. 
After a short while, errors begin to appear, and it eventually fails.

Expected Results:  
It should have compiled and installed properly

Here's the output from 'emerge info':

bash-2.05b# emerge info
Portage 2.0.50-r1 (default-x86-2004.0, gcc-3.3.2, glibc-2.3.2-r9, 2.6.6-rc1)
=================================================================
System uname: 2.6.6-rc1 i686 Intel(R) Pentium(R) 4 Mobile CPU 2.00GHz
Gentoo Base System version 1.4.15
distcc 2.12.1 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled]
Autoconf: sys-devel/autoconf-2.59-r3
Automake: sys-devel/automake-1.8.3
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O2 -march=pentium4 -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/usr/kde/3.2/share/config /usr/kde/3/share/config /usr/share/config
/var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-O2 -march=pentium4 -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache distcc sandbox"
GENTOO_MIRRORS="http://mirror.datapipe.net/gentoo
ftp://ftp.ussg.iu.edu/pub/linux/gentoo ftp://194.117.158.29/mirrors/gentoo"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X aalib alsa apm arts avi berkdb cdr crypt cups dvd encode esd foomaticdb
gdbm gif gnome gpm gtk gtk2 imlib ipv6 jack java jpeg kde ldap libg++ libwww mad
mikmod mmx motif mpeg mysql nas ncurses nls oggvorbis opengl oss pam pdflib perl
png python qt quicktime readline ruby scanner sdl slang spell sse ssl svga tcltk
tcpd truetype x86 xml2 xmms xv zlib"

---------------------------------------------

The output of the ebuild will be attached.
Comment 1 Bruce Bertrand 2004-08-04 15:01:54 UTC
Created attachment 36774 [details]
Output of 'ACCEPT_KEYWORDS="~x86" emerge stellarium"
Comment 2 f5d8fd51ed1e804c9e8d0357e8614e0493b06e96 2004-08-07 09:04:55 UTC
Created attachment 36962 [details]
emerge output

root (/root): emerge info
Portage 2.0.50-r9 (default-x86-1.4, gcc-3.4.1, glibc-2.3.4.20040619-r1,
2.6.7-gentoo-r12)
=================================================================
System uname: 2.6.7-gentoo-r12 i686 Pentium III (Coppermine)
Gentoo Base System version 1.5.2
Autoconf: sys-devel/autoconf-2.59-r4
Automake: sys-devel/automake-1.8.5-r1
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O3 -march=i686 -funroll-loops -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/usr/kde/3.1/share/config /usr/kde/3.2/share/config /usr/kde/3.3/share/config
/usr/kde/3/share/config /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O3 -march=i686 -funroll-loops -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS="rsync://mirrors.sec.informatik.tu-darmstadt.de/gentoo
ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X acpi alsa arts avi berkdb crypt cups encode esd foomaticdb gdbm gif
gphoto2 gpm gtk2 imlib java jpeg kde libg++ libwww linguas_de mad mikmod mmx
motif mpeg mysql ncurses nls oggvorbis opengl oss pam pdflib perl png pnp
postgres python qt quicktime readline samba sdl slang spell sse ssl svga tcpd
truetype usb x86 xml2 xmms xv zlib"
Comment 3 Jens Lindemann 2004-08-07 10:05:41 UTC
Bruce: It's just a guess but I think this might be due to an issue with your graphics driver or X version as I have two different gl.h files on my hard disk. One is from MESA and seems to have come with xorg-x11 and one is from NVidia (obviously came with nvidia-glx). 

You might have done something like this in the past (and lost your /usr/X11R6/include/GL/gl.h link to it): 
- emerge xorg-x11
- emerge nvidia-glx
- emerge unmerge nvidia-glx

Please tell us which X version and graphics driver you are using (If it's an NVidia, please try to re-emerge it and run 'opengl-update nvidia')

As for Olaf that looks like a completely different error (due to the GCC 3.4.x?)
Comment 4 f5d8fd51ed1e804c9e8d0357e8614e0493b06e96 2004-08-07 11:10:39 UTC
yes, I can confirm it's an gcc 3.4.x issue - gone back to gcc 3.3.4 and it emerged fine
Comment 5 Saleem Abdulrasool (RETIRED) gentoo-dev 2004-08-07 11:18:36 UTC
The issue seems to be with libsdl. Could you please check what version of libsdl you have emerged Bruce?
Comment 6 Jens Lindemann 2004-08-07 11:28:10 UTC
I don't think so. We checked with different (libsdl-)versions in IRC and all of them worked. In addition to that - if I rename my /usr/X11R6/include/GL/gl.h to some other name, I get exactly the same error as Bruce does.
Comment 7 Bruce Bertrand 2004-08-08 17:24:47 UTC
Here are my versions (as reported by etcat -v)
libsdl  1.2.7-r1
xfree   4.3.0-r5
                                                                                
As for my video driver, I'm using nvidia.  However, I can't emerge it (still working on this one), so it's installed via the nvidia installer script.

Also, 'opengl-update nvidia' does not work...it just displays the usage syntax.  I assume that this is because of the fact that the nvidia driver was not "emerged"...this is probably the root of the problem.

I think I just found a fix for my 'emerge nvidia-glx' problem.  I'll try it and report back.
Comment 8 Bruce Bertrand 2004-08-08 19:57:18 UTC
That seems to have fixed the problem.

I had cleaned my kernel source (make clean) after building and installing it.  That was causing the nvidia driver to not emerge properly, which was preventing opengl-update from working, which killed the stellarium ebuild.

So, problem solved....not a bug, but an inconsistancy on my part.
Sorry for the needless bug report.

Thanks guys.
Comment 9 Bruce Bertrand 2004-08-08 20:26:12 UTC
I spoke too soon....

The ebuild went as expected, but when I try to start it, I get:

Loading configuration file /home/bruce/.stellarium/config.ini ...
sdl: Couldn't set 1400x1050 video mode: X11 driver not configured with OpenGL!

Any clues now?????
Comment 10 Bruce Bertrand 2004-08-08 21:55:51 UTC
ok...
appologies once more.  It seems that I'm too fast to post my results (especially when I've had so little sleep....)

I reemerged libsdl and everything works fine now.
So, Jens and Saleem, you were both right.
Thanks again