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 mA/mCNov1mI+sgAAbAwnHQ (envelope-from ) for ; Tue, 19 Jul 2022 06:15:22 +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 uCwDCdov1mIwhwAA9RJhRA (envelope-from ) for ; Tue, 19 Jul 2022 06:15:22 +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 C2AC31B5DD for ; Tue, 19 Jul 2022 06:15:21 +0200 (CEST) Received: from localhost ([::1]:36486 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oDedk-0004Pf-PB for larch@yhetil.org; Tue, 19 Jul 2022 00:15:20 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:43850) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oDedT-0004PW-F7 for bug-guix@gnu.org; Tue, 19 Jul 2022 00:15:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:54778) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oDedT-00031v-6b for bug-guix@gnu.org; Tue, 19 Jul 2022 00:15:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oDedT-0007sH-03 for bug-guix@gnu.org; Tue, 19 Jul 2022 00:15:03 -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: Tue, 19 Jul 2022 04:15: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.165820406030169 (code B ref 40641); Tue, 19 Jul 2022 04:15:02 +0000 Received: (at 40641) by debbugs.gnu.org; 19 Jul 2022 04:14:20 +0000 Received: from localhost ([127.0.0.1]:52532 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oDecl-0007qW-JQ for submit@debbugs.gnu.org; Tue, 19 Jul 2022 00:14:20 -0400 Received: from m42-5.mailgun.net ([69.72.42.5]:61102) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oDecf-0007qD-KO for 40641@debbugs.gnu.org; Tue, 19 Jul 2022 00:14:17 -0400 DKIM-Signature: a=rsa-sha256; v=1; c=relaxed/relaxed; d=mg.wilsonb.com; q=dns/txt; s=krs; t=1658204053; x=1658412853; h=Message-Id: In-Reply-To: References: From: From: Subject: Subject: Cc: To: To: Date: Sender: Sender; bh=5cgJF+AnXyyjsrZUCOF2z4t6UCJ35V6EOq6ewugV5HQ=; b=fUmauhlmbZ9CAzIWgO+HGd+zeS5V4K5n91KYwOlNeujpoGqnBFMg7at1X556SgMFVUhkcGH9 9p0P5A5ZYa6INmGgDaF4ZxDXxUQyxpKKGYhRj6MYDOVylpxtAoxoukUa30Ejqq4UZxVyMDpP /B+L7e9b6Iei6AlH52qjEo6LNxVD5Kt3ArmiIRcS8iXJWlH0Zujrfxo4p1tz5R/ydCMy5mna 7GesKHbuDdYRGH3JczPdVdnPtsQhOSFIPexD55BF7GepOtwQ2Um5JH8QVhtyFI4GR/7ufwZI 1fxCyTyO4SqF9x/WrtaYjZPyeDQGeqKR4kMIiPOHBlq/Bz4EMkB83Q== X-Mailgun-Sending-Ip: 69.72.42.5 X-Mailgun-Sid: WyIxYmE0NCIsICI0MDY0MUBkZWJidWdzLmdudS5vcmciLCAiMDg1NDdhIl0= Received: from wilsonb.com (wilsonb.com [104.199.203.42]) by 647734358e59 with SMTP id 62d62f8f520016f5e1b7fcae (version=TLS1.3, cipher=TLS_AES_128_GCM_SHA256); Tue, 19 Jul 2022 04:14:07 GMT Received: from localhost (aj099096.dynamic.ppp.asahi-net.or.jp [220.150.99.96]) by wilsonb.com (Postfix) with ESMTPSA id 58592A2926; Tue, 19 Jul 2022 04:14:05 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=wilsonb.com; s=201703; t=1658204045; bh=5cgJF+AnXyyjsrZUCOF2z4t6UCJ35V6EOq6ewugV5HQ=; h=Date:To:Cc:Subject:From:References:In-Reply-To:From; b=Z8VShqF9jHIO9EoKtKGwnXW55CqshEk2GmSqOL5FIRzF41s3PUpremlHEHyJxYz5T 7BoK19atfprmJsUmUP8mLI31GeJpUy/esICdmGDrRBT1qNQiGwmjagFum04pzaRixN /boZi5m9bPmaxJTOnwzPMqB9jm/zhvuV2ROsjJ7cEK0MwjBkpQpsmhHgzIEogHjsTt 8SXLH1GGgkrZHIcQIYXK9CmloortyAxzwi2AVHOHJkzx9qt9HdnSYxN4SWb1kylkIQ aW0QQCSDqWCkIk4R519Ibg06QAqiA2IZQgfAq+7/jsdpQXDdfWv3Vdgx2WdGzcr+4D 0fk5CyidzrSLakY40mgXiQlHJk0a6o9OI3+VxipKSF8h/Va/WwqGbRc6XkEGWZJjsJ xzhstUf2463RIBK0DDjN98HHqLhQLXQBT/4ez6aUxFtXCc6j69fF2MDJIRAyjLQIVk iPaEU/8yafm/Zwndt+RvMm0/fAp7QR0BC5qJZ0klSTHP+uMROm+eJmtx04fR3E1NxF mU3+n3wD7Vx8hGW05EwC7ZIZ3Ubrs2r3GNPbmGrVoAAjULlcN0jDrt+mYi1Yp1Vo8K NeWCmBMNiqsh5VYwq3RZc7+M29zALGNb97bOAMA2oo6kW/R8ZE8DW9DHo6RGttZmxl dExdZjGQEFbKUWOVvh5GcstI= Date: Tue, 19 Jul 2022 13:14:03 +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> <62caa649.1c69fb81.5b288.1112SMTPIN_ADDED_BROKEN@mx.google.com> <87wnckeo8j.fsf@gmail.com> <87h73nep5x.fsf@gmail.com> In-Reply-To: <87h73nep5x.fsf@gmail.com> Message-Id: <3NB75IRB8776E.2JKL61N4Y2UUG@wilsonb.com> User-Agent: mblaze/1.2 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=1658204122; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc: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=5cgJF+AnXyyjsrZUCOF2z4t6UCJ35V6EOq6ewugV5HQ=; b=F7wA1WKYKlFfkZjNb8TwLb7Oa0WKRVuU7XDORGMt4VTFhqtwMLIC7lOKVW1rWL5JvamMPU NCxXZq+pSRRvzMUWIWud2AcmOE0Ftt27VDeEWlYYJ76QonEU3nyas5ugDfDCVzT9u1SMr1 DhUnJVBsiHlQAWL4621MI3HHzGYUbCulQ8dSpgbuhciDvKCuFDU9hskf+rkOlKQwvMcjNA JLxLI28lzGR6Ie5Lpq7HmkVz3jiOJrFFoem5BCOszQZJRPpuuLr1lQxeTrpqTZTgEjmg/O i3fftb5/97QwTrdxzoXMUh6IvmQTZq8Z8Af3xYyHv5VQMxIFSUZQ0wXpoC8TFw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1658204122; a=rsa-sha256; cv=none; b=N6Q1O8srF1/3eyANfv10G/h1+Pb/9CtaYS4jTJjpUH0BHgxpBjS/ULy/qaVOiQkm6FlIxu 6QQ8cmhz0wX+cp3GSazYuZrmeu+gtl+D5V0bRxUZPdCDGtUDgxjeeSlsbXVKz0oQQh49RZ Wf7YWY2CmVxQNfI9z3fQv58yJlO2D2+1u9opZP99BbuY6lF/56l8Uqt8NgrBdrJTIDOcwC zmKflLYElq7ZP41KeiMec/GfY6OFqCxdWQ/ARWeLtKThentdBjq/TuVD/wDJTI2FgK1rrz ++YDpTa36A2R4EXjsgvi+Pnleq2CISIrqvLnW5Q9ts6w5S/01gcuSsS8YgCq1A== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=mg.wilsonb.com header.s=krs header.b=fUmauhlm; dkim=fail ("headers rsa verify failed") header.d=wilsonb.com header.s=201703 header.b=Z8VShqF9; 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: -4.24 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=mg.wilsonb.com header.s=krs header.b=fUmauhlm; dkim=fail ("headers rsa verify failed") header.d=wilsonb.com header.s=201703 header.b=Z8VShqF9; 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: C2AC31B5DD X-Spam-Score: -4.24 X-Migadu-Scanner: scn0.migadu.com X-TUID: Zp3HdemUPUX4 Maxim Cournoyer wrote: > I'll see if these Bashisms can be easily switched to POSIX variants, > else I'll experiment with setting the shebang of the test scripts to > bash. Is there any particular reason to go this route? Writing portable scripts is full of all sorts of pitfalls and ill-meaning dragons: - What if SHELL=tcsh? - What about incompatible behaviour between bash versions? - Do we want to write tests to future-proof fixes for the above? In this case, since the build is running inside a guix shell, I don't really see any reason to *not* effectively pin the scripts to use the bash available in that environment. Am I missing something? Cheers, B