Hello, Building app-office/libreoffice-6.0.0.3 fails: In file included from /var/tmp/portage/app-office/libreoffice-6.0.0.3/work/libreoffice-6.0.0.3/unotools/source/i18n/resmgr.cxx:48:0: /usr/include/boost/locale.hpp:11:10: fatal error: boost/locale/boundary.hpp: No such file or directory #include <boost/locale/boundary.hpp> ^~~~~~~~~~~~~~~~~~~~~~~~~~~ compilation terminated. Re-emering dev-libs/boost with USE=nls fixes build.
Interestingly, the configure script checks whether the Boost::Locale library is available without complaining if it is not. checking for exit in -lboost_iostreams-mt... yes checking whether the Boost::Locale library is available... no checking boost/shared_ptr.hpp usability... yes
(In reply to tka from comment #1) > Interestingly, the configure script checks whether the Boost::Locale library > is available without complaining if it is not. > > checking for exit in -lboost_iostreams-mt... yes > checking whether the Boost::Locale library is available... no > checking boost/shared_ptr.hpp usability... yes I've also noticed that, but looks like unotools/source/i18n/resmgr.cxx uses Boost.Locale unconditionally. Probably, this should be reported upstream, but in meantime requiring boost[nls] looks reasonable.
I was hit by this bug. Can confirm that re-emerging boost with "nls" USE flag enabled solved it. [ebuild R ] dev-libs/boost-1.65.0:0/1.65.0::gentoo USE="nls threads -context -debug -doc -icu -mpi -python -static-libs -tools" ABI_X86="32 (64) (-x32)" PYTHON_TARGETS="python2_7 python3_5 -python3_4 -python3_6" 0 KiB [ebuild R ] app-office/libreoffice-6.0.0.3::gentoo USE="branding cups dbus gstreamer gtk odk pdfimport -bluetooth -coinmp -debug -eds -firebird -googledrive -gtk2 -java -jemalloc -kde -libressl -mysql -postgres {-test} -vlc" LIBREOFFICE_EXTENSIONS="-nlpsolver -scripting-beanshell -scripting-javascript -wiki-publisher" PYTHON_SINGLE_TARGET="python3_5 -python2_7 -python3_4 -python3_6" PYTHON_TARGETS="python2_7 python3_5 -python3_4 -python3_6" 0 KiB
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c5e46d000969def333b8265e2569079ce443c0ce commit c5e46d000969def333b8265e2569079ce443c0ce Author: Andreas Sturmlechner <asturm@gentoo.org> AuthorDate: 2018-02-09 09:35:05 +0000 Commit: Andreas Sturmlechner <asturm@gentoo.org> CommitDate: 2018-02-09 23:08:34 +0000 app-office/libreoffice: DEPEND on dev-libs/boost[nls] Closes: https://bugs.gentoo.org/646564 Package-Manager: Portage-2.3.24, Repoman-2.3.6 app-office/libreoffice/libreoffice-6.0.9999.ebuild | 2 +- app-office/libreoffice/libreoffice-9999.ebuild | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)