Your message dated Tue, 06 Feb 2018 04:34:51 +0000
with message-id <e1eiuy3-000ith...@fasolo.debian.org>
and subject line Bug#887843: fixed in gnupg2 2.2.4-2
has caused the Debian Bug report #887843,
regarding gnupg2 randomly FTBFS on hppa architecture (wi
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)


-- 
887843: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=887843
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: gnupg2
Version: 2.2.4-1
Tags: patch

gnupg2 sometimes randomly fails to build from source.

The reason is, that the tests are started in parallel, which then generates
a system load of ~ 40 on the 4-way hppa machine (probably due to slow atomic
operations and slow fork() implementations). That then makes that the waiting
in the tests often times out and thus breaks the build.

The attached patch disables the parallel tests on hppa and thus fixes the 
problem.

While at it, the patch re-enables "-pie" again on hppa, now since "-pie" 
works on hppa.

Please apply for the next upload,
Thanks!
Helge
diff -up ./debian/rules.org ./debian/rules
--- ./debian/rules.org	2018-01-19 23:36:09.062043770 +0100
+++ ./debian/rules	2018-01-20 10:57:03.899610275 +0100
@@ -14,14 +14,23 @@ include /usr/share/dpkg/architecture.mk
 
 export DEB_BUILD_MAINT_OPTIONS = hardening=+all
 
-# avoid -pie for gpgv-static on hppa, kfreebsd-amd64, and x32
+# avoid -pie for gpgv-static on kfreebsd-amd64, and x32
 # platforms, which cannot support it by default:
-ifeq (,$(filter $(DEB_HOST_ARCH), hppa kfreebsd-amd64 x32))
+ifeq (,$(filter $(DEB_HOST_ARCH), kfreebsd-amd64 x32))
 GPGV_STATIC_HARDENING = "-pie"
 else
 GPGV_STATIC_HARDENING = ""
 endif
 
+# Avoid parallel tests on hppa architecture.
+# Parallel tests generates high load on machine which causes timeouts and thus
+# triggers unexpected failures.
+ifeq (,$(filter $(DEB_HOST_ARCH), hppa))
+AUTOTEST_FLAGS = "--parallel"
+else
+AUTOTEST_FLAGS = "--no-parallel"
+endif
+
 %:
 	dh $@ --with=autoreconf --builddirectory=build
 
@@ -68,7 +77,7 @@ override_dh_auto_build-indep:
 
 
 override_dh_auto_test:
-	dh_auto_test --builddirectory=build -- verbose=3 TESTFLAGS=--parallel
+	dh_auto_test --builddirectory=build -- verbose=3 TESTFLAGS=$(AUTOTEST_FLAGS)
 
 override_dh_shlibdeps:
 # Make ldap a recommends rather than a hard dependency.

--- End Message ---
--- Begin Message ---
Source: gnupg2
Source-Version: 2.2.4-2

