Unfortunately this breaks RHEL 7 builds :-(
On Mon, Jul 01, 2019 at 06:51:17PM +0200, Pino Toscano wrote:
diff --git a/p2v/generate-p2v-config.pl b/p2v/generate-p2v-config.pl
new file mode 100755
index 000000000..dc36abbda
--- /dev/null
+++ b/p2v/generate-p2v-config.pl
+use List::Util qw(any);
GEN p2v-config.h
"any" is not exported by the List::Util module
Can't continue after import errors at generate-p2v-config.pl line 23.
BEGIN failed--compilation aborted at generate-p2v-config.pl line 23.
I tried to write a replacement "any" function since it seems like it
would be easy but I couldn't get anything to work. It seems as if the
RHEL 7 perl interpreter is more fussy about some of the later code in
a way that I couldn't work out.
Rich.
--
Richard Jones, Virtualization Group, Red Hat
http://people.redhat.com/~rjones
Read my programming and virtualization blog:
http://rwmj.wordpress.com
virt-p2v converts physical machines to virtual machines. Boot with a
live CD or over the network (PXE) and turn machines into KVM guests.
http://libguestfs.org/virt-v2v