Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 629432

Summary: dev-db/mongodb-3.4.6 fails to compile with boost cpp_regex_traits_implementation undefined error
Product: Gentoo Linux Reporter: Stephen Shkardoon <ss23>
Component: Current packagesAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED DUPLICATE    
Severity: normal CC: hydrapolic
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: build.log

Description Stephen Shkardoon 2017-08-31 08:36:58 UTC
Created attachment 491144 [details]
build.log

When attempting to build dev-db/mongodb-3.4.6, I recieved the following error:
error: undefined reference to 'boost::re_detail_106200::cpp_regex_traits_implementation<char>::transform_primary[abi:cxx11](char const*, char const*) const

After reinstalling boost with the 'icu' flag enabled, mongodb builds fine, though I can't be sure that is the fix for everyone.

Attached is the build.log
Comment 1 Tomáš Mózes 2017-08-31 12:59:45 UTC
After rebuilding boost[-icu], Mongodb fails to build?
Comment 2 Stephen Shkardoon 2017-08-31 13:02:10 UTC
Unfortunately I'm currently using MongoDB on the server and can't recompile on it at the moment. As such, I realise this might be not a particularly useful bug to file. I'm happy to close if no one else has the issue and can confirm the fix or similar.
I'm not familiar enough with boost/C++ to know what the error actually means.
Comment 3 Tomáš Mózes 2017-08-31 18:39:51 UTC
It seems like you upgraded gcc without rebuilding the libraries like boost,pcre and such. I was curious whether icu is the breaking point or just a simple boost rebuild would do. Anyway,you do not loose anything when you rebuild,even on a server.
Comment 4 Tomáš Mózes 2017-08-31 18:45:27 UTC

*** This bug has been marked as a duplicate of bug 611886 ***