First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 206517
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Gentoo KDE team <kde@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Momsen Reincke <mreincke@gmx.net>
Add CC:
CC:
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
Create a New Attachment (proposed patch, testcase, etc.) View All

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

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


Not eligible to see or edit group visibility for this bug.






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


Description:   Opened: 2008-01-18 11:14 0000
krunners error:

[ 83%] Building C object
krunner/CMakeFiles/kdeinit_krunner.dir/xautolock_engine.o
[ 85%] Building CXX object
krunner/CMakeFiles/kdeinit_krunner.dir/kscreensaversettings.o
CMakeFiles/krunner_lock.dir/lockprocess.o: In function
`LockProcess::createSaverWindow()':
lockprocess.cc:(.text+0x8e5): undefined reference to `glXChooseVisual'
collect2: ld returned 1 exit status
make[2]: *** [krunner/lock/krunner_lock] Error 1
make[1]: *** [krunner/lock/CMakeFiles/krunner_lock.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....


systemsettings:
Linking CXX shared module ../../lib/kcm_screensaver.so
[ 68%] Building CXX object
kcontrol/kthememanager/CMakeFiles/kcm_kthememanager.dir/kthememanager.o
[ 69%] Building CXX object
kcontrol/hardware/joystick/CMakeFiles/kcm_joystick.dir/poswidget.o
CMakeFiles/kcm_screensaver.dir/kswidget.o: In function
`KSWidget::KSWidget(QWidget*, QFlags<Qt::WindowType>)':
kswidget.cpp:(.text+0x292): undefined reference to `glXChooseVisual'
CMakeFiles/kcm_screensaver.dir/kswidget.o: In function
`KSWidget::KSWidget(QWidget*, QFlags<Qt::WindowType>)':
kswidget.cpp:(.text+0x596): undefined reference to `glXChooseVisual'


There are possibly others involved. The culprit might be the line 

check_library_exists(GL glXChooseVisual "" HAVE_GLXCHOOSEVISUAL) 

in work/systemsettings-4.0.0/kcontrol/screensaver/CMakeLists.txt (in the case
of systemsettings), which is executed even if systemsettings are built with
USE="-opengl".

Not sure, but I think the comment # FIXME: is have_openglxvisual found without
screensaver is about this.

Possible solution would be to manually comment out this line...

P.S.: there is a little typo in systemsettings-4.0.0.ebuild. it should be
$(cmake-utils_use_with ieee1394 RAW1394) instead of $(cmake-utils_usr_with
ieee1394 RAW1394)

Reproducible: Always

Steps to Reproduce:
1.USE="-opengl" emerge qt
2.emerge krunner systemsettings
3.

Actual Results:  
build fails

------- Comment #1 From Bo Ørsted Andresen (RETIRED) 2008-01-27 15:40:13 0000 -------
(In reply to comment #0)
> There are possibly others involved. The culprit might be the line 
> 
> check_library_exists(GL glXChooseVisual "" HAVE_GLXCHOOSEVISUAL) 

Correct.

> P.S.: there is a little typo in systemsettings-4.0.0.ebuild. it should be
> $(cmake-utils_use_with ieee1394 RAW1394) instead of $(cmake-utils_usr_with
> ieee1394 RAW1394)

Yes. Should all be fixed in cvs now. Thanks for the report.

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