From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id OB4TBY0EH2DLJQAA0tVLHw (envelope-from ) for ; Sat, 06 Feb 2021 21:05:17 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id EO+vAI0EH2BvMAAA1q6Kng (envelope-from ) for ; Sat, 06 Feb 2021 21:05:17 +0000 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 88E219403AE for ; Sat, 6 Feb 2021 21:05:16 +0000 (UTC) Received: from localhost ([::1]:57212 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1l8UlX-0004VB-Hv for larch@yhetil.org; Sat, 06 Feb 2021 16:05:15 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:45420) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1l8UlK-0004V4-2w for bug-guix@gnu.org; Sat, 06 Feb 2021 16:05:02 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:34995) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1l8UlJ-0005Yu-PD for bug-guix@gnu.org; Sat, 06 Feb 2021 16:05:01 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1l8UlJ-0007dT-Kx for bug-guix@gnu.org; Sat, 06 Feb 2021 16:05:01 -0500 X-Loop: help-debbugs@gnu.org Subject: bug#45165: binutils-mesboot0 fails at configure, cannot find lex Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Sat, 06 Feb 2021 21:05:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 45165 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Carl Dong Received: via spool by 45165-submit@debbugs.gnu.org id=B45165.161264549629336 (code B ref 45165); Sat, 06 Feb 2021 21:05:01 +0000 Received: (at 45165) by debbugs.gnu.org; 6 Feb 2021 21:04:56 +0000 Received: from localhost ([127.0.0.1]:46541 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l8UlE-0007d6-4v for submit@debbugs.gnu.org; Sat, 06 Feb 2021 16:04:56 -0500 Received: from eggs.gnu.org ([209.51.188.92]:55760) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l8UlB-0007cs-Nx for 45165@debbugs.gnu.org; Sat, 06 Feb 2021 16:04:55 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]:46411) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1l8Ul6-0005Ss-GF; Sat, 06 Feb 2021 16:04:48 -0500 Received: from [2a01:e0a:1d:7270:af76:b9b:ca24:c465] (port=41322 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1l8Ul5-0007M5-Jo; Sat, 06 Feb 2021 16:04:47 -0500 From: Ludovic =?UTF-8?Q?Court=C3=A8s?= References: <1C1332EB-3389-416F-A8A7-0CF6A469AE29@carldong.me> <3FFC3D46-B961-479D-BCA9-273C150BF9CC@carldong.me> <87a6ukkg1r.fsf@gnu.org> <58F8D6E0-B15D-47D2-A468-8620B9DBD90D@carldong.me> <1CB66010-F81E-447B-9715-B1A79415EAA6@carldong.me> <87a6u529nl.fsf@gnu.org> <5846BC15-6BDE-4ACB-9194-AFC76ABBBCE3@carldong.me> <9F85A050-2C47-422D-840C-EFD0EBA7B06B@carldong.me> Date: Sat, 06 Feb 2021 22:04:46 +0100 In-Reply-To: <9F85A050-2C47-422D-840C-EFD0EBA7B06B@carldong.me> (Carl Dong's message of "Wed, 3 Feb 2021 14:18:08 -0500") Message-ID: <875z3429ht.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-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: , Cc: 45165@debbugs.gnu.org Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: "bug-Guix" X-Migadu-Flow: FLOW_IN X-Migadu-Spam-Score: -2.86 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of bug-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=bug-guix-bounces@gnu.org X-Migadu-Queue-Id: 88E219403AE X-Spam-Score: -2.86 X-Migadu-Scanner: scn0.migadu.com X-TUID: iQtBtgQD+XJl Hi, Carl Dong skribis: > New observation! On my Arch machine which has=20 > > 5.10.11-arch1-1 > > And=20 > > # CONFIG_EXPERT is not set > CONFIG_UID16=3Dy > > (So according to my previous email it not trigger the bug) > > I=E2=80=99m getting the following strace: > > $ strace -v -e trace=3Dfile ~/sh -c "test -w /home/dongcarl/.bash_profile= =E2=80=9D > execve() =3D 0 > [ Process PID=3D404360 runs in 32 bit mode. ] > open("/dev/tty", O_RDWR) =3D 3 > stat("/home/dongcarl", 0xffdcd738) =3D -1 EOVERFLOW (Value too large= for defined data type) > getcwd("/home/dongcarl", 1024) =3D 15 > stat("/home/dongcarl/.bash_profile", 0xffdcd6bc) =3D -1 EOVERFLOW (Value = too large for defined data type) > +++ exited with 1 +++ > > Not sure hot to interpret this... It would seem that CONFIG_UID16=3Dy is the culprit after all, no? Is there a way we can detect kernel misconfiguration and that does not involve /proc/config.gz? If not, perhaps we could do precisely the test above in one of the early derivations in commencement.scm: run =E2=80=9Csh -c 'test -w /'=E2=80=9D an= d fail right away if that doesn=E2=80=99t work. WDYT? Ludo=E2=80=99.