From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.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 SG0LIdvYJ2KYIQAAgWs5BA (envelope-from ) for ; Tue, 08 Mar 2022 23:29:47 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id 0PE3GtvYJ2IYCgAAG6o9tA (envelope-from ) for ; Tue, 08 Mar 2022 23:29:47 +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 20C1910E7B for ; Tue, 8 Mar 2022 23:29:47 +0100 (CET) Received: from localhost ([::1]:56334 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nRiKv-0005Su-OG for larch@yhetil.org; Tue, 08 Mar 2022 17:29:45 -0500 Received: from eggs.gnu.org ([209.51.188.92]:37704) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nRiKJ-0005Sd-1p for guix-patches@gnu.org; Tue, 08 Mar 2022 17:29:07 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:35963) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nRiKE-00029k-7t for guix-patches@gnu.org; Tue, 08 Mar 2022 17:29:05 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nRiKD-00031J-TS for guix-patches@gnu.org; Tue, 08 Mar 2022 17:29:01 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#54266] [PATCH] samba: wrap scripts with GUIX_PYTHONPATH Resent-From: Maxime Devos Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 08 Mar 2022 22:29:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 54266 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: fesoj000 Cc: 54266@debbugs.gnu.org Received: via spool by 54266-submit@debbugs.gnu.org id=B54266.164677851111568 (code B ref 54266); Tue, 08 Mar 2022 22:29:01 +0000 Received: (at 54266) by debbugs.gnu.org; 8 Mar 2022 22:28:31 +0000 Received: from localhost ([127.0.0.1]:58093 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nRiJj-00030W-0O for submit@debbugs.gnu.org; Tue, 08 Mar 2022 17:28:31 -0500 Received: from albert.telenet-ops.be ([195.130.137.90]:33236) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nRiJg-00030N-I6 for 54266@debbugs.gnu.org; Tue, 08 Mar 2022 17:28:29 -0500 Received: from ptr-bvsjgyhxw7psv60dyze.18120a2.ip6.access.telenet.be ([IPv6:2a02:1811:8c09:9d00:3c5f:2eff:feb0:ba5a]) by albert.telenet-ops.be with bizsmtp id 3yUS2700K4UW6Th06yUT7W; Tue, 08 Mar 2022 23:28:27 +0100 Message-ID: <627b297ab383846cd2572bc29337dc5a224f425a.camel@telenet.be> From: Maxime Devos Date: Tue, 08 Mar 2022 23:28:26 +0100 In-Reply-To: <07a2e445-f1b8-16dc-ba68-add645ba2588@gmail.com> References: <50be1b85-e682-d910-970c-14a08275278f@gmail.com> <6117b63516dfa5b4801ed876d33658412aedbfff.camel@telenet.be> <07a2e445-f1b8-16dc-ba68-add645ba2588@gmail.com> Content-Type: multipart/signed; micalg="pgp-sha512"; protocol="application/pgp-signature"; boundary="=-m3AakI1I+BCfTQzIGIkJ" User-Agent: Evolution 3.38.3-1 MIME-Version: 1.0 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=telenet.be; s=r22; t=1646778507; bh=+3Ls85Qet7bK6O1zdh8zLmTnaDaZE0h87W/w/8mQwLg=; h=Subject:From:To:Cc:Date:In-Reply-To:References; b=c9FQtewAe9Lc/Nmim8C0tIhORWaeYz0DINHCh3/OEZCtvH3kH30Idau+swIaCXCq6 VNq4kfg6/HRXJfDZmMuwng15YtHFcxwz7sXQ7oKe/C5CCm7CcLrhbMyHju0URzmjf4 GVqF6x/uRyUrCIN2ZG72w4D83CLJP4FSX3Z5BhTL/yiqMjiyYwny9J2awdT6CDbFbP 1k9E861JqNOqp68aLEEq6weMTNAUa7bjgqK9y/IERqvTDDTdwo+/WgvNyuKRcOAz0C sEQIW79vkPvn94Nq3a1ahi+WjYlC0qu3TjiUNbqc7XJRFzjOlfu8bumv9wU2V0THmO 7BDTRQ/P6buxw== X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1646778587; 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: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=+3Ls85Qet7bK6O1zdh8zLmTnaDaZE0h87W/w/8mQwLg=; b=f64gEefpJAhVJgdxqVRdrPapck0uds8xF8OdU5l5144ByHacWQ5M5akXDx41LcZrungufs DboAkdYKF9lRGvYqE+8eGpFVs5cg95MLFrGQsB9WzjaFPHaU5ewHgLLEbPo+uVWiVTFf/z KCy+zA6sjbzweBHdx7mTU47OhIzRg3chkNaGrmx0rOHNrt5fi2bLysBKpg/hgBCUwjNrg4 r4YHxazz3qCE0L+rmG6Yxbi6GjLRG5vICjiUmyaA0LeZ/07Z1+PpFregTsX8d4dRBXvJWp hMBSWOx9bKHvmyq+7GfuyGeCtiJZp48jlOt0I32rviBqnwFtXEWw6PhGw6NuSQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1646778587; a=rsa-sha256; cv=none; b=OoNK36sswXNM55HfkJb8bXJh48wU2FJE+pHByKjPqXB71eWimfd1Gl0AU8Ytbt39Me8cYI pXzSEPza56LtyKD3VqC+rG0KSKR97QYozVANlCEX8TmVa4ScW//pYtRDLk/We7J+yzBm0j GPh0BIqkHA2WQq5u9Pe0fliwV6jPZuw7GXrkKMayu8eIBZ2NjQ2N5Socce4yy7hHcsh8II HqjFAD0pDBpeXp8v5WS5+INA2eCc0X0EpGOqa5ECU7fexEuCCsO40mRRAtAbjbnE1A5cnZ un8q5UQ6pyB7RR2O8ZauZ1lP8FbEn3b7S0fakLsjzyeiCwCYLJG1ttMz6Rfgrg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=telenet.be header.s=r22 header.b=c9FQtewA; dmarc=fail reason="SPF not aligned (relaxed)" header.from=telenet.be (policy=none); spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: 2.19 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=telenet.be header.s=r22 header.b=c9FQtewA; dmarc=fail reason="SPF not aligned (relaxed)" header.from=telenet.be (policy=none); spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 20C1910E7B X-Spam-Score: 2.19 X-Migadu-Scanner: scn0.migadu.com X-TUID: XdzYXOMmnK69 --=-m3AakI1I+BCfTQzIGIkJ Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable [Please keep 54266@debbugs.gnu.org in CC] fesoj000 schreef op di 08-03-2022 om 23:14 [+0100]: > packages. If you talk about the samba package output then we can do this = like > the new diff below. Looking at some of the python scripts, it seems that they add samba's python libraries to the path by theirselves, so I don't think this is necessary. > > Also, it looks like some of the python stuf uses 'ldb', so 'ldb' might > > need to be included as well. > 'ldb' is included, you can look at the guix-pythonpath function which bui= lds > the pythonpath. In fact not only 'ldb' is need but further 'tdb' and 'tal= loc'. Looking a little closer, it indeed seems fine (untested)! Greetings, Maxime. --=-m3AakI1I+BCfTQzIGIkJ Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- iI0EABYKADUWIQTB8z7iDFKP233XAR9J4+4iGRcl7gUCYifYihccbWF4aW1lZGV2 b3NAdGVsZW5ldC5iZQAKCRBJ4+4iGRcl7pyvAP0cONy768a67sQn1jycZxRQJUpe 6oJww7UrWE1l/GWxHQEAt8S5Fio1bJ9AWsMaTCgmcH4yWciOEwHzxWcC4Osd4gs= =3FNc -----END PGP SIGNATURE----- --=-m3AakI1I+BCfTQzIGIkJ--