Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 571640 - app-office/libreoffice-5.0.4.2: undefined reference to `orcus::csv::parse_error::parse_error(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'
Summary: app-office/libreoffice-5.0.4.2: undefined reference to `orcus::csv::parse_err...
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-01-12 09:33 UTC by Vladimir
Modified: 2016-01-15 15:24 UTC (History)
0 users

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


Attachments
build.log.xz (app-office:libreoffice-5.0.4.2:20160111-034841.log.xz,357.23 KB, application/x-xz)
2016-01-12 09:33 UTC, Vladimir
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Vladimir 2016-01-12 09:33:18 UTC
Created attachment 422648 [details]
build.log.xz

app-office/libreoffice-5.0.4.2 fails to build with the following error message:

/CxxObject/sc/source/ui/docshell/datastream.o: In function `sc::datastreams::ReaderThread::execute()':
datastream.cxx:(.text._ZN2sc11datastreams12ReaderThread7executeEv[_ZN2sc11datastreams12ReaderThread7executeEv]+0x950): undefined reference to `orcus::csv::parse_error::parse_error(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'
collect2: error: ld returned 1 exit status
/var/tmp/portage/app-office/libreoffice-5.0.4.2/work/libreoffice-5.0.4.2/sc/Library_sc.mk:10: recipe for target '/var/tmp/portage/app-office/libreoffice-5.0.4.2/work/libreoffice-5.0.4.2/instdir/program/libsclo.so' failed
make[1]: *** [/var/tmp/portage/app-office/libreoffice-5.0.4.2/work/libreoffice-5.0.4.2/instdir/program/libsclo.so] Error 1

Please see the complete log (attached compressed) for details.
Here is also a wgetpasted log https://gist.github.com/c75eefb40ce682db7868
Comment 1 eroen 2016-01-12 12:53:50 UTC
2015-10-22-gcc-5-new-c++11-abi
  Title                     GCC 5 Defaults to the New C++11 ABI
  Author                    Mike Frysinger <vapier@gentoo.org>
  Posted                    2015-10-22
  Revision                  2

GCC 5 uses the new C++ ABI by default.  When building new code, you might run
into link time errors that include lines similar to:
...: undefined reference to '_ZNSt6chrono12steady_clock3nowEv@GLIBCXX_3.4.17'

Or you might see linkage failures with "std::__cxx11::string" in the output.

These are signs that you need to rebuild packages using the new C++ ABI.
You can quickly do so by using revdep-rebuild (from gentoolkit).

For gentoolkit-0.3.1 or higher:
# revdep-rebuild --library 'libstdc++.so.6' -- --exclude gcc

For previous versions of gentoolkit:
# revdep-rebuild --library 'libstdc\+\+\.so\.6' -- --exclude gcc

For more details, feel free to peruse:
https://developerblog.redhat.com/2015/02/05/gcc5-and-the-c11-abi/
https://blogs.gentoo.org/blueness/2015/03/10/the-c11-abi-incompatibility-problem-in-gentoo/



PS: Please add the output of `emerge --info` to your bug reports as mentioned on lines 41851 to 41856 of the attached log. :)
Comment 2 Vladimir 2016-01-13 13:42:42 UTC
(In reply to eroen from comment #1)
> 
> For gentoolkit-0.3.1 or higher:
> # revdep-rebuild --library 'libstdc++.so.6' -- --exclude gcc
> 
It helped. Thank you very much!