On Sun, Jun 02, 2019 at 11:16:15AM +0200, Christopher Gregory via blfs-support wrote: > Hello, > > I have just finished installing libreoffice, but noticed early on in the > build that it failed with the following error: > > /usr/include/c++/9.1.0/memory:179:3: error: template with C linkage > 179 | template<typename _Tp, typename __ = > _Require<__not_<__is_pair<_Tp>>>, > | ^~~~~~~~ > > After typing that error into google, I found that a gentoo user had filed a > bug report: > > https://lists.freedesktop.org/archives/libreoffice/2019-March/082342.html > > It seems that this is a bug or change introduced by icu developers. The link > in the above list to the patch, seems to only be for the binary version that > gentoo uses. A further search found that there are a few files that need to > be patched in icu, to allow it to successfully build libreoffice. Before I > tried the suggested patches, I tested the build with the "internal" version > of icu and the build failed with the same error. > > I have not been able to find normal ".patch" files for the needed changes, > however, manually editing each of the files with the contents found below, > allow a successful compile and install of libreoffice: > > https://github.com/unicode-org/icu/pull/572/files > > Please note that this is on a clean install of lfs/blfs, so there are NO > versions earlier than what is published in the current svn version of the > book. That is the ONLY way to fairly test this. > > Regards, > > Christopher.
Hi Christopher, I hit this at the beginning of last month, at that time I was using 6.2.2.2. When I got a little further, in http://lists.linuxfromscratch.org/pipermail/blfs-dev/2019-May/036062.html I discovered that xmlsec1 was the real problem, and has been fixed in xmlsec1-1.2.28. But on a slightly newer build with gcc-9.1 gcc, Bruce did not have a problem and nobody else chimed in. I'm currently on my 'tuning' attempts (packages mostly frozen at versions from April), but when I built a slightly newer system in early May I again needed to use system xmlsec. xmlsec1-1.2.28 ./configure --prefix=/usr --disable-static make ; make install From what I wrote in that thread, there may be tests, but I have not attempted to run them. libreoffice: --with-system-xmlsec ken -- Before the universe began, there was a sound. It went: "One, two, ONE, two, three, four" [...] The cataclysmic power chord that followed was the creation of time and space and matter and it does Not Fade Away. - wiki.lspace.org/mediawiki/Music_With_Rocks_In -- http://lists.linuxfromscratch.org/listinfo/blfs-support FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page
