From debbugs-submit-bounces@debbugs.gnu.org Fri Sep 03 06:21:09 2021 Received: (at 50203) by debbugs.gnu.org; 3 Sep 2021 10:21:09 +0000 Received: from localhost ([127.0.0.1]:43032 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mM6Jp-0000mx-0M for submit@debbugs.gnu.org; Fri, 03 Sep 2021 06:21:09 -0400 Received: from eggs.gnu.org ([209.51.188.92]:42204) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mM6Jl-0000m8-4a for 50203@debbugs.gnu.org; Fri, 03 Sep 2021 06:21:07 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:47880) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mM6Jf-0003qx-Id; Fri, 03 Sep 2021 06:20:59 -0400 Received: from [2a01:e0a:1d:7270:af76:b9b:ca24:c465] (port=48842 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mM6Jf-00077N-6S; Fri, 03 Sep 2021 06:20:59 -0400 From: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: Carl Dong Subject: Re: bug#50203: binutils-mesboot0: configure: sed: command not found References: <1FF8D553-4B61-400A-AD0B-6A9A0CCFDEA8@carldong.me> Date: Fri, 03 Sep 2021 12:20:57 +0200 In-Reply-To: <1FF8D553-4B61-400A-AD0B-6A9A0CCFDEA8@carldong.me> (Carl Dong's message of "Wed, 25 Aug 2021 15:17:26 -0400") Message-ID: <878s0e2c52.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 50203 Cc: 50203@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Hi Carl, Carl Dong skribis: > After resolving bug#49985, a new build failure has stumped a community me= mber of mine. When building /gnu/store/8kap9kj0ayhaqd4ay7n9lgpbcwankxrq-bin= utils-mesboot0-2.14.drv, the build fails and the logs are as follows: https= ://paste.sr.ht/~dongcarl/7fe559b338dfa9aa3cf3464dbdab8109487c9783#8kap9kj0a= yhaqd4ay7n9lgpbcwankxrq-binutils-mesboot0-2.14.log-L5504 Here=E2=80=99s the relevant excerpt for posterity: --8<---------------cut here---------------start------------->8--- starting phase `configure' running ./configure --disable-nls --disable-shared --disable-werror --build= =3Di386-unknown-linux --host=3Di386-unknown-linux --target=3Di386-unknown-l= inux --with-sysroot=3D/ --prefix=3D/gnu/store/jfa9b78rdniyw7qilsmw3bh02x8x6= 8ly-binutils-mesboot0-2.14 ./configure: line 1: sed: command not found ./configure: line 1: sed: command not found ./configure: line 1: sed: command not found ./configure: line 1: sed: command not found ./configure: line 1: sed: command not found ./configure: line 1: sed: command not found ./configure: line 1: sed: command not found ./configure: line 1: sed: command not found ./configure: line 1: sed: command not found ./configure: line 1: sed: command not found ./configure: line 1: sed: command not found ./configure: line 1: sed: command not found ./configure: line 1: sed: command not found ./configure: line 1: sed: command not found ./configure: line 1: sed: command not found ./configure: line 1: sed: command not found ./configure: line 1: sed: command not found ./configure: line 456: rm: command not found ./configure: line 1: sed: command not found configure: error: can not find sources in or .. --8<---------------cut here---------------end--------------->8--- > We=E2=80=99ve tried the normal suspects: --cores=3D1, reboots, mounting t= mpfs at /tmp, etc. Heh. :-) > What=E2=80=99s also fascinating is that, when I inspect his keep-failed d= irectory: https://nextcloud.carl.homeserver.net/s/ZHmAbz3LwyPwcfL > We found that: > > 1. The $PATH in the environment-variables file contained /gnu/store/2z4y0= n547x7d566281isklk9ls2d8c9q-sed-mesboot0-1.18/bin, which in turn contained = a working sed: Could you go to the build directory, run =E2=80=9C. ../environment-variable= s=E2=80=9D, and run the configure script like so: sh -x ./configure =E2=80=A6 ? That way we=E2=80=99ll see if PATH is getting overridden somewhere. /gnu/store/2z4y0n547x7d566281isklk9ls2d8c9q-sed-mesboot0-1.18/bin/sed is a valid i386 static binary AFAICS. Thanks, Ludo=E2=80=99.