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

Paul Gevers elbrus at debian.org
Tue Sep 6 20:49:40 BST 2022


Control: tags -1 pending

Hi,

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 will upload the attached NMU to DELAYED/5 shortly. The same content is 
available in MR6 on Salsa [1].

Paul

[1] https://salsa.debian.org/debian/gpgme/-/merge_requests/6
-------------- next part --------------
diff -Nru gpgme1.0-1.17.1/debian/changelog gpgme1.0-1.17.1/debian/changelog
--- gpgme1.0-1.17.1/debian/changelog	2022-06-15 19:02:47.000000000 +0200
+++ gpgme1.0-1.17.1/debian/changelog	2022-09-06 20:59:56.000000000 +0200
@@ -1,3 +1,11 @@
+gpgme1.0 (1.17.1-4.1) unstable; urgency=medium
+
+  * Non-maintainer upload
+  * fix FTBFS caused by missing PYTHON (Closes: #1015995)
+    (Original patch by Alexandre Ghiti)
+
+ -- Paul Gevers <elbrus at debian.org>  Tue, 06 Sep 2022 20:59:56 +0200
+
 gpgme1.0 (1.17.1-4) unstable; urgency=medium
 
   * release to unstable
diff -Nru gpgme1.0-1.17.1/debian/patches/0007-lang-python-tests-Fix-FTBFS-caused-by-missing-PYTHON.patch gpgme1.0-1.17.1/debian/patches/0007-lang-python-tests-Fix-FTBFS-caused-by-missing-PYTHON.patch
--- gpgme1.0-1.17.1/debian/patches/0007-lang-python-tests-Fix-FTBFS-caused-by-missing-PYTHON.patch	1970-01-01 01:00:00.000000000 +0100
+++ gpgme1.0-1.17.1/debian/patches/0007-lang-python-tests-Fix-FTBFS-caused-by-missing-PYTHON.patch	2022-09-06 20:59:56.000000000 +0200
@@ -0,0 +1,28 @@
+From b400fce0d3a8db7ed1038ca0645d513d28b88683 Mon Sep 17 00:00:00 2001
+From: Alexandre Ghiti <alexandre.ghiti at canonical.com>
+Date: Thu, 31 Mar 2022 14:09:55 +0200
+Subject: [PATCH] lang: python: tests: Fix FTBFS caused by missing PYTHON
+
+Updated by Paul Gevers <elbrus at debian.org>
+---
+ lang/python/tests/Makefile.am | 3 ++-
+ 1 file changed, 2 insertions(+), 1 deletion(-)
+
+Index: gpgme1.0/lang/python/tests/Makefile.am
+===================================================================
+--- gpgme1.0.orig/lang/python/tests/Makefile.am
++++ gpgme1.0/lang/python/tests/Makefile.am
+@@ -70,9 +70,11 @@ check: xcheck
+ .PHONY: xcheck
+ 
+ xcheck:	all
+-	$(TESTS_ENVIRONMENT) $(PYTHON) $(srcdir)/run-tests.py \
++	for PYTHON in $(PYTHONS); do \
++	$(TESTS_ENVIRONMENT) $$PYTHON $(srcdir)/run-tests.py \
+ 	  --interpreters="$(PYTHONS)" --srcdir=$(srcdir) $(TESTFLAGS) \
+-	  $(XTESTS)
++	  $(XTESTS) ; \
++	done
+ 
+ CLEANFILES = secring.gpg pubring.gpg pubring.kbx trustdb.gpg dirmngr.conf \
+ 	gpg-agent.conf pubring.kbx~ gpg.conf pubring.gpg~ \
diff -Nru gpgme1.0-1.17.1/debian/patches/series gpgme1.0-1.17.1/debian/patches/series
--- gpgme1.0-1.17.1/debian/patches/series	2022-05-21 08:02:25.000000000 +0200
+++ gpgme1.0-1.17.1/debian/patches/series	2022-09-06 20:55:08.000000000 +0200
@@ -3,3 +3,4 @@
 0003-Ship-python-examples-with-python3-in-shebang-line.patch
 0004-Avoid-the-hardcoded-list-of-Python-versions.patch
 0005-qt-Add-missing-include-of-config.h.patch
+0007-lang-python-tests-Fix-FTBFS-caused-by-missing-PYTHON.patch
-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_signature
Type: application/pgp-signature
Size: 495 bytes
Desc: OpenPGP digital signature
URL: <http://alioth-lists.debian.net/pipermail/pkg-gnupg-maint/attachments/20220906/8498bbbf/attachment.sig>


More information about the pkg-gnupg-maint mailing list