me
/
guix
Archived
1
0
Fork 0

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.
master
Efraim Flashner 2017-09-15 15:18:43 +03:00
parent daca2ec4bb
commit 56bf42fb40
No known key found for this signature in database
GPG Key ID: 41AAE7DCCA3D8351
1 changed files with 10 additions and 0 deletions

View File

@ -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