First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 141859
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Default Assignee for Orphaned Packages <maintainer-needed@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Balint Dobai-Pataky <dpblnt@gmail.com>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
gle-3.1.0_optional-examples.patch gle-3.1.0_optional-examples.patch patch Tiziano Müller 2006-07-27 01:59 0000 962 bytes Details | Diff
gle-3.1.0.ebuild gle-3.1.0-r1.ebuild text/plain Samuli Suominen 2006-07-27 04:24 0000 1.09 KB Details
gle-3.1.0.ebuild gle-3.1.0-r1.ebuild text/plain Samuli Suominen 2006-07-27 04:30 0000 1.09 KB Details
gle-3.1.0-r1.ebuild gle-3.1.0-r1.ebuild text/plain Samuli Suominen 2006-07-27 06:04 0000 1.14 KB Details
gle-3.1.0-r1.ebuild gle-3.1.0-r1.ebuild text/plain Samuli Suominen 2006-07-27 07:59 0000 1.12 KB Details
gle-3.1.0-r1.ebuild gle-3.1.0-r1.ebuild text/plain Patrick McLean 2006-07-27 09:11 0000 1.06 KB Details
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 141859 depends on: Show dependency tree
Show dependency graph
Bug 141859 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)







View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2006-07-27 00:33 0000
/bin/sh ../libtool --mode=link i686-pc-linux-gnu-gcc  -O2 -march=athlon
-mtune=athlon -pipe  -Wall  -o beam  beam.o mainsimple.o -lgle -lglut -lXi
-lXext -lXmu -lGLU -lGL  -lXt -lX11  -L../src/ -lm
mkdir .libs
i686-pc-linux-gnu-gcc -O2 -march=athlon -mtune=athlon -pipe -Wall -o .libs/beam
beam.o mainsimple.o 
/var/tmp/portage/gle-3.1.0/work/gle-3.1.0/src/.libs/libgle.so
/usr/lib/libglut.so /usr/lib/opengl/xorg-x11/lib/libGL.so -L/usr/lib
/usr/lib/libXxf86vm.so /usr/lib/libGLU.so /usr/lib/libXmu.so /usr/lib/libXi.so
-lpthread /usr/lib/opengl/nvidia/lib/libGL.so /usr/lib/libXext.so
/usr/lib/libXt.so /usr/lib/libSM.so /usr/lib/libICE.so /usr/lib/libX11.so
/usr/lib/libXau.so /usr/lib/libXdmcp.so -ldl
-L/var/tmp/portage/gle-3.1.0/work/gle-3.1.0/src -lm -Wl,--rpath
-Wl,/usr/lib/opengl/xorg-x11/lib -Wl,--rpath -Wl,/usr/lib/opengl/nvidia/lib
/usr/lib/opengl/nvidia/lib/libGLcore.so.1: undefined reference to `_nv000016gl'
/usr/lib/opengl/nvidia/lib/libGLcore.so.1: undefined reference to `_nv000003gl'
/usr/lib/opengl/nvidia/lib/libGLcore.so.1: undefined reference to `_nv000027gl'
/usr/lib/opengl/nvidia/lib/libGLcore.so.1: undefined reference to `_nv000025gl'
/usr/lib/opengl/nvidia/lib/libGLcore.so.1: undefined reference to `_nv000034gl'
/usr/lib/opengl/nvidia/lib/libGLcore.so.1: undefined reference to `_nv000018gl'
/usr/lib/opengl/nvidia/lib/libGLcore.so.1: undefined reference to `_nv000013gl'
/usr/lib/opengl/nvidia/lib/libGLcore.so.1: undefined reference to `_nv000005gl'
/usr/lib/opengl/nvidia/lib/libGLcore.so.1: undefined reference to `_nv000022gl'
/usr/lib/opengl/nvidia/lib/libGLcore.so.1: undefined reference to `_nv000039gl'
/usr/lib/opengl/nvidia/lib/libGLcore.so.1: undefined reference to `_nv000008gl'
/usr/lib/opengl/nvidia/lib/libGLcore.so.1: undefined reference to `_nv000002gl'
/usr/lib/opengl/nvidia/lib/libGLcore.so.1: undefined reference to `_nv000030gl'
/usr/lib/opengl/nvidia/lib/libGLcore.so.1: undefined reference to `_nv000033gl'
/usr/lib/opengl/nvidia/lib/libGLcore.so.1: undefined reference to `_nv000004gl'
/usr/lib/opengl/nvidia/lib/libGLcore.so.1: undefined reference to `_nv000036gl'
/usr/lib/opengl/nvidia/lib/libGLcore.so.1: undefined reference to `_nv000031gl'
/usr/lib/opengl/nvidia/lib/libGLcore.so.1: undefined reference to `_nv000038gl'
/usr/lib/opengl/nvidia/lib/libGLcore.so.1: undefined reference to `_nv000028gl'
/usr/lib/opengl/nvidia/lib/libGLcore.so.1: undefined reference to `_nv000024gl'
/usr/lib/opengl/nvidia/lib/libGLcore.so.1: undefined reference to `_nv000041gl'
/usr/lib/opengl/nvidia/lib/libGLcore.so.1: undefined reference to `_nv000029gl'
/usr/lib/opengl/nvidia/lib/libGLcore.so.1: undefined reference to `_nv000012gl'
/usr/lib/opengl/nvidia/lib/libGLcore.so.1: undefined reference to `_nv000020gl'
/usr/lib/opengl/nvidia/lib/libGLcore.so.1: undefined reference to `_nv000026gl'
/usr/lib/opengl/nvidia/lib/libGLcore.so.1: undefined reference to `_nv000019gl'
/usr/lib/opengl/nvidia/lib/libGLcore.so.1: undefined reference to `_nv000015gl'
/usr/lib/opengl/nvidia/lib/libGLcore.so.1: undefined reference to `_nv000010gl'
/usr/lib/opengl/nvidia/lib/libGLcore.so.1: undefined reference to `_nv000011gl'
/usr/lib/opengl/nvidia/lib/libGLcore.so.1: undefined reference to `_nv000017gl'
/usr/lib/opengl/nvidia/lib/libGLcore.so.1: undefined reference to `_nv000021gl'
/usr/lib/opengl/nvidia/lib/libGLcore.so.1: undefined reference to `_nv000035gl'
/usr/lib/opengl/nvidia/lib/libGLcore.so.1: undefined reference to `_nv000006gl'
/usr/lib/opengl/nvidia/lib/libGLcore.so.1: undefined reference to `_nv000009gl'
/usr/lib/opengl/nvidia/lib/libGLcore.so.1: undefined reference to `_nv000007gl'
/usr/lib/opengl/nvidia/lib/libGLcore.so.1: undefined reference to `_nv000023gl'
/usr/lib/opengl/nvidia/lib/libGLcore.so.1: undefined reference to `_nv000014gl'
/usr/lib/opengl/nvidia/lib/libGLcore.so.1: undefined reference to `_nv000037gl'
/usr/lib/opengl/nvidia/lib/libGLcore.so.1: undefined reference to `_nv000032gl'
collect2: ld returned 1 exit status
make[2]: *** [beam] Error 1
make[2]: Leaving directory `/var/tmp/portage/gle-3.1.0/work/gle-3.1.0/examples'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/gle-3.1.0/work/gle-3.1.0'
make: *** [all-recursive-am] Error 2

