Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 425356 - app-office/libreoffice-3.5.5.3 fails to build with Boost 1.50
Summary: app-office/libreoffice-3.5.5.3 fails to build with Boost 1.50
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All All
: Normal normal (vote)
Assignee: Gentoo Office Team
URL:
Whiteboard:
Keywords: PATCH
Depends on:
Blocks: boost-1.50
  Show dependency tree
 
Reported: 2012-07-08 17:07 UTC by Arfrever Frehtes Taifersar Arahesis
Modified: 2012-12-27 04:38 UTC (History)
3 users (show)

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


Attachments
boost-1.50-support.patch (libreoffice-3.5.5.3-boost-1.50.patch,260 bytes, patch)
2012-07-16 13:11 UTC, Jory A. Pratt
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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.)