From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id WLJlJsMDwWV9NAAA62LTzQ:P1 (envelope-from ) for ; Mon, 05 Feb 2024 16:50:27 +0100 Received: from aspmx1.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1.migadu.com with LMTPS id WLJlJsMDwWV9NAAA62LTzQ (envelope-from ) for ; Mon, 05 Feb 2024 16:50:27 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=posteo.net header.s=2017 header.b=LdlwaccB; 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"; dmarc=fail reason="SPF not aligned (strict)" header.from=posteo.net (policy=none) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1707148227; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: 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=OSs0zu11/ELnphctWvqLrVutur/iU2gIEeJL8VE7aEg=; b=myK2oJ7qMBvl69+eQiBcfXhrz7LcHAxNBN2IRfx0EsEXnTN/rAO/zd6CNqzgeboyj+W/zU UVJyY2fXE5ZeU/fPHUH7dFnDoqFbReU8ZoSF9/e7/tDa7ysPKIFtROP2fxxJ5e2ty/SdA0 nAQE5e+R6Hytiu/JhuO7mS0ZJSk2Fk3wWs8WTB2t6GqU1HEI/4SuImZmVKqy4nPwudfYy/ nmVOA9dSbtL7vXfPpmS0BLld8pOHuUBnTyTphjk1L9ZypXeW8Q/NNJA439n9O9B22QV9CK D9asq7nsdFxjeIFeQ+z8RlEO7DnqOLfLOeVs49tSbekgrqeDPdaY/GUkaczOmg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=posteo.net header.s=2017 header.b=LdlwaccB; 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"; dmarc=fail reason="SPF not aligned (strict)" header.from=posteo.net (policy=none) ARC-Seal: i=1; s=key1; d=yhetil.org; t=1707148227; a=rsa-sha256; cv=none; b=cXg/mlhmmNSWItqbmP1TWlzkZ69Jp4bwXPO/WuddHum9Iz55y6kDw+ktqqH/CILHj+ybmE 3DVAB952LCvKlm5L9S/iTgon0661FMKmXug2Mukr8IfBZcne3oiCsU3/hBLssqbPns7ako 3djc8ryT1kKv2jYmzEYDE1VF7cNR6sNT3S2EXbKKx06Qy9NDgm7xSgCwihqCK+W/rCZldj ZtSkYRuFQA6pUxlxzPhmBd5f8u06C9PmpzPXRKjnCR8pFc87e74I/2ynDN7T0uZAssCgJt mQfLEf2dWEtiMwAgun06kPfgt7uLU/9vHAGqpebM3Huk3xVV1jrCkLlPikZSgQ== 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 87FCE71A7E for ; Mon, 5 Feb 2024 16:50:27 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rX1EF-00053u-TP; Mon, 05 Feb 2024 10:49:51 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rX1EE-000538-B0 for guix-patches@gnu.org; Mon, 05 Feb 2024 10:49:50 -0500 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rX1ED-0001iC-PA for guix-patches@gnu.org; Mon, 05 Feb 2024 10:49:49 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rX1EQ-0005xb-2C for guix-patches@gnu.org; Mon, 05 Feb 2024 10:50:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#68937] [PATCH 2/3] gnu: brltty: Fix python package install. Resent-From: Dariqq Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 05 Feb 2024 15:50:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 68937 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 68937@debbugs.gnu.org Cc: Dariqq Received: via spool by 68937-submit@debbugs.gnu.org id=B68937.170714818822865 (code B ref 68937); Mon, 05 Feb 2024 15:50:02 +0000 Received: (at 68937) by debbugs.gnu.org; 5 Feb 2024 15:49:48 +0000 Received: from localhost ([127.0.0.1]:52113 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rX1EB-0005wi-UX for submit@debbugs.gnu.org; Mon, 05 Feb 2024 10:49:48 -0500 Received: from mout01.posteo.de ([185.67.36.65]:54977) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rX1EA-0005wF-5F for 68937@debbugs.gnu.org; Mon, 05 Feb 2024 10:49:46 -0500 Received: from submission (posteo.de [185.67.36.169]) by mout01.posteo.de (Postfix) with ESMTPS id 7F84624002D for <68937@debbugs.gnu.org>; Mon, 5 Feb 2024 16:49:27 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1707148167; bh=pHsyTJuqTugzLfkMaT4akfoxkPL8mOE0DTt7xVQOnQ0=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version: Content-Transfer-Encoding:From; b=LdlwaccBQVvN0DF1juAhM/1hsfXURfJXyZnzkyYM1UHZMPcMBWd1esN5UE1i2I8du pDWVrQvDFnX0n1oPWYzLqceOAPhSnw1Z+arVVORfs3P2EFLqlwuPEpW/a0hCr8sSMr 4Mk0nq6Ikz5rej38jO/L8O5tM+8BX9Yo5p5TZiU7SNSftKaXw8YCnu36pCqOQfj7dd NNuCMTjYQNOgxX5g23v3fFBavtHQFtjlrsuigDwZ7AGwpLGABONHWvixpT7BkerzRa 0MscJdfadIQ4s6Y0mukAoGjwF+3BFMtpczud9t5WeorzgauGFdzww/EzYMumQ2G6eD M/HRrQGLztBag== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4TT9mQ6ldYz6txh; Mon, 5 Feb 2024 16:49:26 +0100 (CET) From: Dariqq Date: Mon, 5 Feb 2024 15:48:37 +0000 Message-ID: In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Spam-Score: 3.63 X-Migadu-Queue-Id: 87FCE71A7E X-Spam-Score: 3.63 X-Migadu-Scanner: mx11.migadu.com X-TUID: Xj/vSLKnqDKW The python package is not being installed properly due to install directory not being on PYTHONPATH. * gnu/packages/accessibility.scm (brltty)[phases]: Add add-install-to-pythonpath-phase. [modules, imported-modules]: Add (guix build python-build-system). Change-Id: Ia9a24f872d82c3e582413eb1d9fc4df3e0979916 --- gnu/packages/accessibility.scm | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/gnu/packages/accessibility.scm b/gnu/packages/accessibility.scm index 0b5fb79f13..1b5fd6db50 100644 --- a/gnu/packages/accessibility.scm +++ b/gnu/packages/accessibility.scm @@ -129,6 +129,11 @@ (define-public brltty "PYTHON_ROOT=/" (string-append "TCL_DIR=" #$output "/lib") "INSTALL_WRITABLE_DIRECTORY=no-thanks") + #:imported-modules `((guix build python-build-system) + ,@%glib-or-gtk-build-system-modules) + #:modules '((guix build utils) + (guix build glib-or-gtk-build-system) + ((guix build python-build-system) #:prefix python:)) #:phases #~(modify-phases %standard-phases (add-after 'unpack 'fix-errors @@ -142,7 +147,10 @@ (define-public brltty (string-append "extra_link_args = ['-Wl,-rpath=" #$output "/lib'], " - "extra_compile_args = ")))))))) + "extra_compile_args = "))))) + (add-before 'install 'set-pythonpath + (assoc-ref python:%standard-phases + 'add-install-to-pythonpath))))) (native-inputs (list clisp python-cython -- 2.41.0