[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#901646: [gnupg2] Please add support for riscv64



Package: gnupg2
Version: 2.2.8-1
Severity: normal
X-Debbugs-CC: debian-riscv@lists.debian.org
User: debian-riscv@lists.debian.org
Usertags: riscv64
Tags: patch

Dear gnupg2 maintainers,

please apply the attached patch to gnupg2 to fix its FTBFS in the new
architecture riscv64. If the tests are ran in parallel, some of them
randomly fail, probably because of the total load causing some timeout
miss. The attached patch disables running tests in parallel on riscv64,
in the same way as it already happens on hppa.

Thanks for your help, Giovanni.
-- 
Giovanni Mascellani <g.mascellani@gmail.com>
Postdoc researcher - Université Libre de Bruxelles
diff -Nru gnupg2-2.2.8/debian/changelog gnupg2-2.2.8/debian/changelog
--- gnupg2-2.2.8/debian/changelog	2018-06-08 16:08:36.000000000 +0200
+++ gnupg2-2.2.8/debian/changelog	2018-06-15 07:44:54.000000000 +0200
@@ -1,3 +1,10 @@
+gnupg2 (2.2.8-1.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix build on riscv64, by avoid running tests in parallel.
+
+ -- Giovanni Mascellani <gio@debian.org>  Fri, 15 Jun 2018 07:44:54 +0200
+
 gnupg2 (2.2.8-1) unstable; urgency=medium
 
   * New upstream release
diff -Nru gnupg2-2.2.8/debian/rules gnupg2-2.2.8/debian/rules
--- gnupg2-2.2.8/debian/rules	2018-06-08 16:06:39.000000000 +0200
+++ gnupg2-2.2.8/debian/rules	2018-06-15 07:26:40.000000000 +0200
@@ -22,10 +22,10 @@
 GPGV_STATIC_HARDENING = ""
 endif
 
-# Avoid parallel tests on hppa architecture.
+# Avoid parallel tests on hppa and riscv64 architecture.
 # Parallel tests generates high load on machine which causes timeouts and thus
 # triggers unexpected failures.
-ifeq (,$(filter $(DEB_HOST_ARCH), hppa))
+ifeq (,$(filter $(DEB_HOST_ARCH), hppa riscv64))
 AUTOTEST_FLAGS = "--parallel"
 else
 AUTOTEST_FLAGS = "--no-parallel"

Attachment: signature.asc
Description: OpenPGP digital signature


Reply to: