On 2019-08-04 21:40, Ken Moffat via blfs-dev wrote:
On Sun, Aug 04, 2019 at 11:55:21PM +0100, Ken Moffat via blfs-dev wrote:
As a distraction while waiting for libreoffice-6.2.6 which I am
hopeful will have a full fix against injected python, I'm trying to
build the current version.

People may recall that Pierre added --with-system-gpgmepp,
apparently as a result of gawk-5,  And then I added system xmlsec1
but apparently most people seem not to need that.

But it turns out I do still need it.  With what is in the book
(except for java) :

/usr/include/c++/9.1.0/bits/stl_relops.h:85:5: error: template with C linkage
   85 |     template <class _Tp>
      |     ^~~~~~~~
In file included from
/scratch/working/libreoffice-6.2.5.2/xmlsecurity/inc/xmlsec-wrapper.h:32,
                 from
/scratch/working/libreoffice-6.2.5.2/xmlsecurity/source/xmlsec/biginteger.cxx:

With added xmlsec-1.2.28 and --with-system-xmlsec it built and
installed.

I've no idea how you guys manage to build it with current versions
of everything, but (in the words of Dragons' Den from TV or youtube)
I'm close to "I'm out."

ĸen

Hi Ken,

You're using the internal xmlsec, right? I built Libreoffice a little over a week ago and didn't have any major problems... if it helps, here's my log grepped for xmlsec, and I've attached a link to my log, build script, and list of installed packages.

renodr [ /usr/src/logs ]$ cat libreoffice-6.2.5.2.log | grep xmlsec
checking which xmlsec to use... internal
cd /sources/libreoffice-6.2.5.2/libreoffice-6.2.5.2/external/tarballs/tmp && bash -c 'wget --progress=dot:mega -Q 0 -P "." -l 0 -nd -nH -N --no-use-server-timestamps https://dev-www.libreoffice.org/src/xmlsec1-1.2.27.tar.gz 2>&1 | tee -a /sources/libreoffice-6.2.5.2/libreoffice-6.2.5.2/external/tarballs/fetch.log && [ $PIPESTATUS -eq 0 ]' && SUM=`shasum -a 256 xmlsec1-1.2.27.tar.gz | sed "s/ .*//"` && if test "$SUM" != "97d756bad8e92588e6997d2227797eaa900d05e34a426829b149f65d87118eb6"; then echo ERROR: expected checksum for xmlsec1-1.2.27.tar.gz is 97d756bad8e92588e6997d2227797eaa900d05e34a426829b149f65d87118eb6 2>&1 | tee -a /sources/libreoffice-6.2.5.2/libreoffice-6.2.5.2/external/tarballs/fetch.log; false; fi && mv xmlsec1-1.2.27.tar.gz ../ --2019-07-27 19:55:26-- https://dev-www.libreoffice.org/src/xmlsec1-1.2.27.tar.gz
Saving to: ‘./xmlsec1-1.2.27.tar.gz’
2019-07-27 19:55:36 (219 KB/s) - ‘./xmlsec1-1.2.27.tar.gz’ saved [2013651/2013651]
[build DEP] LNK:Library/libxsec_xmlsec.so
[build DEP] LNK:Library/libxmlsecurity.so
[build CXX] comphelper/source/misc/xmlsechelper.cxx
[build CXX] svx/source/stbctrls/xmlsecctrl.cxx
[build UPK] xmlsec1-1.2.27.tar.gz
[build PAT] xmlsec
[build PRJ] xmlsec
[build PKG] xmlsec
[build EPK] xmlsec
[build BIN] xmlsec
[build MOD] xmlsec
[build UIL] svx/uiconfig/ui/xmlsecstatmenu
[build UIL] xmlsecurity/uiconfig/ui/certpage
[build UIL] xmlsecurity/uiconfig/ui/certdetails
[build UIL] xmlsecurity/uiconfig/ui/certgeneral
[build UIL] xmlsecurity/uiconfig/ui/digitalsignaturesdialog
[build UIL] xmlsecurity/uiconfig/ui/securitylevelpage
[build UIL] xmlsecurity/uiconfig/ui/securitytrustpage
[build UIL] xmlsecurity/uiconfig/ui/selectcertificatedialog
[build UIL] xmlsecurity/uiconfig/ui/macrosecuritydialog
[build UIL] xmlsecurity/uiconfig/ui/viewcertdialog
[build UIA] xmlsec
0 new warning (63 suppressed by /sources/libreoffice-6.2.5.2/libreoffice-6.2.5.2/solenv/sanitizers/ui/xmlsec.suppr)
[build PKG] UIConfig/xmlsec
[build PKS] UIConfig/xmlsec
[build UIC] xmlsec
[build ALL] All UI configuration files: modules/BasicIDE.done modules/schart.done cui.done dbaccess.done modules/dbapp.done modules/dbbrowser.done modules/dbquery.done modules/dbrelation.done modules/dbtable.done modules/dbtdata.done desktop.done editeng.done modules/sabpilot.done modules/scanner.done modules/sbibliography.done modules/spropctrlr.done filter.done formula.done fps.done modules/StartModule.done libreofficekit.done modules/dbreport.done modules/scalc.done modules/sdraw.done modules/simpress.done sfx.done modules/smath.done svt.done svx.done modules/sglobal.done modules/sweb.done modules/swform.done modules/swreport.done modules/swriter.done modules/swxform.done uui.done vcl.done writerperfect.done xmlsec.done
[build CXX] xmlsecurity/source/xmlsec/biginteger.cxx
[build CXX] xmlsecurity/source/xmlsec/certificateextension_certextn.cxx
[build CXX] xmlsecurity/source/xmlsec/errorcallback.cxx
[build CXX] xmlsecurity/source/xmlsec/saxhelper.cxx
[build CXX] xmlsecurity/source/xmlsec/xmldocumentwrapper_xmlsecimpl.cxx
[build CXX] xmlsecurity/source/xmlsec/xmlelementwrapper_xmlsecimpl.cxx
[build CXX] xmlsecurity/source/xmlsec/xmlsec_init.cxx
[build CXX] xmlsecurity/source/xmlsec/xmlstreamio.cxx
[build CXX] xmlsecurity/source/xmlsec/nss/ciphercontext.cxx
[build CXX] xmlsecurity/source/xmlsec/nss/digestcontext.cxx
[build CXX] xmlsecurity/source/xmlsec/nss/nssinitializer.cxx
[build CXX] xmlsecurity/source/gpg/CertificateImpl.cxx
/sources/libreoffice-6.2.5.2/libreoffice-6.2.5.2/xmlsecurity/source/gpg/CertificateImpl.cxx: In member function ‘void CertificateImpl::setCertificate(GpgME::Context*, const GpgME::Key&)’: /sources/libreoffice-6.2.5.2/libreoffice-6.2.5.2/xmlsecurity/source/gpg/CertificateImpl.cxx:220:14: warning: implicitly-declared ‘GpgME::Key::Key(const GpgME::Key&)’ is deprecated [-Wdeprecated-copy] In file included from /sources/libreoffice-6.2.5.2/libreoffice-6.2.5.2/xmlsecurity/source/gpg/CertificateImpl.hxx:34, from /sources/libreoffice-6.2.5.2/libreoffice-6.2.5.2/xmlsecurity/source/gpg/CertificateImpl.cxx:12:
[build CXX] xmlsecurity/source/gpg/CipherContext.cxx
[build CXX] xmlsecurity/source/gpg/DigestContext.cxx
[build CXX] xmlsecurity/source/gpg/SecurityEnvironment.cxx
[build CXX] xmlsecurity/source/gpg/SEInitializer.cxx
[build CXX] xmlsecurity/source/gpg/XMLEncryption.cxx
[build CXX] xmlsecurity/source/gpg/XMLSecurityContext.cxx
[build CXX] xmlsecurity/source/gpg/xmlsignature_gpgimpl.cxx
[build CXX] xmlsecurity/source/xmlsec/nss/sanextension_nssimpl.cxx
[build CXX] xmlsecurity/source/xmlsec/nss/secerror.cxx
[build CXX] xmlsecurity/source/xmlsec/nss/securityenvironment_nssimpl.cxx
[build CXX] xmlsecurity/source/xmlsec/nss/seinitializer_nssimpl.cxx
[build CXX] xmlsecurity/source/xmlsec/nss/x509certificate_nssimpl.cxx
[build CXX] xmlsecurity/source/xmlsec/nss/xmlsecuritycontext_nssimpl.cxx
[build CXX] xmlsecurity/source/xmlsec/nss/xmlsignature_nssimpl.cxx
[build DEP] LNK:Library/libxsec_xmlsec.so
[build LNK] Library/libxsec_xmlsec.so
[build CMP] xmlsecurity/util/xsec_xmlsec
[build CXX] xmlsecurity/source/component/certificatecontainer.cxx
[build CXX] xmlsecurity/source/component/documentdigitalsignatures.cxx
[build CXX] xmlsecurity/source/dialogs/certificatechooser.cxx
[build CXX] xmlsecurity/source/dialogs/certificateviewer.cxx
[build CXX] xmlsecurity/source/dialogs/digitalsignaturesdialog.cxx
[build CXX] xmlsecurity/source/dialogs/macrosecurity.cxx
[build CXX] xmlsecurity/source/framework/buffernode.cxx
[build CXX] xmlsecurity/source/framework/elementcollector.cxx
[build CXX] xmlsecurity/source/framework/elementmark.cxx
[build CXX] xmlsecurity/source/framework/saxeventkeeperimpl.cxx
[build CXX] xmlsecurity/source/framework/securityengine.cxx
[build CXX] xmlsecurity/source/framework/signaturecreatorimpl.cxx
[build CXX] xmlsecurity/source/framework/signatureengine.cxx
[build CXX] xmlsecurity/source/framework/signatureverifierimpl.cxx
[build CXX] xmlsecurity/source/framework/xmlsignaturetemplateimpl.cxx
[build CXX] xmlsecurity/source/helper/documentsignaturehelper.cxx
[build CXX] xmlsecurity/source/helper/documentsignaturemanager.cxx
[build CXX] xmlsecurity/source/helper/ooxmlsecparser.cxx
[build CXX] xmlsecurity/source/helper/ooxmlsecexporter.cxx
[build CXX] xmlsecurity/source/helper/pdfsignaturehelper.cxx
[build CXX] xmlsecurity/source/helper/xmlsignaturehelper2.cxx
[build CXX] xmlsecurity/source/helper/xmlsignaturehelper.cxx
[build CXX] xmlsecurity/source/helper/xsecctl.cxx
[build CXX] xmlsecurity/source/helper/xsecparser.cxx
[build CXX] xmlsecurity/source/helper/xsecsign.cxx
[build CXX] xmlsecurity/source/helper/xsecverify.cxx
[build CXX] xmlsecurity/source/pdfio/pdfdocument.cxx
[build DEP] LNK:Library/libxmlsecurity.so
[build LNK] Library/libxmlsecurity.so
[build CMP] xmlsecurity/util/xmlsecurity
[build CXX] xmlsecurity/workben/pdfverify.cxx
[build BIN] xmlsecurity
[build LOC] xmlsecurity
[build MOD] xmlsecurity
[build LOC] xmlsec
filelist /sources/libreoffice-6.2.5.2/libreoffice-6.2.5.2/workdir/Package/xmlsec.filelist is empty

As for differences between us, I do build with Java support enabled, but I need the ODBC functionality in LO Base... but I'm not sure that would have an effect. I also build with Plasma integration and Evolution integration, mostly to fit well with my main desktop... but that shouldn't have any effect either.

Here's some info from my system:

http://linuxfromscratch.org/~renodr/package.lst - Complete list of installed packages
http://linuxfromscratch.org/~renodr/libreoffice-6.2.5.2.log - Build log
http://linuxfromscratch.org/~renodr/libreoffice-6.2.5.2-with_kde5.sh - buildscript (I have KDE5 support and Evolution-data-server support built in)

I hope this helps out a bit... let me know if there's anything else I can do to be of assistance here
--
http://lists.linuxfromscratch.org/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to