From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:55708) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dEtow-0000G5-1D for guix-patches@gnu.org; Sun, 28 May 2017 04:45:06 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dEtos-00053j-1s for guix-patches@gnu.org; Sun, 28 May 2017 04:45:06 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:38565) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dEtor-00053f-VZ for guix-patches@gnu.org; Sun, 28 May 2017 04:45:01 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1dEtor-00032V-Pp for guix-patches@gnu.org; Sun, 28 May 2017 04:45:01 -0400 Subject: bug#27113: [PATCH: core-updates] gnu: packages: openssl: delete test ELF files from tarball Resent-Message-ID: Received: from eggs.gnu.org ([2001:4830:134:3::10]:55637) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dEtoC-0000FR-FD for guix-patches@gnu.org; Sun, 28 May 2017 04:44:26 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dEto8-00050X-Fs for guix-patches@gnu.org; Sun, 28 May 2017 04:44:20 -0400 Received: from smtp55.i.mail.ru ([217.69.128.35]:42394) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1dEto8-00050O-3y for guix-patches@gnu.org; Sun, 28 May 2017 04:44:16 -0400 From: Sergei Trofimovich Date: Sun, 28 May 2017 09:44:07 +0100 Message-Id: <20170528084407.15909-1-slyfox@inbox.ru> 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: 27113@debbugs.gnu.org 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 #)'. * 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