From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id YCP6CW58x2D2awAAgWs5BA (envelope-from ) for ; Mon, 14 Jun 2021 17:57:34 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id CIFsBW58x2AxGQAAbx9fmQ (envelope-from ) for ; Mon, 14 Jun 2021 15:57:34 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id A17DD2631A for ; Mon, 14 Jun 2021 17:57:33 +0200 (CEST) Received: from localhost ([::1]:57124 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lsoxw-0002VO-LC for larch@yhetil.org; Mon, 14 Jun 2021 11:57:32 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:54482) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lsof9-0000BF-Jg for guix-patches@gnu.org; Mon, 14 Jun 2021 11:38:07 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:36014) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lsof9-0007Ay-9C for guix-patches@gnu.org; Mon, 14 Jun 2021 11:38:07 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lsof9-0004FE-7Y for guix-patches@gnu.org; Mon, 14 Jun 2021 11:38:07 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#49025] [PATCH core-updates 21/37] openssl: Find bin/env when cross-compiling. Resent-From: Maxime Devos Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 14 Jun 2021 15:38:07 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 49025 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 49025@debbugs.gnu.org Received: via spool by 49025-submit@debbugs.gnu.org id=B49025.162368508516295 (code B ref 49025); Mon, 14 Jun 2021 15:38:07 +0000 Received: (at 49025) by debbugs.gnu.org; 14 Jun 2021 15:38:05 +0000 Received: from localhost ([127.0.0.1]:47556 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lsof7-0004Eg-Jz for submit@debbugs.gnu.org; Mon, 14 Jun 2021 11:38:05 -0400 Received: from michel.telenet-ops.be ([195.130.137.88]:41494) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lsof5-0004AR-Qa for 49025@debbugs.gnu.org; Mon, 14 Jun 2021 11:38:04 -0400 Received: from butterfly.local ([IPv6:2a02:1811:8c09:9d00:aaf1:9810:a0b8:a55d]) by michel.telenet-ops.be with bizsmtp id H3e32500C0mfAB4063e3xw; Mon, 14 Jun 2021 17:38:03 +0200 Message-ID: <4dd136f941566e2aec0e86121a40cb2d38952d38.camel@telenet.be> From: Maxime Devos Date: Mon, 14 Jun 2021 17:38:03 +0200 In-Reply-To: References: Content-Type: multipart/mixed; boundary="=-zehZEI7kwi329JaV4Q+P" User-Agent: Evolution 3.34.2 MIME-Version: 1.0 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=telenet.be; s=r21; t=1623685083; bh=uCLyFHAdGzsxq1oiuobOF0Zs8lLgSM/ioa9UNVIbOb8=; h=Subject:From:To:Date:In-Reply-To:References; b=jU69cewSYlwaauhp5cQK0SN6Ni6KtMK5W55hl5jfs9shF0Ww4w2tWQ9k2rC/iqPnc kpY6hcr7n5sFc8f2kpYFZ7ZXVAj3PH95B5kTUnxmAcyldAma5bjQ2RpwzVsmD0IPUf myXiAnb2uTwl5zl2LLzNpVv/9a8+x0SSZalNNCRD1G0koT2LWQ28umcpT5gPzDmq5A BbDASFUBMyy/18a9qJnFP3X+MEmIzZ+ILSh3tAtEzRbBSnfc8Z340MLG6fi50kBKol I/u8Sx8Tq8qRhy3kfsUCAVFIzNOvyMvpL4kzzHnULgXt0yKBecoLMPKY/0poFuKNR5 q7wmbSwVJYQOw== X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1623686253; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type:resent-cc:resent-from:resent-sender: resent-message-id:in-reply-to:in-reply-to:references:references: list-id:list-help:list-unsubscribe:list-subscribe:list-post: dkim-signature; bh=uCLyFHAdGzsxq1oiuobOF0Zs8lLgSM/ioa9UNVIbOb8=; b=tFji6tNMZdS2cOo/92kUHFdiigWAkJuOgCaZ8QwbLnuqX/m3ThhldArbm9HCdRslMS5qUU 4VOZDRfoH4pD15P/Wi3B0d6oXXldewE2dRU9NpE1iobAoD1v9mg9ahDuOUwf7/TEPWqkxN aKj/SosueB4aX14E46hYjByTNfs6HyKUv2OLF0bcyacshzTn/HVc6AesjEMlW54tV3oG64 eXzTx2BMaSdSo88Rid0/pj2EwYp92UytT+A/cQWLhwxCZma4tooTp/GCFsNXzx4VF4suvG 7ns6v3V0+kQk91E1FBkmZaU0LCfk/IcxwqKtW2JLYZtx25s/LY9brczvhrBerA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1623686253; a=rsa-sha256; cv=none; b=k2MOsmknm8cb9Zn6JOGdhOx8nXyAdCJV/X3JwC4u89Hb46QY3XxlIt86r2kSL+IwBkFlK5 s6mIkJXn+2NpzTwIqxJHWVqW2DqmLqccczCmEKAZ4ipUAugyXYZiQeXItFXjOYZ9dSd449 O6KAaSt3t4nGAtbzr5DxG8KN4wx1Z05BwaaEw3partwuXaNYNe4NacHJOvvv2K0dX2MPRW Ao1W5bO4wGzujZXAxF5vK2pbnJiI6IpcSuJOTKaUgNRzIxDMEnp0bOh4v0KvC9RhzR5ZYl 0erW6A7G65iJk4O6b5YYAUsNC0T96GygucjjpqN5t+qca5SSuo2SHtzHAv8sMA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=telenet.be header.s=r21 header.b=jU69cewS; dmarc=fail reason="SPF not aligned (relaxed)" header.from=telenet.be (policy=none); spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Spam-Score: -1.33 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=telenet.be header.s=r21 header.b=jU69cewS; dmarc=fail reason="SPF not aligned (relaxed)" header.from=telenet.be (policy=none); spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Queue-Id: A17DD2631A X-Spam-Score: -1.33 X-Migadu-Scanner: scn1.migadu.com X-TUID: gZf4CxGjmlN7 --=-zehZEI7kwi329JaV4Q+P Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit %build-inputs does not exist when cross-compiling, so find bin/env by another way. * (openssl)[arguments]<#:phases>{configure}: Don't use '%build-inputs', use 'which' instead. --- gnu/packages/tls.scm | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) --=-zehZEI7kwi329JaV4Q+P Content-Disposition: attachment; filename="0021-openssl-Find-bin-env-when-cross-compiling.patch" Content-Transfer-Encoding: 7bit Content-Type: text/x-patch; name="0021-openssl-Find-bin-env-when-cross-compiling.patch"; charset="us-ascii" diff --git a/gnu/packages/tls.scm b/gnu/packages/tls.scm index c178806805..a4e754e27f 100644 --- a/gnu/packages/tls.scm +++ b/gnu/packages/tls.scm @@ -376,10 +376,10 @@ required structures.") (let* ((out #$output) (lib (string-append out "/lib"))) ;; It's not a shebang so patch-source-shebangs misses it. + ;; Don't use (assoc-ref %build-inputs "coreutils"), as + ;; %build-inputs is not defined when cross-compiling. (substitute* "config" - (("/usr/bin/env") - (string-append (assoc-ref %build-inputs "coreutils") - "/bin/env"))) + (("/usr/bin/env") (which "env"))) (invoke #$@(if (%current-target-system) #~("./Configure") #~("./config")) --=-zehZEI7kwi329JaV4Q+P--