From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id oiN3IGbgFGQATwAASxT56A (envelope-from ) for ; Fri, 17 Mar 2023 22:49:26 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id IM0cHmbgFGSdpAAAauVa8A (envelope-from ) for ; Fri, 17 Mar 2023 22:49:26 +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 2376671B6 for ; Fri, 17 Mar 2023 22:49:26 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pdHwe-0007bv-2A; Fri, 17 Mar 2023 17:49:04 -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 1pdHwc-0007bf-PO for bug-guix@gnu.org; Fri, 17 Mar 2023 17:49:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pdHwc-0003sY-GW for bug-guix@gnu.org; Fri, 17 Mar 2023 17:49:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pdHwc-0001sm-2t for bug-guix@gnu.org; Fri, 17 Mar 2023 17:49:02 -0400 Subject: bug#62181: [PATCH v2 1/2] gnu: gnulib: Reset the shebangs. Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-To: bug-guix@gnu.org Resent-Date: Fri, 17 Mar 2023 21:49:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: cc-closed 62181 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Vivien Kraus Cc: 62181-done@debbugs.gnu.org Mail-Followup-To: 62181@debbugs.gnu.org, ludo@gnu.org, ludo@gnu.org Received: via spool by 62181-done@debbugs.gnu.org id=D62181.16790897057166 (code D ref 62181); Fri, 17 Mar 2023 21:49:01 +0000 Received: (at 62181-done) by debbugs.gnu.org; 17 Mar 2023 21:48:25 +0000 Received: from localhost ([127.0.0.1]:45798 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pdHvz-0001rQ-Pa for submit@debbugs.gnu.org; Fri, 17 Mar 2023 17:48:25 -0400 Received: from eggs.gnu.org ([209.51.188.92]:53568) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pdHvw-0001qZ-BA for 62181-done@debbugs.gnu.org; Fri, 17 Mar 2023 17:48:22 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pdHvr-0003fC-4n; Fri, 17 Mar 2023 17:48:15 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:Date:References:In-Reply-To:Subject:To: From; bh=RX98scRltnTEx0zlEKZD6DpBQJkT7RihJCU2V2ghO/k=; b=ghiW8KHh3hbTgJ6SAJPW L/fn1bCwo7hZibjatO3e02dgeTa9PfTG5/jvyp64xJ9EkhEh894oD9TuzqiAxnupVei6F16zix3VP L+M4YeFVQy5OoMzFvBJrurj/NcHbigHTAh4rNmVEjRzs2MaTajM8NJjCtaCu5xXHx33ovluvdc8gC hdSwEb7j6O59F5s6gRofTOKmu2c42mmS633sQnwsmrUs5qTxU9kBsn3ArwuBiV+TbuC1mg0xJdv/i HZVBNJ0HXxj++MDDkrB57iZjJMu07TTRUOETL7IjloihsNwHJE0hcp0So4GwMHPcKgKKVgQEAydxk Ibm1yyAKCSybug==; Received: from 91-160-117-201.subs.proxad.net ([91.160.117.201] helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pdHvp-0006sM-SP; Fri, 17 Mar 2023 17:48:14 -0400 From: Ludovic =?UTF-8?Q?Court=C3=A8s?= In-Reply-To: <6f1b6d6cfd135b7aa9c254b15b5aa8b04deee135.1678995685.git.vivien@planete-kraus.eu> (Vivien Kraus's message of "Tue, 14 Mar 2023 09:58:34 +0100") References: <6f1b6d6cfd135b7aa9c254b15b5aa8b04deee135.1678995685.git.vivien@planete-kraus.eu> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux) X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: Septidi 27 =?UTF-8?Q?Vent=C3=B4se?= an 231 de la =?UTF-8?Q?R=C3=A9volution,?= jour de la Sylvie X-PGP-Key-ID: 0x090B11993D9AEBB5 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4 0CFB 090B 1199 3D9A EBB5 X-OS: x86_64-pc-linux-gnu Date: Fri, 17 Mar 2023 22:48:12 +0100 Message-ID: <87fsa3vylf.fsf@gnu.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: bug-guix-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gnu.org header.s=fencepost-gnu-org header.b=ghiW8KHh; spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=gnu.org ARC-Seal: i=1; s=key1; d=yhetil.org; t=1679089766; a=rsa-sha256; cv=none; b=V7ND180TCe8a7NLSPLENwIcu45mgjw1VAFkLO82aK2+QjnhIZ4AICtSI/c87IUZRny9zfP 7NDx48c1DnHHMWli5/NlKrOfYwnRCRNRSzYzyD7S3kWiS/TYHaicByHpzRPlHsLQmmRCI9 EY4RgpqJe38H9nWD1Ge48jc+VqNqPuktkUDYbwW8DEZ93lrXdRAOm1KEKPh3G5Q2MBtZJl JfNOjYvxck1p8d/TrPIpq9DJrzo9FxzDa0ibtYhP/V0k1Ur+lB7NQKSFQjH3o2HjJi7SSB oxER8EXYUm8Qtl6v5plA5ZyIat45DWEJBU0hSj7jPUgF1fIjS91wxh6OKv6+wA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1679089766; 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:resent-to: 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=RX98scRltnTEx0zlEKZD6DpBQJkT7RihJCU2V2ghO/k=; b=HRIZ7Z7PnSz7CoYm0V5pG7aq3L9ZoasEjxShIkaQOuJvU1CY58tCMbujNspis6ey89o2nm Ccwn1GpR72df3TlxE5n/vsMQ+XKVJ6axNzdrvzP5YTUwcmjAdROtD4cHQDT1UvrkMLxXht +lwUBgO/rsAmZMJsbppcWE6TO43/kbqKcUMXylfqAO9A+1UUTj3sa2p8JDd11AUHjCFodQ eLAjcCg7ALT0H+FBwLouCQOth8NImJ0rbjN7D5F8nGJbfr1kqtgVAZP/b54HdR5qZAO/oC AGLDQ0rJGik3Rj3xWGm26XIBuhEFKhEN9l5IriuP8dEwXWFwLGkl2EXGrkkRxQ== X-Migadu-Spam-Score: -2.65 X-Spam-Score: -2.65 X-Migadu-Queue-Id: 2376671B6 X-Migadu-Scanner: scn1.migadu.com Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gnu.org header.s=fencepost-gnu-org header.b=ghiW8KHh; spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=gnu.org X-TUID: rhjq9FKTwFAv Hi, Vivien Kraus skribis: > * gnu/packages/build-tools.scm (gnulib) [phase reset-shebangs]: After > installation, rewrite the /gnu/store shebangs in the distributed build-aux > files. > [inputs, native-inputs]: Add bash-minimal. > [phase let-autogen-execute-gnulib-tool]: Specify a shell to execute > gnulib-tool from autogen.sh. Applied with tweaks to the commit log. > + (substitute* (find-files > + (string-append #$output "/src/gnulib") > + (lambda (fname stat) > + (and (not (string-suffix? "/lib/javaversio= n.class" fname)) > + (not (string-suffix? ".mo" fname))))) This leaves the shebang on =E2=80=98bin/gnulib-tool=E2=80=99, such that =E2= =80=98gnulib=E2=80=99 keeps a reference to =E2=80=98bash-minimal=E2=80=99 (and nothing else). It=E2=80=99s not even convenient though because=E2=80=A6 > * gnu/packages/tls.scm (guile-gnutls) [phase patch-more-shebangs]: Fix how > autogen.sh invokes gnulib-tool, and how configure.ac invokes git-version-= gen, > so as not to rely on shebangs. [...] > + (substitute* "autogen.sh" > + (("\\$gnulib_tool \\$gnulib_tool_options") > + "sh $gnulib_tool $gnulib_tool_options")) =E2=80=A6 this is still needed: GNULIB/bin/gnulib-tool, which has a correct shebang, is *not* used, and instead GNULIB/src/gnulib/gnulib-tool is used. Should we remove GNULIB/bin/gnulib-tool? Or should we remove the other one? Anyway, applied as well, thank you! Ludo=E2=80=99.