libreoffice-22.214.171.124 fails to compile with system gpgme-1.9.0
john.frankish at outlook.com
Sun Feb 18 11:24:16 UTC 2018
> > 1. configure/make looks for headers in include rather than
> > include/gpgme++
> Distros put things into different places I guess - can you fix configure.ac and submit a patch?
The problem is with:
AC_CHECK_HEADER(gpgme++/gpgmepp_version.h, [ GPGMEPP_CFLAGS=-I/usr/include/gpgme++ ],
It needs to check in /usr/include/gpgme++ and /usr/local/include/gpgme++
> > 2. make fails with:
> > [CXX] xmlsecurity/source/gpg/CertificateImpl.cxx
> > [CXX] xmlsecurity/source/gpg/CipherContext.cxx
> > In file included from /mnt/sdc8/usr/src/libreoffice-126.96.36.199/xmlsecurity/source/gpg/CertificateImpl.cxx:12:0:
> > /mnt/sdc8/usr/src/libreoffice-188.8.131.52/xmlsecurity/source/gpg/CertificateImpl.hxx:36:5: error:
> > 'GpgME' does > not name a type
> > GpgME::Key m_pKey;
> > ^~~~~
> Is that after you've fixed the path lookup? I would expect it to fail earlier, while trying to include gpgme.h.
In fact after adding "-D_GLIBCXX_USE_C99_MATH" (I'm using glibc-2.26) and adjusting this in configure:
if test "$gccvisbroken" = "yes"; then
as_fn_error $? "Your gcc is not -fvisibility=hidden safe. This is no longer supported." "$LINENO" 5
..to read "no", the build then succeeds.
More information about the LibreOffice