<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<meta name="Generator" content="Microsoft Exchange Server">
<!-- converted from rtf -->
<style><!-- .EmailQuote { margin-left: 1pt; padding-left: 4pt; border-left: #800000 2px solid; } --></style>
</head>
<body>
<font face="Calibri" size="2"><span style="font-size:11pt;">
<div>Hello Richard!</div>
<div> </div>
<div>Another problem came up today while working on it:</div>
<div> </div>
<div><font face="Courier New">[INFO] >>> Resizing qcow image...</font></div>
<div><font face="Courier New">[INFO] >>> Executing: cp AirFrameVirtualized-3.0.76999.qcow2 image.tmp</font></div>
<div><font face="Courier New">[INFO] >>> Executing: qemu-img resize -f qcow2 AirFrameVirtualized-3.0.76999.qcow2 10G</font></div>
<div><font face="Courier New">Image resized.</font></div>
<div><font face="Courier New">[INFO] >>> Executing: virt-resize --expand /dev/sda1 image.tmp AirFrameVirtualized-3.0.76999.qcow2</font></div>
<div><font face="Courier New">[   0.0] Examining image.tmp</font></div>
<div><font face="Courier New">libguestfs: trace: set_verbose true</font></div>
<div><font face="Courier New">libguestfs: trace: set_verbose = 0</font></div>
<div><font face="Courier New">libguestfs: trace: set_path "/opt/libguestfs/x86_64/1.30.3/lib/guestfs/appliance:"</font></div>
<div><font face="Courier New">libguestfs: trace: set_path = 0</font></div>
<div><font face="Courier New">libguestfs: create: flags = 0, handle = 0xfa6c90</font></div>
<div><font face="Courier New">virt-resize: symbol lookup error: virt-resize: undefined symbol: guestfs_int_safe_malloc</font></div>
<div> </div>
<div>When I browsed on it, I found that it is because of the older OCaml bindings. Is it so? Is it related to ocaml?</div>
<div> </div>
<div>Below are the build dependencies of ocaml used while building libguestfs:</div>
<div> </div>
<div><font face="Courier New">ocaml                 x86_64 3.11.2-2.el6          rhel6-optional        </font></div>
<div><font face="Courier New">ocaml-findlib         x86_64 1.2.5-5.el6           rhel6-optional       </font></div>
<div><font face="Courier New">ocaml-runtime         x86_64 3.11.2-2.el6          rhel6-optional       </font></div>
<div><font face="Courier New" size="2"><span style="font-size:10pt;"> </span></font></div>
<div>Regards,</div>
<div>Emlyn Jose.</div>
<div><font face="Courier New" size="2"><span style="font-size:10pt;"> </span></font></div>
<div>-----Original Message-----<br>

From: Richard W.M. Jones [<a href="mailto:rjones@redhat.com">mailto:rjones@redhat.com</a>]
<br>

Sent: 10 August 2017 13:41<br>

To: Emlyn Jose (GIS) <emlyn.jose@wipro.com><br>

Cc: libguestfs@redhat.com<br>

Subject: Re: libguestfs binaries missing when built from source code</div>
<div> </div>
<div>** This mail has been sent from an external source **</div>
<div> </div>
<div>On Thu, Aug 10, 2017 at 04:49:22AM +0000, <a href="mailto:emlyn.jose@wipro.com">emlyn.jose@wipro.com</a> wrote:</div>
<div>> Hello Richard!</div>
<div>></div>
<div>> Ocaml solved my problem. Thank you so much :)</div>
<div>></div>
<div>> There are many unpackaged ocaml files created outside the BUILDROOT. Will removing them harm the working of the package?</div>
<div>></div>
<div>> error: Installed (but unpackaged) file(s) found:</div>
<div>>    /usr/lib64/ocaml/guestfs/META</div>
<div>>    /usr/lib64/ocaml/guestfs/guestfs.cmi</div>
<div>>    /usr/lib64/ocaml/guestfs/guestfs.cmx</div>
<div>>    /usr/lib64/ocaml/guestfs/guestfs.mli</div>
<div>>    /usr/lib64/ocaml/guestfs/libmlguestfs.a</div>
<div>>    /usr/lib64/ocaml/guestfs/mlguestfs.a</div>
<div>>    /usr/lib64/ocaml/guestfs/mlguestfs.cma</div>
<div>>    /usr/lib64/ocaml/guestfs/mlguestfs.cmxa</div>
<div>>    /usr/lib64/ocaml/stublibs/dllmlguestfs.so</div>
<div>>    /usr/lib64/ocaml/stublibs/dllmlguestfs.so.owner</div>
<div> </div>
<div>Those particular files are the OCaml bindings.  They are only needed if you intend to write a brand new program in OCaml using guestfs (<a href="https://clicktime.symantec.com/a/1/LLuCVR5AtuWHONgYvylpSI5rBvmm8Jk2842YsgrbHBk=?d=0Hg85it0VOduhj2huLZ_4yqwG0IC1HZft_Xht0zT7qE1QRbto_bXJNtsjTe-_HG91qnxSTcXDNsMIvmCg4U8B6TIZZPkmCxZhdkv-V2HAqgAdNKsbW1ToYm_gBevDJOrAF7-cJ4V537BvZo5_SWzCYlGrVyZUg2Gc0YtEBFUxUURl6IkvYavCIEB_nC-3Djd5SHg8IZ9rcnyjVVIeWOJjxgAsR3qqlbBaXBG1Xes7IaotVasihjIDbDDJ1TryRYf94njYLryKeZI3AQjiz3Uv8cWDu1wK1wAjtP1k_T-6e1HohevLFBM907zFtw3uwVdLCaU2L5Nxw0WcDk7IFAoz4UV4seG2ahSQAxmtGQk99s5rZPz_C2ayd7GHeWjPWHFKEoH7w%3D%3D&u=http%3A%2F%2Flibguestfs.org%2Fguestfs-ocaml.3.html">https://clicktime.symantec.com/a/1/LLuCVR5AtuWHONgYvylpSI5rBvmm8Jk2842YsgrbHBk=?d=0Hg85it0VOduhj2huLZ_4yqwG0IC1HZft_Xht0zT7qE1QRbto_bXJNtsjTe-_HG91qnxSTcXDNsMIvmCg4U8B6TIZZPkmCxZhdkv-V2HAqgAdNKsbW1ToYm_gBevDJOrAF7-cJ4V537BvZo5_SWzCYlGrVyZUg2Gc0YtEBFUxUURl6IkvYavCIEB_nC-3Djd5SHg8IZ9rcnyjVVIeWOJjxgAsR3qqlbBaXBG1Xes7IaotVasihjIDbDDJ1TryRYf94njYLryKeZI3AQjiz3Uv8cWDu1wK1wAjtP1k_T-6e1HohevLFBM907zFtw3uwVdLCaU2L5Nxw0WcDk7IFAoz4UV4seG2ahSQAxmtGQk99s5rZPz_C2ayd7GHeWjPWHFKEoH7w%3D%3D&u=http%3A%2F%2Flibguestfs.org%2Fguestfs-ocaml.3.html</a>). 
Otherwise you can remove them without any ill effect.</div>
<div> </div>
<div>However I'm surprised that whatever spec file you are using doesn't find and package those files into two ocaml-libguestfs* subpackages.</div>
<div> </div>
<div>Rich.</div>
<div> </div>
<div>--</div>
<div>Richard Jones, Virtualization Group, Red Hat <a href="http://people.redhat.com/~rjones">http://people.redhat.com/~rjones</a> Read my programming and virtualization blog: <a href="https://clicktime.symantec.com/a/1/MvC8mXSuv2OX_3rfPcDNMWl7r-LdYYC5wVJ1dQdx2PM=?d=0Hg85it0VOduhj2huLZ_4yqwG0IC1HZft_Xht0zT7qE1QRbto_bXJNtsjTe-_HG91qnxSTcXDNsMIvmCg4U8B6TIZZPkmCxZhdkv-V2HAqgAdNKsbW1ToYm_gBevDJOrAF7-cJ4V537BvZo5_SWzCYlGrVyZUg2Gc0YtEBFUxUURl6IkvYavCIEB_nC-3Djd5SHg8IZ9rcnyjVVIeWOJjxgAsR3qqlbBaXBG1Xes7IaotVasihjIDbDDJ1TryRYf94njYLryKeZI3AQjiz3Uv8cWDu1wK1wAjtP1k_T-6e1HohevLFBM907zFtw3uwVdLCaU2L5Nxw0WcDk7IFAoz4UV4seG2ahSQAxmtGQk99s5rZPz_C2ayd7GHeWjPWHFKEoH7w%3D%3D&u=http%3A%2F%2Frwmj.wordpress.com">https://clicktime.symantec.com/a/1/MvC8mXSuv2OX_3rfPcDNMWl7r-LdYYC5wVJ1dQdx2PM=?d=0Hg85it0VOduhj2huLZ_4yqwG0IC1HZft_Xht0zT7qE1QRbto_bXJNtsjTe-_HG91qnxSTcXDNsMIvmCg4U8B6TIZZPkmCxZhdkv-V2HAqgAdNKsbW1ToYm_gBevDJOrAF7-cJ4V537BvZo5_SWzCYlGrVyZUg2Gc0YtEBFUxUURl6IkvYavCIEB_nC-3Djd5SHg8IZ9rcnyjVVIeWOJjxgAsR3qqlbBaXBG1Xes7IaotVasihjIDbDDJ1TryRYf94njYLryKeZI3AQjiz3Uv8cWDu1wK1wAjtP1k_T-6e1HohevLFBM907zFtw3uwVdLCaU2L5Nxw0WcDk7IFAoz4UV4seG2ahSQAxmtGQk99s5rZPz_C2ayd7GHeWjPWHFKEoH7w%3D%3D&u=http%3A%2F%2Frwmj.wordpress.com</a></div>
<div>virt-top is 'top' for virtual machines.  Tiny program with many powerful monitoring features, net stats, disk stats, logging, etc.</div>
<div><a href="http://people.redhat.com/~rjones/virt-top">http://people.redhat.com/~rjones/virt-top</a></div>
<div> </div>
<div>______________________________________________________________________</div>
<div>This email has been scanned by the Symantec Email Security.cloud service.</div>
<div>For more information please visit <a href="http://www.symanteccloud.com">http://www.symanteccloud.com</a> ______________________________________________________________________</div>
<div> </div>
<div><font face="Times New Roman" size="3"><span style="font-size:12pt;">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.
<a href="http://www.wipro.com">www.wipro.com</a> </span></font></div>
</span></font>
</body>
</html>