diff options
author | Efraim Flashner <efraim@flashner.co.il> | 2017-09-15 15:18:43 +0300 |
---|---|---|
committer | Efraim Flashner <efraim@flashner.co.il> | 2017-09-15 15:19:42 +0300 |
commit | 56bf42fb4078e383aff6446d5fb918f24807c6cd (patch) | |
tree | 60ae00400d5dc12ab38e61d47c19c5fde8d25f75 /gnu/packages/compression.scm | |
parent | daca2ec4bb27de2ffc2810ce3528cbd471bf1608 (diff) | |
download | patches-56bf42fb4078e383aff6446d5fb918f24807c6cd.tar patches-56bf42fb4078e383aff6446d5fb918f24807c6cd.tar.gz |
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.
Diffstat (limited to 'gnu/packages/compression.scm')
-rw-r--r-- | gnu/packages/compression.scm | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/gnu/packages/compression.scm b/gnu/packages/compression.scm index 499c13a291..7eeeaf362d 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 |