[pkg-gnupg-maint] Bug#1015995: gpgme1.0 FTBFS with 3.10 as only supported Python3 version

Gianfranco Costamagna locutusofborg at debian.org
Thu Sep 8 14:14:03 BST 2022


Hello, indeed! thanks for fixing it up!

G.






Il martedì 6 settembre 2022 21:18:09 CEST, Paul Gevers <elbrus at debian.org> ha scritto: 





Hi Alexandre,

On Mon, 25 Jul 2022 10:03:04 +0200 Gianfranco Costamagna 
<locutusofborg at debian.org> wrote:
> Hello, looks like Ubuntu already has a patch for this:
> http://launchpadlibrarian.net/594282639/gpgme1.0_1.16.0-1.2ubuntu3_1.16.0-1.2ubuntu4.diff.gz


I was about to upload an NMU gpgme with your patch applied, but it looks 
wrong to me. If I understand the patch correctly (make isn't my 
strongest point), it will just run the test with the last PYTHON in 
PYTHONS. Why was the test not put inside the do-done block?

--- a/lang/python/tests/Makefile.am
+++ b/lang/python/tests/Makefile.am
@@ -70,7 +70,8 @@ check: xcheck
  .PHONY: xcheck

  xcheck:    all
-    $(TESTS_ENVIRONMENT) $(PYTHON) $(srcdir)/run-tests.py \
+    for PYTHON in $(PYTHONS); do true; done; \
+    $(TESTS_ENVIRONMENT) $$PYTHON $(srcdir)/run-tests.py \
        --interpreters="$(PYTHONS)" --srcdir=$(srcdir) $(TESTFLAGS) \
        $(XTESTS)

Paul



More information about the pkg-gnupg-maint mailing list