From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id +FXQLGTiJ2LCYQAAgWs5BA (envelope-from ) for ; Wed, 09 Mar 2022 00:10:28 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id sByvKWTiJ2IR8gAAauVa8A (envelope-from ) for ; Wed, 09 Mar 2022 00:10:28 +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 2FABB14D6B for ; Wed, 9 Mar 2022 00:10:28 +0100 (CET) Received: from localhost ([::1]:51948 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nRiyI-0007DN-PK for larch@yhetil.org; Tue, 08 Mar 2022 18:10:26 -0500 Received: from eggs.gnu.org ([209.51.188.92]:46902) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nRixu-0007CI-64 for guix-patches@gnu.org; Tue, 08 Mar 2022 18:10:02 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:35975) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nRixt-0000yc-SH for guix-patches@gnu.org; Tue, 08 Mar 2022 18:10:01 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nRixt-00045X-LP for guix-patches@gnu.org; Tue, 08 Mar 2022 18:10:01 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#54266] [PATCH] samba: wrap scripts with GUIX_PYTHONPATH Resent-From: fesoj000 Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 08 Mar 2022 23:10: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: 54266@debbugs.gnu.org Received: via spool by 54266-submit@debbugs.gnu.org id=B54266.164678094915653 (code B ref 54266); Tue, 08 Mar 2022 23:10:01 +0000 Received: (at 54266) by debbugs.gnu.org; 8 Mar 2022 23:09:09 +0000 Received: from localhost ([127.0.0.1]:58105 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nRix3-00044P-Ee for submit@debbugs.gnu.org; Tue, 08 Mar 2022 18:09:09 -0500 Received: from mail-ej1-f53.google.com ([209.85.218.53]:45028) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nRix1-00044B-VT for 54266@debbugs.gnu.org; Tue, 08 Mar 2022 18:09:08 -0500 Received: by mail-ej1-f53.google.com with SMTP id qt6so1127225ejb.11 for <54266@debbugs.gnu.org>; Tue, 08 Mar 2022 15:09:07 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=message-id:date:mime-version:user-agent:from:subject:references :content-language:reply-to:to:in-reply-to:content-transfer-encoding; bh=RjrlfcejWrXWaYobiZIYoN2rOYiKnoybDH+BGF7LN2U=; b=hZYEljIK2tNDVJ/3LiEDui8fp3PTZn8g7FKJGtpdBfFodMpSov4lpUmWm5Mk97rvQy RKibkRawO1Y6dVYJv8yGPiPgyNREYCE1vawhnmX7lWb5j16Axicmpt+bqH5yPvs2H4lY RmpBtYxpjNrp+3u6AAEiZHyjh80WmTif7wTokNQpyLnNRWSLbHmPgP22mBbE1b+9wJcQ 0pGYjseh3iKZc142ESlEwnmtenJfT8nun8QxbIM1VeOdc6rxgPWM+DDhWHKluozK4om2 crw/q5exhSapWHz9OPLVWJOBCf53wGspm8DiVgSwmaePrwz3WRVcGdWZ18Y7ED2ipOVJ iSOQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:message-id:date:mime-version:user-agent:from :subject:references:content-language:reply-to:to:in-reply-to :content-transfer-encoding; bh=RjrlfcejWrXWaYobiZIYoN2rOYiKnoybDH+BGF7LN2U=; b=vL1ywe0oXl75K5lYVNpFp7PIb7zP5U3k+QKNq3wUxwmRGgJbEz6Ap1mMJNheDvhiOb fdAkJYEYsUHDwel30mcdKk7uLI6Amyu0mA2YL6Q8jVS9rvYDUPJPSA/i09LLU6hiITg6 qZQ9IeV58Z32nRGqauPymPpcJM4FJRFB/7t3rvffJ7gtknBMjRm2dXQhStdnuXHNprOV F8FCztyLzJffco7gqriax2eGpB3jpZrT8+5jye7Ovgs4cKGhMm7/p9v/mMODDdMR3AxI YW1LCYc3lgJsj6mwcinE/k6pOUq0RPv1iIsw5KjK//G0J2dKow+OZviFPiv5kcfZ5c6a yECA== X-Gm-Message-State: AOAM531PrhjKij2MQbf1Aq2WaU5mf2/sLvm9GyTgKvt14ajYX6f5Y8tF bHr7j7GTIWkPv74/r3JvB17DCZc9XNc= X-Google-Smtp-Source: ABdhPJxZcV55VvYPvvSc00A3NCA2oAyXUSljl3JFh58fAPf31GrgELD16mE9ODcorHegYs6ZvgkeJg== X-Received: by 2002:a17:906:6547:b0:6bd:e2ad:8c82 with SMTP id u7-20020a170906654700b006bde2ad8c82mr15038767ejn.693.1646780942112; Tue, 08 Mar 2022 15:09:02 -0800 (PST) Received: from ?IPV6:2003:ee:af2f:e00:c2f9:c2bb:bf95:1fc5? (p200300eeaf2f0e00c2f9c2bbbf951fc5.dip0.t-ipconnect.de. [2003:ee:af2f:e00:c2f9:c2bb:bf95:1fc5]) by smtp.gmail.com with ESMTPSA id ka6-20020a170907990600b006ce54c95e3csm50637ejc.161.2022.03.08.15.09.01 for <54266@debbugs.gnu.org> (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 08 Mar 2022 15:09:01 -0800 (PST) Message-ID: <507835fa-d569-8ee2-2df3-f45f1281d10e@gmail.com> Date: Wed, 9 Mar 2022 00:09:01 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.6.1 From: fesoj000 References: Content-Language: en-US In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit 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: , Reply-To: fesoj000 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=1646781028; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to: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=RjrlfcejWrXWaYobiZIYoN2rOYiKnoybDH+BGF7LN2U=; b=NmzM6xbWbMwPRwh7iwJGOBlGrVXhSF0XQTwHZsyYQmiJ3flkgTzVrilO8AQCSqkKeVUs/j fWCto21xlG5auZpPwokXpmHBfyD4H7M85o5vGkUfboj6rlWF8AP9pMuFvRh1norPH84vEx WzYuoutJ4TIVfqCAsXZQkcE4pVpqWmegq5wKOczGx/MCQFxgdZCfPZsC12xSdv+fK4s8zb oqKgmGj8c2aOaTSsZh0nRszFV4OI9JFbDWg1gcvTSjSIKYZBXtnh3QCl42WmTI4eQfysFq UrKJ+Kc79abdNl1YjOfHqLve3CfMLSa5ZnBsOBynoSul0hsa9QGAbblGiZf65Q== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1646781028; a=rsa-sha256; cv=none; b=pk/2cNxMF0bjYnCsMGQ8Kv10Qg9lGVMawwbzppwA2GkqC2R7K8xMbD1KTYSI5HeHd1BY9H hsLHLor418sT+1Usknxsfm+xagXz6zPFYVcymLxB7g7bDy/arKOWISd8hJz4gvk/1cONuX 8jnspzVh6uLOhzYAKigqinANX++hzueJqUWBWt4zypCrEM1r9U7RX+wJYW/Aj9Wf8Y+6os Uj4HMym0MIHXalwaUVYSv7fHKur/ccrgXRApiVNyv9Qm+UhiXL+ZGgieOi13XlHxaWP/rG IevtkXW7W/osxuWr+lvYWs8mOLyB8rPdSW8ep8qnKbMXBXtvOif6N9SQPqsymA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=hZYEljIK; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (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: 5.09 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=hZYEljIK; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (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: 2FABB14D6B X-Spam-Score: 5.09 X-Migadu-Scanner: scn0.migadu.com X-TUID: ybihGF50+lJO On 3/8/22 11:28 PM, Maxime Devos wrote: > [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. I just tested it, without the samba site-packages path the scripts still seem to work just fine. >>> 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 builds >> the pythonpath. In fact not only 'ldb' is need but further 'tdb' and 'talloc'. > > Looking a little closer, it indeed seems fine (untested)! > > Greetings, > Maxime. (I again made the mistake to not include debbugs ...)