Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 925162 - app-office/libreoffice-7.6.4.1 fails to compile: undefined reference to `GpgME::Data::seek(long, int)'
Summary: app-office/libreoffice-7.6.4.1 fails to compile: undefined reference to `GpgM...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: Normal normal (vote)
Assignee: Gentoo Office Team
URL:
Whiteboard:
Keywords: PATCH, UPSTREAM
Depends on:
Blocks: 893434 927996
  Show dependency tree
 
Reported: 2024-02-21 10:44 UTC by Viktor Yu. Kovalskii
Modified: 2024-03-28 18:48 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
build.log of app-office/libreoffice-7.6.4.1 (libreoffice-7.6.4.1:20240221-084243.log,590.81 KB, text/x-log)
2024-02-21 10:45 UTC, Viktor Yu. Kovalskii
Details
Uptream patch which fixes this issue (06dd867.diff,2.50 KB, patch)
2024-03-28 15:59 UTC, Viktor Yu. Kovalskii
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Viktor Yu. Kovalskii 2024-02-21 10:44:08 UTC
After system upgrade I try to install app-office/libreoffice-7.6.4.1 but without success:

/usr/lib/gcc/i686-pc-linux-gnu/13/../../../../i686-pc-linux-gnu/bin/ld: /var/tmp/portage/app-office/libreoffice-7.6.4.1/work/libreoffice-7.6.4.1/workdir/CxxObject/comphelper/source/misc/docpasswordhelper.o: in function `comphelper::DocPasswordHelper::decryptGpgSession(com::sun::star::uno::Sequence<com::sun::star::uno::Sequence<com::sun::star::beans::NamedValue> > const&)':
docpasswordhelper.cxx:(.text+0x3657): undefined reference to `GpgME::Data::seek(long, int)'
/usr/lib/gcc/i686-pc-linux-gnu/13/../../../../i686-pc-linux-gnu/bin/ld: docpasswordhelper.cxx:(.text+0x3c8a): undefined reference to `GpgME::Data::seek(long, int)'
/usr/lib/gcc/i686-pc-linux-gnu/13/../../../../i686-pc-linux-gnu/bin/ld: /var/tmp/portage/app-office/libreoffice-7.6.4.1/work/libreoffice-7.6.4.1/workdir/CxxObject/comphelper/source/misc/storagehelper.o: in function `comphelper::OStorageHelper::CreateGpgPackageEncryptionData()':
storagehelper.cxx:(.text+0x6290): undefined reference to `GpgME::Data::seek(long, int)'
/usr/lib/gcc/i686-pc-linux-gnu/13/../../../../i686-pc-linux-gnu/bin/ld: storagehelper.cxx:(.text+0x6336): undefined reference to `GpgME::Data::seek(long, int)'
collect2: error: ld returned 1 exit status

I try reinstall app-office/libreoffice-7.5.9.2 but after system upgrade I have the same error.

Reproducible: Always




emerge --info =libreoffice-7.6.4.1
Portage 3.0.61 (python 3.11.8-final-0, default/linux/x86/17.0/desktop/plasma, gcc-13, glibc-2.38-r11, 5.15.148-gentoo-x86 i686)
=================================================================
                         System Settings
=================================================================
System uname: Linux-5.15.148-gentoo-x86-i686-Intel-R-_Core-TM-_Duo_CPU_T2350_@_1.86GHz-with-glibc2.38
KiB Mem:     3088684 total,    409176 free
KiB Swap:    2097148 total,   1385928 free
Timestamp of repository gentoo: Wed, 21 Feb 2024 01:34:08 +0000
Head commit of repository gentoo: 6b7954730e2cba80d25cfe6643807ded1545c880

