checking whether to build Skia... no checking which gpgmepp to use... external checking for gpgme++/gpgmepp_version.h... yes checking for progress_callback in -lgpgmepp... no configure: error: gpgmepp not found or not functional !!! Please attach the following file when seeking support: ------------------------------------------------------------------- This is an unstable amd64 chroot image at a tinderbox (==build bot) name: 17.1_desktop_plasma-j4-20220813-180005 ------------------------------------------------------------------- gcc-config -l: [1] x86_64-pc-linux-gnu-12.1.1 * clang/llvm (if any): clang version 14.0.6 Target: x86_64-pc-linux-gnu Thread model: posix InstalledDir: /usr/lib/llvm/14/bin /usr/lib/llvm/14 14.0.6 Python 3.10.6 Available Ruby profiles: [1] ruby27 (with Rubygems) [2] ruby31 (with Rubygems) * Available Rust versions: [1] rust-bin-1.62.1 * GENTOO_VM= CLASSPATH="" JAVA_HOME="/etc/java-config-2/current-system-vm" JAVACFLAGS="" COMPILER="" The following VMs are available for generation-2: 1) IcedTea JDK 3.21.0 [icedtea-8] *) Eclipse Temurin JDK 17.0.3_p7 [openjdk-bin-17] 3) Eclipse Temurin JDK 8.332_p09 [openjdk-bin-8] Available Java Virtual Machines: [1] icedtea-8 [2] openjdk-bin-8 [3] openjdk-bin-17 system-vm The Glorious Glasgow Haskell Compilation System, version 9.0.2 php cli: [1] php7.4 [2] php8.0 [3] php8.1 * HEAD of ::gentoo commit 016123229e90d03527865c0e688aa47676036b95 Author: Repository mirror & CI <repomirrorci@gentoo.org> Date: Mon Aug 15 19:16:52 2022 +0000 2022-08-15 19:16:51 UTC emerge -qpvO app-office/libreoffice [ebuild R ] app-office/libreoffice-7.3.5.2 USE="bluetooth branding cups dbus gtk kde mariadb -accessibility -base -clang -coinmp -custom-cflags -debug -eds -firebird -googledrive -gstreamer -java -ldap -odk -pdfimport -postgres -test -vulkan" LIBREOFFICE_EXTENSIONS="-nlpsolver -scripting-beanshell -scripting-javascript -wiki-publisher" PYTHON_SINGLE_TARGET="python3_10 -python3_8 -python3_9 -python3_11"
Created attachment 799803 [details] emerge-info.txt
Created attachment 799805 [details] app-office:libreoffice-7.3.5.2:20220815-193911.log
Created attachment 799807 [details] emerge-history.txt
Created attachment 799809 [details] environment
Created attachment 799811 [details] etc.portage.tar.bz2
Created attachment 799813 [details] logs.tar.bz2
Created attachment 799815 [details] temp.tar.bz2
*** Bug 865319 has been marked as a duplicate of this bug. ***
from config.log: configure:40812: checking which gpgmepp to use configure:40815: result: external configure:40820: checking for gpgme++/gpgmepp_version.h configure:40820: x86_64-pc-linux-gnu-gcc -c -pipe -march=native -fno-diagnostics-color -O2 -I/usr/include/python3.10 conftest.c >&5 configure:40820: $? = 0 configure:40820: result: yes configure:40830: checking for progress_callback in -lgpgmepp configure:40853: x86_64-pc-linux-gnu-gcc -o conftest -pipe -march=native -fno-diagnostics-color -O2 -I/usr/include/python3.10 -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 conftest.c -lgpgmepp >&5 /usr/lib/gcc/x86_64-pc-linux-gnu/12.1.1/../../../../x86_64-pc-linux-gnu/bin/ld: /var/tmp/portage/app-office/libreoffice-7.3.5.2/temp/ccH6cG0Y.o: in function `main': conftest.c:(.text.startup+0x7): undefined reference to `progress_callback' collect2: error: ld returned 1 exit status configure:40853: $? = 1 configure: failed program was
https://dev.gnupg.org/T5906 [21:40:29] <@sam_> so i think it's.. intentional [21:40:30] <@sam_> https://dev.gnupg.org/T5906 [21:40:46] <@sam_> (which kind of makes sense, "progress_callback" is real generic, especially in a C++ library?) [21:41:30] <@sam_> callbacks.h - callback targets for internal use: [21:41:30] <@sam_> :) [21:41:34] <@sam_> This is an internal header file, subject to change without [21:41:34] <@sam_> notice. DO NOT USE. [21:41:35] <@sam_> great I don't think libreoffice should be using this symbol to detect gpgme (or trying to use it at runtime - I don't know if it is, not checked yet).
configure:42348: checking whether to enable gpgmepp configure:42360: result: yes configure:42362: checking which gpgmepp to use configure:42365: result: external configure:42370: checking for gpgme++/gpgmepp_version.h configure:42370: x86_64-pc-linux-gnu-clang -c -march=native -mtune=native -O2 -pipe -I/usr/include/python3.10 conftest.c >&5 configure:42370: $? = 0 configure:42370: result: yes configure:42380: checking for progress_callback in -lgpgmepp configure:42403: x86_64-pc-linux-gnu-clang -o conftest -march=native -mtune=native -O2 -pipe -I/usr/include/python3.10 -Wl,-O1 -Wl,--as-needed -fuse-ld=lld conftest.c -lgpgmepp >&5 ld.lld: error: undefined symbol: progress_callback >>> referenced by conftest.c >>> /var/tmp/portage/app-office/libreoffice-9999/temp/conftest-5b6b66.o:(main) clang-14: error: linker command failed with exit code 1 (use -v to see invocation) configure:42403: $? = 1 configure: failed program was:
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=69fc15afc8b81272abfe7a4035c8a6c2d37b8d13 commit 69fc15afc8b81272abfe7a4035c8a6c2d37b8d13 Author: Sam James <sam@gentoo.org> AuthorDate: 2022-08-15 21:14:29 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2022-08-15 21:14:59 +0000 app-office/libreoffice: fix build w/ gpgme 1.18.0, add which BDEPEND - Fix build w/ gpgme 1.18.0 by spoofing existence of progress_callback (see bug for details; reported upstream but waiting for email to appear in archive/pending moderation) - Add which BDEPEND (bunch of configure checks use it for now) Closes: https://bugs.gentoo.org/865321 Signed-off-by: Sam James <sam@gentoo.org> app-office/libreoffice/libreoffice-7.3.3.2-r3.ebuild | 4 ++++ app-office/libreoffice/libreoffice-7.3.4.2-r1.ebuild | 4 ++++ app-office/libreoffice/libreoffice-7.3.5.2.ebuild | 4 ++++ app-office/libreoffice/libreoffice-7.3.9999.ebuild | 4 ++++ app-office/libreoffice/libreoffice-9999.ebuild | 4 ++++ 5 files changed, 20 insertions(+)
*** Bug 865329 has been marked as a duplicate of this bug. ***
*** Bug 865367 has been marked as a duplicate of this bug. ***
Upstream report: https://lists.freedesktop.org/archives/libreoffice/2022-August/089261.html
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ac8e15beacefb21f215f9f25e282da204e4ef435 commit ac8e15beacefb21f215f9f25e282da204e4ef435 Author: Sam James <sam@gentoo.org> AuthorDate: 2022-08-31 21:44:10 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2022-08-31 21:45:19 +0000 app-office/libreoffice: use upstream gpgme 1.18.0 patch At least for 7.3.x. Closes: https://bugs.gentoo.org/865321 Signed-off-by: Sam James <sam@gentoo.org> .../files/libreoffice-7.3.5.2-gpgme-1.18.0.patch | 48 ++++++++++++++++++++++ app-office/libreoffice/libreoffice-7.3.5.2.ebuild | 6 +-- app-office/libreoffice/libreoffice-7.3.9999.ebuild | 6 +-- app-office/libreoffice/libreoffice-9999.ebuild | 3 -- 4 files changed, 54 insertions(+), 9 deletions(-)