openSuse package fails for i586 with undefined reference to `GpgME::Data::seek(long, int)'

Christoph Grüninger foss at grueninger.de
Mon Mar 11 22:02:34 UTC 2024


Dear LibreOffice!

I try to update Autoconf from 2.71 to 2.71 for openSuse. Before packages 
get accepted, they are QA tested with the other packages. The update 
leads to failing libreoffice i586 build, while libreoffice on x64 does 
not fail.
Is this a known issues?

libreoffice 24.2.1.2

> undefined reference to `GpgME::Data::seek(long, int)'

A little more context:
> [ 2771s] S=/home/abuild/rpmbuild/BUILD/libreoffice-24.2.1.2 && I=$S/instdir && W=$S/workdir &&  mkdir -p $W/CxxObject/tools/source/inet/ $W/Dep/CxxObject/tools/source/inet/ && cd /home/abuild/rpmbuild/BUILD/libreoffice-24.2.1.2 &&   	  g++ -DBOOST_ERROR_CODE_HEADER_ONLY -DBOOST_SYSTEM_NO_DEPRECATED -DCPPU_ENV=gcc3 -DINTEL -DLINUX -DNDEBUG -DOSL_DEBUG_LEVEL=0 -DUNIX -DUNX -DX86 -D_PTHREADS -D_REENTRANT  -DTOOLS_DLLIMPLEMENTATION  -DSYSTEM_ZLIB -DZLIB_CONST  -DSYSTEM_LIBXML  -flto=jobserver -fuse-linker-plugin -O2 -fvisibility=hidden    -Wall -Wno-missing-braces -Wendif-labels -Wextra -Wundef -Wunreachable-code -Wshadow -Wunused-macros  -finput-charset=UTF-8 -fmessage-length=0 -fno-common -pipe -fstack-protector-strong  -Wdeprecated-copy-dtor -Wduplicated-cond -Wlogical-op -Wshift-overflow=2 -Wunused-const-variable=1 -Wno-cast-function-type -fvisibility-inlines-hidden -fPIC -Wshadow -Woverloaded-virtual -std=c++20 -pthread  -std=c++20 -fomit-frame-pointer -O2 -Wall -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -fstack-protector-strong -funwind-tables -fasynchronous-unwind-tables -fstack-clash-protection -Werror=return-type -g1 -flifetime-dse=1  -fexceptions -fno-enforce-eh-specs    -DLIBO_INTERNAL_ONLY  -c $S/tools/source/inet/inetmime.cxx -o $W/CxxObject/tools/source/inet/inetmime.o  -I$S/tools/inc -I$S/include -I/usr/lib/jvm/java-21-openjdk-21/include -I/usr/lib/jvm/java-21-openjdk-21/include/linux -I$S/config_host   -I$W/UnoApiHeadersTarget/udkapi/normal -I$W/UnoApiHeadersTarget/offapi/normal -I/usr/include     -isystem /usr/include/libxml2    
> [ 2771s] /usr/bin/ld.bfd: [build CXX] tools/source/inet/inetmsg.cxx
> [ 2771s] /tmp/ccyB6wS6.ltrans9.ltrans.o: in function `comphelper::DocPasswordHelper::decryptGpgSession(com::sun::star::uno::Sequence<com::sun::star::uno::Sequence<com::sun::star::beans::NamedValue> > const&)':
> [ 2771s] /home/abuild/rpmbuild/BUILD/libreoffice-24.2.1.2/comphelper/source/misc/docpasswordhelper.cxx:705:(.text+0x4fb7): undefined reference to `GpgME::Data::seek(long, int)'
> [ 2771s] /usr/bin/ld.bfd: /home/abuild/rpmbuild/BUILD/libreoffice-24.2.1.2/comphelper/source/misc/docpasswordhelper.cxx:716:(.text+0x5402): undefined reference to `GpgME::Data::seek(long, int)'
> [ 2771s] /usr/bin/ld.bfd: /tmp/ccyB6wS6.ltrans13.ltrans.o: in function `comphelper::OStorageHelper::CreateGpgPackageEncryptionData()':
> [ 2771s] /home/abuild/rpmbuild/BUILD/libreoffice-24.2.1.2/comphelper/source/misc/storagehelper.cxx:507:(.text+0x64e3): undefined reference to `GpgME::Data::seek(long, int)'
> [ 2771s] /usr/bin/ld.bfd: /home/abuild/rpmbuild/BUILD/libreoffice-24.2.1.2/comphelper/source/misc/storagehelper.cxx:520:(.text+0x6583): undefined reference to `GpgME::Data::seek(long, int)'
> [ 2771s] collect2: error: ld returned 1 exit status

openSuse's bug report: https://bugzilla.suse.com/show_bug.cgi?id=1219035

Bye
Christoph


More information about the LibreOffice mailing list