Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 529656 - ? with dev-libs/boost-1.57.0 - ?
Summary: ? with dev-libs/boost-1.57.0 - ?
Status: RESOLVED DUPLICATE of bug 401551
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-11-18 05:23 UTC by microcai
Modified: 2015-08-14 20:22 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 microcai 2014-11-18 05:23:26 UTC
moc Parse error at "BOOST_JOIN" while trying to compile a code with Qt4, at least encounting errors with kdevplatform and kleopatra.

adding preprocceser guard 

to the top:
#ifndef Q_MOC_RUN

to the bottom:
#endif

of the file : /usr/include/boost/type_traits/detail/has_binary_operator.hpp

will work arround the problem.

the moc error has been fixed in Qt5, but upstream won't likely backport the fix for Qt4.

so a work arround has to be made in Boost. Or we'll have to patch many Qt4 based apps, and waste the time when they upgrade their dependencies to Qt5.
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2014-11-18 11:09:06 UTC
1) Please attach the entire build log to this bug report.
2) Please post your `emerge --info' output in a comment.
Comment 2 Arfrever Frehtes Taifersar Arahesis 2014-11-20 19:28:06 UTC
Do you use dev-qt/qtcore with Gentoo patches?
See bug #401551.
Comment 3 microcai 2014-11-21 02:35:30 UTC
yes, this is duplicated bug of #401551 .

It seams the work arround fix from Fedora just failed with boost-1.57
Comment 4 Jeroen Roovers (RETIRED) gentoo-dev 2014-11-21 09:07:07 UTC

*** This bug has been marked as a duplicate of bug 401551 ***
Comment 5 Davide Pesavento (RETIRED) gentoo-dev 2014-11-21 14:06:25 UTC
I don't understand, is this a duplicate or not? If you're saying that the current patching of qtcore is insufficient with boost 1.57, then it's not a duplicate.
Comment 6 Samat 2015-08-14 20:22:52 UTC
Seems it is not duplicate, as same problem arose since boost-1.57
For example - https://bugs.gentoo.org/show_bug.cgi?id=556104, https://bugs.gentoo.org/show_bug.cgi?id=557220, https://bugs.gentoo.org/show_bug.cgi?id=542528 etc.