GNU bug report logs - #51962
python-libvirt build failure on core-updates-frozen

Previous Next

Package: guix-patches;

Reported by: Jack Hill <jackhill <at> jackhill.us>

Date: Fri, 19 Nov 2021 05:35:01 UTC

Severity: normal

Done: Ricardo Wurmus <rekado <at> elephly.net>

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 51962 in the body.
You can then email your comments to 51962 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 guix-patches <at> gnu.org:
bug#51962; Package guix-patches. (Fri, 19 Nov 2021 05:35:01 GMT) Full text and rfc822 format available.

Acknowledgement sent to Jack Hill <jackhill <at> jackhill.us>:
New bug report received and forwarded. Copy sent to guix-patches <at> gnu.org. (Fri, 19 Nov 2021 05:35:02 GMT) Full text and rfc822 format available.

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

From: Jack Hill <jackhill <at> jackhill.us>
To: guix-patches <at> gnu.org
Subject: python-libvirt build failure on core-updates-frozen
Date: Fri, 19 Nov 2021 00:34:49 -0500 (EST)
Hi Guix,

python-libvirt currently (commit dab4ce01044b2d960da7375735e9543a259f97d3) 
fails to build for me with:

starting phase `build'
running "python setup.py" with command "build" and parameters ()
running build
/gnu/store/wc7lqi6kgki5qzr01g3gvriwdadjiwpc-pkg-config-0.29.2/bin/pkg-config --print-errors --atleast-version=0.9.11 libvirt
/gnu/store/3282r97il61j9jkv2aaifa3nwdylzfsv-python-wrapper-3.9.6/bin/python generator.py libvirt /gnu/store/qzm4ggs2k0wsi0wxvvcaq5kmrmpjrpzv-libvirt-7.9.0/share/libvirt/api/libvirt-api.xml
Found 492 functions in /gnu/store/qzm4ggs2k0wsi0wxvvcaq5kmrmpjrpzv-libvirt-7.9.0/share/libvirt/api/libvirt-api.xml
Found 0 functions in libvirt-override-api.xml
Generated 402 wrapper functions
Missing type converters: 
int *:1 
ERROR: failed virNodeDeviceGetAutostart
error: command '/gnu/store/3282r97il61j9jkv2aaifa3nwdylzfsv-python-wrapper-3.9.6/bin/python' failed with exit code 1
error: in phase 'build': uncaught exception:
%exception #<&invoke-error program: "python" arguments: ("-c" "import setuptools, tokenize;__file__='setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\\r\\n', '\\n');f.close();exec(compile(code, __file__, 'exec'))" "build") exit-status: 1 term-signal: #f stop-signal: #f> 
phase `build' failed after 0.2 seconds
command "python" "-c" "import setuptools, tokenize;__file__='setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\\r\\n', '\\n');f.close();exec(compile(code, __file__, 'exec'))" "build" failed with status 1
builder for `/gnu/store/c8gchxa3f1xq33a118bp6hfvn02dr93c-python-libvirt-7.3.0.drv' failed with exit code 1
build of /gnu/store/c8gchxa3f1xq33a118bp6hfvn02dr93c-python-libvirt-7.3.0.drv failed
View build log at '/var/log/guix/drvs/c8/gchxa3f1xq33a118bp6hfvn02dr93c-python-libvirt-7.3.0.drv.bz2'.
guix build: error: build of `/gnu/store/c8gchxa3f1xq33a118bp6hfvn02dr93c-python-libvirt-7.3.0.drv' failed

Updating python-libvirt to the latest release, 7.9.0 solves the problem. 
The only dependent package, virt-manager, as reported by `guix refresh -l` 
builds and works (I was able to connect to the graphical console of a VM 
running on a remote host). Tested on x86_64-linux.

Best,
Jack




Information forwarded to guix-patches <at> gnu.org:
bug#51962; Package guix-patches. (Fri, 19 Nov 2021 05:37:01 GMT) Full text and rfc822 format available.

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

From: Jack Hill <jackhill <at> jackhill.us>
To: 51962 <at> debbugs.gnu.org
Subject: [PATCH core-updates-frozen] gnu: python-libvirt: Update to 7.9.0.
Date: Fri, 19 Nov 2021 00:36:39 -0500
* gnu/packages/virtualization.scm (python-libvirt): Update to 7.9.0.
---
 gnu/packages/virtualization.scm | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/virtualization.scm b/gnu/packages/virtualization.scm
index 4eacbed224..e3e8beab6d 100644
--- a/gnu/packages/virtualization.scm
+++ b/gnu/packages/virtualization.scm
@@ -1368,14 +1368,14 @@ (define-public libvirt-glib
 (define-public python-libvirt
   (package
     (name "python-libvirt")
-    (version "7.3.0")
+    (version "7.9.0")
     (source
      (origin
        (method url-fetch)
        (uri (string-append "https://libvirt.org/sources/python/libvirt-python-"
                            version ".tar.gz"))
        (sha256
-        (base32 "15pn8610ybf03xff3vbz3apz2ph42k2kh6k19r020l9nvc6jcv37"))))
+        (base32 "0nakisj2ady5a41k4zc95k0kp749f4ppmxgr91b1h1dzbzxcydc5"))))
     (build-system python-build-system)
     (arguments
      `(#:phases
-- 
2.33.1





Reply sent to Ricardo Wurmus <rekado <at> elephly.net>:
You have taken responsibility. (Sun, 21 Nov 2021 08:13:01 GMT) Full text and rfc822 format available.

Notification sent to Jack Hill <jackhill <at> jackhill.us>:
bug acknowledged by developer. (Sun, 21 Nov 2021 08:13:01 GMT) Full text and rfc822 format available.

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

From: Ricardo Wurmus <rekado <at> elephly.net>
To: 51962-done <at> debbugs.gnu.org
Subject: python-libvirt build failure on core-updates-frozen
Date: Sun, 21 Nov 2021 08:11:42 +0000
Thank you, I just applied your patch.

-- 
Ricardo




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Sun, 19 Dec 2021 12:24:09 GMT) Full text and rfc822 format available.

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

Previous Next


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