From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:55741) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1d7KeY-0004KJ-VG for guix-patches@gnu.org; Sun, 07 May 2017 07:47:08 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1d7KeV-0007yF-1r for guix-patches@gnu.org; Sun, 07 May 2017 07:47:07 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:60914) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1d7KeU-0007yB-UO for guix-patches@gnu.org; Sun, 07 May 2017 07:47:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1d7KeU-0001GE-MC for guix-patches@gnu.org; Sun, 07 May 2017 07:47:02 -0400 Subject: bug#26814: [PATCH] gnu: par2cmdline: Update to 0.7.0 Resent-Message-ID: Received: from eggs.gnu.org ([2001:4830:134:3::10]:55530) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1d7Kdl-0003ys-55 for guix-patches@gnu.org; Sun, 07 May 2017 07:46:18 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1d7Kdh-0007l0-8J for guix-patches@gnu.org; Sun, 07 May 2017 07:46:17 -0400 Received: from lb1.openmailbox.org ([5.79.108.160]:55016 helo=mail.openmailbox.org) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1d7Kdh-0007kL-0Y for guix-patches@gnu.org; Sun, 07 May 2017 07:46:13 -0400 From: Brendan Tildesley Message-ID: Date: Sun, 7 May 2017 21:45:58 +1000 MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="------------BF4FD9960491CBB7E6513951" List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: 26814@debbugs.gnu.org This is a multi-part message in MIME format. --------------BF4FD9960491CBB7E6513951 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit --------------BF4FD9960491CBB7E6513951 Content-Type: text/x-patch; name="0001-gnu-par2cmdline-Update-to-0.7.0.patch" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="0001-gnu-par2cmdline-Update-to-0.7.0.patch" >From 49b620c163e4d23f1b2415d2ee254fd87e12f2f2 Mon Sep 17 00:00:00 2001 From: Brendan Tildesley Date: Sun, 7 May 2017 18:09:57 +1000 Subject: [PATCH] gnu: par2cmdline: Update to 0.7.0 * gnu/packages/backup.scm (par2cmdline): Update to 0.7.0 [source]: Remove old test fix incorporated upstream. [arguments]: Add workaround for parallel test bug. --- gnu/packages/backup.scm | 18 +++++++----------- 1 file changed, 7 insertions(+), 11 deletions(-) diff --git a/gnu/packages/backup.scm b/gnu/packages/backup.scm index f9c0a22a0..547ec8e30 100644 --- a/gnu/packages/backup.scm +++ b/gnu/packages/backup.scm @@ -117,7 +117,7 @@ spying and/or modification by the server.") (define-public par2cmdline (package (name "par2cmdline") - (version "0.6.14") + (version "0.7.0") (source (origin (method url-fetch) (uri (string-append "https://github.com/Parchive/par2cmdline/archive/v" @@ -125,15 +125,7 @@ spying and/or modification by the server.") (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 - "0ykfb7ar0x0flfdgf6i8xphyv5b93dalbjj2jb6hx7sdjax33n1g")) - ;; This test merely needs a file to test recovery on, but - ;; /dev/random is essentially /dev/urandom plus minimum entropy - ;; locking, making the test hang indefinitely. This change is - ;; already upstream: remove on upgrade to future 0.6.15. - ;; https://github.com/Parchive/par2cmdline/commit/27723a678f780da82c79b98592592009c779a4fb - (modules '((guix build utils))) - (snippet - '(substitute* "tests/test20" (("if=/dev/random") "if=/dev/urandom"))))) + "1m9vnv3pg0nds47raq2rd2kfpaad1sc10hv40hll5byksqlbfxyq")))) (native-inputs `(("automake" ,automake) ("autoconf" ,autoconf))) @@ -142,7 +134,11 @@ spying and/or modification by the server.") `(#:phases (modify-phases %standard-phases (add-after 'unpack 'autoreconf - (lambda _ (zero? (system* "autoreconf" "-vfi"))))))) + (lambda _ (zero? (system* "autoreconf" "-vfi")))) + ;; parallel test22 fails: https://github.com/Parchive/par2cmdline/issues/96 + (replace 'check + (lambda _ + (zero? (system* "make" "-j1" "check"))))))) (synopsis "File verification and repair tool") (description "Par2cmdline is a tool for generating RAID-like PAR2 recovery files using Reed-Solomon coding. PAR2 files can be stored along side backups -- 2.12.2 --------------BF4FD9960491CBB7E6513951--