https://bugs.documentfoundation.org/show_bug.cgi?id=115672
Bug ID: 115672
Summary: libreoffice-6.0.1.1 fails to compile with system
gpgme-1.9.0
Product: LibreOffice
Version: 6.0.1.1 release
Hardware: All
OS: Linux (All)
Status: UNCONFIRMED
Severity: normal
Priority: medium
Component: Installation
Assignee: [email protected]
Reporter: [email protected]
Description:
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
Steps to Reproduce:
1.configure --with-system-gpgme
2.make
3.
Actual Results:
see above
Expected Results:
make completes successfully
Reproducible: Always
User Profile Reset: No
Additional Info:
glibc-2.26, gcc-7.2.0
User-Agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:52.0) Gecko/20100101
Firefox/52.0
--
You are receiving this mail because:
You are the assignee for the bug._______________________________________________
Libreoffice-bugs mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs