Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 15195 - Building kdeartwork fails while building the screensavers
Summary: Building kdeartwork fails while building the screensavers
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] KDE (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
: 39188 (view as bug list)
Depends on:
Blocks:
 
Reported: 2003-02-06 02:51 UTC by Jani-Matti Hätinen
Modified: 2004-05-27 15:40 UTC (History)
1 user (show)

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 Jani-Matti Hätinen 2003-02-06 02:51:38 UTC
The kdeartwork ebuild fails with an emake error while building the screensavers.
My CFLAGS are -march=k6-2 -03 -pipe -fomit-frame-pointer and I have -opengl in
my USE flags.

/usr/qt/3/bin/uic -L /usr/kde/3.1/lib/kde3/plugins/designer -nounload -tr
tr2i18n -i wavecfg.h ./wavecfg.ui > wavecfg.cpp.temp ; ret=$?; \
sed -e "s,tr2i18n( \"\" ),QString::null,g" wavecfg.cpp.temp | sed -e "s,tr2i18n(
\"\"\, \"\" ),QString::null,g" | sed -e
"s,image\([0-9][0-9]*\)_data,img\1_wavecfg,g" >> wavecfg.cpp ;\
rm -f wavecfg.cpp.temp ;\
if test "$ret" = 0; then echo '#include "wavecfg.moc"' >> wavecfg.cpp; else rm
-f wavecfg.cpp ; exit $ret ; fi
rm -f gravitycfg.cpp
echo '#include <klocale.h>' > gravitycfg.cpp
/usr/qt/3/bin/uic -L /usr/kde/3.1/lib/kde3/plugins/designer -nounload -tr
tr2i18n -i gravitycfg.h ./gravitycfg.ui > gravitycfg.cpp.temp ; ret=$?; \
sed -e "s,tr2i18n( \"\" ),QString::null,g" gravitycfg.cpp.temp | sed -e
"s,tr2i18n( \"\"\, \"\" ),QString::null,g" | sed -e
"s,image\([0-9][0-9]*\)_data,img\1_gravitycfg,g" >> gravitycfg.cpp ;\
rm -f gravitycfg.cpp.temp ;\
if test "$ret" = 0; then echo '#include "gravitycfg.moc"' >> gravitycfg.cpp;
else rm -f gravitycfg.cpp ; exit $ret ; fi
/bin/sh ../../libtool --silent --mode=link --tag=CXX g++  -Wnon-virtual-dtor
-Wno-long-long -Wundef -Wall -pedantic -W -Wpointer-arith -Wmissing-prototypes
-Wwrite-strings -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align
-Wconversion -DNDEBUG -DNO_DEBUG -O2 -O3 -march=k6-2 -pipe -fomit-frame-pointer
-fno-exceptions -fno-check-new   -L/usr/X11R6/lib -L/usr/qt/3/lib
-L/usr/kde/3.1/lib  -R /usr/kde/3.1/lib -R /usr/qt/3/lib -R /usr/X11R6/lib -o
kflux.kss  Flux.o -lkdeui -lkscreensaver -lm
/bin/sh ../../libtool --silent --mode=link --tag=CXX g++  -Wnon-virtual-dtor
-Wno-long-long -Wundef -Wall -pedantic -W -Wpointer-arith -Wmissing-prototypes
-Wwrite-strings -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align
-Wconversion -DNDEBUG -DNO_DEBUG -O2 -O3 -march=k6-2 -pipe -fomit-frame-pointer
-fno-exceptions -fno-check-new   -L/usr/X11R6/lib -L/usr/qt/3/lib
-L/usr/kde/3.1/lib  -R /usr/kde/3.1/lib -R /usr/qt/3/lib -R /usr/X11R6/lib -o
keuphoria.kss  Euphoria.o -lkdeui -lkscreensaver -lm
Flux.o(.text+0x21f0): In function `FluxWidget::resizeGL(int, int)':
: undefined reference to `gluPerspective'
Flux.o(.text+0x2983): In function `FluxWidget::updateParameters()':
: undefined reference to `gluNewQuadric'
Flux.o(.text+0x29b7): In function `FluxWidget::updateParameters()':
: undefined reference to `gluSphere'
Flux.o(.text+0x29c0): In function `FluxWidget::updateParameters()':
: undefined reference to `gluDeleteQuadric'
collect2: ld returned 1 exit status
make[3]: *** [kflux.kss] Error 1
make[3]: *** Waiting for unfinished jobs....
Euphoria.o(.text+0x2670): In function `EuphoriaWidget::paintGL()':
: undefined reference to `gluPerspective'
Euphoria.o(.text+0x294b): In function `EuphoriaWidget::paintGL()':
: undefined reference to `gluPerspective'
Euphoria.o(.text+0x2c40): In function `EuphoriaWidget::resizeGL(int, int)':
: undefined reference to `gluPerspective'
Euphoria.o(.text+0x32e2): In function `EuphoriaWidget::updateParameters()':
: undefined reference to `gluBuild2DMipmaps'
collect2: ld returned 1 exit status
make[3]: *** [keuphoria.kss] Error 1
make[3]: Leaving directory
`/var/tmp/portage/kdeartwork-3.1/work/kdeartwork-3.1/kscreensaver/kdesavers'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory
`/var/tmp/portage/kdeartwork-3.1/work/kdeartwork-3.1/kscreensaver'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/kdeartwork-3.1/work/kdeartwork-3.1'
make: *** [all] Error 2

!!! ERROR: kde-base/kdeartwork-3.1 failed.
!!! Function kde_src_compile, Line 115, Exitcode 2
!!! died running emake, kde_src_compile:make
Comment 1 Hannes Mehnert (RETIRED) gentoo-dev 2003-02-06 06:13:45 UTC
seems to be the same as bug #14747. 
 
please try the following: 
 
------- Additional Comment #2 From Justin Patrin 2003-02-01 23:08 EST -------  
Well, I did an: 
emerge unmerge nvidia-glx nvidia-kernel 
then I did my emerge -u world, which worked just fine. 
After re-emerging nvidia-kernel and nvidia-glx, everything works as usual. 
Comment 2 Jani-Matti Hätinen 2003-02-08 15:32:40 UTC
I never had the nvidia drivers, so that's probably not the reason, but I'm fairly sure I uncovered the source of the problem.
  My qt was compiled with opengl support, whereas kde 3.1 and xfree weren't (I did an emerge -e system after a major USE-flag overhaul). I'm now recompiling qt with the proper USE flags, after which I'll try to compile kde.
Comment 3 Jani-Matti Hätinen 2003-03-12 05:19:25 UTC
Yep. Rebuilding qt without opengl solved the problem. 
Comment 4 Caleb Tennis (RETIRED) gentoo-dev 2004-05-27 15:40:51 UTC
*** Bug 39188 has been marked as a duplicate of this bug. ***