Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 282913 - kde-base/kdepimlibs-4.3.0 fails to compile with dev-libs/boost-1.35.0-r2 [gcc 4.4]
Summary: kde-base/kdepimlibs-4.3.0 fails to compile with dev-libs/boost-1.35.0-r2 [gcc...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] KDE (show other bugs)
Hardware: x86 Linux
: High major (vote)
Assignee: C++ Team [disbanded]
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-08-27 14:25 UTC by Eugene Rosenzweig
Modified: 2009-11-24 16:22 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge --info output (emerge_info.txt,3.02 KB, text/plain)
2009-08-27 14:26 UTC, Eugene Rosenzweig
Details
log of the failed emerge (faillog.txt,39.52 KB, text/plain)
2009-08-27 14:26 UTC, Eugene Rosenzweig
Details
boost_1_35_0.gcc4.4.patch (boost_1_35_0.gcc4.4.patch,5.84 KB, patch)
2009-09-03 03:19 UTC, Redeeman
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Eugene Rosenzweig 2009-08-27 14:25:28 UTC
updating KDE to 4.3 emerge fails at kde-base/kdepimlibs-4.3.0 due to an error in includes

Reproducible: Always

Steps to Reproduce:
emerge -vuDp world
or 
emerge -vu kdepimlibs
Actual Results:  
emerge fails at kdepimlibs


Expected Results:  
Should compile and install without errors.

After I emerged boost-1.39.0 the problem has disappeared, I am guessing kdepimlibs ebuild should request boost > 1.35.0-r2 at least (I have gone straight to 1.39.0, have not tried any ~x86 1.35.x ebuilds)
Comment 1 Eugene Rosenzweig 2009-08-27 14:26:22 UTC
Created attachment 202403 [details]
emerge --info output
Comment 2 Eugene Rosenzweig 2009-08-27 14:26:54 UTC
Created attachment 202404 [details]
log of the failed emerge
Comment 3 Maciej Mrozowski gentoo-dev 2009-08-31 08:26:36 UTC
I dare to say your bleeding edge compiler is to blame here. So it's more likely gcc-4.4 support in boost issue, not KDE issue.
Comment 4 Eugene Rosenzweig 2009-08-31 12:07:53 UTC
(In reply to comment #3)
> I dare to say your bleeding edge compiler is to blame here. So it's more likely
> gcc-4.4 support in boost issue, not KDE issue.
> 

Not sure exactly what causes the error (compiler bug or problem with headers exposed by new stricter gcc?). Originally I thought kdepimlibs ebuild should be amended to require >kdepimlibs-1.35. However if the error is cause by newer compiler version then I don't know what the resolution should be as I dont think there is a way to base a condition on compiler version? That is one cannot say in ebuild (gcc >= 4.4 && >kdepimlibs-1.35). Maybe there is, I am no expert. Maybe boost-1.35 should be patched to support gcc 4.4?
Comment 5 Redeeman 2009-09-03 03:19:49 UTC
Created attachment 203029 [details, diff]
boost_1_35_0.gcc4.4.patch

based on http://fatlobyte.blogspot.com/2008/07/gcc-44-breaks-boost.html - with an added include of cstdio which was forgotten in test/impl/debug.cpp for UNIX ifdef...
Comment 6 Sebastian Luther (few) 2009-11-23 16:51:48 UTC
Something left to do here?
Comment 7 Sebastian Luther (few) 2009-11-24 16:22:15 UTC
boost-1.35.0-r5 shoudn't have gcc-4.4 issues. Closing as fixed.