virt-manager 'dist' build OK in local pyenv; 'rpm' build FAILs @ check for *distro* pkgs ?

PGNet Dev pgnet.dev at gmail.com
Mon May 4 20:51:13 UTC 2020


a local dist build of virt-manager

	cd virt-manager
	git log | head
	      1 commit f34f73622d0feab451dd22d7ca38c8fac8587c22 (HEAD -> master, origin/master, origin/HEAD)
	      2 Author: Han Han <hhan at redhat.com>
	      3 Date:   Sun Apr 19 21:39:02 2020 +0800
	      4
	      5     rng: add builtin rng backend model
	      6
	      7     The builtin rng backend uses getrandom syscall to generate random, no
	      8     external rng source needed, introduced from libvirt v6.1.0.
	      9
	     10     Reviewed-by: Cole Robinson <crobinso at redhat.com>
	     11     Signed-off-by: Han Han <hhan at redhat.com>

with a local pyenv-installed python,

	pyenv global
		3.8-dev
	python -V
		Python 3.8.2+

completes/execs ok

	python setup.py build
	python setup.py install
	virt-manager --version
		2.2.1

OTOH, an 'rpm' build FAILS,

	python setup.py build rpm
		Creating tar archive
		removing 'virt-manager-2.2.1' (and everything under it)
		error: Failed build dependencies:
		        python3-devel is needed by virt-manager-2.2.1-1.noarch

as its checking for a distro-packaged 'python3-devel' rather than the pyenv's installed/available modules/deps

not sure this qualifies as a 'bug' ... 

but, since there's apparently no 'setup.py uninstall' available, cleaning's a bit of a mess.

it'd be quite useful to have the rpm buildable, installable -- and UNinstallable.

a functional 'setup.py' would be a useful alternative.




More information about the virt-tools-list mailing list