Bug 1213049 - [osgearth] FTBFS in fedora >= fc22
Summary: [osgearth] FTBFS in fedora >= fc22
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: osgearth
Version: 22
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: ---
Assignee: Sandro Mani
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-04-18 05:54 UTC by Ralf Corsepius
Modified: 2015-04-26 12:53 UTC (History)
1 user (show)

Fixed In Version: osgearth-2.6-4.fc22
Clone Of:
Environment:
Last Closed: 2015-04-26 12:53:46 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Ralf Corsepius 2015-04-18 05:54:05 UTC
Description of problem:

osgearth fails to build from source in fc22 and fc23

Version-Release number of selected component (if applicable):
osgearth-2.6-3.fc21

How reproducible:
Always.

Steps to Reproduce:
1. rebuild osgearth in mock

Actual results:
...
Linking CXX executable ../../../bin/osgearth_qt
cd /builddir/build/BUILD/osgearth-osgearth-2.6/build/src/applications/osgearth_qt && /usr/bin/cmake -E cmake_link_script CMakeFiles/application_osgearth_qt.dir/link.txt --verbose=1
/usr/bin/c++   -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic    -Wl,--as-needed CMakeFiles/application_osgearth_qt.dir/moc_DemoMainWindow.cxx.o CMakeFiles/application_osgearth_qt.dir/qrc_images.cxx.o CMakeFiles/application_osgearth_qt.dir/osgearth_qt.cpp.o  -o ../../../bin/osgearth_qt  -L/builddir/build/BUILD/osgearth-osgearth-2.6/build/lib -rdynamic ../../../lib/libosgEarthQt.so.2.5.0 -lQtCore -lQtGui -lQtOpenGL ../../../lib/libosgEarthUtil.so.2.5.0 ../../../lib/libosgEarthAnnotation.so.2.5.0 ../../../lib/libosgEarthFeatures.so.2.5.0 ../../../lib/libosgEarthSymbology.so.2.5.0 ../../../lib/libosgEarth.so.2.5.0 -losgShadow -lcurl -lz -ltinyxml -lgeos -lgdal -losgManipulator -lpthread -lm -losg -losgWidget -losgUtil -losgSim -losgTerrain -losgDB -losgFX -losgViewer -losgText -losgGA -losgQt -lOpenThreads -lGLU -lGL -lOpenThreads -lGLU -lGL -Wl,-rpath,/builddir/build/BUILD/osgearth-osgearth-2.6/build/lib: 
/usr/bin/ld: CMakeFiles/application_osgearth_qt.dir/osgearth_qt.cpp.o: undefined reference to symbol 'XInitThreads'
/usr/lib64/libX11.so.6: error adding symbols: DSO missing from command line
collect2: error: ld returned 1 exit status
...

Additional info:
AFAICT, the cause is a bug somewhere in osgearth's cmake stuff.

Comment 1 Fedora Update System 2015-04-18 20:24:16 UTC
osgearth-2.6-4.fc22 has been submitted as an update for Fedora 22.
https://admin.fedoraproject.org/updates/osgearth-2.6-4.fc22

Comment 2 Fedora Update System 2015-04-21 19:09:59 UTC
Package osgearth-2.6-4.fc22:
* should fix your issue,
* was pushed to the Fedora 22 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing osgearth-2.6-4.fc22'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2015-6508/osgearth-2.6-4.fc22
then log in and leave karma (feedback).

Comment 3 Fedora Update System 2015-04-26 12:53:46 UTC
osgearth-2.6-4.fc22 has been pushed to the Fedora 22 stable repository.  If problems still persist, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.