From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id uBvZDPNpXGIYywAAgWs5BA (envelope-from ) for ; Sun, 17 Apr 2022 21:26:43 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id 2OSYCfNpXGKpaAAAauVa8A (envelope-from ) for ; Sun, 17 Apr 2022 21:26:43 +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 E7AB0268CB for ; Sun, 17 Apr 2022 21:26:42 +0200 (CEST) Received: from localhost ([::1]:33000 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ngAXh-0000PS-U9 for larch@yhetil.org; Sun, 17 Apr 2022 15:26:41 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:34114) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ngA14-0001uE-Rc for guix-devel@gnu.org; Sun, 17 Apr 2022 14:52:58 -0400 Received: from dd30410.kasserver.com ([85.13.145.193]:49926) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ngA12-0005Qb-Sd for guix-devel@gnu.org; Sun, 17 Apr 2022 14:52:58 -0400 Received: from localhost (84-115-234-55.cable.dynamic.surfer.at [84.115.234.55]) by dd30410.kasserver.com (Postfix) with ESMTPSA id 8658C1120057; Sun, 17 Apr 2022 20:52:48 +0200 (CEST) Date: Sun, 17 Apr 2022 20:52:42 +0200 From: Danny Milosavljevic To: Vagrant Cascadian Subject: Re: How to find binaries in libexec dir? Message-ID: <20220417205242.5f3cb12c@scratchpost.org> In-Reply-To: <87mtgky5pt.fsf@contorta> References: <87mtgky5pt.fsf@contorta> X-Mailer: Claws Mail 4.0.0 (GTK+ 3.24.30; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: multipart/signed; boundary="Sig_/JRRKVZ.8/X6loBCjIhg62wA"; protocol="application/pgp-signature"; micalg=pgp-sha512 Received-SPF: none client-ip=85.13.145.193; envelope-from=dannym@scratchpost.org; helo=dd30410.kasserver.com X-Spam_score_int: -25 X-Spam_score: -2.6 X-Spam_bar: -- X-Spam_report: (-2.6 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_LOW=-0.7, 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=1650223602; 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; bh=BA/UgZtlbac6FmtiRQk99z48VVPx753Dr8EBk+hEAzE=; b=CurBCNVrCKfucschtGCgNcyC66Ad+Znr1Mm2OBLgZ9O4cwFDbQEx8DiSiT3VozOesJZ3bG wJuztyx8INra0eLKXki7D801oxs1Heu1qEGct83kFjKJoCsXd/wCG3HkK2v7K13nnWROK8 HmDSOZWe4WzjYhIgiWePsp1I0hwlHQZbMdgntnedUz6WuL61nZSRfwYHCYqnlQ/hb4Nm8o GNdPFXWV/MZYURxXrOgbYiXEh3b6YT5fdOAsdblmxR1V+FHNzo3R7TVzhralVX/FvfI/gP ZY8rsK+SEyis9jis3DcYTS/hGUs8orI+pjtd7MWlYm1a27zjlTpVjSrlXzLkxw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1650223602; a=rsa-sha256; cv=none; b=N6Br74OEyAqeJPuz1aLsdOcrFwXQddCPljRBHWcP8l0orXIwDVnX55g/PN2398LNuOwg4g x02woanRlcQwRjMhYa6k8XXyrPokRQUsrv3B2yCFoOE8Rvi9+smtfEBKR4n9k7cbIVuhy/ eucP8+Gw8rVGdGb+a1e/Ljn8K1IVZ5FOh+vXiTjtCGWezC1aK4WfDQeqgmhWVEFB/dYcqP oY2++aGnrIPHjHlqSV1iYXrnhaBhk0XkNpvnuhAnjADVO4Ugwos1QtYMO+1fMIalZqE5Rz b+SCUsnmSqwTUzxOqfMKSg0uHz9IPY0kIERuFoVgd2DtFZakRLHs7PfNlBx/MA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; 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: -4.04 Authentication-Results: aspmx1.migadu.com; dkim=none; 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: E7AB0268CB X-Spam-Score: -4.04 X-Migadu-Scanner: scn1.migadu.com X-TUID: 7meSFVVsxXEo --Sig_/JRRKVZ.8/X6loBCjIhg62wA Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Hi, On Sat, 16 Apr 2022 16:21:50 -0700 Vagrant Cascadian wrote: > But libxmlb ships the xb-tool binary in libexec, which diffoscope cannot > find on guix. > For Debian, diffoscope just basically adds the > corresponding directory to PATH, and it's basically a single directory, > but I'm not sure how I'd do that with guix ... >=20 > A workaround would be to adjust the libxmlb package so that xb-tool is > also in PATH somehow, but maybe this is bad form? Isn't the whole point of libexec so that executable is not in PATH? FHS section 4.7 says: >/usr/libexec includes internal binaries that are not intended to be execut= ed directly by users or shell scripts. libexec is usually used to store tool executables that are invoked internal= ly by libraries (glibc, ssh, gpg etc). I'd like to caution against just adding libexec to PATH, because that would make the entire separation of libexec out of bin (and thus the reason of existence of libexec) useless to begin with. I've looked upstream https://github.com/hughsie/libxmlb and it says, very c= lose to the beginning (so it's a main feature apparently): >$ xb-tool compile fedora.xmlb fedora.xml.gz Well, for that to work, xb-tool should be in bin. I'd file a bug report with libxmlb to move xb-tool to bin. --Sig_/JRRKVZ.8/X6loBCjIhg62wA Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- iQEzBAEBCgAdFiEEds7GsXJ0tGXALbPZ5xo1VCwwuqUFAmJcYfsACgkQ5xo1VCww uqVcLgf9Gl4rA6w1n475mC8A9xXZP8rfkKt0ZsbH/CzsxogkJTjmozU9GNICDOEP Oro2PiRbTfhMXRGM23qdYHr21UKuf7RWa+8w6DxMW1WKQiImSQ+XBV+hf3YfMWIB sWJyCveVimyI4asAtt3+34iG08V1vgYIuVMsHO14i1GswQlKsDlJERO36XD1eXje FR//9us2r38Tj0rJ8oW9vrka6erSYt/ob+3FexZLHZVWqfmihVzWpm0pJzPJ/Seo GPfnpvb+AYXBA0EerQd5aca5udUedtC2/yez0vWpzZndw2XxzeyGTzunNzaXgB4T +c6oh++BD6lgdzkz/as/p4tXjPPFhQ== =XF6P -----END PGP SIGNATURE----- --Sig_/JRRKVZ.8/X6loBCjIhg62wA--