From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id KF8BE2DPwmJpqgAAbAwnHQ (envelope-from ) for ; Mon, 04 Jul 2022 13:30:40 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id wIweEmDPwmIvuwAAG6o9tA (envelope-from ) for ; Mon, 04 Jul 2022 13:30:40 +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 AF1532AD29 for ; Mon, 4 Jul 2022 13:30:39 +0200 (CEST) Received: from localhost ([::1]:45614 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1o8KHm-0004Ay-Pb for larch@yhetil.org; Mon, 04 Jul 2022 07:30:38 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:38322) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o8KAQ-0002Bg-RD for bug-guix@gnu.org; Mon, 04 Jul 2022 07:23:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:52422) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1o8KAQ-0006lJ-He for bug-guix@gnu.org; Mon, 04 Jul 2022 07:23:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1o8KAQ-0006Wt-ES for bug-guix@gnu.org; Mon, 04 Jul 2022 07:23: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: Mon, 04 Jul 2022 11:23: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: "pelzflorian (Florian Pelz)" Cc: 40641@debbugs.gnu.org, Maxim Cournoyer Received: via spool by 40641-submit@debbugs.gnu.org id=B40641.165693377625074 (code B ref 40641); Mon, 04 Jul 2022 11:23:02 +0000 Received: (at 40641) by debbugs.gnu.org; 4 Jul 2022 11:22:56 +0000 Received: from localhost ([127.0.0.1]:46319 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o8KAK-0006WM-4w for submit@debbugs.gnu.org; Mon, 04 Jul 2022 07:22:56 -0400 Received: from m42-5.mailgun.net ([69.72.42.5]:19345) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o8KAI-0006W7-4y for 40641@debbugs.gnu.org; Mon, 04 Jul 2022 07:22:55 -0400 DKIM-Signature: a=rsa-sha256; v=1; c=relaxed/relaxed; d=mg.wilsonb.com; q=dns/txt; s=krs; t=1656933774; x=1657142574; 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=BjW9s14L2qykk0pKlyxSCg/8O42JcxRcyj1wxLsWdQo=; b=L63HffrrEkezQgE2rz+kIgo2R1ZkPx/M1xMqatuXvtRmgxU83n1PRCs2NEanXXgFkRg7XaVW bXUkaCxxPmXAxZio4vb9MQqvVZS3NdXLB7d+ifRCi8zFgynsdfUZ/tVCfIYWplvufhUE7VYn dqDDabBMDXnlUpw24ELS91P9YmeCoDXteSMSmmfJz5RNVIabvt629ME8stpafTl+nmPvhjUP EmEsgZE3OwAKiXXJ5AK2cQZHi38vss/ETWBg8u6e/aPPo0M+m38Mj2vwCG9VFn4b0qRq6xqh MSoXg4w8fx1JfyMGS9H19gaada9PCpU5xrUWRxwfa5qPwZfZeS4kHA== X-Mailgun-Sending-Ip: 69.72.42.5 X-Mailgun-Sid: WyIxYmE0NCIsICI0MDY0MUBkZWJidWdzLmdudS5vcmciLCAiMDg1NDdhIl0= Received: from wilsonb.com (wilsonb.com [104.199.203.42]) by smtp-out-n01.prod.us-east-1.postgun.com with SMTP id 62c2cd88d21fa7c2d209b8b8 (version=TLS1.3, cipher=TLS_AES_128_GCM_SHA256); Mon, 04 Jul 2022 11:22:48 GMT Received: from localhost (aj099096.dynamic.ppp.asahi-net.or.jp [220.150.99.96]) by wilsonb.com (Postfix) with ESMTPSA id E0FEFA26B6; Mon, 4 Jul 2022 11:22:45 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=wilsonb.com; s=201703; t=1656933766; bh=BjW9s14L2qykk0pKlyxSCg/8O42JcxRcyj1wxLsWdQo=; h=Date:To:Cc:Subject:From:References:In-Reply-To:From; b=UrywZ0RzyAl77tTvee0EbmCJaVUxp9h5g++Ej9Y0rklHxejeUZrdWt5m6BshJvFXf KHE094PjsTImaEqTs8jYOdgdQ2HeRY9YMfQCBStFEWhtQx7Iv7YRczzYnuopxCrHiK +z6OOBWdFBa8SpZKZxxdY1MFL18MARDjOILJ/l3O+JCrjtsIgQFO5Ao1Px8BWU6GFm lG80xwpzu9t9qLLmuMRcqGyqbuX6VpvSCSc1Bb5jjbg5oQ4hQ3S14Pa21JQVw6Hfbv CVBLO5T9YxBD5mFbNbxaDh0AgpuE5/9FNdA6QNGxrRpisq+GZfPMBpPmSt7Ainivws 62f0wdkHO7WtGi9ajoQEOO7VYSe51dMyVgISJBjfR7LeEtOTEyPFmg27NXZiJpmtZd h1IPBdET4jIGt5Bd8VBCZHASiaTmGN4w81cIYGWaTAV0iRCjKwrELIgtQKfMSbTuGu pMcAihYdOYUUyYz78gplUZ3LY4Kwj4xTE8kKp/Vwp/btskdorFal9/OyjeVxENbpMN NN9NfUW3IyUcbuLqBqZz5geWKM30rZQgPBFj58t54cbl/sNWA0WUTLEIPjZyHcFGj5 T8uGoFGRRxmxg76kzAoY68+gtp30SdtgEfpHHzv2JwlTuN2Y99w2kZQYS7YS90APsA kvoj57hoPAO0RGP3ygt+BWdg= Date: Mon, 04 Jul 2022 20:22:43 +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> In-Reply-To: <20220621090254.kyskzwkliku53mob@pelzflorian.localdomain> Message-Id: <3PFHFCEJGQHEZ.2UZN2W0ONMXEV@"@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=1656934240; 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=BjW9s14L2qykk0pKlyxSCg/8O42JcxRcyj1wxLsWdQo=; b=KgWQoL1rfHgcZ2GTO5a8QVoDqULX5sExk3WRiMcU5ofp3wIuKvVvXmhKt3ej6qYHml3g55 eFzYuEpjV3+seQGBMtaCght2vNydZWmpP8ACX53kU14xTejsejs8Hy3quYKDGXeCo7Nydn cai+Wm6E5OWqbCBOV+T6JJXpLrtChKpxFKc2CeHrW9CaRfhRsbkbH2ZLEXCTjftsnCwVz4 xd9nJpfISOFiTY7c2p1d1u5WQvTg8UbnCFaWJvx5Z+bC+4iGuaDsRlxbe0OzczLzBlSDH0 uQUmQ4RwLJgiPK/dZD8mawz8FT1LvgOwyb15eBY6EYwCeprRkcRhURhexq3eow== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1656934240; a=rsa-sha256; cv=none; b=gOMRlZ8oT6I60Bvh6/6TkJYB1u7ewbdOYfxQohzeAbl21HWaQg5yDoD2A4OOEJdk8krO90 uVkDPSYT/mWhNpdphHqvEAXW8ZihERw3lxkzIqzuM0ZpT18JmZeCxH4C2FPwF8669O5J6K vp202F7jjwu76IGxzs1NObn8t5QHl+l5klGIqZ7K4La7gMwxzzJhGKCO64T46/qfOJkxBO +06iDr8hfnwpxvQuZ094iX4phug8x9gTYNj8ARPmxxMtNx/lXP+FWj0f5LvYE5W78LnHQy MkuB1bUi/gt9uDdkphEg5gP7U9vMMQ3fpxj5Uc7O3VkcV8M1SmRCpldTmnsMdg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=mg.wilsonb.com header.s=krs header.b=L63Hffrr; dkim=fail ("headers rsa verify failed") header.d=wilsonb.com header.s=201703 header.b=UrywZ0Rz; 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.24 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=mg.wilsonb.com header.s=krs header.b=L63Hffrr; dkim=fail ("headers rsa verify failed") header.d=wilsonb.com header.s=201703 header.b=UrywZ0Rz; 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: AF1532AD29 X-Spam-Score: -3.24 X-Migadu-Scanner: scn0.migadu.com X-TUID: bphh5ZabZZVL "pelzflorian (Florian Pelz)" wrote: > Thank you for getting back to the bug. I am in the same situation in > that I use Guix System now. :D >=20 > On Tue, Jun 21, 2022 at 09:20:28AM +0900, elaexuotee@wilsonb.com wrote: > > so you could be able to sanity > > check with something like > >=20 > > $ guix shell -C dash guix make > > $ ln -s $(command -v dash) /bin/sh > > $ ./configure --localstatedir && make >=20 > I had done exactly this. >=20 > guix shell --container --network dash git pkg-config gnutls guile guile-a= vahi guile-gcrypt guile-json guile-lib guile-sqlite3 guile-zlib guile-lzlib= guile-zstd guile-ssh guile-git autoconf automake gettext texinfo graphviz = help2man po4a findutils sed coreutils tar xz m4 diffutils grep gcc-toolchai= n sqlite libgcrypt gawk make glibc-locales -- dash >=20 > Many tests fail because of the container though, so I=E2=80=99m not sure = how > big the effect is. At least tests/guix-package.sh still use type -P > which is not POSIX, but I don=E2=80=99t think it should be changed nor sh= ould > there be a check if $SHELL can do what we need, because we don=E2=80=99t = know > which bash features we need. Excellent. I agree it's probably not worth POSIXifying the scripts. Forcing= make to default to guix's bash seems like the right approach IMHO, so +1 fo= r that fix. FWIW, I ended up working around the original issue by explicitly telling ma= ke to use guix's bash, anyway: $ guix environment guix bash $ CONFIG_SHELL=3D$(command -v bash) ./configure --localstatedir=3D/var