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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxx>
	      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@xxxxxxxxxx>
	     11     Signed-off-by: Han Han <hhan@xxxxxxxxxx>

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.




[Index of Archives]     [Linux Virtualization]     [KVM Development]     [CentOS Virtualization]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite Forum]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]     [Video 4 Linux]

  Powered by Linux