Timestamp of repository flying: Fri, 02 Feb 2024 04:22:09 +0000
sh bash 5.2_p26
ld GNU ld (Gentoo 2.42 p3) 2.42.0
ccache version 4.9.1 [enabled]
app-misc/pax-utils:        1.3.7::gentoo
app-shells/bash:           5.2_p26::gentoo
dev-build/autoconf:        2.13-r8::gentoo, 2.72-r1::gentoo
dev-build/automake:        1.16.5-r2::gentoo
dev-build/cmake:           3.28.3::gentoo
dev-build/libtool:         2.4.7-r2::gentoo
dev-build/make:            4.4.1-r1::gentoo
dev-build/meson:           1.3.2::gentoo
dev-java/java-config:      2.3.3-r1::gentoo
dev-lang/perl:             5.38.2-r1::gentoo
dev-lang/python:           3.11.8_p1::gentoo
dev-lang/rust:             1.75.0-r1::gentoo
dev-util/ccache:           4.9.1::gentoo
sys-apps/baselayout:       2.14-r2::gentoo
sys-apps/openrc:           0.53::gentoo
sys-apps/sandbox:          2.38::gentoo
sys-devel/binutils:        2.41-r5::gentoo, 2.42-r1::gentoo
sys-devel/binutils-config: 5.5::gentoo
sys-devel/clang:           17.0.6::gentoo
sys-devel/gcc:             13.2.1_p20240210::gentoo
sys-devel/gcc-config:      2.11::gentoo
sys-devel/lld:             17.0.6::gentoo
sys-devel/llvm:            17.0.6::gentoo
sys-kernel/linux-headers:  5.15-r3::gentoo (virtual/os-headers)
sys-libs/glibc:            2.38-r11::gentoo
Repositories:

gentoo
    location: /var/db/repos/gentoo
    sync-type: git
    sync-uri: https://anongit.gentoo.org/git/repo/sync/gentoo.git
    priority: -1000
    volatile: False

flying
    location: /var/db/repos/flying
    masters: gentoo
    volatile: False

