Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 627174 - app-office/libreoffice-5.4.0.3: error: invalid use of incomplete type 'class GpgME::KeyListResult
Summary: app-office/libreoffice-5.4.0.3: error: invalid use of incomplete type 'class...
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-08-06 13:10 UTC by Albert W. Hopkins
Modified: 2017-08-08 15:03 UTC (History)
0 users

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


Attachments
build.log (build.log.gz,298.85 KB, application/gzip)
2017-08-06 13:10 UTC, Albert W. Hopkins
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Albert W. Hopkins 2017-08-06 13:10:44 UTC
Created attachment 488120 [details]
build.log

libreoffice 5.4 required the "cxx" use flag to be added to gpgme.  So I did that, but then it fails to build:

--
[build CXX] xmlsecurity/source/xmlsec/nss/securityenvironment_nssimpl.cxx
/var/tmp/portage/app-office/libreoffice-5.4.0.3/work/libreoffice-5.4.0.3/xmlsecu
rity/source/gpg/SecurityEnvironment.cxx: In member function 'virtual com::sun::s
tar::uno::Sequence<com::sun::star::uno::Reference<com::sun::star::security::XCer
tificate> > SecurityEnvironmentGpg::getPersonalCertificates()':
/var/tmp/portage/app-office/libreoffice-5.4.0.3/work/libreoffice-5.4.0.3/xmlsecu
rity/source/gpg/SecurityEnvironment.cxx:85:26: error: invalid use of incomplete 
type 'class GpgME::KeyListResult'
     m_ctx->endKeyListing();
                          ^
--

I also had to add nss to xmlsec.  I'm going to add "openssl" to it as well and see if that makes a difference.
Comment 1 Albert W. Hopkins 2017-08-06 13:50:15 UTC
Also I get this elog message:

--
WARN: compile
The help images list is empty, something is fishy, report a bug.
--
Comment 2 Albert W. Hopkins 2017-08-06 14:16:54 UTC
I get the failure when I add openssl to the xmlsec USE flags.

# emerge --info =app-office/libreoffice-5.4.0.3
Portage 2.3.6 (python 3.5.3-final-0, default/linux/amd64/13.0, gcc-6.4.0, glibc-2.24-r3, 4.12.4-gentoo x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-4.12.4-gentoo-x86_64-Intel-R-_Xeon-R-_CPU_E3-1225_V2_@_3.20GHz-with-gentoo-2.4.1
KiB Mem:    32750432 total,   8752724 free
KiB Swap:    3145724 total,   3144700 free
Timestamp of repository gentoo: Sun, 06 Aug 2017 13:58:05 +0000
sh bash 4.4_p12
ld GNU ld (Gentoo 2.28.1 p1.0) 2.28.1
app-shells/bash:          4.4_p12::gentoo
dev-java/java-config:     2.2.0-r3::gentoo
dev-lang/perl:            5.24.2::gentoo
dev-lang/python:          2.7.13::gentoo, 3.4.6::gentoo, 3.5.3::gentoo, 3.6.1-r1::gentoo
dev-util/cmake:           3.9.0::gentoo
dev-util/pkgconfig:       0.29.2::gentoo
sys-apps/baselayout:      2.4.1::gentoo
sys-apps/sandbox:         2.10-r4::gentoo
sys-devel/autoconf:       2.13::gentoo, 2.69-r4::gentoo
sys-devel/automake:       1.11.6-r2::gentoo, 1.13.4-r1::gentoo, 1.15.1::gentoo
sys-devel/binutils:       2.28.1::gentoo
sys-devel/gcc:            6.4.0::gentoo
sys-devel/gcc-config:     1.8-r1::gentoo
sys-devel/libtool:        2.4.6-r4::gentoo
sys-devel/make:           4.2.1-r1::gentoo
sys-kernel/linux-headers: 4.10::gentoo (virtual/os-headers)
sys-libs/glibc:           2.24-r3::gentoo
Repositories:

gentoo
    location: /usr/portage
    sync-type: git
    sync-uri: /var/lib/jenkins/workspace/lighthouse/
    priority: -1000

marduk
    location: /var/lib/layman/marduk
    masters: gentoo
    priority: 50

Installed sets: @rover
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* -@EULA AdobeFlash-11.x google-chrome google-talkplugin Google-TOS"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=core-avx-i -mtune=skylake -O2 -Qn -s -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/chromium/policies/managed/chrome-gnome-shell.json /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/opt/chrome/policies/managed/chrome-gnome-shell.json /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=core-avx-i -mtune=skylake -O2 -Qn -s -pipe"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="     --autounmask=n      --binpkg-respect-use=y     --jobs      --keep-going      --misspell-suggestions=n     --oneshot     --quiet-build      --quiet-unmerge-warn      --usepkg   --usepkg=n --buildpkg --rebuilt-binaries=y --jobs=5 --with-bdeps=y --binpkg-respect-use --binpkg-changed-deps"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs binpkg-multi-instance buildpkg cgroup config-protect-if-modified distlocks fixlafiles news noinfo notitles parallel-fetch parallel-install preserve-libs protect-owned sandbox sfperms skiprocheck strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="en_US.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="--jobs=9 --load-average=5.64"
PKGDIR="/var/portage/packages"
PORTAGE_COMPRESS=""
PORTAGE_COMPRESS_FLAGS=""
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"
USE="acl aes amd64 asm avx avx2 f16c fma3 introspection ipv6 mmx mmxext nls opentype pam popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3 systemd unicode utf8 xattr" ABI_X86="64" APACHE2_MODULES="authn_core authz_core authz_host authz_user unixd socache_shmcb auth_digest authn_file authz authz_groupfile dav dav_fs dir group_file mime" APACHE2_MPMS="prefork" CAMERAS="*" CPU_FLAGS_X86="aes avx avx2 f16c fma3 mmx mmxext popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3" CURL_SSL="openssl" ELIBC="glibc" FFTOOLS="*" GRUB_PLATFORMS="pc" INPUT_DEVICES="libinput" KERNEL="linux" NGINX_MODULES_HTTP="auth_basic gzip proxy rewrite uwsgi" PYTHON_SINGLE_TARGET="python3_5" PYTHON_TARGETS="python2_7 python3_5 python3_6" QEMU_SOFTMMU_TARGETS="i386 x86_64" QEMU_USER_TARGETS="i386 x86_64" RUBY_TARGETS="ruby24" USERLAND="GNU" VIDEO_CARDS="intel i915 i965"
USE_PYTHON="3.5"
Unset:  CC, CPPFLAGS, CTARGET, CXX, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_RSYNC_EXTRA_OPTS
Comment 3 Albert W. Hopkins 2017-08-06 22:12:59 UTC
I've tried with MAKEOPTS="-j1" but still fails with the same error.
Comment 4 Albert W. Hopkins 2017-08-08 14:03:57 UTC
I rebuilt gpgme and then rebuilt xmlsec and now libreoffice seems to be building, so maybe it's a chicken-and-egg issue or something like that.  I'll close this out if/when it completes.
Comment 5 Albert W. Hopkins 2017-08-08 15:03:05 UTC
Odd, but rebuilding gpgme and xmlsec seemed to be the fix. libreoffice-5.4 build was successful.