Package: src:fwknop
Version: 2.6.0-3
Severity: serious
Tags: patch
Owner: sanv...@debian.org

The QA upload I did (2.6.0-3) fails to build everywhere.

This is the error message:

gpgme_funcs.c: In function 'init_gpgme':
gpgme_funcs.c:67:61: error: 'GPG_EXE' undeclared (first use in this function)
             (fko_ctx->gpg_exe != NULL) ? fko_ctx->gpg_exe : GPG_EXE,

I think there are two reasons why this happens:

* gpg is no longer present in the official chroots.
* The package fails to detect gpg2 (which is a dependency for libgpgme).

I believe the attached patch should fix it.

Will make another QA upload to fix this in short.

Thanks.
--- a/debian/rules
+++ b/debian/rules
@@ -34,7 +34,7 @@ override_dh_auto_configure:
 #      mkdir m4
        chmod +x ./debian/autogen.sh
        ./debian/autogen.sh
-       dh_auto_configure -- $(confflags) --with-gpgme
+       dh_auto_configure -- $(confflags) --with-gpgme --with-gpg=/usr/bin/gpg2
 
 override_dh_auto_build:
        dh_auto_build

Reply via email to