Date: prev next · Thread: first prev next last
2018 Archives by date, by thread · List index


Using linux gcc-7.2.0, Libreoffice-6.0.1.1 will compile without errors without the configure switch 
"--with-systemgpgmepp".

With "--with-system-gpgmepp:


1. configure/make looks for headers in include rather than 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-6.0.1.1/xmlsecurity/source/gpg/CertificateImpl.cxx:12:0:
/mnt/sdc8/usr/src/libreoffice-6.0.1.1/xmlsecurity/source/gpg/CertificateImpl.hxx:36:5: error: 
'GpgME' does not name a type
     GpgME::Key m_pKey;
     ^~~~~
In file included from 
/mnt/sdc8/usr/src/libreoffice-6.0.1.1/xmlsecurity/source/gpg/CertificateImpl.cxx:12:0:
/mnt/sdc8/usr/src/libreoffice-6.0.1.1/xmlsecurity/source/gpg/CertificateImpl.hxx:85:25: error: 
'GpgME' has not been declared
     void setCertificate(GpgME::Context* ctx, const GpgME::Key& key);
                         ^~~~~
/mnt/sdc8/usr/src/libreoffice-6.0.1.1/xmlsecurity/source/gpg/CertificateImpl.hxx:85:39: error: 
expected ',' or '...' before '*' token
     void setCertificate(GpgME::Context* ctx, const GpgME::Key& key);
                                       ^
/mnt/sdc8/usr/src/libreoffice-6.0.1.1/xmlsecurity/source/gpg/CertificateImpl.hxx:86:11: error: 
'GpgME' does not name a type
     const GpgME::Key* getCertificate() const;
           ^~~~~
[CXX] xmlsecurity/source/gpg/DigestContext.cxx
[CXX] xmlsecurity/source/gpg/SecurityEnvironment.cxx
/mnt/sdc8/usr/src/libreoffice-6.0.1.1/xmlsecurity/source/gpg/CertificateImpl.cxx: In constructor 
'CertificateImpl::CertificateImpl()':
/mnt/sdc8/usr/src/libreoffice-6.0.1.1/xmlsecurity/source/gpg/CertificateImpl.cxx:30:5: error: class 
'CertificateImpl' does not have any field named 'm_pKey'
     m_pKey()
     ^~~~~~
/mnt/sdc8/usr/src/libreoffice-6.0.1.1/xmlsecurity/source/gpg/CertificateImpl.cxx: In member 
function 'virtual rtl::OUString CertificateImpl::getIssuerName()':
/mnt/sdc8/usr/src/libreoffice-6.0.1.1/xmlsecurity/source/gpg/CertificateImpl.cxx:53:34: error: 
'm_pKey' was not declared in this scope
     const GpgME::UserID userId = m_pKey.userID(0);
                                  ^~~~~~
/mnt/sdc8/usr/src/libreoffice-6.0.1.1/xmlsecurity/source/gpg/CertificateImpl.cxx:53:34: note: 
suggested alternative: 'ecKey'
     const GpgME::UserID userId = m_pKey.userID(0);
                                  ^~~~~~
                                  ecKey
/mnt/sdc8/usr/src/libreoffice-6.0.1.1/xmlsecurity/source/gpg/CertificateImpl.cxx: In member 
function 'virtual com::sun::star::util::DateTime CertificateImpl::getNotValidBefore()':
/mnt/sdc8/usr/src/libreoffice-6.0.1.1/xmlsecurity/source/gpg/CertificateImpl.cxx:83:34: error: 
'm_pKey' was not declared in this scope
     const GpgME::Subkey subkey = m_pKey.subkey(0);
                                  ^~~~~~
/mnt/sdc8/usr/src/libreoffice-6.0.1.1/xmlsecurity/source/gpg/CertificateImpl.cxx:83:34: note: 
suggested alternative: 'ecKey'
     const GpgME::Subkey subkey = m_pKey.subkey(0);
                                  ^~~~~~
                                  ecKey
/mnt/sdc8/usr/src/libreoffice-6.0.1.1/xmlsecurity/source/gpg/CertificateImpl.cxx: In member 
function 'virtual com::sun::star::util::DateTime CertificateImpl::getNotValidAfter()':
/mnt/sdc8/usr/src/libreoffice-6.0.1.1/xmlsecurity/source/gpg/CertificateImpl.cxx:92:34: error: 
'm_pKey' was not declared in this scope
     const GpgME::Subkey subkey = m_pKey.subkey(0);
                                  ^~~~~~
/mnt/sdc8/usr/src/libreoffice-6.0.1.1/xmlsecurity/source/gpg/CertificateImpl.cxx:92:34: note: 
suggested alternative: 'ecKey'
     const GpgME::Subkey subkey = m_pKey.subkey(0);
                                  ^~~~~~
                                  ecKey
/mnt/sdc8/usr/src/libreoffice-6.0.1.1/xmlsecurity/source/gpg/CertificateImpl.cxx: In member 
function 'virtual rtl::OUString CertificateImpl::getSubjectPublicKeyAlgorithm()':
/mnt/sdc8/usr/src/libreoffice-6.0.1.1/xmlsecurity/source/gpg/CertificateImpl.cxx:131:34: error: 
'm_pKey' was not declared in this scope
     const GpgME::Subkey subkey = m_pKey.subkey(0);
                                  ^~~~~~
/mnt/sdc8/usr/src/libreoffice-6.0.1.1/xmlsecurity/source/gpg/CertificateImpl.cxx:131:34: note: 
suggested alternative: 'ecKey'
     const GpgME::Subkey subkey = m_pKey.subkey(0);
                                  ^~~~~~
                                  ecKey
/mnt/sdc8/usr/src/libreoffice-6.0.1.1/xmlsecurity/source/gpg/CertificateImpl.cxx: In member 
function 'virtual rtl::OUString CertificateImpl::getSignatureAlgorithm()':
/mnt/sdc8/usr/src/libreoffice-6.0.1.1/xmlsecurity/source/gpg/CertificateImpl.cxx:145:34: error: 
'm_pKey' was not declared in this scope
     const GpgME::UserID userId = m_pKey.userID(0);
                                  ^~~~~~
/mnt/sdc8/usr/src/libreoffice-6.0.1.1/xmlsecurity/source/gpg/CertificateImpl.cxx:145:34: note: 
suggested alternative: 'ecKey'
     const GpgME::UserID userId = m_pKey.userID(0);
                                  ^~~~~~
                                  ecKey
/mnt/sdc8/usr/src/libreoffice-6.0.1.1/xmlsecurity/source/gpg/CertificateImpl.cxx: In member 
function 'virtual com::sun::star::uno::Sequence<signed char> CertificateImpl::getSHA1Thumbprint()':
/mnt/sdc8/usr/src/libreoffice-6.0.1.1/xmlsecurity/source/gpg/CertificateImpl.cxx:159:25: error: 
'm_pKey' was not declared in this scope
     const char* keyId = m_pKey.primaryFingerprint();
                         ^~~~~~
/mnt/sdc8/usr/src/libreoffice-6.0.1.1/xmlsecurity/source/gpg/CertificateImpl.cxx:159:25: note: 
suggested alternative: 'ecKey'
     const char* keyId = m_pKey.primaryFingerprint();
                         ^~~~~~
                         ecKey
/mnt/sdc8/usr/src/libreoffice-6.0.1.1/xmlsecurity/source/gpg/CertificateImpl.cxx: In member 
function 'virtual com::sun::star::uno::Sequence<signed char> 
CertificateImpl::getSHA256Thumbprint()':
/mnt/sdc8/usr/src/libreoffice-6.0.1.1/xmlsecurity/source/gpg/CertificateImpl.cxx:168:25: error: 
'm_pKey' was not declared in this scope
     const char* keyId = m_pKey.primaryFingerprint();
                         ^~~~~~
/mnt/sdc8/usr/src/libreoffice-6.0.1.1/xmlsecurity/source/gpg/CertificateImpl.cxx:168:25: note: 
suggested alternative: 'ecKey'
     const char* keyId = m_pKey.primaryFingerprint();
                         ^~~~~~
                         ecKey
/mnt/sdc8/usr/src/libreoffice-6.0.1.1/xmlsecurity/source/gpg/CertificateImpl.cxx: In member 
function 'virtual com::sun::star::uno::Sequence<signed char> CertificateImpl::getMD5Thumbprint()':
/mnt/sdc8/usr/src/libreoffice-6.0.1.1/xmlsecurity/source/gpg/CertificateImpl.cxx:176:25: error: 
'm_pKey' was not declared in this scope
     const char* keyId = m_pKey.keyID();
                         ^~~~~~
/mnt/sdc8/usr/src/libreoffice-6.0.1.1/xmlsecurity/source/gpg/CertificateImpl.cxx:176:25: note: 
suggested alternative: 'ecKey'
     const char* keyId = m_pKey.keyID();
                         ^~~~~~
                         ecKey
/mnt/sdc8/usr/src/libreoffice-6.0.1.1/xmlsecurity/source/gpg/CertificateImpl.cxx: At global scope:
/mnt/sdc8/usr/src/libreoffice-6.0.1.1/xmlsecurity/source/gpg/CertificateImpl.cxx:211:6: error: 
prototype for 'void CertificateImpl::setCertificate(GpgME::Context*, const GpgME::Key&)' does not 
match any in class 'CertificateImpl'
 void CertificateImpl::setCertificate(GpgME::Context* ctx, const GpgME::Key& key)
      ^~~~~~~~~~~~~~~
In file included from 
/mnt/sdc8/usr/src/libreoffice-6.0.1.1/xmlsecurity/source/gpg/CertificateImpl.cxx:12:0:
/mnt/sdc8/usr/src/libreoffice-6.0.1.1/xmlsecurity/source/gpg/CertificateImpl.hxx:85:10: error: 
candidate is: void CertificateImpl::setCertificate(int)
     void setCertificate(GpgME::Context* ctx, const GpgME::Key& key);
          ^~~~~~~~~~~~~~
/mnt/sdc8/usr/src/libreoffice-6.0.1.1/xmlsecurity/source/gpg/CertificateImpl.cxx:244:53: error: no 
'const GpgME::Key* CertificateImpl::getCertificate() const' member function declared in class 
'CertificateImpl'
 const GpgME::Key* CertificateImpl::getCertificate() const
                                                     ^~~~~
/mnt/sdc8/usr/src/libreoffice-6.0.1.1/xmlsecurity/source/gpg/CertificateImpl.cxx:67:14: warning: 
'com::sun::star::util::DateTime {anonymous}::convertUnixTimeToDateTime(time_t)' defined but not 
used [-Wunused-function]
     DateTime convertUnixTimeToDateTime(time_t time)
              ^~~~~~~~~~~~~~~~~~~~~~~~~
make[1]: *** [/mnt/sdc8/usr/src/libreoffice-6.0.1.1/solenv/gbuild/LinkTarget.mk:293: 
/mnt/sdc8/usr/src/libreoffice-6.0.1.1/workdir/CxxObject/xmlsecurity/source/gpg/CertificateImpl.o] 
Error 1
make[1]: *** Waiting for unfinished jobs....
make: *** [Makefile:268: build] Error 2
Command exited with non-zero status 2

Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.