From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id gKK5D3TIE2GVTwEAgWs5BA (envelope-from ) for ; Wed, 11 Aug 2021 14:54:12 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id uGWpC3TIE2ELMAAA1q6Kng (envelope-from ) for ; Wed, 11 Aug 2021 12:54:12 +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 7157C9C8F for ; Wed, 11 Aug 2021 14:54:11 +0200 (CEST) Received: from localhost ([::1]:60616 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mDnkH-0004pl-QS for larch@yhetil.org; Wed, 11 Aug 2021 08:54:09 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:38442) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mDnkA-0004pc-LR for bug-guix@gnu.org; Wed, 11 Aug 2021 08:54:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:50524) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mDnkA-0007TR-Er for bug-guix@gnu.org; Wed, 11 Aug 2021 08:54:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mDnkA-0007rx-Df for bug-guix@gnu.org; Wed, 11 Aug 2021 08:54:02 -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 12:54:02 +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.162868641430210 (code B ref 49985); Wed, 11 Aug 2021 12:54:02 +0000 Received: (at 49985) by debbugs.gnu.org; 11 Aug 2021 12:53:34 +0000 Received: from localhost ([127.0.0.1]:33837 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mDnji-0007rC-AM for submit@debbugs.gnu.org; Wed, 11 Aug 2021 08:53:34 -0400 Received: from imta-37.everyone.net ([216.200.145.37]:34158 helo=imta-38.everyone.net) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mDnjg-0007r4-9y for 49985@debbugs.gnu.org; Wed, 11 Aug 2021 08:53:33 -0400 Received: from pps.filterd (m0004962.ppops.net [127.0.0.1]) by imta-38.everyone.net (8.16.0.43/8.16.0.43) with SMTP id 17BCmBxE027639; Wed, 11 Aug 2021 05:53:27 -0700 X-Eon-Originating-Account: 1tOKosYybNWckovRSqLr03KR5Rb1tExRIrd5y0yh94c X-Eon-Dm: m0116293.ppops.net Received: by m0116293.mta.everyone.net (EON-AUTHRELAY2 - 5a81db49) id m0116293.60d3a858.31bc36; Wed, 11 Aug 2021 05:53:26 -0700 X-Eon-Sig: AQMHrIJhE8hG2lqAwQIAAAAC,36745366ac2dab448352565b9d81b14e X-Eip: Mlu_qymwi7KaeOcUYYD2Aw5zDrBnysgPjKodSmnlSZ8 Date: Wed, 11 Aug 2021 14:53:17 +0200 From: Bengt Richter Message-ID: <20210811125317.GA49029@LionPure> References: <8DDCC02E-5D4A-4DF1-A893-229B58EBE31C@carldong.me> <20210811003854.GA26014@LionPure> <20210811012118.GB26014@LionPure> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20210811012118.GB26014@LionPure> User-Agent: Mutt/1.10.1 (2018-07-13) X-Proofpoint-ORIG-GUID: NQ_mf69GeUA8zKwZVDPiEnxQq3CJKMXh X-Proofpoint-GUID: NQ_mf69GeUA8zKwZVDPiEnxQq3CJKMXh X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.391, 18.0.790 definitions=2021-08-11_04:2021-08-11, 2021-08-11 signatures=0 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 bulkscore=0 clxscore=1034 phishscore=0 spamscore=0 impostorscore=0 priorityscore=1501 mlxlogscore=999 suspectscore=0 adultscore=0 mlxscore=0 malwarescore=0 lowpriorityscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2107140000 definitions=main-2108110087 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=1628686451; 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=4sXpnrapbqM/8fzh8wWrzJu3Ea3DvaAHr7GQmVarsPY=; b=GG4uKN149FNhvFVZ3kSwYIluD0fMeJ6JIGv5wRtpYjffWbkePiHLvWi8A+2Gn1SkhiYJ3i MSshagDK8U+XQiev6eStz73Gxs4o0+BysydvDyqVusmg6u8g4MGqn8H9XpDd2fr4r1hdgs 3nZQVg7UYQn+8csTYCMzmuBh//zT57q3IrCVuUKHrOF7GFAaKwW31UQwpha0tqQ1wpbwEI Z7Emsm1B+byjXQW2lOR7DlguJHkltHJIgSUxGZJjbu155CrM7OuUajCMO9lVBdyS/ry7LF Od8BHElgVcs3i1OqZeXiUmIuGQtNtwbdfaZLBGNx4R6sI9DzFyqmV/vvIbdCFA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1628686451; a=rsa-sha256; cv=none; b=sPYL77pt2OXIMsF4RxoxKOvRkEtHAsMmqeNVSuxWLSD5C8mnsLrtFeFi3WjOPj0AKUTaz4 GuQInuyzw9ejFqphajV3Yrfu/p6snhav6yoU7qJZOrAoXCNWp4yK/PAtT6FbtRqpZYjvub 1F54ONrr1Sth9VNpJsDI+qh9jQha10yHLLqrv9r751drEvGWKm8lFEIJULlkjJ9X0eYr+z fMpUXsviDQ3TF2jQVs5qLYZDVChVbt/sKqOY4i5ZXAzFIItTs8/No37T6vw7CJGD+DlWDy 7XrgqRdS/Fy9Gsr3Bgj2B9QiSRqQCC/o+jqvZHEJGMQSKs3JbHQHMcWAoqFAnQ== 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: 7157C9C8F X-Spam-Score: -1.91 X-Migadu-Scanner: scn1.migadu.com X-TUID: c3Yu9wN6zKoD Just this disclaimer: I am just a lurker interested in mes, not a mes developer or team member. (I am trying to do some minimal stuff too, so I cloned the mes repo and pull once in a while to see what's going on :) Sorry for any implication that I really know anything about mes ;/ On +2021-08-11 03:21:18 +0200, Bengt Richter wrote: > 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. > > > -- Regards, Bengt Richter