Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 71236 - Stale nvidia libGLcore.so.1 breaks ewl compile
Summary: Stale nvidia libGLcore.so.1 breaks ewl compile
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High critical (vote)
Assignee: Gentoo X packagers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-11-14 20:03 UTC by Shoan Motwani
Modified: 2005-01-13 16:35 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 Shoan Motwani 2004-11-14 20:03:56 UTC
I used the following command to start the emerge:

ACCEPT_KEYWORDS="x86" USE="-java" emerge world -uD

Ewl is one of the 249 packages that need to be upgraded. I get the following errors:

gcc -g -W -Wall -Wno-implicit -o .libs/ewl_embed_test ewl_embed_test.o  ../src/.
libs/libewl.so -L/usr/lib -L/usr/X11R6/lib -L/usr/lib32 /usr/lib/libetox.so /usr
/lib/libedje.so /usr/lib/libembryo.so /usr/lib/libecore_evas.so /usr/lib/libecor
e_x.so /usr/lib/libecore_job.so /usr/lib/libecore_ipc.so /usr/lib/libecore_con.s
o -lssl -lcrypto /usr/lib/libecore_txt.so /usr/lib/libecore_config.so /usr/lib/l
ibecore.so /usr/lib/libevas.so /usr/lib/libfreetype.so -lpng /usr/lib/libeet.so 
/usr/lib/libjpeg.so /usr/lib/libedb.so -lz /usr/lib/libGLU.so /usr/lib/opengl/nv
idia/lib/libGL.so -lm -lSM -lICE -lXmu -lXt -lXext -lXi -lX11 -ldl -lpthread -Wl
,--rpath -Wl,/usr/lib/opengl/nvidia/lib
creating ewl_test
creating ewl_embed_test
/bin/sh ../libtool --mode=link gcc  -g -W -Wall -Wno-implicit   -o ewl_simple_te
st  ewl_simple_test.o ../src/libewl.la -L/usr/lib -ledje -L/usr/lib -lecore -lec
ore_job -lecore_x -lecore_evas -lecore_con -lecore_ipc -lecore_txt -lecore_confi
g -L/usr/lib -leet -lz -ljpeg -lm -L/usr/lib -levas  
gcc -g -W -Wall -Wno-implicit -o .libs/ewl_simple_test ewl_simple_test.o  ../src
/.libs/libewl.so -L/usr/lib -L/usr/X11R6/lib -L/usr/lib32 /usr/lib/libetox.so /u
sr/lib/libedje.so /usr/lib/libembryo.so /usr/lib/libecore_evas.so /usr/lib/libec
ore_x.so /usr/lib/libecore_job.so /usr/lib/libecore_ipc.so /usr/lib/libecore_con
.so -lssl -lcrypto /usr/lib/libecore_txt.so /usr/lib/libecore_config.so /usr/lib
/libecore.so /usr/lib/libevas.so /usr/lib/libfreetype.so -lpng /usr/lib/libeet.s
o /usr/lib/libjpeg.so /usr/lib/libedb.so -lz /usr/lib/libGLU.so /usr/lib/opengl/
nvidia/lib/libGL.so -lm -lSM -lICE -lXmu -lXt -lXext -lXi -lX11 -ldl -lpthread -
Wl,--rpath -Wl,/usr/lib/opengl/nvidia/lib
creating ewl_simple_test
make[2]: Leaving directory `/var/tmp/portage/ewl-0.0.4.20041031/work/ewl/test'
Making all in data
make[2]: Entering directory `/var/tmp/portage/ewl-0.0.4.20041031/work/ewl/data'
Making all in themes
make[3]: Entering directory `/var/tmp/portage/ewl-0.0.4.20041031/work/ewl/data/t
hemes'
(cd ../../data/themes ; edje_cc -v -id ../../data/themes/default/bits/images def
ault.edc ../../data/themes/default.eet)
(cd ../../data/themes ; edje_cc -v -id ../../data/themes/skeleton/bits/images sk
eleton.edc ../../data/themes/skeleton.eet)
edje_cc: symbol lookup error: /usr/lib/libGLcore.so.1: undefined symbol: glBlend
EquationSeparateNVX
make[3]: *** [default.eet] Error 127
make[3]: *** Waiting for unfinished jobs....
edje_cc: symbol lookup error: /usr/lib/libGLcore.so.1: undefined symbol: glBlend
EquationSeparateNVX
make[3]: *** [skeleton.eet] Error 127
make[3]: Leaving directory `/var/tmp/portage/ewl-0.0.4.20041031/work/ewl/data/th
emes'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/ewl-0.0.4.20041031/work/ewl/data'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/ewl-0.0.4.20041031/work/ewl'
make: *** [all] Error 2


Reproducible: Always
Steps to Reproduce:
1. emerge ewl
2.
3.

Actual Results:  
A compilation error stops the emerge of ewl.


Portage 2.0.51-r3 (default-linux/x86/2004.0, gcc-3.3.4, glibc-2.3.4.20041102-r0,
2.6.7-gentoo-r11 i686)
=================================================================
System uname: 2.6.7-gentoo-r11 i686 AMD Athlon(TM) XP 2200+
Gentoo Base System version 1.6.6
Autoconf: sys-devel/autoconf-2.59-r5
Automake: sys-devel/automake-1.8.5-r1
Binutils: sys-devel/binutils-2.15.92.0.2-r1
Headers:  sys-kernel/linux-headers-2.4.19-r1,sys-kernel/linux-headers-2.4.22
Libtools: sys-devel/libtool-1.5.2-r7
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-mcpu=athlon-xp -O3 -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER=""
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /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/share/config /usr/lib/mozilla/defaults/pref
/usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -mcpu=i686 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache distlocks sandbox sfperms"
GENTOO_MIRRORS="http://gentoo.osuosl.org
http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow X alsa apm arts avi berkdb bitmap-fonts bonobo crypt cups encode esd
f77 fam flac foomaticdb fortran freetds gdbm gif gnome gpm gstreamer gtk gtk2
gtkhtml imagemagick imlib java jpeg kde ldap libg++ libwww mad mcal mikmod mmx
motif mozilla mpeg mysql ncurses nls oggvorbis opengl oss pam pdflib perl png
postgres python qt quicktime readline samba sdl slang spell sqlite ssl svga
tcltk tcpd tiff truetype x86 xml xml2 xmms xv zlib"
Comment 1 SpanKY gentoo-dev 2004-11-15 05:39:50 UTC
not a bug in ewl

fix your GL stuff

i'd start with re-emerging edje and maybe running `opengl-update`
Comment 2 Shoan Motwani 2004-11-15 19:37:28 UTC
I recompiled edje and also ran opengl-update. I still get some GL related errors. Is there anything else that could be causing the problem?

gcc -g -W -Wall -Wno-implicit -o .libs/ewl_embed_test ewl_embed_test.o  ../src/.libs/libewl.so -L/usr/
lib -L/usr/X11R6/lib -L/usr/lib32 /usr/lib/libetox.so /usr/lib/libedje.so /usr/lib/libembryo.so /usr/l
ib/libecore_evas.so /usr/lib/libecore_x.so /usr/lib/libecore_job.so /usr/lib/libecore_ipc.so /usr/lib/
libecore_con.so -lssl -lcrypto /usr/lib/libecore_txt.so /usr/lib/libecore_config.so /usr/lib/libecore.
so /usr/lib/libevas.so /usr/lib/libfreetype.so -lpng /usr/lib/libeet.so /usr/lib/libjpeg.so /usr/lib/l
ibedb.so -lz /usr/lib/libGLU.so /usr/lib/opengl/nvidia/lib/libGL.so -lm -lSM -lICE -lXmu -lXt -lXext -
lXi -lX11 -ldl -lpthread -Wl,--rpath -Wl,/usr/lib/opengl/nvidia/lib
creating ewl_embed_test
creating ewl_test
/bin/sh ../libtool --mode=link gcc  -g -W -Wall -Wno-implicit   -o ewl_simple_test  ewl_simple_test.o 
../src/libewl.la -L/usr/lib -ledje -L/usr/lib -lecore -lecore_job -lecore_x -lecore_evas -lecore_con -
lecore_ipc -lecore_txt -lecore_config -L/usr/lib -leet -lz -ljpeg -lm -L/usr/lib -levas  
gcc -g -W -Wall -Wno-implicit -o .libs/ewl_simple_test ewl_simple_test.o  ../src/.libs/libewl.so -L/us
r/lib -L/usr/X11R6/lib -L/usr/lib32 /usr/lib/libetox.so /usr/lib/libedje.so /usr/lib/libembryo.so /usr
/lib/libecore_evas.so /usr/lib/libecore_x.so /usr/lib/libecore_job.so /usr/lib/libecore_ipc.so /usr/li
b/libecore_con.so -lssl -lcrypto /usr/lib/libecore_txt.so /usr/lib/libecore_config.so /usr/lib/libecor
e.so /usr/lib/libevas.so /usr/lib/libfreetype.so -lpng /usr/lib/libeet.so /usr/lib/libjpeg.so /usr/lib
/libedb.so -lz /usr/lib/libGLU.so /usr/lib/opengl/nvidia/lib/libGL.so -lm -lSM -lICE -lXmu -lXt -lXext
 -lXi -lX11 -ldl -lpthread -Wl,--rpath -Wl,/usr/lib/opengl/nvidia/lib
creating ewl_simple_test
make[2]: Leaving directory `/var/tmp/portage/ewl-0.0.4.20041031/work/ewl/test'
Making all in data
make[2]: Entering directory `/var/tmp/portage/ewl-0.0.4.20041031/work/ewl/data'
Making all in themes
make[3]: Entering directory `/var/tmp/portage/ewl-0.0.4.20041031/work/ewl/data/themes'
(cd ../../data/themes ; edje_cc -v -id ../../data/themes/default/bits/images default.edc ../../data/th
emes/default.eet)
(cd ../../data/themes ; edje_cc -v -id ../../data/themes/skeleton/bits/images skeleton.edc ../../data/
themes/skeleton.eet)
edje_cc: symbol lookup error: /usr/lib/libGLcore.so.1: undefined symbol: glBlendEquationSeparateNVX
make[3]: *** [skeleton.eet] Error 127
make[3]: *** Waiting for unfinished jobs....
edje_cc: symbol lookup error: /usr/lib/libGLcore.so.1: undefined symbol: glBlendEquationSeparateNVX
make[3]: *** [default.eet] Error 127
make[3]: Leaving directory `/var/tmp/portage/ewl-0.0.4.20041031/work/ewl/data/themes'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/ewl-0.0.4.20041031/work/ewl/data'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/ewl-0.0.4.20041031/work/ewl'
make: *** [all] Error 2
 * Please do not contact the E team about bugs in Gentoo.
 * Only contact vapier@gentoo.org via e-mail or bugzilla.
 * Remember, this stuff is CVS only code so dont cry when
 * I break you :).

!!! ERROR: x11-libs/ewl-0.0.4.20041031 failed.
!!! Function enlightenment_die, Line 67, Exitcode 0
!!! emake failed
!!! SEND BUG REPORTS TO vapier@gentoo.org NOT THE E TEAM
!!! If you need support, post the topmost build error, NOT this status message.
Comment 3 SpanKY gentoo-dev 2004-11-15 20:17:38 UTC
dunno, still isnt a bug in ewl/edje though
Comment 4 Donnie Berkholz (RETIRED) gentoo-dev 2004-11-15 20:28:03 UTC
Which X version?
Comment 5 Shoan Motwani 2004-11-15 22:33:05 UTC
x11-base/xorg-x11-6.8.0-r1
Comment 6 Donnie Berkholz (RETIRED) gentoo-dev 2004-11-16 09:58:54 UTC
find /usr/lib /usr/X11R6/lib -iname libglcore* -type f
find /usr/lib /usr/X11R6/lib -iname libglcore* -type l -exec echo -n "{} -> " \; -exec readlink -f {} \;

You're using nvidia drivers, right? Do you have them selected in opengl-update?
Try `nm /usr/lib/libGLcore.so.1 | grep -i glBlend
EquationSeparate`.
Comment 7 Shoan Motwani 2004-11-16 10:21:10 UTC
# find /usr/lib /usr/X11R6/lib -iname libglcore* -type f
/usr/lib/opengl/nvidia/lib/libGLcore.so.1.0.6629
/usr/lib/libGLcore.so.1.0.5336
/usr/X11R6/lib/modules/extensions/libGLcore.a

# find /usr/lib /usr/X11R6/lib -iname libglcore* -type l -exec echo -n "{} -> " \; -exec readlink -f {} \;
/usr/lib/opengl/nvidia/lib/libGLcore.so -> /usr/lib/opengl/nvidia/lib/libGLcore.so.1.0.6629
/usr/lib/opengl/nvidia/lib/libGLcore.so.1 -> /usr/lib/opengl/nvidia/lib/libGLcore.so.1.0.6629
/usr/lib/libGLcore.so -> /usr/lib/opengl/nvidia/lib/libGLcore.so.1.0.6629
/usr/lib/libGLcore.so.1 -> /usr/lib/libGLcore.so.1.0.5336

I am using nvidia and run opengl-update nvidia to select them.

# nm /usr/lib/libGLcore.so.1 | grep -i glBlend EquationSeparate
grep: EquationSeparate: No such file or directory
nm: /usr/lib/libGLcore.so.1: no symbols


I am not sure if that last output is what you expected. I hope you can figure out what is wrong.
Comment 8 Donnie Berkholz (RETIRED) gentoo-dev 2004-11-16 10:24:15 UTC
Andrew, can you check this out?
Comment 9 Donnie Berkholz (RETIRED) gentoo-dev 2004-11-16 10:25:48 UTC
Shoan, "glBlendEquationSeparate" is a single word.
Comment 10 Shoan Motwani 2004-11-18 19:52:54 UTC
My X seemed to have broken after upgrading to the latest nvidia drivers (1.0.6629). So I had to downgrade back to 1.0.6111 inorder to have X functional again. 

Tried recompiling ewl and this time it emerge successfully. I have a feeling that the bug is in the nvidia driver/nvidia installation.

Let me know if there is anything you need from me to resolve this issue.
Comment 11 Andrew Bevitt 2004-11-29 17:41:11 UTC
nvidia-glx-1.0.6629 had the patches (from 6111) ported across on the 10th of november. So if you havent (try it anyway) remerged nvidia-glx since then can you please emerge sync and emerge nvidia-glx. 

Then try out the erroring compiles again.
Comment 12 Donnie Berkholz (RETIRED) gentoo-dev 2005-01-13 16:35:16 UTC
Please reopen if you add info.