From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id 2CW5LwUkQGR+kAAASxT56A (envelope-from ) for ; Wed, 19 Apr 2023 19:25:25 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id sK7GLwUkQGRxOgEA9RJhRA (envelope-from ) for ; Wed, 19 Apr 2023 19:25:25 +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 82A5437C9A for ; Wed, 19 Apr 2023 19:25:25 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ppBY1-0002vX-A2; Wed, 19 Apr 2023 13:24:49 -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 1ppBXz-0002v3-NC for help-guix@gnu.org; Wed, 19 Apr 2023 13:24:47 -0400 Received: from mout02.posteo.de ([185.67.36.66]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ppBXx-0000hs-2X for help-guix@gnu.org; Wed, 19 Apr 2023 13:24:47 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout02.posteo.de (Postfix) with ESMTPS id 399612402A7 for ; Wed, 19 Apr 2023 19:24:27 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1681925067; bh=rycHq0KNLcI3cBYjoY5Exhgk5nfDwQFQTXF7s3vQFlc=; h=Date:From:To:CC:Subject:From; b=fYrvWEfzjYrQlk18VOGQxFcXj88L//iyi9t4zRyrQL1V+nMjGLK60U12CIlFmuc7y 0braLm6kdwhyeIdrNVEEExkCHfTu37SBitC3XCpsDuKnkTLS/cv7I22oYDsdkACxA3 o2sNMz6mPAN7+Z2nKDUHeUSjbHAwk5Kj5mOtTqMkMEBFALc4vaL++qptTGVgzV/r1S 7nHeTyqKWk5kYTTvCm9mGXFl2NadLh+VBr8ohqUKJVacJFEFjLzFfgy1rlod6o3pQN BHNToE/dBBKBhMQRiiWoIsbTXaB6hYV7t2TfrwLyNCX6cU8Se+klSr1qLiTTDjuG4d UOVknMmuGx61Q== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4Q1nhp1bbMz9rxV; Wed, 19 Apr 2023 19:24:26 +0200 (CEST) Date: Wed, 19 Apr 2023 17:24:18 +0000 From: Kyle To: "(" CC: help-guix@gnu.org Subject: Re: Alternatives to --emulate-fhs on foreign distros In-Reply-To: <875y9rzz1n.fsf@disroot.org> References: <87cz407482.fsf@posteo.net> <875y9rzz1n.fsf@disroot.org> Message-ID: <0D7145E8-6339-441A-9DD5-9E39960AE678@posteo.net> MIME-Version: 1.0 Received-SPF: pass client-ip=185.67.36.66; envelope-from=kyle@posteo.net; helo=mout02.posteo.de X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.4 / 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, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.29 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=1681925125; a=rsa-sha256; cv=none; b=RrT1AN9EsconXY320faEYhIwFFbqmejXdNkFp+EX2KigTVZRjG5MVrhv2y8Gl4Yw0XqMkj dwgdROzdBG5VlNP0LmX6WGO/KK5WLs5lzCmGwo5VBjVDbGQ2GNA7JBAfjmXw+9vqQ9kDH2 bIKbEWpKsXHjdkZpglmSD1D9bH/9KTWu9wrfP55aAOWWEMqm8h/bFbJhVP0We00kh3Ipf0 lyg66qpu2NPVWozWzWPU6Or/NUDh9jxNHrnHN7yTO7GH2zzf/IAMDwM14LknmcK8Q1t2v2 XZ2m0SU7WVqo9DcIfJuVzq3Aysqb32C6meHFg7TtU0xVf1nbRR5m0Sw7kl91eg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("body hash did not verify") header.d=posteo.net header.s=2017 header.b=fYrvWEfz; dmarc=fail reason="SPF not aligned (strict)" header.from=posteo.net (policy=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=1681925125; 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: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=6TKRRguV3jzYUfSm0AgOaeyLQcpGYrTYR53XFGH1NSw=; b=q/2bRbVi3FjreghG0LE3bz25X5NjHkaGYlIUPhGlhpjckw/o50EOwfOGeBh9JwsDdkQa8K PYh6xfoDUmtOJFppMOQUDaalPX5z8GTl8wCQqocwgTQSO753HSLtrhtjnvF7NKjbA/ZJVp ZobSct0HcMw9J3aY0b26pQTQpoXOcFWsXDXThNZfA5zY2MD54zJix19ZK1oVPbNgRkXbbf BQ15kZLG6SFTd6OCR4PTRC81ljD9P17oLvzQ6Mkbt96BapwXxq4HrQqy3t77ej14PIGVed 7Qq6/s+7+vfLmPgPW9+/PYFGFLXNiObryyLso2Y5M/PnbOAqSOZXgzX4LcEkLA== X-Migadu-Scanner: scn1.migadu.com X-Migadu-Spam-Score: -2.11 X-Spam-Score: -2.11 X-Migadu-Queue-Id: 82A5437C9A Authentication-Results: aspmx1.migadu.com; dkim=fail ("body hash did not verify") header.d=posteo.net header.s=2017 header.b=fYrvWEfz; dmarc=fail reason="SPF not aligned (strict)" header.from=posteo.net (policy=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: lxQnc0W1ginj The context is that my R package calls a bunch of shell scripts stored insi= de it=2E I am getting errors about /usr/bin/env not being available (e=2Eg= =2E bad interpreter: no such file or directory), so was thinking that their= shebangs were not getting patched=2E It's not clear to me how thorough Gui= x is being at finding these=2E=20 On April 19, 2023 11:10:44 AM EDT, "(" wrote: > >Kyle Andrews writes: >> The (many) shell scripts in my software depend on bashisms=2E In the co= de right >> now I typically use /usr/bin/env bash since I had read that was the mos= t >> portable way of referencing a shell=2E However, I really don't think I = have a good >> handle on what my choices are=2E Maybe the tedious solution of just typ= ing `bash >> script=2Esh' in all of the system calls referencing this scripts might = be the >> right approach in the long run? > >``/usr/bin/env bash'' will automatically be substituted for the path to >an available ``/bin/bash'' in the store=2E (If that's what you're talkin= g >about here; not sure what the context is exactly=2E)