!!! ERROR: media-libs/gle-3.1.0 failed.
Call stack:
  ebuild.sh, line 1545:   Called dyn_compile
  ebuild.sh, line 940:   Called src_compile
  gle-3.1.0.ebuild, line 39:   Called die

!!! emake failed.
!!! If you need support, post the topmost build error, and the call stack if
relevant.


# eselect opengl list
Available OpenGL implementations:
  [1]   nvidia *
  [2]   xorg-x11


# eselect opengl set xorg-x11

...
>>> media-libs/gle-3.1.0 merged.


i think gle ebuild should eselect opengl set xorg-x11 before building, and
back, when finished.

 # emerge --info
Portage 2.1.1_pre3-r5 (default-linux/x86/2006.0, gcc-4.1.1/vanilla,
glibc-2.4-r3, 2.6.16-gentoo-r9 i686)
=================================================================
System uname: 2.6.16-gentoo-r9 i686 AMD Athlon(tm) 64 Processor 3000+
Gentoo Base System version 1.12.1
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632)
[disabled]
app-admin/eselect-compiler: 2.0.0_rc2-r1
dev-lang/python:     2.3.5-r2, 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.18.1
sys-devel/autoconf:  2.13, 2.60
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.17
sys-devel/gcc-config: 2.0.0_rc1
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r5
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=athlon -mtune=athlon -pipe "
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb"
CONFIG_PROTECT_MASK="/etc/env.d /etc/eselect/compiler /etc/gconf
/etc/revdep-rebuild /etc/splash /etc/terminfo"
CXXFLAGS="-O2 -march=athlon -mtune=athlon -pipe "
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig confcache distlocks metadata-transfer noinfo
parallel-fetch sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org
http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LC_ALL="en_US.UTF-8"
LINGUAS="en hu ro"
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://gw/gentoo-portage"
USE="x86 X aac acpi alsa avi bash-completion browserplugin bzip2 cairo
cdparanoia cdr css cups cursors dga divx4linux dri dvd dvdr dvdread encode
erandom esd evolution exif fbsplash firefox flac foomaticdb fpu gd gdm gif
gimpprint glitz gmail gnome gnutls gstreamer gtk gtk2 hal howl icons imap
ithreads jabber jpeg kqemu libnotify live lm_sensors maildir mbox mbrola mime
mmx mmxext mozdevelop mozilla mozmail moznocompose moznoirc moznoroaming mozsvg
mp3 mpeg mplayer mtrr mysql nautilus ncurses nls nptl nptlonly nvidia ogg
openal opengl oss pam pdflib perl png ppds python quicktime readline rtc screen
sdl softmmu sox sse sse2 ssl startup-notification subtitles svg tcpd truetype
udev unicode usb userlocales utf8 vcd video_cards_nvidia vorbis win32codecs wma
xine xml xorg xprint xscreensaver xv xvid xvmc zlib elibc_glibc
input_devices_keyboard input_devices_mouse kernel_linux linguas_en linguas_hu
linguas_ro userland_GNU video_cards_nv video_cards_vesa"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LDFLAGS, MAKEOPTS,
PORTAGE_RSYNC_EXTRA_OPTS

