guix-commits
[Top][All Lists]
Advanced

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

01/01: gnu: libzip: Fix building on 32-bit architectures.


From: Efraim Flashner
Subject: 01/01: gnu: libzip: Fix building on 32-bit architectures.
Date: Fri, 15 Sep 2017 08:19:59 -0400 (EDT)

efraim pushed a commit to branch master
in repository guix.

commit 56bf42fb4078e383aff6446d5fb918f24807c6cd
Author: Efraim Flashner <address@hidden>
Date:   Fri Sep 15 15:18:43 2017 +0300

    gnu: libzip: Fix building on 32-bit architectures.
    
    * gnu/packages/compression.scm (libzip)[arguments]: New field, add phase
    to skip tests which are known to have issues on 32-bit architectures.
---
 gnu/packages/compression.scm | 10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git a/gnu/packages/compression.scm b/gnu/packages/compression.scm
index 499c13a..7eeeaf3 100644
--- a/gnu/packages/compression.scm
+++ b/gnu/packages/compression.scm
@@ -1550,6 +1550,16 @@ manipulate, read, and write Zip archive files.")
               (sha256
                (base32
                 "0wykw0q9dwdzx0gssi2dpgckx9ggr2spzc1amjnff6wi6kz6x4xa"))))
+    (arguments
+     '(#:phases
+       (modify-phases %standard-phases
+         (add-after 'build 'remove-failing-tests
+           ;; These tests are known to fail on 32-bit architectures.
+           ;; see thread: 
https://nih.at/listarchive/libzip-discuss/msg00713.html
+           (lambda _
+             (substitute* "regress/Makefile"
+               (("encryption-nonrandom") "#encryption-nonrandom"))
+             #t)))))
     (native-inputs
      `(("perl" ,perl)))
     (inputs



reply via email to

[Prev in Thread] Current Thread [Next in Thread]