Bug#868758: libkf5gpgmepp-pthread5: gpgmepp doesn't support the gpgconf protocol
Package: libkf5gpgmepp-pthread5
Version: 16.04.3-2.1
Severity: normal
Dear Maintainer,
by looking at the build log for gpgme[1], it seems something is not
good:
-- Performing Test HAVE_GPGME_KEY_T_IS_QUALIFIED - Failed
-- Performing Test HAVE_GPGME_SIG_NOTATION_CRITICAL
-- Performing Test HAVE_GPGME_SIG_NOTATION_CRITICAL - Failed
-- Performing Test HAVE_GPGME_SIG_NOTATION_FLAGS_T
-- Performing Test HAVE_GPGME_SIG_NOTATION_FLAGS_T - Failed
-- Performing Test HAVE_GPGME_SIG_NOTATION_HUMAN_READABLE
-- Performing Test HAVE_GPGME_SIG_NOTATION_HUMAN_READABLE - Failed
-- Performing Test HAVE_GPGME_SUBKEY_T_IS_QUALIFIED
-- Performing Test HAVE_GPGME_SUBKEY_T_IS_QUALIFIED - Failed
-- Performing Test HAVE_GPGME_ENGINE_INFO_T_HOME_DIR
-- Performing Test HAVE_GPGME_ENGINE_INFO_T_HOME_DIR - Failed
-- Performing Test HAVE_GPGME_CTX_GETSET_ENGINE_INFO
-- Performing Test HAVE_GPGME_CTX_GETSET_ENGINE_INFO - Failed
-- Performing Test HAVE_GPGME_SIG_NOTATION_CLEARADDGET
-- Performing Test HAVE_GPGME_SIG_NOTATION_CLEARADDGET - Failed
-- Performing Test HAVE_GPGME_DECRYPT_RESULT_T_FILE_NAME
-- Performing Test HAVE_GPGME_DECRYPT_RESULT_T_FILE_NAME - Failed
-- Performing Test HAVE_GPGME_DECRYPT_RESULT_T_RECIPIENTS
-- Performing Test HAVE_GPGME_DECRYPT_RESULT_T_RECIPIENTS - Failed
-- Performing Test HAVE_GPGME_VERIFY_RESULT_T_FILE_NAME
-- Performing Test HAVE_GPGME_VERIFY_RESULT_T_FILE_NAME - Failed
-- Performing Test HAVE_GPGME_SIGNATURE_T_PKA_FIELDS
-- Performing Test HAVE_GPGME_SIGNATURE_T_PKA_FIELDS - Failed
-- Performing Test HAVE_GPGME_SIGNATURE_T_ALGORITHM_FIELDS
-- Performing Test HAVE_GPGME_SIGNATURE_T_ALGORITHM_FIELDS - Failed
-- Performing Test HAVE_GPGME_SIGNATURE_T_CHAIN_MODEL
-- Performing Test HAVE_GPGME_SIGNATURE_T_CHAIN_MODEL - Failed
-- Looking for gpgme_get_fdptr
-- Looking for gpgme_get_fdptr - not found
-- Looking for gpgme_op_getauditlog
-- Looking for gpgme_op_getauditlog - found
-- Performing Test HAVE_GPGME_PROTOCOL_GPGCONF
-- Performing Test HAVE_GPGME_PROTOCOL_GPGCONF - Failed
And indeed, kleopatra's selftest fails with message about missing
gpgconf protocol. I dug into the error logs of the configuration and it
seems all those tests fail because they don't get _FILE_OFFSET_BITS=64
defined. The following change to the cmake files fixes that, although
you could just delete the offending line altogether - KDE4_DEFINITIONS
is empty anyway.
Index: gpgmepp-16.04.3/src/ConfigureChecks.cmake
===================================================================
--- gpgmepp-16.04.3.orig/src/ConfigureChecks.cmake
+++ gpgmepp-16.04.3/src/ConfigureChecks.cmake
@@ -7,7 +7,7 @@ if ( GPGME_FOUND )
set(CMAKE_REQUIRED_INCLUDES_SAVE ${CMAKE_REQUIRED_INCLUDES})
set(CMAKE_REQUIRED_LIBRARIES_SAVE ${CMAKE_REQUIRED_LIBRARIES})
set(CMAKE_REQUIRED_INCLUDES ${GPGME_INCLUDES})
-set(CMAKE_REQUIRED_DEFINITIONS ${KDE4_DEFINITIONS})
+set(CMAKE_REQUIRED_DEFINITIONS ${CMAKE_REQUIRED_DEFINITIONS} ${KDE4_DEFINITIONS})
set(CMAKE_REQUIRED_LIBRARIES)
foreach( _FLAVOUR VANILLA PTHREAD QT PTH GLIB )
if ( NOT CMAKE_REQUIRED_LIBRARIES )
With gpgmepp thus rebuilt, kleopatra whines no more.
Regards
Jiri Palecek
1: https://buildd.debian.org/status/fetch.php?pkg=gpgmepp&arch=i386&ver=16.04.3-2%2Bb2&stamp=1489868595&raw=0
-- System Information:
Debian Release: buster/sid
APT prefers testing
APT policy: (990, 'testing'), (500, 'unstable-debug'), (500, 'testing-debug'), (500, 'unstable'), (1, 'experimental-debug'), (1, 'experimental')
Architecture: i386 (i686)
Kernel: Linux 4.11.0-1-686-pae (SMP w/2 CPU cores)
Locale: LANG=cs_CZ, LC_CTYPE=cs_CZ (charmap=ISO-8859-2), LANGUAGE=cs_CZ (charmap=ISO-8859-2)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
Versions of packages libkf5gpgmepp-pthread5 depends on:
ii libc6 2.24-12
ii libgcc1 1:7.1.0-9
ii libgpgme11 1.8.0-3+b3
ii libqt5core5a 5.7.1+dfsg-3.5
ii libstdc++6 7.1.0-9
libkf5gpgmepp-pthread5 recommends no packages.
libkf5gpgmepp-pthread5 suggests no packages.
-- no debconf information
Reply to: