From debbugs-submit-bounces@debbugs.gnu.org Fri Dec 11 01:34:13 2020 Received: (at 45165) by debbugs.gnu.org; 11 Dec 2020 06:34:13 +0000 Received: from localhost ([127.0.0.1]:39778 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1knc0K-0002D4-D8 for submit@debbugs.gnu.org; Fri, 11 Dec 2020 01:34:13 -0500 Received: from eggs.gnu.org ([209.51.188.92]:59850) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1knc03-0002CD-Fg for 45165@debbugs.gnu.org; Fri, 11 Dec 2020 01:34:10 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]:57080) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1knbzw-0006Ub-Ep; Fri, 11 Dec 2020 01:33:48 -0500 Received: from [2001:980:1b4f:1:42d2:832d:bb59:862] (port=42714 helo=dundal.janneke.lilypond.org) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1knbzo-0007kQ-TQ; Fri, 11 Dec 2020 01:33:45 -0500 From: Jan Nieuwenhuizen To: Carl Dong Subject: Re: bug#45165: binutils-mesboot0 fails at configure, cannot find lex References: <1C1332EB-3389-416F-A8A7-0CF6A469AE29@carldong.me> <3FFC3D46-B961-479D-BCA9-273C150BF9CC@carldong.me> Date: Fri, 11 Dec 2020 07:33:36 +0100 In-Reply-To: <3FFC3D46-B961-479D-BCA9-273C150BF9CC@carldong.me> (Carl Dong's message of "Thu, 10 Dec 2020 17:28:37 -0500") Message-ID: <87a6ukkg1r.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 45165 Cc: 45165@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 (---) Carl Dong writes: Hello! > Some more information from my debugging: > > 1. This error is reproducible even when I specify --cores=3D1, which is v= ery strange > 2. I have attached the full log to this email Diffing this with the build log from --8<---------------cut here---------------start------------->8--- guix build -e '(@@ (gnu packages commencement) binutils-mesboot0)' --log-fi= le wget https://ci.guix.gnu.org/log/jfa9b78rdniyw7qilsmw3bh02x8x68ly-binutils-= mesboot0-2.14 -O jfa9b78rdniyw7qilsmw3bh02x8x68ly-binutils-mesboot0-2.14.gz gunzip jfa9b78rdniyw7qilsmw3bh02x8x68ly-binutils-mesboot0-2.14.gz diff -u jfa9b78rdniyw7qilsmw3bh02x8x68ly-binutils-mesboot0-2.14 2020-10-10= -binutils-mesboot0.log [..] @@ -5538,16 +5537,16 @@ checking for i386-unknown-linux-windres... no checking for windres... windres checking whether to enable maintainer-specific portions of Makefiles... no -updating cache ./config.cache +not updating unwritable cache ./config.cache creating ./config.status creating Makefile [..] @@ -5558,7 +5557,7 @@ checking whether the C compiler (tcc -D __GLIBC_MINOR__=3D6 -g ) works... = yes checking whether the C compiler (tcc -D __GLIBC_MINOR__=3D6 -g ) is a cros= s-compiler... no checking whether we are using GNU C... no -checking for ranlib... (cached) true +checking for ranlib... true checking for POSIXized ISC... no checking for ANSI C header files... yes checking for working const... yes --8<---------------cut here---------------end--------------->8--- config values do not get cached (why is config.cache unwritable?)...which seems to lead to a misdectected presence of lex: --8<---------------cut here---------------start------------->8--- -@ build-succeeded /gnu/store/bz6xjpzlwf57m4bg3w5ihlq638sscx54-binutils-mes= boot0-2.14.drv - -checking for flex... (cached) /tmp/guix-build-binutils-mesboot0-2.14.drv-0= /binutils-2.14/missing flex -checking for flex... (cached) /tmp/guix-build-binutils-mesboot0-2.14.drv-0= /binutils-2.14/missing flex -checking for yywrap in -ll... (cached) no -checking lex output file root... (cached) lex.yy [..] +checking for flex... no +checking for lex... no +./configure: line 4417: flex: command not found +checking for flex... lex +checking for yywrap in -ll... no +checking lex output file root... ./configure: line 4505: lex: command not = found +configure: error: cannot find output from lex; giving up +make: *** [configure-ld] Error 1 --8<---------------cut here---------------end--------------->8--- What is your build environment/version of guix you're using? It looks like some unreproducible bit is leaking in somewhere?? Greetings, Janneke --=20 Jan Nieuwenhuizen | GNU LilyPond http://lilypond.org Freelance IT http://JoyofSource.com | Avatar=C2=AE http://AvatarAcademy.com