------- Comment #1 From Tiziano Müller 2006-07-27 01:58:22 0000 -------
Well, I have a similar bug here, also on amd64:

[...]
x86_64-pc-linux-gnu-gcc -march=k8 -O3 -pipe -Wall -o alpha alpha.o mainjoin.o 
/usr/lib64/libgle.so /usr/lib64/libglut.so -L/usr/lib /usr/lib64/libXxf86vm.so
/usr/lib/libGLU.so /usr/lib/opengl/xorg-x11/lib/libGL.so /usr/lib64/libXmu.so
/usr/lib64/libXext.so /usr/lib64/libXi.so -lpthread -L/usr/lib64
/usr/lib64/libXt.so /usr/lib64/libSM.so /usr/lib64/libICE.so
/usr/lib64/libX11.so /usr/lib64/libXau.so /usr/lib64/libXdmcp.so -ldl
-L/var/tmp/portage/gle-3.1.0/work/gle-3.1.0/src -lm -Wl,--rpath -Wl,/usr/lib64
-Wl,--rpath -Wl,/usr/lib/opengl/xorg-x11/lib -Wl,--rpath -Wl,/usr/lib64
-Wl,--rpath -Wl,/usr/lib/opengl/xorg-x11/lib
alpha.o: In function `DrawStuff':
alpha.c:(.text+0x72): undefined reference to `glePolyCone_c4f'
alpha.c:(.text+0x8c): undefined reference to `glePolyCone_c4f'
collect2: ld returned 1 exit status
make[2]: *** [alpha] Error 1
make[2]: *** Waiting for unfinished jobs....
x86_64-pc-linux-gnu-gcc -march=k8 -O3 -pipe -Wall -o candlestick candlestick.o 
/usr/lib64/libgle.so /usr/lib64/libglut.so -L/usr/lib /usr/lib64/libXxf86vm.so
/usr/lib/libGLU.so /usr/lib/opengl/xorg-x11/lib/libGL.so /usr/lib64/libXmu.so
/usr/lib64/libXext.so /usr/lib64/libXi.so -lpthread -L/usr/lib64
/usr/lib64/libXt.so /usr/lib64/libSM.so /usr/lib64/libICE.so
/usr/lib64/libX11.so /usr/lib64/libXau.so /usr/lib64/libXdmcp.so -ldl
-L/var/tmp/portage/gle-3.1.0/work/gle-3.1.0/src -lm -Wl,--rpath -Wl,/usr/lib64
-Wl,--rpath -Wl,/usr/lib/opengl/xorg-x11/lib -Wl,--rpath -Wl,/usr/lib64
-Wl,--rpath -Wl,/usr/lib/opengl/xorg-x11/lib
x86_64-pc-linux-gnu-gcc -march=k8 -O3 -pipe -Wall -o beam beam.o mainsimple.o 
/usr/lib64/libgle.so /usr/lib64/libglut.so -L/usr/lib /usr/lib64/libXxf86vm.so
/usr/lib/libGLU.so /usr/lib/opengl/xorg-x11/lib/libGL.so /usr/lib64/libXmu.so
/usr/lib64/libXext.so /usr/lib64/libXi.so -lpthread -L/usr/lib64
/usr/lib64/libXt.so /usr/lib64/libSM.so /usr/lib64/libICE.so
/usr/lib64/libX11.so /usr/lib64/libXau.so /usr/lib64/libXdmcp.so -ldl
-L/var/tmp/portage/gle-3.1.0/work/gle-3.1.0/src -lm -Wl,--rpath -Wl,/usr/lib64
-Wl,--rpath -Wl,/usr/lib/opengl/xorg-x11/lib -Wl,--rpath -Wl,/usr/lib64
-Wl,--rpath -Wl,/usr/lib/opengl/xorg-x11/lib
make[2]: Leaving directory `/var/tmp/portage/gle-3.1.0/work/gle-3.1.0/examples'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/gle-3.1.0/work/gle-3.1.0'
make: *** [all-recursive-am] Error 2

