GNU bug report logs

#49985 Bootstrap packages fail to build due to mes-libc lacking 'stat64' etc. syscalls

PackageSource(s)Maintainer(s)
guix PTS Buildd Popcon
Full log

Message #11 received at 49985@debbugs.gnu.org (full text, mbox, reply):

Received: (at 49985) by debbugs.gnu.org; 11 Aug 2021 01:21:37 +0000
From debbugs-submit-bounces@debbugs.gnu.org Tue Aug 10 21:21:37 2021
Received: from localhost ([127.0.0.1]:32840 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces@debbugs.gnu.org>)
	id 1mDcw5-0006JO-3k
	for submit@debbugs.gnu.org; Tue, 10 Aug 2021 21:21:37 -0400
Received: from imta-35.everyone.net ([216.200.145.35]:32824
 helo=imta-38.everyone.net)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <bokr@oz.net>) id 1mDcw2-0006JE-E1
 for 49985@debbugs.gnu.org; Tue, 10 Aug 2021 21:21:35 -0400
Received: from pps.filterd (m0004961.ppops.net [127.0.0.1])
 by imta-38.everyone.net (8.16.0.43/8.16.0.43) with SMTP id 17B1D5V6031373;
 Tue, 10 Aug 2021 18:21:29 -0700
X-Eon-Originating-Account: eLgVV2OOSWHGWb014osIcwT7uQpd3lEi4Lc8NVKrPCo
X-Eon-Dm: m0116787.ppops.net
Received: by m0116787.mta.everyone.net (EON-AUTHRELAY2 - 5a81db49)
 id m0116787.60d3a85b.2edaf3; Tue, 10 Aug 2021 18:21:28 -0700
X-Eon-Sig: AQMHrIJhEyYYnvPWtwIAAAAC,12ed87ceced4518b7a1273e4b2d5859d
X-Eip: vlAscDIFBtH1F3-Yo64ITJV-tIBMfVSfbSDyBdycgZ8
Date: Wed, 11 Aug 2021 03:21:18 +0200
From: Bengt Richter <bokr@bokr.com>
To: Carl Dong <contact@carldong.me>
Subject: Re: bug#49985: bash-mesboot0: Inscrutable error in build phase
Message-ID: <20210811012118.GB26014@LionPure>
References: <8DDCC02E-5D4A-4DF1-A893-229B58EBE31C@carldong.me>
 <20210811003854.GA26014@LionPure>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
Content-Transfer-Encoding: 8bit
In-Reply-To: <20210811003854.GA26014@LionPure>
User-Agent: Mutt/1.10.1 (2018-07-13)
X-Proofpoint-GUID: dNuCu-dYhX06ff3xdB50szDLbmas1IBc
X-Proofpoint-ORIG-GUID: dNuCu-dYhX06ff3xdB50szDLbmas1IBc
X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.391, 18.0.790
 definitions=2021-08-10_08:2021-08-10,
 2021-08-10 signatures=0
X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 phishscore=0
 clxscore=1034 adultscore=0
 mlxlogscore=999 priorityscore=1501 suspectscore=0 spamscore=0 mlxscore=0
 bulkscore=0 lowpriorityscore=0 impostorscore=0 malwarescore=0
 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2107140000
 definitions=main-2108110006
X-Spam-Score: 0.2 (/)
X-Debbugs-Envelope-To: 49985
Cc: 49985@debbugs.gnu.org
X-BeenThere: debbugs-submit@debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request@debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit@debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request@debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request@debbugs.gnu.org?subject=subscribe>
Reply-To: Bengt Richter <bokr@bokr.com>
Errors-To: debbugs-submit-bounces@debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces@debbugs.gnu.org>
X-Spam-Score: -0.8 (/)
On +2021-08-11 02:38:54 +0200, Bengt Richter wrote:
> On +2021-08-10 15:41:25 -0400, Carl Dong wrote:
> > Hi all,
> > 
> > While setting up Guix for a community member of mine, we encountered this somewhat inscrutable problem (I later learned this is not the first time Guix users have run into this problem!). When building /gnu/store/2nvaxgs0rdxfkrwklh622ggaxg0wap6n-bash-mesboot0-2.05b.drv, we encountered the following build failure: https://paste.sr.ht/~dongcarl/376b19b8349c329ed5329508c7fb43a7c3aec64b#2nvaxgs0rdxfkrwklh622ggaxg0wap6n-bash-mesboot0-2.05b.log-L1299
> > 
> > The error line is L1299: "make: stat:Makefile: sterror: unknown error”
> >--
> 
> To me, sterror looks like a typo for strerror
> so grepping for sterror might find the typo, if that's what it is?
>
Looking at ./lib/mes/__mes_debug.c, it looks like you could set/export environment
 MES_DEBUG=1 and run it again to see the error number ./lib/string/strerror.c
(in git repo) doesn't like.

Then run something like my error-printing kludge that will work on your system:

I called it errno-grep
--8<---------------cut here---------------start------------->8---
#!/usr/bin/bash
if [ -z "$1" ];then
    echo "Usage: errno-grep [ grep switches for grepping the following files in order ]"
    echo "    /usr/include/asm-generic/errno-base.h"
    echo "    /usr/include/asm-generic/errno.h"
    exit 0
fi

if [ "${1:0:1}" == "-" ]; then
    exec grep "$@" /usr/include/asm-generic/errno-base.h /usr/include/asm-generic/errno.h
else
    exec egrep -wh "$@" /usr/include/asm-generic/errno-base.h /usr/include/asm-generic/errno.h
fi
--8<---------------cut here---------------end--------------->8---

HTH.




Send a report that this bug log contains spam.


debbugs.gnu.org maintainers <help-debbugs@gnu.org>. Last modified: Mon Sep 8 11:16:44 2025; Machine Name: wallace-server

GNU bug tracking system

Debbugs is free software and licensed under the terms of the GNU Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.