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

Bug 425356

Summary: app-office/libreoffice-3.5.5.3 fails to build with Boost 1.50
Product: Gentoo Linux Reporter: Arfrever Frehtes Taifersar Arahesis <arfrever.fta>
Component: Current packagesAssignee: Gentoo Office Team <office>
Status: RESOLVED FIXED    
Severity: normal CC: anarchy, howard_b_golden, polynomial-c
Priority: Normal Keywords: PATCH
Version: unspecified   
Hardware: All   
OS: All   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 425188    
Attachments: boost-1.50-support.patch

Description Arfrever Frehtes Taifersar Arahesis 2012-07-08 17:07:23 UTC
[ build LNK ] Library/libsclo.so
/var/tmp/portage/app-office/libreoffice-3.5.5.3/work/libreoffice-core-3.5.5.3/workdir/unxlngx6.pro/CxxObject/sc/source/core/tool/scmatrix.o: In function `_GLOBAL__sub_I_scmatrix.cxx':
scmatrix.cxx:(.text.startup+0x2b): undefined reference to `boost::system::generic_category()'
scmatrix.cxx:(.text.startup+0x37): undefined reference to `boost::system::generic_category()'
scmatrix.cxx:(.text.startup+0x43): undefined reference to `boost::system::system_category()'
collect2: ld returned 1 exit status
make[2]: *** [/var/tmp/portage/app-office/libreoffice-3.5.5.3/work/libreoffice-core-3.5.5.3/workdir/unxlngx6.pro/LinkTarget/Library/libsclo.so] Error 1
Comment 1 Jory A. Pratt gentoo-dev 2012-07-13 17:42:56 UTC
You should be able to work around this by passing -lboost_system to the build.
Comment 2 Jory A. Pratt gentoo-dev 2012-07-16 13:11:56 UTC
Created attachment 318304 [details, diff]
boost-1.50-support.patch

Please find attached working patch, it has been tested.
Comment 3 Tomáš Chvátal (RETIRED) gentoo-dev 2012-08-09 08:49:16 UTC
Could you please update to latest mdds and retry without your patch? It should work.
Comment 4 Arfrever Frehtes Taifersar Arahesis 2012-08-18 17:07:26 UTC
app-office/libreoffice-3.5.5.3 now builds correctly with Boost 1.50.
(app-office/libreoffice-3.6.0.4 has many unrelated build failures.)