* [bug#51962] python-libvirt build failure on core-updates-frozen
@ 2021-11-19 5:34 Jack Hill
2021-11-19 5:36 ` [bug#51962] [PATCH core-updates-frozen] gnu: python-libvirt: Update to 7.9.0 Jack Hill
2021-11-21 8:11 ` bug#51962: python-libvirt build failure on core-updates-frozen Ricardo Wurmus
0 siblings, 2 replies; 3+ messages in thread
From: Jack Hill @ 2021-11-19 5:34 UTC (permalink / raw)
To: 51962
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
^ permalink raw reply [flat|nested] 3+ messages in thread
* [bug#51962] [PATCH core-updates-frozen] gnu: python-libvirt: Update to 7.9.0.
2021-11-19 5:34 [bug#51962] python-libvirt build failure on core-updates-frozen Jack Hill
@ 2021-11-19 5:36 ` Jack Hill
2021-11-21 8:11 ` bug#51962: python-libvirt build failure on core-updates-frozen Ricardo Wurmus
1 sibling, 0 replies; 3+ messages in thread
From: Jack Hill @ 2021-11-19 5:36 UTC (permalink / raw)
To: 51962
* 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
^ permalink raw reply related [flat|nested] 3+ messages in thread
* bug#51962: python-libvirt build failure on core-updates-frozen
2021-11-19 5:34 [bug#51962] python-libvirt build failure on core-updates-frozen Jack Hill
2021-11-19 5:36 ` [bug#51962] [PATCH core-updates-frozen] gnu: python-libvirt: Update to 7.9.0 Jack Hill
@ 2021-11-21 8:11 ` Ricardo Wurmus
1 sibling, 0 replies; 3+ messages in thread
From: Ricardo Wurmus @ 2021-11-21 8:11 UTC (permalink / raw)
To: 51962-done
Thank you, I just applied your patch.
--
Ricardo
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2021-11-21 8:13 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-11-19 5:34 [bug#51962] python-libvirt build failure on core-updates-frozen Jack Hill
2021-11-19 5:36 ` [bug#51962] [PATCH core-updates-frozen] gnu: python-libvirt: Update to 7.9.0 Jack Hill
2021-11-21 8:11 ` bug#51962: python-libvirt build failure on core-updates-frozen Ricardo Wurmus
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).