Installed sets: @toolchain
ACCEPT_KEYWORDS="x86 ~x86"
ACCEPT_LICENSE="@FREE"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -pipe -march=native -fomit-frame-pointer -mtune=native"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib/libreoffice/program/sofficerc /usr/share/config /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CPPFLAGS="-O2 -pipe -march=native -fomit-frame-pointer -mtune=native"
CXXFLAGS="-O2 -pipe -march=native -fomit-frame-pointer -mtune=native"
DISTDIR="/var/cache/distfiles"
EMERGE_DEFAULT_OPTS="--autounmask=n --quiet-build --with-bdeps=y"
ENV_UNSET="CARGO_HOME DBUS_SESSION_BUS_ADDRESS DISPLAY GDK_PIXBUF_MODULE_FILE GOBIN GOPATH PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR XDG_STATE_HOME"
FCFLAGS="-O2 -pipe -march=native -fomit-frame-pointer -mtune=native"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs buildpkg buildpkg-live ccache distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync metadata-transfer multilib-strict network-sandbox news parallel-fetch pid-sandbox pkgdir-index-trusted preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms split-elog split-log strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe -march=native -fomit-frame-pointer -mtune=native"
GENTOO_MIRRORS="https://mirror.yandex.ru/gentoo-distfiles"
LANG="ru_RU.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LEX="flex"
LINGUAS="ru ru_RU"
MAKEOPTS="-j3"
PKGDIR="/var/cache/binpkgs"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git"
PORTAGE_TMPDIR="/var/tmp"
SHELL="/bin/bash"
USE="X a52 aac acl acpi alsa amr apng archive aspell bluetooth branding bzip2 cairo caps cdda cddb cdparanoia cdr cli cups curl custom-cflags cxx dbus declarative djvu dri dts dvd dvdnav dvdr elogind emf enca encode exceptions exif expat faac faad fbcondecor ffmpeg flac fontconfig fontforge fortran ftp fuse gif git glib gmp gnutls gpm gui harfbuzz http iconv icu idn imagemagick introspection jbig jemalloc jpeg jpeg2k kde kwallet lame latex lcms libass libnotify libsamplerate libtirpc llvm lm-sensors lz4 lzma lzo mad man mime mng modemmanager mp3 mp4 mpeg mtp musepack natspec ncurses networkmanager nls ogg opengl openmp orc osmesa pam pango pcre pdf pipewire plasma plymouth png policykit postscript ppds pulseaudio qml qt5 rar readline rtc screencast seccomp sndfile sound spell split-usr sqlite ssl startup-notification svg system-av1 system-harfbuzz system-icu system-jpeg system-libevent system-libvpx system-llvm system-png system-python-libs system-webp system-zlib test-rust threads tiff truetype twolame udev udisks unicode unwind upower usb utils vorbis vulkan wavpack wayland webp widgets wifi wmf wxwidgets x264 x86 xattr xcb xft xinerama xml xmp xorg xv xvid xz zip zlib zstd" ABI_X86="32" ADA_TARGET="gnat_2021" ALSA_CARDS="hda-intel" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_anon authn_dbm authn_file authz_dbm authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir env expires ext_filter file_cache filter headers include info log_config logio mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="karbon sheets words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="mmx mmxext sse sse2 sse3" CURL_SSL="openssl" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock greis isync itrax mtk3301 ntrip navcom oceanserver oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 tsip tripmate tnt ublox" GRUB_PLATFORMS="pc" INPUT_DEVICES="evdev synaptics" KERNEL="linux" L10N="ru" LCD_DEVICES="bayrad cfontz glk hd44780 lb216 lcdm001 mtxorb text" LLVM_TARGETS="X86" LUA_SINGLE_TARGET="lua5-1" LUA_TARGETS="lua5-1" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php8-1" POSTGRES_TARGETS="postgres15" PYTHON_SINGLE_TARGET="python3_11" PYTHON_TARGETS="python3_11" QEMU_SOFTMMU_TARGETS="i386" QEMU_USER_TARGETS="i386" RUBY_TARGETS="ruby32" VIDEO_CARDS="intel i915" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipp2p iface geoip fuzzy condition tarpit sysrq proto logmark ipmark dhcpmac delude chaos account"
Unset:  ADDR2LINE, AR, ARFLAGS, AS, ASFLAGS, CC, CCLD, CONFIG_SHELL, CPP, CTARGET, CXX, CXXFILT, ELFEDIT, EXTRA_ECONF, F77FLAGS, FC, GCOV, GPROF, INSTALL_MASK, LC_ALL, LD, LFLAGS, LIBTOOL, MAKE, MAKEFLAGS, NM, OBJCOPY, OBJDUMP, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PYTHONPATH, RANLIB, READELF, RUSTFLAGS, SIZE, STRINGS, STRIP, YACC, YFLAGS
Comment 1 Viktor Yu. Kovalskii 2024-02-21 10:45:47 UTC
Created attachment 885600 [details]
build.log of app-office/libreoffice-7.6.4.1
Comment 2 Viktor Yu. Kovalskii 2024-03-28 15:59:47 UTC
Created attachment 888920 [details, diff]
Uptream patch which fixes this issue

Upstream fixes this issue.

Compilation fails because of autoconf 2.72.

https://gerrit.libreoffice.org/c/core/+/164704
Comment 3 Larry the Git Cow gentoo-dev 2024-03-28 18:48:24 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7643b42096da1f4403a501a4a5930dec2d1c88c2

commit 7643b42096da1f4403a501a4a5930dec2d1c88c2
Author:     Andreas Sturmlechner <asturm@gentoo.org>
AuthorDate: 2024-03-28 18:44:14 +0000
Commit:     Andreas Sturmlechner <asturm@gentoo.org>
CommitDate: 2024-03-28 18:48:17 +0000

    app-office/libreoffice: Fix build with dev-build/autoconf-2.72
    
    Closes: https://bugs.gentoo.org/925162
    Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>

 .../files/libreoffice-7.6.6.3-autoconf-2.72.patch  | 53 ++++++++++++++++++++++
 app-office/libreoffice/libreoffice-7.6.6.3.ebuild  |  3 ++
 2 files changed, 56 insertions(+)