!!! ERROR: media-libs/gle-3.1.0 failed.
Call stack:
  ebuild.sh, line 1545:   Called dyn_compile
  ebuild.sh, line 940:   Called src_compile
  gle-3.1.0.ebuild, line 31:   Called die

!!! emake failed.
!!! If you need support, post the topmost build error, and the call stack if
relevant.

------- Comment #2 From Tiziano Müller 2006-07-27 01:59:45 0000 -------
Created an attachment (id=92837) [edit]
gle-3.1.0_optional-examples.patch

I made a patch against the current ebuild to make examples optional.

------- Comment #3 From Jakub Moc 2006-07-27 02:24:10 0000 -------
(In reply to comment #0)
> i think gle ebuild should eselect opengl set xorg-x11 before building, and
> back, when finished.

Yeah, nVidia OpenGL is junk...

------- Comment #4 From Samuli Suominen 2006-07-27 04:24:21 0000 -------
Created an attachment (id=92841) [edit]
gle-3.1.0-r1.ebuild

- Exclude whole examples building, as it's not necessary.
- Switch to xorg-x11 OpenGL interface to use Mesa and then switch it back to
"xyz"

------- Comment #5 From Samuli Suominen 2006-07-27 04:30:12 0000 -------
Created an attachment (id=92842) [edit]
gle-3.1.0-r1.ebuild

Fix typo.

------- Comment #6 From Samuli Suominen 2006-07-27 06:04:57 0000 -------
Created an attachment (id=92849) [edit]
gle-3.1.0-r1.ebuild

oops, try this instead.

------- Comment #7 From Samuli Suominen 2006-07-27 07:59:16 0000 -------
Created an attachment (id=92853) [edit]
gle-3.1.0-r1.ebuild

Previous patch is now obsolete and this should build with nvidia-glx/drivers.

Can you guys test this?

------- Comment #8 From Patrick McLean 2006-07-27 09:11:44 0000 -------
Created an attachment (id=92862) [edit]
gle-3.1.0-r1.ebuild

Ok, this is somewhat less ugly than calling eselect and changing the opengl
implementation. This seems to make it link against the xorg-x11 opengl libs, so
it should work. Since opengl seems to be statically linked in, this shouldn't
have any linking problems.

------- Comment #9 From Patrick McLean 2006-07-27 09:20:05 0000 -------
Fix committed to CVS.

First Last Prev Next    No search results available      Search page      Enter new bug