Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 704922 - dev-db/mongodb-4.2.2 with dev-cpp/yaml-cpp-0.6.3 : /usr/bin/mongo: symbol lookup error: mongo: undefined symbol: _ZN4YAML6detail9node_data12empty_scalarB5cxx11E
Summary: dev-db/mongodb-4.2.2 with dev-cpp/yaml-cpp-0.6.3 : /usr/bin/mongo: symbol loo...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Ultrabug
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-01-07 11:31 UTC by Kobboi
Modified: 2020-01-08 20:27 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 Kobboi 2020-01-07 11:31:13 UTC
$ mongo
mongo: symbol lookup error: mongo: undefined symbol: _ZN4YAML6detail9node_data12empty_scalarB5cxx11E

Downgrading to yaml-cpp-0.6.2 works. Probably rebuilding mongodb (with yaml-cpp-0.6.3) will work too, but can't wait for that now. 

See also https://bugs.gentoo.org/604166 in which this is claimed to be fixed with https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4dea10267a05a8b51303a6a18920441175577711

A similar dependency is still in recent ebuilds, but mongodb was not auto-rebuilt on my system when yaml-cpp was upstepped.




Reproducible: Always
Comment 1 Tomáš Mózes 2020-01-07 12:54:14 UTC
Yaml-cpp 0.6.2 and 0.6.3 both have the same subslot so portage didn't rebuild mongodb.
Comment 2 Tomáš Mózes 2020-01-07 23:23:44 UTC
So it seems like there is an API breakage in yaml-cpp which got fixed in 0.6.3-r1. Can you please test that one instead please?

https://github.com/gentoo/gentoo/commit/4f0b8303610a5eeefa5e4aa1127a27c1993372df
Comment 4 Kobboi 2020-01-08 20:26:58 UTC
Test OK. Tested with the available yaml-cpp versions, mongodb-4.2.2 was not rebuilt (identical subslot) but both versions worked fine.