GNU bug report logs - #52552
Pantalaimon build failure

Previous Next

Package: guix;

Reported by: Aleksandr Vityazev <avityazev <at> posteo.org>

Date: Thu, 16 Dec 2021 14:28:02 UTC

Severity: normal

Done: Nicolas Goaziou <mail <at> nicolasgoaziou.fr>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 52552 in the body.
You can then email your comments to 52552 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-guix <at> gnu.org:
bug#52552; Package guix. (Thu, 16 Dec 2021 14:28:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Aleksandr Vityazev <avityazev <at> posteo.org>:
New bug report received and forwarded. Copy sent to bug-guix <at> gnu.org. (Thu, 16 Dec 2021 14:28:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Aleksandr Vityazev <avityazev <at> posteo.org>
To: "bug-guix" <bug-guix <at> gnu.org>
Subject: Pantalaimon build failure
Date: Thu, 16 Dec 2021 14:27:12 +0000
Hello,

The pantalaimon package sanity-check phase failure:

--8<---------------cut here---------------start------------->8---
=================== 14 passed, 3 skipped, 1 warning in 1.65s ===================
phase `check' succeeded after 2.8 seconds
starting phase `sanity-check'
validating 'pantalaimon' /gnu/store/zjbcpf8m4l5jz56axsc5046y09zr65ks-pantalaimon-0.10.3/lib/python3.9/site-packages
...checking requirements: OK
...trying to load module pantalaimon: OK
...trying to load endpoint console_scripts panctl: ERROR:
Traceback (most recent call last):
  File "/gnu/store/nwwr89v2vyg1hs48i49m083vhczsgh3m-sanity-check.py", line 85, in <module>
    ep.load()
  File "/gnu/store/p5fgysbcnnp8b1d91mrvjvababmczga0-python-3.9.6/lib/python3.9/site-packages/pkg_resources/__init__.py", line 2450, in load
    return self.resolve()
  File "/gnu/store/p5fgysbcnnp8b1d91mrvjvababmczga0-python-3.9.6/lib/python3.9/site-packages/pkg_resources/__init__.py", line 2456, in resolve
    module = __import__(self.module_name, fromlist=['__name__'], level=0)
  File "/gnu/store/zjbcpf8m4l5jz56axsc5046y09zr65ks-pantalaimon-0.10.3/lib/python3.9/site-packages/pantalaimon/panctl.py", line 26, in <module>
    from gi.repository import GLib
ModuleNotFoundError: No module named 'gi'
...trying to load endpoint console_scripts pantalaimon: OK
error: in phase 'sanity-check': uncaught exception:
%exception #<&invoke-error program: "python" arguments: ("/gnu/store/nwwr89v2vyg1hs48i49m083vhczsgh3m-sanity-check.py" "/gnu/store/zjbcpf8m4l5jz56axsc5046y09zr65ks-pantalaimon-0.10.3/lib/python3.9/site-packages") exit-status: 1 term-signal: #f stop-signal: #f>
phase `sanity-check' failed after 0.7 seconds
command "python" "/gnu/store/nwwr89v2vyg1hs48i49m083vhczsgh3m-sanity-check.py" "/gnu/store/zjbcpf8m4l5jz56axsc5046y09zr65ks-pantalaimon-0.10.3/lib/python3.9/site-packages" failed with status 1
--8<---------------cut here---------------end--------------->8---


If you add python-pygobject to native-inputs, you get the following
error:

--8<---------------cut here---------------start------------->8---
ModuleNotFoundError: No module named 'pydbus'
...trying to load endpoint console_scripts pantalaimon: OK
error: in phase 'sanity-check': uncaught exception:
%exception #<&invoke-error program: "python" arguments: ("/gnu/store/nwwr89v2vyg1hs48i49m083vhczsgh3m-sanity-check.py" "/gnu/store/4zbrpxm3ksyh7azwv4hsj37q83qjn0ga-pantalaimon-0.10.3/lib/python3.9/site-packages") exit-status: 1 term-signal: #f stop-signal: #f> 
--8<---------------cut here---------------end--------------->8---


pydbus is not package yet.

-- 

Aleksandr Vityazev




Information forwarded to bug-guix <at> gnu.org:
bug#52552; Package guix. (Tue, 21 Dec 2021 11:11:02 GMT) Full text and rfc822 format available.

Message #8 received at 52552 <at> debbugs.gnu.org (full text, mbox):

From: Aleksandr Vityazev <avityazev <at> posteo.org>
To: 52700 <at> debbugs.gnu.org
Cc: 52552 <at> debbugs.gnu.org
Subject: [PATCH 2/2] gnu: pantalaimon: Propagate python-pydbus and
 python-notify2.
Date: Tue, 21 Dec 2021 11:10:49 +0000
* gnu/packages/matrix.scm: Import (gnu packages glib).
(pantalaimon):
[native-inputs]: Change formatting, add python-pygobject.
[propagated-inputs]: Add python-pydbus and python-notify2.
---
 gnu/packages/matrix.scm | 11 +++++++++--
 1 file changed, 9 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/matrix.scm b/gnu/packages/matrix.scm
index 8cdfa38b32..8780b156af 100644
--- a/gnu/packages/matrix.scm
+++ b/gnu/packages/matrix.scm
@@ -3,6 +3,7 @@
 ;;; Copyright © 2020 Tobias Geerinckx-Rice <me <at> tobias.gr>
 ;;; Copyright © 2020, 2021 Michael Rohleder <mike <at> rohleder.de>
 ;;; Copyright © 2020 Giacomo Leidi <goodoldpaul <at> autistici.org>
+;;; Copyright © 2021 Aleksandr Vityazev <avityazev <at> posteo.org>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -31,6 +32,7 @@ (define-module (gnu packages matrix)
   #:use-module (gnu packages python-web)
   #:use-module (gnu packages python-xyz)
   #:use-module (gnu packages xml)
+  #:use-module (gnu packages glib)
   #:use-module (guix build-system python)
   #:use-module (guix download)
   #:use-module (guix git-download)
@@ -256,10 +258,15 @@ (define-public pantalaimon
                (add-installed-pythonpath inputs outputs)
                (invoke "pytest" "-vv" "tests")))))))
     (native-inputs
-     (list python-pytest python-faker python-pytest-aiohttp
-           python-aioresponses))
+     (list python-faker
+           python-pytest
+           python-pygobject
+           python-aioresponses
+           python-pytest-aiohttp))
     (propagated-inputs
      (list python-aiohttp
+           python-pydbus
+           python-notify2
            python-appdirs
            python-attrs
            python-cachetools
-- 
2.34.0



-- 

Aleksandr Vityazev




Information forwarded to bug-guix <at> gnu.org:
bug#52552; Package guix. (Tue, 21 Dec 2021 11:11:02 GMT) Full text and rfc822 format available.

Message #11 received at 52552 <at> debbugs.gnu.org (full text, mbox):

From: Aleksandr Vityazev <avityazev <at> posteo.org>
To: 52700 <at> debbugs.gnu.org
Cc: 52552 <at> debbugs.gnu.org
Subject: [PATCH 1/2] gnu: Add python-pydbus.
Date: Tue, 21 Dec 2021 11:10:56 +0000
* gnu/packages/python-xyz (python-pydbus): New variable.
---
 gnu/packages/python-xyz.scm | 21 +++++++++++++++++++++
 1 file changed, 21 insertions(+)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 2af4794019..35590aece2 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -112,6 +112,7 @@
 ;;; Copyright © 2021 Sébastien Lerique <sl <at> eauchat.org>
 ;;; Copyright © 2021 Raphaël Mélotte <raphael.melotte <at> mind.be>
 ;;; Copyright © 2021 ZmnSCPxj <ZmnSCPxj <at> protonmail.com>
+;;; Copyright © 2021 Aleksandr Vityazev <avityazev <at> posteo.org>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -8929,6 +8930,26 @@ (define-public python-dbus-next
 mobile environments.")
     (license license:expat)))
 
+(define-public python-pydbus
+  (package
+    (name "python-pydbus")
+    (version "0.6.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (pypi-uri "pydbus" version))
+       (sha256
+        (base32 "0b0gipvz7vcfa9ddmwq2jrx16d4apb0hdnl5q4i3h8jlzwp1c1s2"))))
+    (inputs (list python-pygobject))
+    (build-system python-build-system)
+    (home-page "https://github.com/LEW21/pydbus")
+    (synopsis "Pythonic D-Bus library")
+    (description "Pydbus provides a pythonic interface to the D-Bus
+message bus system.  Pydbus can be used to access remote objects and
+also for object publication.  It is based on PyGI, the Python GObject
+Introspection bindings, which is the recommended way to use GLib from Python.")
+    (license license:lgpl2.1+)))
+
 (define-public python-notify2
   (package
     (name "python-notify2")
-- 
2.34.0



-- 

Aleksandr Vityazev




Reply sent to Nicolas Goaziou <mail <at> nicolasgoaziou.fr>:
You have taken responsibility. (Sun, 16 Jan 2022 23:22:01 GMT) Full text and rfc822 format available.

Notification sent to Aleksandr Vityazev <avityazev <at> posteo.org>:
bug acknowledged by developer. (Sun, 16 Jan 2022 23:22:01 GMT) Full text and rfc822 format available.

Message #16 received at 52552-done <at> debbugs.gnu.org (full text, mbox):

From: Nicolas Goaziou <mail <at> nicolasgoaziou.fr>
To: Aleksandr Vityazev <avityazev <at> posteo.org>
Cc: 52700-done <at> debbugs.gnu.org, 52552-done <at> debbugs.gnu.org
Subject: Re: [bug#52700] [PATCH 1/2] gnu: Add python-pydbus.
Date: Mon, 17 Jan 2022 00:21:10 +0100
Hello,

Aleksandr Vityazev <avityazev <at> posteo.org> writes:

> * gnu/packages/python-xyz (python-pydbus): New variable.

This was applied in 4527743f0a2d58d7cdf5abdd74016908eecd66a6 and
subsequent commit.

Thank you!

Regards,
-- 
Nicolas Goaziou




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Mon, 14 Feb 2022 12:24:06 GMT) Full text and rfc822 format available.

This bug report was last modified 2 years and 43 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.