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 ms5.migadu.com with LMTPS id wLsqJ3SmymJsAgEAbAwnHQ (envelope-from ) for ; Sun, 10 Jul 2022 12:14:12 +0200 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 SAQ3J3SmymJ6DQAA9RJhRA (envelope-from ) for ; Sun, 10 Jul 2022 12:14:12 +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 2C7F21D278 for ; Sun, 10 Jul 2022 12:14:12 +0200 (CEST) Received: from localhost ([::1]:58428 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oATx4-0002DS-TM for larch@yhetil.org; Sun, 10 Jul 2022 06:14:10 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:50510) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oATww-0002DI-PC for bug-guix@gnu.org; Sun, 10 Jul 2022 06:14:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:42369) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oATww-0002Wp-HB for bug-guix@gnu.org; Sun, 10 Jul 2022 06:14:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oATww-0004un-9F for bug-guix@gnu.org; Sun, 10 Jul 2022 06:14:02 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#40641: Building from git breaks when /bin/sh isn't bash Resent-From: elaexuotee@wilsonb.com Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Sun, 10 Jul 2022 10:14:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 40641 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Maxim Cournoyer Cc: 40641@debbugs.gnu.org, "pelzflorian \(Florian Pelz\)" Received: via spool by 40641-submit@debbugs.gnu.org id=B40641.165744801618852 (code B ref 40641); Sun, 10 Jul 2022 10:14:02 +0000 Received: (at 40641) by debbugs.gnu.org; 10 Jul 2022 10:13:36 +0000 Received: from localhost ([127.0.0.1]:36266 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oATwW-0004u0-Cu for submit@debbugs.gnu.org; Sun, 10 Jul 2022 06:13:36 -0400 Received: from m42-5.mailgun.net ([69.72.42.5]:14344) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oATwU-0004tj-Nf for 40641@debbugs.gnu.org; Sun, 10 Jul 2022 06:13:35 -0400 DKIM-Signature: a=rsa-sha256; v=1; c=relaxed/relaxed; d=mg.wilsonb.com; q=dns/txt; s=krs; t=1657448014; x=1657656814; h=Content-Transfer-Encoding: Content-Type: MIME-Version: Message-Id: In-Reply-To: References: From: From: Subject: Subject: Cc: To: To: Date: Sender: Sender; bh=xqq2S6JfxGmqjx4PGmeZnQxuqPMSkmzZsEsEbA/Iwl4=; b=tL+Zb0Qqt4RjfDxAcg/tPynjWx2ZI1c/aWEJUGoD3XTpU8ULIvT/Z4CtdMkqwRYmEsCMtdc9 l3/59J+KB+dcZ+ezcEDKQdamf8T8hZ5gEHq0CicfKN8IMDpgKZMpOg1W3doYVBrzakRkVoEK cjxsjokff5Duk2SEy6UxPnmRH0cmxLmwEfw8PpVPSZtnsHOYDFq/6ww5WUrE4t22drsFGRfp RDGG/LU/dX0H0gM9Gh6LzyLUGPzNrqXFzhFoH5xM8IFBbFkaT/MFq4u2lA6CRmsE0Ml6b+8/ omlFmE+7ZgOtCfrVOPKFev8ieiWlIHf2oJ42Z/HCeR3DDpSxJyKPPA== X-Mailgun-Sending-Ip: 69.72.42.5 X-Mailgun-Sid: WyIxYmE0NCIsICI0MDY0MUBkZWJidWdzLmdudS5vcmciLCAiMDg1NDdhIl0= Received: from wilsonb.com (wilsonb.com [104.199.203.42]) by f72a003d2efe with SMTP id 62caa649be79400f6724c915 (version=TLS1.3, cipher=TLS_AES_128_GCM_SHA256); Sun, 10 Jul 2022 10:13:29 GMT Received: from localhost (aj099096.dynamic.ppp.asahi-net.or.jp [220.150.99.96]) by wilsonb.com (Postfix) with ESMTPSA id 06CEBA2938; Sun, 10 Jul 2022 10:13:26 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=wilsonb.com; s=201703; t=1657448007; bh=xqq2S6JfxGmqjx4PGmeZnQxuqPMSkmzZsEsEbA/Iwl4=; h=Date:To:Cc:Subject:From:References:In-Reply-To:From; b=oUyW3ZAPLWXMX4lMJ/hgHbZRv30R9kiNDZjq4JqyANRZ4/OP8P/PoF1yPdmeeim4d nT7erbctDni/Egnm5JRZJjKwcvqp5ERhbOdJi+cQddZYl7PNutNqaFNjMrXM/MuaRC NM7Zeh0ONDyAosD6gFOONXsDbZc7MVK7A8CkC1nfUTo1McV+d6Sd5toT6sQTEsgR+2 wBb9owsvAct+kQzlKBao9SPZWfP3gGo9NbJbm2WpNEzFnY6vlKKbhvrum3BxU/eImT BSayC1oGzBVOS837PJWjdD08J7J/UZ8exghExcjyZ4IQO81+BqjEMHWy31CwaGT4a7 s0vRyuoyJrwZPzQc4k8aXpCh5h/DMaBD6DC1V/nPdM+5i5/rMSVn0PDhYTKLYMf3Pr ZaQCMhzbBjeR3pRXO3K8mZVjCzRZdvJTqMoZmuIZTau0WSR5Fm9ptHKwb90wUtwhef +kVqftLjELCGq5mK7bs6KnF9S1HBPvzfkBcTbztiEtEy2Xlv8jAzTQjyn7okepGhAE eGUeHvQ4F4n3HV9E6KWHbG6M/s/YXj9O4ldgoGkMTMKtWnmhaNaHV607Ad5J6MRg+v qwrm3onNcCVvtpXGlxsChhJBCh/rGW223oXsTObChB3rePBFfAj8cgV6DmiGyzcJW3 4pmkz9UHCJ0vY5xbQkTctfFQ= Date: Sun, 10 Jul 2022 19:13:24 +0900 References: <2O2NKRGHD2OZD.30CKDJBOP4LE3@wilsonb.com> <20200415122149.j7b6bcgvrp5cpq5l@pelzflorian.localdomain> <38M8QJ1PDKHCI.2ZBQF20W9BE03@wilsonb.com> <87h74tgxui.fsf@gmail.com> <20220613144005.gv2j5igdmisnaiqv@pelzflorian.localdomain> <874k0nfcq6.fsf@gmail.com> <2N3KLAV9USDUO.2FGVQNI398LFY@"@WILSONB.COM> <20220621090254.kyskzwkliku53mob@pelzflorian.localdomain> <62c2cd89.1c69fb81.7ad72.92c8SMTPIN_ADDED_BROKEN@mx.google.com> <87edywvbdz.fsf@gmail.com> <878rp4c7em.fsf@pelzflorian.de> <87mtdhftw7.fsf@gmail.com> In-Reply-To: <87mtdhftw7.fsf@gmail.com> Message-Id: <33RZXP6OBFFCS.22N5QDGK5AQQA@"@WILSONB.COM> User-Agent: mblaze/1.2 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" Reply-to: elaexuotee@wilsonb.com From: elaexuotee--- via Bug reports for GNU Guix X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1657448052; h=from:from:sender:sender:reply-to: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-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=xqq2S6JfxGmqjx4PGmeZnQxuqPMSkmzZsEsEbA/Iwl4=; b=nnCK1HH5voTpt+ZJzrAvz7jVbMVVUnSQfI/4N3/ODB0chlzKz9aAGhHIVkB+F+RnKtk+fv 76OSHwDjNimn0CJ2GEIOx055TVF+16kqu6iBQxynel8Aab2pK41OZHlVhdJgIK21sCquWr Sv3bPKWK0DnSCw40v7dOrdpHgbKh9WY+3BK8hjr6kfHgfTvVGl6oTLkL7MwxV2Aae/eVjV 2B3Sm6oDhLXKTTh45hCo21N0ApSLc1bvvn5TUlrvQb2feapIWud0UGPhez2qLXFhxNmFqR 0+kVsApVOglEYGBmp6yyyprHpOkFR3wc1le2u1+pAvGebpWEu+IQ5gB25rFTzQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1657448052; a=rsa-sha256; cv=none; b=jx781KnE8LpROcNB5luaNi03PaTCo3q9vIWGlsabschlg6m0k6cFeau2wLIvJJilneGJs4 5FwgnnIcEzmXi866LizeBgWpreZdiYpCdmtgq55e9lsgE6X8pKOEVSp+RR5cYbPZET62u3 ZNOtwWNx6CLOfj5DDvI9esJo+Ol9Rug/vqxxGhUaVcWzpaxLROkmHS3v1JDy5QRaEbZ75n HgXp39ipNyMPqK/f21l2EVIpI3lQOWHz1wqmIN/aLsFP9ZociHCfXtLwP/v2f43vDPP0Ph 8UG5J+XjNryeLQa3lJ0jLzu2YSaF4P6l1yjZRm+bXOzKmA5GLT1rMA399WyEuA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=mg.wilsonb.com header.s=krs header.b=tL+Zb0Qq; dkim=fail ("headers rsa verify failed") header.d=wilsonb.com header.s=201703 header.b=oUyW3ZAP; dmarc=pass (policy=none) header.from=gnu.org; 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" X-Migadu-Spam-Score: -3.75 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=mg.wilsonb.com header.s=krs header.b=tL+Zb0Qq; dkim=fail ("headers rsa verify failed") header.d=wilsonb.com header.s=201703 header.b=oUyW3ZAP; dmarc=pass (policy=none) header.from=gnu.org; 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" X-Migadu-Queue-Id: 2C7F21D278 X-Spam-Score: -3.75 X-Migadu-Scanner: scn0.migadu.com X-TUID: f257lstatuJC CONFIG_SHELL simply acts as a user override; it's not part of autoconf's co= re logic. That role belongs to the SHELL macro, who's picks the first availabl= e of the following: - CONFIG_SHELL environment variable, - SHELL environment variable, or - /bin/sh See autoconf's m4sugar/m4sh.m4 for the gory details. Arguably, this should also be updated to point to a fixed /bin/sh output fallback. Anyway, AM_SUBST_NOTMAKE([SHELL]), cf. '(automake) Optional', simply tells automake to not define SHELL inside the generated Makefile. This means that= make will instead use it's default, which in our case is hard-coded to the /bin/sh in its implicit bash-minimal dependency. For detailed info about th= is behaviour of make, see '(make) Choosing the Shell'. Note, however, you will= have to do a mental sed-replace of "/bin/sh" with "/bin/sh" w= hen reading that page. Cheers, B.