Another problem came up today while working on it:
[INFO] >>> Resizing qcow image...
[INFO] >>> Executing: cp AirFrameVirtualized-3.0.76999.qcow2 image.tmp
[INFO] >>> Executing: qemu-img resize -f qcow2 AirFrameVirtualized-3.0.76999.qcow2 10G
[INFO] >>> Executing: virt-resize --expand /dev/sda1 image.tmp AirFrameVirtualized-3.0.76999.qcow2
[ 0.0] Examining image.tmp
libguestfs: trace: set_verbose true
libguestfs: trace: set_verbose = 0
libguestfs: trace: set_path "/opt/libguestfs/x86_64/1.30.3/lib/guestfs/appliance:"
libguestfs: trace: set_path = 0
libguestfs: create: flags = 0, handle = 0xfa6c90
virt-resize: symbol lookup error: virt-resize: undefined symbol: guestfs_int_safe_malloc
When I browsed on it, I found that it is because of the older OCaml bindings. Is it so? Is it related to ocaml?
Below are the build dependencies of ocaml used while building libguestfs:
ocaml x86_64 3.11.2-2.el6 rhel6-optional
ocaml-findlib x86_64 1.2.5-5.el6 rhel6-optional
ocaml-runtime x86_64 3.11.2-2.el6 rhel6-optional
From: Richard W.M. Jones [mailto:rjones redhat com
Sent: 10 August 2017 13:41
To: Emlyn Jose (GIS) <emlyn jose wipro com>
Cc: libguestfs redhat com
Subject: Re: libguestfs binaries missing when built from source code
** This mail has been sent from an external source **
> Hello Richard!
> Ocaml solved my problem. Thank you so much :)
> There are many unpackaged ocaml files created outside the BUILDROOT. Will removing them harm the working of the package?
> error: Installed (but unpackaged) file(s) found:
However I'm surprised that whatever spec file you are using doesn't find and package those files into two ocaml-libguestfs* subpackages.
virt-top is 'top' for virtual machines. Tiny program with many powerful monitoring features, net stats, disk stats, logging, etc.
This email has been scanned by the Symantec Email Security.cloud service.
The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain proprietary, confidential
or privileged information. If you are not the intended recipient, you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately and destroy all copies of this message and any attachments. WARNING: Computer viruses can be transmitted
via email. The recipient should check this email and any attachments for the presence of viruses. The company accepts no liability for any damage caused by any virus transmitted by this email.