From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <guix-devel-bounces+larch=yhetil.org@gnu.org>
Received: from mp11.migadu.com ([2001:41d0:403:58f0::])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits))
	by ms8.migadu.com with LMTPS
	id iLseIAKCQGVVTAAA9RJhRA:P1
	(envelope-from <guix-devel-bounces+larch=yhetil.org@gnu.org>)
	for <larch@yhetil.org>; Tue, 31 Oct 2023 05:26:42 +0100
Received: from aspmx1.migadu.com ([2001:41d0:403:58f0::])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits))
	by mp11.migadu.com with LMTPS
	id iLseIAKCQGVVTAAA9RJhRA
	(envelope-from <guix-devel-bounces+larch=yhetil.org@gnu.org>)
	for <larch@yhetil.org>; Tue, 31 Oct 2023 05:26:42 +0100
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 5D054172E3
	for <larch@yhetil.org>; Tue, 31 Oct 2023 05:26:41 +0100 (CET)
Authentication-Results: aspmx1.migadu.com;
	dkim=fail ("headers rsa verify failed") header.d=lease-up.com header.s=2017 header.b=EE12gt66;
	dmarc=pass (policy=none) header.from=gnu.org;
	spf=pass (aspmx1.migadu.com: domain of "guix-devel-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-devel-bounces+larch=yhetil.org@gnu.org"
ARC-Seal: i=1; s=key1; d=yhetil.org; t=1698726402; a=rsa-sha256; cv=none;
	b=md5MMgX2iY1EFdXZK3puSsfj9RJDVU1LPXq7FfJj+tedljahfP2RWN0y9k1Mh83WK0N4HP
	NfOl+svkcLYPtSKnKU4fbc/j9YA+p7yg9t3pMZKRyQGx8oPDDfCx+/zHP5Xum7WdK4gMg9
	IJZlUUejlIKBs5j93N07t+cX0ftNkMJaoVKYcWT4zQWIz7+Xa4/dR/uc9wqMjS9szJOEd+
	BCuSwTs+HEggVG2V39WTHEt9wqjUC4lVRT05MvAi8d4iLlOI8sS200Sh9nezrLTwuRGznG
	4MUC9Dty/UI5/pFmDfAj+XYQO6HoHL3MoA3V/18A2yVTQaG50a/akQ4eqt3DeA==
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org;
	s=key1; t=1698726402;
	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:in-reply-to:in-reply-to:
	 references:references:list-id:list-help:list-unsubscribe:
	 list-subscribe:list-post:dkim-signature;
	bh=E/w2ySTh8R9NZ1tIzU3LvOyXGuBaYYCY+f0E9/w+z4o=;
	b=GHS26q5IAQq7UnM8GoqSlIjxIbuvHHziXJsZNpwBYmQB107Yrwa99rbo3zeuHIDTLOJRsM
	b8aqWhC0mnQJ5hVTwSXrTWklHgQbfZJOOPREE/gc4v2cFWEkcdzg38HXs/CsKk22yitC3w
	EhigEl7zDnoVbH96t1M/yhzjqUsS1kpapXQDVA9UrL416rea5oq6sdNRVVvP129qJ0BSzB
	4Ot+jLXrGmSzLfDrBODIhWwwQpxDiSl+tLhzfUDbc4ElS3xF5gN/3rXjV9CW1Vxr8eR0VL
	UfXJDzZc0kHeryt/ts7u0auZgdxQPkO6mUykqmDDoDZbHdvppXZErK810WF/Lg==
ARC-Authentication-Results: i=1;
	aspmx1.migadu.com;
	dkim=fail ("headers rsa verify failed") header.d=lease-up.com header.s=2017 header.b=EE12gt66;
	dmarc=pass (policy=none) header.from=gnu.org;
	spf=pass (aspmx1.migadu.com: domain of "guix-devel-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-devel-bounces+larch=yhetil.org@gnu.org"
Received: from localhost ([::1] helo=lists1p.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.90_1)
	(envelope-from <guix-devel-bounces@gnu.org>)
	id 1qxgKT-0004f2-8o; Tue, 31 Oct 2023 00:26:13 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10])
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <felix.lechner@lease-up.com>)
 id 1qxgKQ-0004es-24
 for guix-devel@gnu.org; Tue, 31 Oct 2023 00:26:10 -0400
Received: from sail-ipv4.us-core.com ([208.82.101.137])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_CHACHA20_POLY1305:256)
 (Exim 4.90_1) (envelope-from <felix.lechner@lease-up.com>)
 id 1qxgKN-0000x1-33
 for guix-devel@gnu.org; Tue, 31 Oct 2023 00:26:09 -0400
DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; s=2017; bh=E/w2ySTh8R9NZ1t
 IzU3LvOyXGuBaYYCY+f0E9/w+z4o=;
 h=date:references:in-reply-to:subject:
 cc:to:from; d=lease-up.com; b=EE12gt66hiu1MaQZ+HSB65HpTo9e8nwRzzCvVi6z
 i30Op6sj8f/4CpvDADKjFV0cMMVSDpjXwvjI36+cfVyK9cd16DjLkyuKTCqXd1SUpco3iS
 xli5NO97lR61FVHc1u9jvFW/hx7NSCyZgfyvTIT2dqwmPTzhnNFm8casqtx4g=
Received: by sail-ipv4.us-core.com (OpenSMTPD) with ESMTPSA id bfe4b08e
 (TLSv1.3:TLS_CHACHA20_POLY1305_SHA256:256:NO); 
 Tue, 31 Oct 2023 04:26:04 +0000 (UTC)
To: Attila Lendvai <attila@lendvai.name>, guix-devel <guix-devel@gnu.org>
Cc: 
Subject: Re: shepherd-action debug help needed
In-Reply-To: <HwHJ7wSna1MCD7Ef6HOI0QsTO61uzCE0IdaPXOQ8XC7ci5ygUTi9Iy6G99znopc0ydlH8OrHZk1G__EDIfoqWI-m-BDZnV5wIZxmMYFURRo=@lendvai.name>
References: <HwHJ7wSna1MCD7Ef6HOI0QsTO61uzCE0IdaPXOQ8XC7ci5ygUTi9Iy6G99znopc0ydlH8OrHZk1G__EDIfoqWI-m-BDZnV5wIZxmMYFURRo=@lendvai.name>
Date: Mon, 30 Oct 2023 21:26:04 -0700
Message-ID: <87ttq7beoz.fsf@lease-up.com>
MIME-Version: 1.0
Content-Type: text/plain
Received-SPF: pass client-ip=208.82.101.137;
 envelope-from=felix.lechner@lease-up.com; helo=sail-ipv4.us-core.com
X-Spam_score_int: -20
X-Spam_score: -2.1
X-Spam_bar: --
X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1,
 DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, SPF_HELO_NONE=0.001,
 SPF_PASS=-0.001 autolearn=ham autolearn_force=no
X-Spam_action: no action
X-BeenThere: guix-devel@gnu.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: "Development of GNU Guix and the GNU System distribution."
 <guix-devel.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/guix-devel>,
 <mailto:guix-devel-request@gnu.org?subject=unsubscribe>
List-Archive: <https://lists.gnu.org/archive/html/guix-devel>
List-Post: <mailto:guix-devel@gnu.org>
List-Help: <mailto:guix-devel-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/guix-devel>,
 <mailto:guix-devel-request@gnu.org?subject=subscribe>
Reply-to:  Felix Lechner <felix.lechner@lease-up.com>
From:  Felix Lechner via "Development of GNU Guix and the GNU System distribution."
 <guix-devel@gnu.org>
Errors-To: guix-devel-bounces+larch=yhetil.org@gnu.org
Sender: guix-devel-bounces+larch=yhetil.org@gnu.org
X-Migadu-Flow: FLOW_IN
X-Migadu-Country: US
X-Migadu-Scanner: mx11.migadu.com
X-Spam-Score: -6.57
X-Migadu-Queue-Id: 5D054172E3
X-Migadu-Spam-Score: -6.57
X-TUID: TKJlviTDxtM+

Hi Attila,

On Mon, Oct 30 2023, Attila Lendvai wrote:

> 2023-10-30T14:24:12 Cmd returned exit code 127

Exit code 127 means "command not found". [1] More information is
available in stderr (or sometimes stdout) if you can capture it.

Another option would be to forgo the shell magic in (system cmd-string)
and reimplement that call using system*, open-pipe* and friends. The
"install" step could become a Guile loop over the file names. The
deconstruction might likewise help you pinpoint the command that fails
because the executable was not found.

Kind regards
Felix

[1] https://linuxconfig.org/how-to-fix-bash-127-error-return-code