We believe that the bug you reported is fixed in the latest version of
gnupg2, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 887...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Daniel Kahn Gillmor <d...@fifthhorseman.net> (supplier of updated gnupg2 
package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmas...@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Mon, 05 Feb 2018 23:07:21 -0500
Source: gnupg2
Binary: gpgconf gnupg-agent gpg-agent gpg-wks-server gpg-wks-client scdaemon 
gpgsm gpg gnupg gnupg2 gpgv gpgv2 dirmngr gpgv-udeb gpgv-static gpgv-win32 
gnupg-l10n gnupg-utils
Architecture: source
Version: 2.2.4-2
Distribution: unstable
Urgency: medium
Maintainer: Debian GnuPG Maintainers <pkg-gnupg-ma...@lists.alioth.debian.org>
Changed-By: Daniel Kahn Gillmor <d...@fifthhorseman.net>
Description:
 dirmngr    - GNU privacy guard - network certificate management service
 gnupg      - GNU privacy guard - a free PGP replacement
 gnupg-agent - GNU privacy guard - cryptographic agent (dummy transitional packa
 gnupg-l10n - GNU privacy guard - localization files
 gnupg-utils - GNU privacy guard - utility programs
 gnupg2     - GNU privacy guard - a free PGP replacement (dummy transitional pa
 gpg        - GNU Privacy Guard -- minimalist public key operations
 gpg-agent  - GNU privacy guard - cryptographic agent
 gpg-wks-client - GNU privacy guard - Web Key Service client
 gpg-wks-server - GNU privacy guard - Web Key Service server
 gpgconf    - GNU privacy guard - core configuration utilities
 gpgsm      - GNU privacy guard - S/MIME version
 gpgv       - GNU privacy guard - signature verification tool
 gpgv-static - minimal signature verification tool (static build)
 gpgv-udeb  - minimal signature verification tool (udeb)
 gpgv-win32 - GNU privacy guard - signature verification tool (win32 build)
 gpgv2      - GNU privacy guard - signature verification tool (dummy transition
 scdaemon   - GNU privacy guard - smart card support
Closes: 887843
Changes:
 gnupg2 (2.2.4-2) unstable; urgency=medium
 .
   [ Daniel Kahn Gillmor ]
   * move to debhelper 11
   * d/control: move Vcs to salsa
   * import more bugfixes and hardware from upstream
 .
   [ Helge Deller ]
   * Fix FTBFS on hppa (Closes: #887843)
Checksums-Sha1:
 1204e4344e53c5306fa53f2bba56be0438df3688 3679 gnupg2_2.2.4-2.dsc
 28bc5877902801deb3f5986e682e86ca2b626b6d 74181 gnupg2_2.2.4-2.debian.tar.bz2
 cc9813fe792d6908d6df8e7a80984a25e9d2d76f 19761 gnupg2_2.2.4-2_amd64.buildinfo
Checksums-Sha256:
 0335b39adc1560f4c1089509e1d3607f6015ded507115a81846e136b8a41efab 3679 
gnupg2_2.2.4-2.dsc
 c6ad96c7e4affc79815d8cbd3afc69f427d09b02ed89815772e55447ce102a11 74181 
gnupg2_2.2.4-2.debian.tar.bz2
 14657a408a792d286c73ec780e93396f17380764e2c9fa53cd02c47a8e1211e5 19761 
gnupg2_2.2.4-2_amd64.buildinfo
Files:
 38a40a11bf7a52362f47643215654e0f 3679 utils optional gnupg2_2.2.4-2.dsc
 4ed15af886ce9267d1361aa66db8c335 74181 utils optional 
gnupg2_2.2.4-2.debian.tar.bz2
 425fe39d7afe88a95c53051ec785e95d 19761 utils optional 
gnupg2_2.2.4-2_amd64.buildinfo

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEzicvlOwymaWlnoHjyu+ogyFnUzMFAlp5LIcACgkQyu+ogyFn
UzPDjg//QjNKKMTk26rEAM9cVdqVEp9kjWqULrALg7V1eiX+/BegvsGIrxv368M4
R55rXckk95ISfTj2AAe3Wz53iGqr+48WQ81ZDxZERtTSlHPS3lxDyKvqnbCWkgk6
za7bIjXUrHia8lLE+p4J0YwVzy9CDhuWsOyIOIYzkj0H9v9eaoDfIzIxKBvlCkO8
AvcnJz9hEw69fXy2pC38YsPnzSQs61G50WsUb/CjhZ+V5d8QU7FZ9Yy1pguhRToJ
Don0L7c7ouGFBg4jqXX01Gf0215Zs4XOgFzUXwSsZ7dvA0UyoSzE8kkf3dQwzYvH
uRK3+WhTbHnkDawFSfqMFU3ix0rv2dNx26e4EBoBB1Fndpc5/1io1pknJHZHTIVd
7e04q/aDxwxD477W98+iZXnk6m2U4gYw4HtHSPpIPB+/RvCfJ5fGobGcerSAHfjL
66s3x6M/uSo1/V76P9CSQldckdSMepGASW3JH0Q1nFDVIrky9IJMTPh0fmHhHcyi
Y60EtiaLUeTCxYNznGOd9GkrDb0yz0VVNBEmF26pmExq4EZ8dLIalxKLucAKkdXo
cFSNe7iIa4d5ZmsdB+q/PjIL0cX1t50lXY2CR4KpZ5T6SnWkUPnLIgpQGQkET9eH
WqpExhO11XYN3Xnr4UnKIDzEhgFrJaGKB7UYw2YaMethwLtHgEE=
=fQ82
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to