GNU bug report logs - #45165
binutils-mesboot0 fails at configure, cannot find lex

Previous Next

Package: guix;

Reported by: Carl Dong <contact <at> carldong.me>

Date: Thu, 10 Dec 2020 20:01:02 UTC

Severity: important

Full log


Message #46 received at 45165 <at> debbugs.gnu.org (full text, mbox):

From: Ludovic Courtès <ludo <at> gnu.org>
To: Carl Dong <contact <at> carldong.me>
Cc: 45165 <at> debbugs.gnu.org
Subject: Re: bug#45165: binutils-mesboot0 fails at configure, cannot find lex
Date: Sat, 06 Feb 2021 22:04:46 +0100
Hi,

Carl Dong <contact <at> carldong.me> skribis:

> New observation! On my Arch machine which has 
>
> 5.10.11-arch1-1
>
> And 
>
> # CONFIG_EXPERT is not set
> CONFIG_UID16=y
>
> (So according to my previous email it not trigger the bug)
>
> I’m getting the following strace:
>
> $ strace -v -e trace=file ~/sh -c "test -w /home/dongcarl/.bash_profile”
> execve(<blahblah>) = 0
> [ Process PID=404360 runs in 32 bit mode. ]
> open("/dev/tty", O_RDWR)                = 3
> stat("/home/dongcarl", 0xffdcd738)      = -1 EOVERFLOW (Value too large for defined data type)
> getcwd("/home/dongcarl", 1024)          = 15
> stat("/home/dongcarl/.bash_profile", 0xffdcd6bc) = -1 EOVERFLOW (Value too large for defined data type)
> +++ exited with 1 +++
>
> Not sure hot to interpret this...

It would seem that CONFIG_UID16=y 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 “sh -c 'test -w /'” and fail right
away if that doesn’t work.

WDYT?

Ludo’.




This bug report was last modified 3 years and 110 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.