From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id sLwqGOpUFWFrNgEAgWs5BA (envelope-from ) for ; Thu, 12 Aug 2021 19:05:46 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id pyKrE+pUFWFbGwAAbx9fmQ (envelope-from ) for ; Thu, 12 Aug 2021 17:05:46 +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 E022168CF for ; Thu, 12 Aug 2021 19:05:44 +0200 (CEST) Received: from localhost ([::1]:52444 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mEE9G-00036k-VY for larch@yhetil.org; Thu, 12 Aug 2021 13:05:43 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:52862) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mEE8c-00033j-6l for bug-guix@gnu.org; Thu, 12 Aug 2021 13:05:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:56530) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mEE8b-0003BT-Vg for bug-guix@gnu.org; Thu, 12 Aug 2021 13:05:01 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mEE8b-0003n8-N9 for bug-guix@gnu.org; Thu, 12 Aug 2021 13:05:01 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#49985: bash-mesboot0: Inscrutable error in build phase Resent-From: Carl Dong Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Thu, 12 Aug 2021 17:05: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: Bengt Richter Received: via spool by 49985-submit@debbugs.gnu.org id=B49985.162878788114540 (code B ref 49985); Thu, 12 Aug 2021 17:05:01 +0000 Received: (at 49985) by debbugs.gnu.org; 12 Aug 2021 17:04:41 +0000 Received: from localhost ([127.0.0.1]:39843 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mEE8D-0003mM-7f for submit@debbugs.gnu.org; Thu, 12 Aug 2021 13:04:41 -0400 Received: from wout2-smtp.messagingengine.com ([64.147.123.25]:55195) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mEE87-0003m3-GC for 49985@debbugs.gnu.org; Thu, 12 Aug 2021 13:04:36 -0400 Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.west.internal (Postfix) with ESMTP id 637B8320098E; Thu, 12 Aug 2021 13:04:25 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute5.internal (MEProxy); Thu, 12 Aug 2021 13:04:25 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=carldong.me; h= content-type:mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; s=fm1; bh=c 0tH2lGgQMbKvEFmAVMs2hFNv/nwTZr14n5HLo9gyxA=; b=qIhTuN2yNTjsFa2rM VlnmRzVwhSqz9X4ZYpf+UVzRgIiCrN4oWbtlQEU5Iy0bGJJyBe1x076cVTfYetpo bzATs1DfOLwxjIMlZB0JAxCR6ACk7zIvWRPN1kpnLmZSgrfJU63eSnDxsCFcd4VA qNsXEeAzbbHSIje4ohJpqxbIlFNzot0TnOiKoNpv7I/3eeO96UCeLSXFhaeS30lK IQh56DdifXJGDPQLW8rJOBN8oitvPFas34CEpco+ulz+ZoB7bq9iKbCtKm0r6Nhj H2OGpevBuhQ3A0uxk9+m5pYAGuIDDnVIAl5ZKB27Gf38FPp/jZSYQY6MyMrO0d+x 34U3w== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm3; bh=c0tH2lGgQMbKvEFmAVMs2hFNv/nwTZr14n5HLo9gy xA=; b=jCxENAS+sytky8bM8zcBLes5QsRVKMr2m3PcXa8lwT+gjy6T7WxHuFFpz IfOKAOXl1cmPOGjCPTif7Bs4Nusb3f5IfISfnGZWh0fkaPkF6Gruzb6mNIh7a6Dr esQQbfBGVOp4YzFPGXsUBQMHLeERK6nnhY0bugKcFKAZQXhNZW6FTb84fTb1Akxa AZCnFbBBlQ/ldLRIoWwDmYxsahZeBoweIEyJiuq20RL8+zSC8t3v1Cv3rU+eZ/7v e/NDEbLHbD1o0OijDv83SnSpnEqcPuInmg4W/9tOFIzqMVZa3HXGlc5a3WD82gOX RM74oGkYX7ZdrmRNVlQ7oQm/GfE9Q== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvtddrkeefgddutdejucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucenucfjughrpegtggfuhfgjfffgkfhfvffosehtqh hmtdhhtdejnecuhfhrohhmpeevrghrlhcuffhonhhguceotghonhhtrggtthestggrrhhl ughonhhgrdhmvgeqnecuggftrfgrthhtvghrnhepfeetvdevffegfefgvddtvddukedttd eijeegheekjeeluedtleffffegledukedtnecuffhomhgrihhnpehsrhdrhhhtnecuvehl uhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomheptghonhhtrggtth estggrrhhlughonhhgrdhmvg X-ME-Proxy: Received: by mail.messagingengine.com (Postfix) with ESMTPA; Thu, 12 Aug 2021 13:04:24 -0400 (EDT) Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 14.0 \(3654.120.0.1.13\)) From: Carl Dong In-Reply-To: <20210811125317.GA49029@LionPure> Date: Thu, 12 Aug 2021 13:04:23 -0400 Content-Transfer-Encoding: quoted-printable Message-Id: <23A9E6EC-1AE7-4412-82E0-F5930059B2D3@carldong.me> References: <8DDCC02E-5D4A-4DF1-A893-229B58EBE31C@carldong.me> <20210811003854.GA26014@LionPure> <20210811012118.GB26014@LionPure> <20210811125317.GA49029@LionPure> X-Mailer: Apple Mail (2.3654.120.0.1.13) 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: 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=1628787946; h=from:from:sender:sender: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:dkim-signature; bh=c0tH2lGgQMbKvEFmAVMs2hFNv/nwTZr14n5HLo9gyxA=; b=YWUGV0QpBuWVnEAUCa7UT9YVtez2qkuaavs7dbj7TIHjNk63M7+ce1P4g+8szXkFiHDtB1 n/F8cxZ98miRZuQ0xEVsASQqtXnPYf8MkeVETOg0zkDFr5np6Kqikc9MSJIq1BW2L9r4zc 7TiJXD/tPzGLUThDjElRuSSy0UUARQDFscdzAONEZuISt2erBpTxmHQBmU90vcPrc/MQvb H9u4oPU2h7oMnL5Wd+bia0t/tsk3f5oEpCK9M1TARS1QjRzWyQOCZlJpDG0cnJQrD0IhbE o+1SLDFU3s+07bl4Mu33R0lMq/K89g2SyXUrXdCTCmeq3PCwkCxit2Q0p9EcGw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1628787946; a=rsa-sha256; cv=none; b=D2GB1oe8qh3W6WYZL2EGmsLYexRHfrfGCU1DvpBW+wf9v6UjnBLCmYBHkEhvz3EIqCxiOQ 1OUNWG7lLDV7OJ8BzZhlrbh42diPm0DkEJ0l1Z2fzkrQRct7gw6WUn2TiWK3JcQdCYAe3v Buza1kaOXjddPiDfIwS1KQhmPVLjN1dtIVipkSb/NuoGZHG9iMzo30mJ/I7YwHRkrxlTVx i4hnp0ymqJjnfShb2wJ+7LoQFmwFPJBPiG3KdNaE4Nct8iZ/WcJmt7vsh0IGjPvObWjrXn CLkmGIGdaEGZ3I8RBcNETQhmlMkiVU18hJThIbpF3WHEs7otZMBEDMvrk+N09A== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=carldong.me header.s=fm1 header.b=qIhTuN2y; dkim=fail ("headers rsa verify failed") header.d=messagingengine.com header.s=fm3 header.b=jCxENAS+; 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-Spam-Score: -0.91 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=carldong.me header.s=fm1 header.b=qIhTuN2y; dkim=fail ("headers rsa verify failed") header.d=messagingengine.com header.s=fm3 header.b=jCxENAS+; 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: E022168CF X-Spam-Score: -0.91 X-Migadu-Scanner: scn1.migadu.com X-TUID: gKHa9Mm/VTl7 No worries! We=E2=80=99re all learning :-) I ended up asking my colleague to use: strace --env=3DMES_DEBUG=3D1 We=E2=80=99ll see what happens! > On Aug 11, 2021, at 8:53 AM, Bengt Richter wrote: >=20 > 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 :) >=20 > Sorry for any implication that I really know anything about mes ;/ >=20 > 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, >>>>=20 >>>> 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#2nv= axgs0rdxfkrwklh622ggaxg0wap6n-bash-mesboot0-2.05b.log-L1299 >>>>=20 >>>> The error line is L1299: "make: stat:Makefile: sterror: unknown = error=E2=80=9D >>>> -- >>>=20 >>> To me, sterror looks like a typo for strerror >>> so grepping for sterror might find the typo, if that's what it is? >>>=20 >> Looking at ./lib/mes/__mes_debug.c, it looks like you could = set/export environment >> MES_DEBUG=3D1 and run it again to see the error number = ./lib/string/strerror.c >> (in git repo) doesn't like. >>=20 >> Then run something like my error-printing kludge that will work on = your system: >>=20 >> 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 >>=20 >> if [ "${1:0:1}" =3D=3D "-" ]; 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--- >>=20 >> HTH. >>=20 >>=20 >>=20 >=20 > --=20 > Regards, > Bengt Richter