From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id sG5nEB2faWRrfQEASxT56A (envelope-from ) for ; Sun, 21 May 2023 06:33:33 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id OBJQEB2faWQO1wAAauVa8A (envelope-from ) for ; Sun, 21 May 2023 06:33:33 +0200 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 A08BA1D182 for ; Sun, 21 May 2023 06:33:32 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1q0akV-0005NP-3o; Sun, 21 May 2023 00:32:51 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1q0akR-0005N6-QH for help-guix@gnu.org; Sun, 21 May 2023 00:32:48 -0400 Received: from wout5-smtp.messagingengine.com ([64.147.123.21]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1q0akP-0007bQ-SR for help-guix@gnu.org; Sun, 21 May 2023 00:32:47 -0400 Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailout.west.internal (Postfix) with ESMTP id A035732004E7; Sun, 21 May 2023 00:32:40 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute3.internal (MEProxy); Sun, 21 May 2023 00:32:40 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= philipmcgrath.com; h=cc:cc:content-type:content-type:date:date :from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:sender:subject:subject:to:to; s=fm1; t= 1684643560; x=1684729960; bh=H5WQak5M5Eiizj7w/dZky9CZ6Lreq9noB5q xqEsfejU=; b=ni/nnnxlat2s+7Hsw37pGLzcuOVhYxTraoJgOYi9Mf/O+uueB3+ Tnt0NFjqquvmKBAtvV/F5XC+9BQcD7+stg7quA6fcsYth+cFDTXGn8aLXsTxRh83 hBHiEDCaK3j12zQIZnOUVEC6Uw/njWpoee8bI8JDVaf1IiiDtSO7vAKFqmZbIXE4 +QsWK+038r4EQQ9XXh0hf1/j4wkBtJI0QGPc4S8ZoHL6bsUGuAhL+QKjAaNddtMq 8zdzDTryPnVNZb431drFSf6cfx99VS33R0CxXYXAKHBBrwsEuzSby+LvvMNchWIX G2ZDnN73X9ievuuR1yi3a4bpVlV4sOOwJfg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-type:content-type:date:date :feedback-id:feedback-id:from:from:in-reply-to:in-reply-to :message-id:mime-version:references:reply-to:sender:subject :subject:to:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm1; t=1684643560; x=1684729960; bh=H5WQak5M5Eiiz j7w/dZky9CZ6Lreq9noB5qxqEsfejU=; b=tWINcoCivKMG1/RurGPEE6LNgNnrD pJnDGnK9i39nQMSBNNbZ42/RUbPfSkBjsWLUMKvbfBGH1FBQ0C9q7V1YjNOLL2FS 6c+MlJbhfbfIp/n6ra5vBEO+wjgZR1BtdN0J8g4j4vXjoTxg2aHcR8c8HsjaMhke Jx66zEOgET1JpDAPqRhNGbsSm7PLxzVh89oMgP/YlwXLYfxayLMWxSerRDNxcz5x 4PJYvl9Pxr9ewv9g1nff3f0TlOHRZHHxK3R2hPcPkEWtcQyKeDxqynUZWiqM9YhN cU+GRLuQfTwJuV6wZgk4rGAbEnsQYTrL5tsjq6KaKAtlDAtWc57FcekfA== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvhedrfeeikedgkeefucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucenucfjughrpefhvfevufffkfgjfhggtgesghdtre ertddtvdenucfhrhhomheprfhhihhlihhpucfotgfirhgrthhhuceophhhihhlihhpsehp hhhilhhiphhmtghgrhgrthhhrdgtohhmqeenucggtffrrghtthgvrhhnpeffkeduueeute ejjefggfdvhfegffetgfekgedtteeitdekhfelueeludehleefhfenucevlhhushhtvghr ufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpehphhhilhhiphesphhhihhlih hpmhgtghhrrghthhdrtghomh X-ME-Proxy: Feedback-ID: i2b1146f3:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Sun, 21 May 2023 00:32:39 -0400 (EDT) From: Philip McGrath To: "(" , help-guix@gnu.org Cc: help-guix@gnu.org, Kyle Subject: Re: Alternatives to --emulate-fhs on foreign distros Date: Sun, 21 May 2023 00:32:33 -0400 Message-ID: <4762300.cEBGB3zze1@bastet> In-Reply-To: References: <87cz407482.fsf@posteo.net> <87fs8tztia.fsf@disroot.org> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart5155125.0VBMTVartN"; micalg="pgp-sha512"; protocol="application/pgp-signature" Received-SPF: pass client-ip=64.147.123.21; envelope-from=philip@philipmcgrath.com; helo=wout5-smtp.messagingengine.com X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-guix@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+larch=yhetil.org@gnu.org Sender: help-guix-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN ARC-Seal: i=1; s=key1; d=yhetil.org; t=1684643613; a=rsa-sha256; cv=none; b=s2e1Vixsh3M41iSWTzr6ur0Lnvx0/j3hz/5q2jii5JJs9TBPK2Ix3Bvxsr4+iQiv+qYrvX cTMXE4Jj1AMx45EFa0VB4kTNLpagevM0Sk0TaxiX0d8pvD0EIuIzflBt+e1lfCcVa9RNTX xX1iZXgemv47CzUdQHVgB73vm0PgDeFvBVMrypN7oTcJCnBnUvnhDxgtqmSx8QZx7MRuGT y+57J6iR3DRR1XJBDoUg4+LoH3GqRVH4riq5yonSMTLcS/jMlr8GjQG+oGj2zGYE2xxePK vMUGvg+EfUI8XeY7G7MRr6Gw8TH6g6FxYS2FY9Mfrp15HF9l1ZRp/1HlG1yLNw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=philipmcgrath.com header.s=fm1 header.b="ni/nnnxl"; dkim=fail ("headers rsa verify failed") header.d=messagingengine.com header.s=fm1 header.b=tWINcoCi; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1684643613; 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:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=H5WQak5M5Eiizj7w/dZky9CZ6Lreq9noB5qxqEsfejU=; b=ncAlv7n2emSbXZMYoL1BUB8oetsszgUOjxb0qwH/1Ko3m5UdQZ2bYFocXe65iNDuDXDJ5q ek9CGoQIGaoBDdRpCjCf0jO63FOf9T7VoV7XGXtJmCGO259V2EL7+o/7+E5eELrYZ7cvEs SDijcuz6uryQGgWA9QFH1aCBlfWAmC3zovlDGhx+o/3V9RZy9nAruinZ1jkfOKBx4zlDYT gHB2yiTQo3FuhGGka2h83x2pZaKw+aJ8AfjPwfQtUs/WTWLLFA2/2npERb665CJNJZUTN8 xtvG4q2DKvVQ4qmpWtfRMFfKDgXh+Qz7ka0uV5c8qsvATTtJ1pcHIvaaB2dqKA== X-Migadu-Spam-Score: -2.41 X-Spam-Score: -2.41 X-Migadu-Queue-Id: A08BA1D182 X-Migadu-Scanner: scn0.migadu.com Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=philipmcgrath.com header.s=fm1 header.b="ni/nnnxl"; dkim=fail ("headers rsa verify failed") header.d=messagingengine.com header.s=fm1 header.b=tWINcoCi; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org" X-TUID: P4ftPIih16G6 --nextPart5155125.0VBMTVartN Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii"; protected-headers="v1" From: Philip McGrath To: "(" , help-guix@gnu.org Cc: help-guix@gnu.org, Kyle Subject: Re: Alternatives to --emulate-fhs on foreign distros Date: Sun, 21 May 2023 00:32:33 -0400 Message-ID: <4762300.cEBGB3zze1@bastet> In-Reply-To: MIME-Version: 1.0 On Friday, April 21, 2023 2:35:30 PM EDT Kyle wrote: > Its kind of hard to test. The easiest I have managed has been to see that I > don't get the error with --emulate-fhs in my call, and the script that > fails starts with: > > #!/usr/bin/env txr > > To simplify things, I made a self contained txr script and wrapped that up > in my test R package. Sure enough, after building the package I checked its > store directory. Guix did not patch the path to the path to the env utility > in that case. Did you include txr as an input to your package? The 'patch-shebangs doesn't patch in an absolute path to an env utility: it rewrites shebangs to use the absolute path to the actual interpreter, in this case txr, and it only does so if the interpreter is actually present at build time. (A package source might contain scripts that aren't actually used, and they shouldn't create artificial dependencies.) --nextPart5155125.0VBMTVartN Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part. Content-Transfer-Encoding: 7Bit -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEE9GWrrNY3rqwUFVXPygNjjfo/HHoFAmRpnuEACgkQygNjjfo/ HHoF1g/+Ko5j/n9fA1p6C1GPd7x4E2AGN+ivyv7ui5ARCMXdk/cyhu3yNqO1E2kE nHiZudYeB2HPq0xeIT6GVdLJkGi7/EfmTE+bE3P6O+iXtqHqr+mml4Gcfpvk6x0T E5+hbv6VZKzgN7uODqoPyH5Pbxeef+AxchxRZKZ+V40V6k/5k8dqrRfCOEhLQ4qq oLJH9xC9GdYFqI+WnAePcR+aMbMdvVIWgg+AgTHOmhSACanQxW/jwf8t8Byf/R1T df5jk8MZ28qgPjcLYIWrPz87u5Yu93z5+/tDcVPVKh6KrBuRQhu13tpd2FLr9oH1 UgtrAe6Cyla1VcA8njDZE9ZR042R7fA+oJuqWXekNiCwNgOFXo5oLiIvX+qnutuu 6+WiDTdLciEZTgeS9M3YsXesl9oelB/V8Q9vi2Z9MDfciQQuJDQD1e+KxWMyhjz1 S++iHZJ4DPDbjMZMUFeppCVSp/r3R07pA4Rmqzlk+SnShzF1BoRjyexKqpNLFVsM cWCNvjSbyMXX20MYdj+j1h5iC4A1NoUFzITX50kiAUWzvgSdcLAWDhFi5D2N/DEY oiKH78ez2fCrstz7lMC27S5HhVuYrCHJylp/H1NEDpX0xDjJIEsVmvq5bJt7doht E7VSBb6Jp8P5ml3KHZzT2NnmLWRjIe+09xicZaqprh7H5N2Fi3g= =G8eq -----END PGP SIGNATURE----- --nextPart5155125.0VBMTVartN--