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

Bug 574120

Summary: libcdr-0.1.1 emerge failure due to undefined reference to boost::system::{system,generic}_category()
Product: Gentoo Linux Reporter: Dale Lukas Peterson <hazelnusse>
Component: Current packagesAssignee: Gentoo Office Team <office>
Status: RESOLVED TEST-REQUEST    
Severity: normal CC: usefuljunk
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://bugs.gentoo.org/show_bug.cgi?id=585236
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: emerge info
emerge -pqv '=media-libs/libcdr-0.1.1::gentoo'
build log
environment

Description Dale Lukas Peterson 2016-02-07 17:50:16 UTC
Created attachment 424862 [details]
emerge info

emerge fails with linking error
Comment 1 Dale Lukas Peterson 2016-02-07 17:50:58 UTC
Created attachment 424864 [details]
emerge -pqv '=media-libs/libcdr-0.1.1::gentoo'
Comment 2 Dale Lukas Peterson 2016-02-07 17:51:43 UTC
Created attachment 424866 [details]
build log
Comment 3 Dale Lukas Peterson 2016-02-07 17:52:01 UTC
Created attachment 424868 [details]
environment
Comment 4 Dale Lukas Peterson 2016-02-07 17:53:10 UTC
I have dev-libs/boost-1.59.0:0 installed
Comment 5 Andreas Sturmlechner gentoo-dev 2016-02-08 11:09:18 UTC
There appears to be a boost-1.59 fix that should be in libcdr-0.1.2 release (pending PR): https://github.com/LibreOffice/libcdr/commit/882a4b3f83a4b5097da53670c720a26f4e2750eb
Comment 6 Dale Lukas Peterson 2016-02-22 21:09:46 UTC
I can confirm that the updated media-libs/libcdr-0.1.2 does not have this problem.
Comment 7 Thomas Kahle (RETIRED) gentoo-dev 2016-05-26 10:57:03 UTC
I'll reopen this one instead of reporting a new bug:

The same problem can be reproduced with 

boost-1.61.0 and libcdr-0.1.2-r1

libtool: link: x86_64-pc-linux-gnu-g++ -I../../../inc -I/usr/include/librevenge-0.0 -I/usr/include/librevenge-0.0 -I/usr/include/librevenge-0.0 -DNDEBUG -march=native -O2 -pipe -fvisibility=hidden -DLIBCDR_VISIBILITY -Wall -Wextra -pedantic -Wshadow -Wunused-variable -Weffc++ -Wl,-O1 -Wl,--as-needed -o .libs/cmx2raw cmx2raw.o  ../../lib/.libs/libcdr-0.1.so -llcms2 -lz -licui18n -licuuc -licudata -lrevenge-generators-0.0 -lrevenge-0.0 -lrevenge-stream-0.0
/usr/lib/gcc/x86_64-pc-linux-gnu/4.9.3/../../../../lib64/librevenge-0.0.so: undefined reference to `boost::system::system_category()'
/usr/lib/gcc/x86_64-pc-linux-gnu/4.9.3/../../../../lib64/librevenge-0.0.so: undefined reference to `boost::system::generic_category()'
collect2: error: ld returned 1 exit status
Comment 8 Andreas Sturmlechner gentoo-dev 2016-08-29 22:18:11 UTC
media-libs/libcdr-0.1.3 works for me, can you confirm?
Comment 9 Andreas Sturmlechner gentoo-dev 2016-09-20 09:40:32 UTC
Please re-open if you can reproduce that issue with media-libs/libcdr-0.1.3, I can't.