From debbugs-submit-bounces@debbugs.gnu.org Sat Jul 13 18:01:09 2019 Received: (at submit) by debbugs.gnu.org; 13 Jul 2019 22:01:09 +0000 Received: from localhost ([127.0.0.1]:43485 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hmQ4r-0008BI-6U for submit@debbugs.gnu.org; Sat, 13 Jul 2019 18:01:09 -0400 Received: from lists.gnu.org ([209.51.188.17]:53106) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hmQ4o-0008Ay-Go for submit@debbugs.gnu.org; Sat, 13 Jul 2019 18:01:06 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:54499) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hmQ4n-0002hJ-Es for guix-patches@gnu.org; Sat, 13 Jul 2019 18:01:06 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,UNPARSEABLE_RELAY autolearn=disabled version=3.3.2 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hmQ4m-0005me-0F for guix-patches@gnu.org; Sat, 13 Jul 2019 18:01:05 -0400 Received: from mira.cbaines.net ([212.71.252.8]:39966) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hmQ4l-0005ll-RY for guix-patches@gnu.org; Sat, 13 Jul 2019 18:01:03 -0400 Received: from localhost (148.185.93.209.dyn.plus.net [209.93.185.148]) by mira.cbaines.net (Postfix) with ESMTPSA id 1C76D1721D for ; Sat, 13 Jul 2019 23:01:03 +0100 (BST) Received: from localhost (localhost [local]) by localhost (OpenSMTPD) with ESMTPA id 9325faef for ; Sat, 13 Jul 2019 22:01:02 +0000 (UTC) From: Christopher Baines To: guix-patches@gnu.org Subject: [PATCH 2/2] gnu: python-gst: Fix build failure. Date: Sat, 13 Jul 2019 23:01:02 +0100 Message-Id: <20190713220102.7416-2-mail@cbaines.net> X-Mailer: git-send-email 2.22.0 In-Reply-To: <20190713220102.7416-1-mail@cbaines.net> References: <20190713220102.7416-1-mail@cbaines.net> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 212.71.252.8 X-Spam-Score: -1.3 (-) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.3 (--) Building python-gst fails with: Unbound variable: python-version Therefore, add python-build-system to #:modules so that it's imported, an= d give it a prefix to avoid clashing with the gnu-build-system. Also, simplify the code by using the site-packages function from the python-build-system module. * gnu/packages/gstreamer.scm (python-gst)[arguments]: Rework to fix build failure. --- gnu/packages/gstreamer.scm | 15 ++++++--------- 1 file changed, 6 insertions(+), 9 deletions(-) diff --git a/gnu/packages/gstreamer.scm b/gnu/packages/gstreamer.scm index b0f0b032b3..efb9a6f796 100644 --- a/gnu/packages/gstreamer.scm +++ b/gnu/packages/gstreamer.scm @@ -431,17 +431,14 @@ compression formats through the use of the libav li= brary.") "0f1d9rvy2qxlymmfzyknnfr5rz1vx69jv17gp7wnamc5s6p7mp2m"))= )) (build-system gnu-build-system) (arguments - ;; XXX: Factorize python-sitedir with python-build-system. - `(#:imported-modules (,@%gnu-build-system-modules + `(#:modules ((guix build gnu-build-system) + ((guix build python-build-system) #:prefix python:)) + #:imported-modules (,@%gnu-build-system-modules (guix build python-build-system)) #:configure-flags - (let* ((python (assoc-ref %build-inputs "python")) - (python-version (python-version python)) - (python-sitedir (string-append - "lib/python" python-version "/site-packag= es"))) - (list (string-append - "--with-pygi-overrides-dir=3D" %output "/" python-sitedi= r - "/gi/overrides"))))) + (list (string-append + "--with-pygi-overrides-dir=3D" %output "/" + (python:site-packages %build-inputs %outputs) "/gi/overrid= es")))) (native-inputs `(("pkg-config" ,pkg-config) ("python" ,python))) --=20 2.22.0 From debbugs-submit-bounces@debbugs.gnu.org Sat Jul 13 18:12:41 2019 Received: (at 36642-done) by debbugs.gnu.org; 13 Jul 2019 22:12:41 +0000 Received: from localhost ([127.0.0.1]:43498 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hmQG1-0008SE-Hp for submit@debbugs.gnu.org; Sat, 13 Jul 2019 18:12:41 -0400 Received: from mira.cbaines.net ([212.71.252.8]:44100) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hmQG0-0008S6-7A for 36642-done@debbugs.gnu.org; Sat, 13 Jul 2019 18:12:40 -0400 Received: from localhost (148.185.93.209.dyn.plus.net [209.93.185.148]) by mira.cbaines.net (Postfix) with ESMTPSA id EEC0C1721E for <36642-done@debbugs.gnu.org>; Sat, 13 Jul 2019 23:12:36 +0100 (BST) Received: from phact (localhost [127.0.0.1]) by localhost (OpenSMTPD) with ESMTP id a4cade05 for <36642-done@debbugs.gnu.org>; Sat, 13 Jul 2019 22:12:36 +0000 (UTC) References: <20190713220102.7416-1-mail@cbaines.net> <20190713220102.7416-2-mail@cbaines.net> User-agent: mu4e 1.2.0; emacs 26.2 From: Christopher Baines To: 36642-done@debbugs.gnu.org Subject: Re: [bug#36642] [PATCH 2/2] gnu: python-gst: Fix build failure. In-reply-to: <20190713220102.7416-2-mail@cbaines.net> Date: Sat, 13 Jul 2019 23:12:36 +0100 Message-ID: <87sgr9ziqz.fsf@cbaines.net> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 36642-done X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) --=-=-= Content-Type: text/plain Closing, as this is a duplicate of [1]. 1: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=36641 --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQKTBAEBCgB9FiEEPonu50WOcg2XVOCyXiijOwuE9XcFAl0qV1RfFIAAAAAALgAo aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldDNF ODlFRUU3NDU4RTcyMEQ5NzU0RTBCMjVFMjhBMzNCMEI4NEY1NzcACgkQXiijOwuE 9XfoxQ/+KdInmaD4kNRBsw09A5GmOfvB3uqchjDkytjKeHzu/f9hW3I63+9vHKT8 YaHlXTaxpNKKqLmoRFRjchy0JoFEJ+px5comwjuvH6kedjDiU4KF3zustjvhjqD3 0RFr0QUNds66rBuIKNZ+LGPbi/Mxz/raKf9QiDCxWTq7SC6r0GlhD3bTnQ19kghz yhACxAJlyZZDH2Ca1kEiJrdw16JkyRcMmVPdiqG8tCBfnkbQ36imSOTVZf/0QJRI lwiIcDvguE0awI89Ii/cAG2Mly48++HyTjTL3V5dXmq8BhE1h2ctHGNLNZJTqPMP 5E1/uKhi4wzLzAQ64bV02aDzu8FE+JegBbN8QHzT0eLyspXfYLyJoIYRAf8EBvZO FKGUS8Gxhr26xnRMgWYeyBhbRxE1FH2JVZ2Oh8Sos9TeUYMb3St+1fdrInapoyDf KWoO3sKbG3iFZ2LY3LZrJCPEEu1+v/09F41iWys1Vn9/x6bs5wXKlCHGFP+5Pa7r SyucJKjITzbZzFj8W50AH0PQ/RknP1nvu6e0hldDveg9e1Z640PyQLLw8LNiznPg o5968+PwJrpSN03VgXrCSLi8lu5zLTb3rRBGzKy7MSMOxNr4Jh46VKYrUPY0wNUl LeZ0SiUjXPYBaegNjGnNwdDv5pVQlpec3ZYtmP4E8dLEY0SOCGc= =/8Xx -----END PGP SIGNATURE----- --=-=-=-- From unknown Fri Sep 19 18:23:03 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Sun, 11 Aug 2019 11:24:08 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator