From: Sergei Trofimovich <slyfox@inbox.ru>
To: 27113@debbugs.gnu.org
Subject: bug#27113: [PATCH: core-updates] gnu: packages: openssl: delete test ELF files from tarball
Date: Sun, 28 May 2017 09:44:07 +0100 [thread overview]
Message-ID: <20170528084407.15909-1-slyfox@inbox.ru> (raw)
Otherwise building openssl fails: substitute can't decode binary ELF file:
ice-9/boot-9.scm:760:25: In procedure dispatch-exception:
ice-9/boot-9.scm:760:25: Throw to key `decoding-error' with args
`("peek-char" "input decoding error" 84 #<input: test/ssltest_old 15>)'.
* gnu/packages/tls.scm (openssl)[arguments]: delete test ELF files from tarball
---
gnu/packages/tls.scm | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/gnu/packages/tls.scm b/gnu/packages/tls.scm
index 1cd6a99dc..406672202 100644
--- a/gnu/packages/tls.scm
+++ b/gnu/packages/tls.scm
@@ -329,6 +329,10 @@ required structures.")
'patch-source-shebangs 'patch-tests
(lambda* (#:key inputs native-inputs #:allow-other-keys)
(let ((bash (assoc-ref (or native-inputs inputs) "bash")))
+ ;; remove ELF files. substitute can't read it as test file
+ (delete-file "test/ssltest_old")
+ (delete-file "test/v3ext")
+ (delete-file "test/x509aux")
(substitute* (find-files "test" ".*")
(("/bin/sh")
(string-append bash "/bin/sh"))
--
2.13.0
next reply other threads:[~2017-05-28 8:45 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-05-28 8:44 Sergei Trofimovich [this message]
2017-05-28 20:11 ` bug#27113: [PATCH: core-updates] gnu: packages: openssl: delete test ELF files from tarball Ludovic Courtès
2017-05-28 22:20 ` Sergei Trofimovich
2017-05-30 8:10 ` Ludovic Courtès
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20170528084407.15909-1-slyfox@inbox.ru \
--to=slyfox@inbox.ru \
--cc=27113@debbugs.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.