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

Bug 596890

Summary: kde-apps/kleopatra-4.14.11_pre20160211 fails to emerge - something wrong with Xapian?
Product: Gentoo Linux Reporter: gentoo
Component: Current packagesAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED INVALID    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: Output of emerge --info

Description gentoo 2016-10-11 17:29:40 UTC
Created attachment 449892 [details]
Output of emerge --info

When I try to emerge kleopatra (stable on amd64), I get this error:

/usr/lib64/libbaloopim.so.4: undefined reference to `Xapian::Document::get_data() const'
/usr/lib64/libbaloopim.so.4: undefined reference to `Xapian::QueryParser::parse_query(std::string const&, unsigned int, std::string const&)'
/usr/lib64/libbaloopim.so.4: undefined reference to `Xapian::QueryParser::add_prefix(std::string const&, std::string const&)'
/usr/lib64/libbaloopim.so.4: undefined reference to `Xapian::PostingSource::get_description() const'
/usr/lib64/libbaloopim.so.4: undefined reference to `Xapian::PostingSource::serialise() const'
/usr/lib64/libbaloopim.so.4: undefined reference to `Xapian::Error::get_description() const'
/usr/lib64/libbaloopim.so.4: undefined reference to `Xapian::Database::Database(std::string const&)'
/usr/lib64/libbaloopim.so.4: undefined reference to `Xapian::PostingSource::unserialise(std::string const&) const'
/usr/lib64/libbaloopim.so.4: undefined reference to `Xapian::ValueIterator::operator*() const'
/usr/lib64/libbaloopim.so.4: undefined reference to `Xapian::Query::get_description() const'
/usr/lib64/libbaloopim.so.4: undefined reference to `Xapian::Query::Query(std::string const&, unsigned int, unsigned int)'
collect2: error: ld returned 1 exit status
kleopatra/CMakeFiles/kleopatra_bin.dir/build.make:4358: recipe for target 'kleopatra/kleopatra' failed


The package fails to build.

There's a mention of "Xapian", so I checked for that package.  Its stable version is installed on my system:
dev-libs/xapian-1.2.22

Attaching the output of emerge --info
Comment 1 Andreas Sturmlechner gentoo-dev 2016-10-11 17:32:38 UTC
Did you follow the instructions of the related news item after upgrading to GCC-5...?
Comment 2 gentoo 2016-10-11 18:29:58 UTC
Thanks, I think I did that but maybe it was interrupted.

In any case, I re-emerged the package kde-base/baloo-4.14.3 and after that, emerging kleopatra worked.