From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id kO6SEQaQw2EZSQAAgWs5BA (envelope-from ) for ; Wed, 22 Dec 2021 21:52:22 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id yIENDQaQw2EsPQAAbx9fmQ (envelope-from ) for ; Wed, 22 Dec 2021 20:52:22 +0000 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 0BD039E67 for ; Wed, 22 Dec 2021 21:52:22 +0100 (CET) Received: from localhost ([::1]:55880 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1n08ay-0006xl-UI for larch@yhetil.org; Wed, 22 Dec 2021 15:52:20 -0500 Received: from eggs.gnu.org ([209.51.188.92]:42134) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n08Zi-00068n-R0 for bug-guix@gnu.org; Wed, 22 Dec 2021 15:51:02 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:48268) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1n08Zi-0006cC-Gz for bug-guix@gnu.org; Wed, 22 Dec 2021 15:51:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1n08Zi-0008IQ-HB for bug-guix@gnu.org; Wed, 22 Dec 2021 15:51:02 -0500 X-Loop: help-debbugs@gnu.org Subject: bug#52684: [BUG] Multiple Packages Failing to Build Resent-From: Maxime Devos Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Wed, 22 Dec 2021 20:51:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 52684 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Christopher Rodriguez , 52684@debbugs.gnu.org Received: via spool by 52684-submit@debbugs.gnu.org id=B52684.164020620931798 (code B ref 52684); Wed, 22 Dec 2021 20:51:02 +0000 Received: (at 52684) by debbugs.gnu.org; 22 Dec 2021 20:50:09 +0000 Received: from localhost ([127.0.0.1]:59810 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n08Yr-0008Go-10 for submit@debbugs.gnu.org; Wed, 22 Dec 2021 15:50:09 -0500 Received: from michel.telenet-ops.be ([195.130.137.88]:57276) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n08Yo-0008Gc-Vz for 52684@debbugs.gnu.org; Wed, 22 Dec 2021 15:50:08 -0500 Received: from ptr-bvsjgyhxw7psv60dyze.18120a2.ip6.access.telenet.be ([IPv6:2a02:1811:8c09:9d00:3c5f:2eff:feb0:ba5a]) by michel.telenet-ops.be with bizsmtp id ZYq42600T4UW6Th06Yq55e; Wed, 22 Dec 2021 21:50:05 +0100 Message-ID: From: Maxime Devos Date: Wed, 22 Dec 2021 20:50:04 +0000 In-Reply-To: References: <7ee7ed76-4676-6c86-87f0-8d7ab886fc50@gmail.com> Content-Type: text/plain; charset="UTF-8" User-Agent: Evolution 3.38.3-1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=telenet.be; s=r21; t=1640206205; bh=+YWk/fy8BEmUG2aIrmfofdiDJtsorSxgxW/AaVDkvxM=; h=Subject:From:To:Date:In-Reply-To:References; b=IumDNjk7/qfd0QSjYPGwMhjcYNvZgZEeer3EaYtZSK59cIlZ9OaqpYqXSdIr6lGLM XX/DcbNJLko+PfYe2ijWdxC50VXrdCI910S5+6D+fjEES5HAfY1YvRJDeKJTNCClpN /G0GQg2O8/cdhAdkX7TnPlgVAZZq5T8GWmljbhRyQcdtCywRAkyPIOVtDP6SiauoO9 74ZUZLhOjM4LrhrMFkfNNnYHwYNBvu1pG5Aob64baCXBAoQj6QntF6DiKNQGDYxzXW Y3Hvkm7T4+/muhAG4V3KFXzHj7xkoBzMgnMUNUkjHl5cLFw3kxQBPI7sB0p641jQ7g S6vMdGauRRNbg== X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: "bug-Guix" 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=1640206342; h=from:from:sender:sender: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=+YWk/fy8BEmUG2aIrmfofdiDJtsorSxgxW/AaVDkvxM=; b=gQn+HgRgpUlnAMkvXai6RnVvyehYNcX0fJSy5gKYJBpq5WxpHEKQeeUu0Bj4P8hyVunq8F 7gLHIiOcegPz3V0AYGqQtvKZzizU04ag6MzY3zCbzkyTngAkjEtoQUwSN/NWvcN7VLwHVB LtWwVoorh1Ut/aONo9FG9b8Hsbph/8aHXk8XTN6RCpXEWtIIB9h/pT4Ne/ktmX5Ol2skBs 3eyugvIJWvPfFiws3eqT/Kk6BCLNsDEunxUuuhpjvsS0rJvZEFMyOGgxyqHxbIv8ZUPGQN WK7uTheB+EnnluVoAol0xK9+A5yajn/+v4kHYscJ5PrVXod70/sX+/4A4f5MQA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1640206342; a=rsa-sha256; cv=none; b=m74POTn4VaetbbSbCgrdtuLXpKSQgubRvPiah0FTS3SrfvKhUR6fUmDntvkT3vSXAGpRs6 h4wGtso4xYUHjMjZ+O3UNtK1JccTCa4QHhbpCxzs/r5m+eW65XETVWE0w2KPoBJLbVLVky NtW+cTQzbh9EtlGgv0RV9blA6v+4FaR6NUdrjDFZ5aoEmZto0vz1QvWKZCwIkGQU5sL4Oh cciUgw0Md3rlsOeMuJorUoiyfUDU12tCG/3yHjSpM/aGmHuTI3TSscr3Xoz0a94wntaYmS yLP3fStYBo4jFiiP4Kq7z3ptDRSKMtTry5QH4X8y9hiojihpueizBzywkFqiNg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=telenet.be header.s=r21 header.b=IumDNjk7; dmarc=fail reason="SPF not aligned (relaxed)" header.from=telenet.be (policy=none); spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -3.44 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=telenet.be header.s=r21 header.b=IumDNjk7; dmarc=fail reason="SPF not aligned (relaxed)" header.from=telenet.be (policy=none); spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 0BD039E67 X-Spam-Score: -3.44 X-Migadu-Scanner: scn0.migadu.com X-TUID: mFaQw5XllKAf Christopher Rodriguez schreef op wo 22-12-2021 om 14:59 [-0500]: > I've been digging through the source, and it seems as though > `python-build-system` does not actually set the $GUIX_PYTHONPATH > variable in the environment. That variable seems to only be set by > `python-2.7` and its derivatives, including `python3.9`, during a > step > after the install process. > [...] > I don't know if this is intended. If it is, that would mean that  > (currently) there is no easy way to set the $GUIX_PYTHONPATH > variable  > outside of installing `python` in a profile. That would certainly be > the  > most expedient way forward (and how it would be done on traditional  > distros). python-build-system doesn't GUIX_PYTHONPATH, because that's the job of the native-search-paths of python. When a python library is being built, GUIX_PYTHONPATH is set because the library has python among its (implicit) inputs. The same holds for profiles: if python and package containing a lib/pythonVERSION/site-packages are in the same profile, then GUIX_PYTHONPATH is set in that profile. > Both `guix install python` and `export > GUIX_PYTHONPATH=/gnu/..../site-packages` work to allow the > environment > variable to be set. But it might be better and more future-proof to > just > install python in the profile as a dependency, since the program > itself > actually depends on `python` anyway. There's a reason why we don't ‘just propagate’ like in classical distros: what if the user installs a version of python incompatible with the version used by beets? To avoid such incompatibilities (and other problems), the interpreter of binaries (and the load path) is hard-coded at built time. Also, if this is about plugins: adding GUIX_PYTHONPATH to beets' native-search-paths should work (the wrapper uses 'prefix', not '='). Greetings, Maxime.