Re: Build failure with gpgme-1.18.0

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Am Mon, 22 Aug 2022 11:37:35 +0200
schrieb Thorsten Behrens <thb@xxxxxxxxxxxxxxx>:

> Hi,
> 
> Sam James wrote:
>  [...]  
>  [...]  
> Up for removal:
>  - https://gerrit.libreoffice.org/c/core/+/138667
> 
> Andreas, if you could perhaps paste your error logs in that patch, so
> there's a record? I'll then look into it.
> 
> Cheers,
> 
> -- Thorsten

I don't have a gerrit account so some notes here:

I had tried to remove these lines 12564-12567 from configure.ac to pass the configure check.

https://cgit.freedesktop.org/libreoffice/core/tree/configure.ac?h=libreoffice-7-4-0#n12564

This leads to this build error later:


[build CXX] idl/source/prj/command.cxx
/usr/bin/ld: /tmp/cccDZPYB.ltrans9.ltrans.o: in function `comphelper::DocPasswordHelper::decryptGpgSession(com::sun::star::uno::Sequence<com::sun::star::uno::Sequence<com::sun::star::beans::NamedValue> > const&)':
<artificial>:(.text+0x796e): undefined reference to `GpgME::initializeLibrary()'
/usr/bin/ld: <artificial>:(.text+0x7980): undefined reference to `GpgME::checkEngine(GpgME::Protocol)'
/usr/bin/ld: <artificial>:(.text+0x7998): undefined reference to `GpgME::Context::createForProtocol(GpgME::Protocol)'
/usr/bin/ld: <artificial>:(.text+0x79be): undefined reference to `GpgME::Context::setArmor(bool)'
/usr/bin/ld: <artificial>:(.text+0x7a6e): undefined reference to `GpgME::Data::Data(char const*, unsigned long, bool)'
/usr/bin/ld: <artificial>:(.text+0x7a7e): undefined reference to `GpgME::Data::Data()'
/usr/bin/ld: <artificial>:(.text+0x7a9f): undefined reference to `GpgME::Context::decrypt(GpgME::Data const&, GpgME::Data&)'
/usr/bin/ld: <artificial>:(.text+0x7aac): undefined reference to `GpgME::Data::seek(long, int)'
/usr/bin/ld: <artificial>:(.text+0x7adb): undefined reference to `GpgME::Data::read(void*, unsigned long)'
/usr/bin/ld: <artificial>:(.text+0x7e09): undefined reference to `GpgME::Error::isCanceled() const'
/usr/bin/ld: <artificial>:(.text+0x7e25): undefined reference to `GpgME::Error::isCanceled() const'
/usr/bin/ld: <artificial>:(.text+0x7ee0): undefined reference to `GpgME::Data::seek(long, int)'
/usr/bin/ld: <artificial>:(.text+0x7f33): undefined reference to `GpgME::Data::read(void*, unsigned long)'
/usr/bin/ld: /tmp/cccDZPYB.ltrans13.ltrans.o: in function `comphelper::OStorageHelper::CreateGpgPackageEncryptionData()':
<artificial>:(.text+0x750e): undefined reference to `GpgME::checkEngine(GpgME::Protocol)'
/usr/bin/ld: <artificial>:(.text+0x7526): undefined reference to `GpgME::Context::createForProtocol(GpgME::Protocol)'
/usr/bin/ld: <artificial>:(.text+0x754c): undefined reference to `GpgME::Context::setArmor(bool)'
/usr/bin/ld: <artificial>:(.text+0x765d): undefined reference to `GpgME::Context::key(char const*, GpgME::Error&, bool)'
/usr/bin/ld: <artificial>:(.text+0x76ec): undefined reference to `GpgME::Data::Data(char const*, unsigned long, bool)'
/usr/bin/ld: <artificial>:(.text+0x7703): undefined reference to `GpgME::Data::Data()'
/usr/bin/ld: <artificial>:(.text+0x7735): undefined reference to `GpgME::Context::encrypt(std::vector<GpgME::Key, std::allocator<GpgME::Key> > const&, GpgME::Data const&, GpgME::Data&, GpgME::Context::EncryptionFlags)'
/usr/bin/ld: <artificial>:(.text+0x7742): undefined reference to `GpgME::Data::seek(long, int)'
/usr/bin/ld: <artificial>:(.text+0x776b): undefined reference to `GpgME::Data::read(void*, unsigned long)'
/usr/bin/ld: <artificial>:(.text+0x77c9): undefined reference to `GpgME::Data::seek(long, int)'
/usr/bin/ld: <artificial>:(.text+0x780e): undefined reference to `GpgME::Data::read(void*, unsigned long)'
/usr/bin/ld: <artificial>:(.text+0x80a1): undefined reference to `GpgME::Error::isCanceled() const'
/usr/bin/ld: <artificial>:(.text+0x84ed): undefined reference to `GpgME::Error::isCanceled() const'
collect2: error: ld returned 1 exit status
make[1]: *** [/build/libreoffice-fresh/src/libreoffice-7.4.0.3/comphelper/Library_comphelper.mk:20: /build/libreoffice-fresh/src/libreoffice-7.4.0.3/instdir/program/libcomphelper.so] Error 1
make[1]: *** Waiting for unfinished jobs....
make: *** [Makefile:289: build] Error 2
==> ERROR: A failure occurred in build().


I can give your patch a try in 7.4.x later

-Andy
Arch Linux

Attachment: pgpQHlL86KRfI.pgp
Description: Digitale Signatur von OpenPGP


[Index of Archives]     [LARTC]     [Bugtraq]     [Yosemite Forum]     [Photo]

  Powered by Linux