From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id YICgC9p7XGJWHQEAgWs5BA (envelope-from ) for ; Sun, 17 Apr 2022 22:43:06 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id aGBICNp7XGJFkwAAauVa8A (envelope-from ) for ; Sun, 17 Apr 2022 22:43:06 +0200 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 724E480E7 for ; Sun, 17 Apr 2022 22:43:05 +0200 (CEST) Received: from localhost ([::1]:34782 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ngBjc-0002Na-K8 for larch@yhetil.org; Sun, 17 Apr 2022 16:43:04 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:57256) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ngBjR-0002NR-5K for guix-devel@gnu.org; Sun, 17 Apr 2022 16:42:53 -0400 Received: from cascadia.aikidev.net ([2600:3c01:e000:267:0:a171:de7:c]:48620) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ngBjP-0005c5-8O for guix-devel@gnu.org; Sun, 17 Apr 2022 16:42:52 -0400 Received: from localhost (unknown [IPv6:2600:3c01:e000:21:7:77:0:20]) (Authenticated sender: vagrant@aikidev.net) by cascadia.aikidev.net (Postfix) with ESMTPSA id EAB641AA80; Sun, 17 Apr 2022 13:42:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=reproducible-builds.org; s=1.vagrant; t=1650228169; bh=yP9cFfrKYPz7/Z9U3deZjginvT81PGvVhlMv6dNfB7E=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From; b=odX/Kl+fDk3aJgw4O3Te7mbdsZjVf7R3qBqoyLXcmxQCeJUKixXPCsND8ToJvI1dS 0ImJmVgp3htlSFsyWuhAVwJSiNX8MayG6ldbcPyNnOK9VsNkWd6v/oMqiW9Sg+MxT0 hiSJZPuZYIdjdOui8/gWLCIYnlan0xvu8ppLFgz3dlrRgTk0ayyK6zoccC9QXLd/wh 7OZcYSKFLQXfiFjCf69k3k/hj3u8fHoT1WIF012gqucOrcI/X0L4ufQWe4p+P8lOs4 Nc89kQtS10NM3eBGUu3EJtHWibHNntMpQB3Zbaxr7BiO4yEu+WepF+zZg+rhiQfRcK 9tsH1O3eHqxAA== From: Vagrant Cascadian To: Liliana Marie Prikler , Danny Milosavljevic Subject: Re: How to find binaries in libexec dir? In-Reply-To: References: <87mtgky5pt.fsf@contorta> <20220417205242.5f3cb12c@scratchpost.org> <87r15v7boj.fsf@contorta> Date: Sun, 17 Apr 2022 13:42:43 -0700 Message-ID: <87o80z7870.fsf@contorta> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" Received-SPF: none client-ip=2600:3c01:e000:267:0:a171:de7:c; envelope-from=vagrant@reproducible-builds.org; helo=cascadia.aikidev.net 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_NONE=0.001, T_SCC_BODY_TEXT_LINE=-0.01 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." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: guix-devel@gnu.org Errors-To: guix-devel-bounces+larch=yhetil.org@gnu.org Sender: "Guix-devel" X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1650228185; 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:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=tDGYGDHDECXEd14kNf9O3LzzW3KQEOXiFpy94EPmmbQ=; b=fAcpEmBzZ35dHVpYqnUQS7Bve6DzFGKSmGn14bIkMIOLomo3P/H2SIomYy7wzVNR2fX6gC OhucTi8ZuK3YO3+EdUfyp+kqPNpadLoOPZJigop9/038MzlEI9TiYEfxhAUxfV4VIi9Bkw 0kHIM0L32Pj4880xPTr/6outJmAvY0pLoAOi5RRvbmGRbWH33AL3BOS3678mEuy/LwVpas 01nlaXYawccOkoO+eLLVWUYyzmQQNSYdV/E7xL2U0WVYIBSN01avw3eoFs8s+/aG0hbH7y Tlog/7v30yPW+Otzy/m0GRxS5k7A7aGivRXEuGwznZSuQLrV4bUfMhhu4H68zg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1650228185; a=rsa-sha256; cv=none; b=omPrkn5xAson6/E38kohgpGNPZI7g1Z21oRQsiJpVj/eQXFbNXYO35dMNjo+0KfO6K5Wlc Ig9ltLDtsVPuTOfesnki+s32l7Ss2sOvXHYzBYUGpWWgY7XIckrEtT9vLL1Yb3oOVuQDW5 cdZg7k5DCpidnkNswGKhAAg/qkL+4o/WbeAKka/xx+dmHEN+gvczWCTNAnZJ0HDgTEiOmv pZdmk+0kovgSW9fQ1SrqYrWq10mUqGfyLcNzOHYdI+o3BdKf9t06F4MFnAU+3GoZ4Du6hu BEEBZw6z7snVhvsVVVfph+gPO+wE3s9LUZbfQG0bqBIz6hxZjC7DOC/tKZdlhw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=reproducible-builds.org header.s=1.vagrant header.b="odX/Kl+f"; dmarc=none; 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" X-Migadu-Spam-Score: -5.64 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=reproducible-builds.org header.s=1.vagrant header.b="odX/Kl+f"; dmarc=none; 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" X-Migadu-Queue-Id: 724E480E7 X-Spam-Score: -5.64 X-Migadu-Scanner: scn0.migadu.com X-TUID: ccgbHpzwASLo --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable On 2022-04-17, Liliana Marie Prikler wrote: > Am Sonntag, dem 17.04.2022 um 12:27 -0700 schrieb Vagrant Cascadian: >> On 2022-04-17, Danny Milosavljevic wrote: >> > On Sat, 16 Apr 2022 16:21:50 -0700 >> > Vagrant Cascadian wrote: >> >=20 >> > > But libxmlb ships the xb-tool binary in libexec, which diffoscope >> > > cannot find on guix. >> ... >> > I've looked upstream https://github.com/hughsie/libxmlb=C2=A0and it >> > says, very close to the beginning (so it's a main feature >> > apparently): >> >=20 >> > > $ xb-tool compile fedora.xmlb fedora.xml.gz >> >=20 >> > Well, for that to work, xb-tool should be in bin. >> >=20 >> > I'd file a bug report with libxmlb to move xb-tool to bin. >>=20 >> Good suggestion, we'll see where it goes! >>=20 >> =C2=A0 Please install xb-tool into bin instead of libexec >> =C2=A0 https://github.com/hughsie/libxmlb/issues/123 I got a positive response almost immediately, so that sounds promising at least! >> In the meantime, would it be reasonable to workaround this in guix by >> patching libxmlb to include xb-tool in bin, either by moving it >> there, or symlinking it from there? > You do realize search-input-file works with libexec/ as well, right?=20 > Just expand the command to its store path like we do for most commands > out there. I thought about that, but it needs to be discovered at runtime... It is arguably unreasonable to install *all* of diffoscope's supported features out-of-the-box. So hard-coding a specific guix generation's paths seems inappropriate. I recognize that is a bit at odds with guix's functional paradigm, as diffoscope will behave differently depending on what else is installed in the active user or system profile... but diffoscope has support for *many* file formats and only detects for available helper tools at runtime. live well, vagrant --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEARYKAB0WIQRlgHNhO/zFx+LkXUXcUY/If5cWqgUCYlx7xAAKCRDcUY/If5cW qs+jAPsFpCrMKvoHBnpAGtTkaCqZgTNiVHVN2Xine/sxxj6uEAD/fLmF8TUcRDUt u7fhDtR0KafLm38aVza5IPpnEphjNgM= =olm2 -----END PGP SIGNATURE----- --=-=-=--