From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id 8OysL0ImE2G3KgAAgWs5BA (envelope-from ) for ; Wed, 11 Aug 2021 03:22:10 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id +In9KkImE2F0eQAAbx9fmQ (envelope-from ) for ; Wed, 11 Aug 2021 01:22:10 +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 23388E36F for ; Wed, 11 Aug 2021 03:22:10 +0200 (CEST) Received: from localhost ([::1]:58228 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mDcwb-0002Tw-9C for larch@yhetil.org; Tue, 10 Aug 2021 21:22:09 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:56640) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mDcwU-0002SZ-5j for bug-guix@gnu.org; Tue, 10 Aug 2021 21:22:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:49527) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mDcwT-0001qD-VZ for bug-guix@gnu.org; Tue, 10 Aug 2021 21:22:01 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mDcwT-0006K0-NK for bug-guix@gnu.org; Tue, 10 Aug 2021 21:22:01 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#49985: bash-mesboot0: Inscrutable error in build phase Resent-From: Bengt Richter Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Wed, 11 Aug 2021 01:22:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 49985 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Carl Dong Received: via spool by 49985-submit@debbugs.gnu.org id=B49985.162864489724270 (code B ref 49985); Wed, 11 Aug 2021 01:22:01 +0000 Received: (at 49985) by debbugs.gnu.org; 11 Aug 2021 01:21:37 +0000 Received: from localhost ([127.0.0.1]:32840 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) 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 ) 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 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-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: , Reply-To: Bengt Richter Cc: 49985@debbugs.gnu.org Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: "bug-Guix" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1628644930; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post; bh=EN40C+muDcLTWKr8kMBM4PYeSVTFaR8LTsx14JhprBg=; b=J+DeqcqZ/a9cSYDr/YiNbYWROcFCPj4p0AZpirlh99DrSM5jCEakJvaATauqLpnHFH6Gvw 7a+kTM9HOdLWud23rlDWUY8RqdyP8ahSr3FjbZB/im2lHspcPBlBLaJMlV7EqBiQqZF+zv GCqBbq/fLIlcFL2f+hDgnIle1I6RhzO8fHqlObnAkuVKgDHpBliyGvUkQwaNRdsjBn6RrU FAX69pLMhgh2B3NfcdDCZMe4WqCEaIrEzcjnxthqLTtki1ifYKVNG5IqKkGUTWiE6UmGZD iABDFfbgJ5Gsa0h5jFjSZ0iMzo4DuW1SvSPyy9apKDoFe4e4W8W7hWNBvOHlug== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1628644930; a=rsa-sha256; cv=none; b=S/5TTKDCIVodPrlob6jZxCi3IllmaK0utaW6yVBNoet4LPKazUX41NA92Xv6WRwYt+JhSu ZClVB9+YvfFvILmK8pPW8sZqJmNzSu4GYwYCC5oTLJA7XnH4s+BTlnp7fD4QiTkMpfgoTV FFs7bBeT5BRbSoXmtQCGeCZwL7+hB2VeCtTMPzWMCHocvEHUgA3JCdI7AXojLxsGjpmtse v5me+BoADSCmyvyXGs1QIyERk4zylBUKLbWVGQ5ZoXQ9MkkG2LCpGhlj/yODvgU0cucZWd 75o70T16QVQlN2cASlMawWy7ypgoLSto1vvydUJZZalJwgKrfJHsvREMEy/BGg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; 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-Spam-Score: -1.91 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; 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: 23388E36F X-Spam-Score: -1.91 X-Migadu-Scanner: scn1.migadu.com X-TUID: 8XfeamzNGYHg 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.