From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id KHhZFSxGDWI6vgAAgWs5BA (envelope-from ) for ; Wed, 16 Feb 2022 19:45:00 +0100 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id OJu/EixGDWI2mQAA9RJhRA (envelope-from ) for ; Wed, 16 Feb 2022 19:45:00 +0100 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 E7FE92E757 for ; Wed, 16 Feb 2022 19:44:59 +0100 (CET) Received: from localhost ([::1]:34620 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nKPIR-0003nQ-0Z for larch@yhetil.org; Wed, 16 Feb 2022 13:44:59 -0500 Received: from eggs.gnu.org ([209.51.188.92]:42222) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nKPHX-0003n5-Ha for guix-patches@gnu.org; Wed, 16 Feb 2022 13:44:03 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:55527) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nKPHV-0003ct-T0 for guix-patches@gnu.org; Wed, 16 Feb 2022 13:44:03 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nKPHV-00061k-Ie for guix-patches@gnu.org; Wed, 16 Feb 2022 13:44:01 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#54021] [PATCH] Add rhino javascript package Resent-From: Maxime Devos Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 16 Feb 2022 18:44:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 54021 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Frank Pursel Cc: 54021@debbugs.gnu.org Received: via spool by 54021-submit@debbugs.gnu.org id=B54021.164503701023123 (code B ref 54021); Wed, 16 Feb 2022 18:44:01 +0000 Received: (at 54021) by debbugs.gnu.org; 16 Feb 2022 18:43:30 +0000 Received: from localhost ([127.0.0.1]:49424 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nKPH0-00060s-2K for submit@debbugs.gnu.org; Wed, 16 Feb 2022 13:43:30 -0500 Received: from andre.telenet-ops.be ([195.130.132.53]:41778) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nKPGx-00060j-Py for 54021@debbugs.gnu.org; Wed, 16 Feb 2022 13:43:28 -0500 Received: from ptr-bvsjgyhxw7psv60dyze.18120a2.ip6.access.telenet.be ([IPv6:2a02:1811:8c09:9d00:3c5f:2eff:feb0:ba5a]) by andre.telenet-ops.be with bizsmtp id vujR2600F4UW6Th01ujRRC; Wed, 16 Feb 2022 19:43:25 +0100 Message-ID: From: Maxime Devos Date: Wed, 16 Feb 2022 19:43:21 +0100 In-Reply-To: References: <87pmnnr2qq.fsf@gmail.com> <5ad705f1e2d97a07057aca0945de8ce18c145662.camel@telenet.be> Content-Type: multipart/signed; micalg="pgp-sha512"; protocol="application/pgp-signature"; boundary="=-P7TtTeG0Rm7I417tdT68" User-Agent: Evolution 3.38.3-1 MIME-Version: 1.0 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=telenet.be; s=r22; t=1645037005; bh=gDoIP435JWB0jQ/8s9A2nIiNygOJ06Xnu2NvsUyErZ8=; h=Subject:From:To:Cc:Date:In-Reply-To:References; b=Um3Q+LF9+T0Dk6kACQGWJVogWboZdLqgjfMwwCFb4EnhhTz8QDjF9J6I11ywzFoUH FXqYnguSfH5DqhL+0Hl/wEqsrc0lh+QK7gfEu63LgGMqTbcR5595YEIisL4U5Je5c1 G9YfIzY3tia/iR5gKaz+IOdroj+o5zYOQ2m2IPmnPMhXDtkWoNUA17hgghdVQoomIk FdlhOvpPVZC6t/jYfAMKDcDOBjZVt/BSuCP7TxMIeUEFn3px1mf6W8ROK5mk7LjFdD lLC1T0hkLNmgI4WxBmM5AN9Ny2Z36cuwBtQ+Ag/81aXzQ5IMLZUkz3RcHGAaLCN7Iy ZV27up/dBgS/A== 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 X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1645037099; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc: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=gDoIP435JWB0jQ/8s9A2nIiNygOJ06Xnu2NvsUyErZ8=; b=TeY2QolyDJ2/lZXdoDgnkjItUd5Ja0zHlB3wJlqNFU4GzcUA3gEH1D0Y8YggXjlSCR0hQM vnq0Yr9vs1oUk+luWnvz2pCkYV669T9WvZbERApA72vphJ8kgCgWTt8XkwJfjCnYNXwSTk tIP9RQ+WgbHrtp/9D8TIvGVcU0iDeJ9QfA0sTe6nyyhEoZtf1KiwZNzZESHkzh9eZ6uem0 yW2D1uTduPHnFezg2VB23nrsJgkcCSJY8O4gdMgksvNe4o5IGv0F6pRcyCYFoqV9koRWzZ syu/I71ub/DgiY4wqZ+lmPB6lvSpsZC0uISTuHKyxd57WEqnK27NyNkY4WinCw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1645037100; a=rsa-sha256; cv=none; b=fKPrTxPj+rGmU2qXdYBdh7e/uP4qlTxas75VGWNdaOIV4ASIhMtL3HCwdzrWjCPeLCsrbG fb/Sc+EA9kahZpkyxHQxE1NRweE6C+jIeFvn+j1MQSXCySGm7x2D5lq+OwODM8rZRXk9oD SiwvfNf1j5RQTw69HhxT/oFN5QqzGPE+3j3/je2ss2YY+y35pumqptmRY53Vc5lmhEf2bk Q7WsSYXPmqYvn6enflK8ARLU5k1k0DdyeZCzIiBA7Q0ARRVuLyQ3201p3A7IN8jBvjRZdW JiHRPAI8IbVm28lr+PJkb15R+/uRiDzLlaPnHy+4mZRFLD9QA3kiP80yeD4FOw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=telenet.be header.s=r22 header.b=Um3Q+LF9; dmarc=fail reason="SPF not aligned (relaxed)" header.from=telenet.be (policy=none); spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -4.23 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=telenet.be header.s=r22 header.b=Um3Q+LF9; dmarc=fail reason="SPF not aligned (relaxed)" header.from=telenet.be (policy=none); spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: E7FE92E757 X-Spam-Score: -4.23 X-Migadu-Scanner: scn1.migadu.com X-TUID: sWE0l06hxoHa --=-P7TtTeG0Rm7I417tdT68 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Frank Pursel schreef op wo 16-02-2022 om 18:36 [+0000]: > I did not understand the bash-minimal comment.=C2=A0 Are you saying that > (search-input-file inputs "/bin/bash") will not work in the way I > intended 'bash-minimal' (*) is an implicit native-input of ant-build-system. When compiling natively, inputs and native-inputs are merged together into 'inputs'. As such, bash-minimal (and hence "/bin/bash") is contained in 'inputs' when compiling natively. So if you compiled natively (most likely), then using (search-input-file inputs "/bin/bash") this succeeds. However, if cross-compiling with "guix build --target=3Daarch64-linux- gnu" or the like (**), then the native-inputs and inputs are kept separate, so 'inputs' would not contain bash, (search-input-file ...) would fail by raising a &search-error exception and the build would therefore fail. This can be resolved by adding the 'bash-minimal' package to 'inputs'. (*) Actually a variant of 'bash-minimal' but that does not matter here. (**) This won't work _yet_ because 'ant-build-system' does not support cross-compilation yet. Greetings, Maxime. --=-P7TtTeG0Rm7I417tdT68 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- iI0EABYKADUWIQTB8z7iDFKP233XAR9J4+4iGRcl7gUCYg1FyRccbWF4aW1lZGV2 b3NAdGVsZW5ldC5iZQAKCRBJ4+4iGRcl7j6jAP46WOfj4twRGdOSUdyLkAYUtysE 9FyfZqDKyfWdqmtLOAD+I5io7kCrQ/WBSK8uFEvQNwi0WHkhK6Dp17LwWJ35dwA= =nFDa -----END PGP SIGNATURE----- --=-P7TtTeG0Rm7I417tdT68--