Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 279957 - [kde-testing] dev-util/kdevplatform-0.9.94 incompatible to dev-util/boost-1.39.0
Summary: [kde-testing] dev-util/kdevplatform-0.9.94 incompatible to dev-util/boost-1.39.0
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-08-01 22:01 UTC by Markus Heier
Modified: 2009-08-31 09:29 UTC (History)
2 users (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 Markus Heier 2009-08-01 22:01:07 UTC
dev-util/kdevplatform-0.9.94 from kde-testing overlay won't compile with boost-1.39.0

Reproducible: Always

Steps to Reproduce:
1. emerge "=dev-util/kdevplatform-0.9.94"
Actual Results:  
[ 83%] Building CXX object
plugins/classbrowser/CMakeFiles/kdevclassbrowser.dir/allclassesfolder.o
/home/tmp/kdevplatform-svn/src/kdevplatform/plugins/classbrowser/allclassesfolder.cpp:103:
warning: unused parameter ‘context’
Linking CXX shared module ../../lib/kdevclassbrowser.so
CMakeFiles/kdevclassbrowser.dir/allclassesfolder.o: In function
`boost::serialization::throw_exception(std::exception const&)':
/usr/include/boost/serialization/throw_exception.hpp:29: multiple definition of
`boost::serialization::throw_exception(std::exception const&)'
CMakeFiles/kdevclassbrowser.dir/classmodel.o:/usr/include/boost/serialization/throw_exception.hpp:30:
first defined here
CMakeFiles/kdevclassbrowser.dir/classmodel.o: In function
`boost::serialization::throw_exception(std::exception const&)':
classmodel.cpp:(.text+0x9b1): undefined reference to
`boost::throw_exception(std::exception const&)'
CMakeFiles/kdevclassbrowser.dir/allclassesfolder.o: In function
`boost::serialization::throw_exception(std::exception const&)':
allclassesfolder.cpp:(.text+0x501): undefined reference to
`boost::throw_exception(std::exception const&)'
collect2: ld returned 1 exit status
make[2]: *** [lib/kdevclassbrowser.so] Error 1
make[1]: *** [plugins/classbrowser/CMakeFiles/kdevclassbrowser.dir/all] Error 2
make: *** [all] Error 2


see http://lists.kde.org/?l=kdevelop-bugs&m=124638462604690&w=2

Downgrading to Boost 1.37 fixes the compilation error.
Comment 1 Wormo (RETIRED) gentoo-dev 2009-08-02 22:21:46 UTC
Thanks for reporting this incompatibility, assigning to kde team.
Comment 2 Neil Cathey 2009-08-04 05:57:19 UTC
This has been fixed upstream (2009-07-12 23:32):
http://www.kdevelop.org/index.html?filename=HEAD/ChangeLog_kdevplatform.html

The actual patches:
http://websvn.kde.org/?view=rev&revision=995562
http://websvn.kde.org/?view=rev&revision=995563

Applying these two patches allows kdevplatform-0.9.94 to compile for me.
Comment 3 Neil Cathey 2009-08-04 05:59:18 UTC
Whoops, I didn't notice that this bug was about a version in the kde-testing overlay. These patches allow kdevplatform-0.9.93 (in the main tree) to compile for me.
Comment 4 Marian Kyral 2009-08-07 18:52:33 UTC
(In reply to comment #2)
> This has been fixed upstream (2009-07-12 23:32):
> http://www.kdevelop.org/index.html?filename=HEAD/ChangeLog_kdevplatform.html
> 
> The actual patches:
> http://websvn.kde.org/?view=rev&revision=995562
> http://websvn.kde.org/?view=rev&revision=995563
> 
> Applying these two patches allows kdevplatform-0.9.94 to compile for me.
> 
Can confirm it as well.
Comment 5 Maciej Mrozowski gentoo-dev 2009-08-31 09:29:15 UTC
Please update to 3.9.95 and reopen if still an issue.