[fedora-virt] Re: libguestfs RPMs for RHEL 5.3

Charles Duffy charles at dyfis.net
Wed May 27 21:23:35 UTC 2009


Richard W.M. Jones wrote:
> On Thu, May 07, 2009 at 08:18:26PM -0500, Charles Duffy wrote:
>   
>> Charles Duffy wrote:
>>     
>>> After this point, the only remaining issue is that the ocaml bindings  
>>> aren't being built, resulting in a packaging failure:
>>>
>>> RPM build errors:
>>>    File not found:  
>>> /var/tmp/libguestfs-1.0.19-1-root/usr/lib64/ocaml/guestfs
>>>    File not found by glob:  
>>> /var/tmp/libguestfs-1.0.19-1-root/usr/lib64/ocaml/guestfs/*.a
>>> [...]
>>>       
>> As it turns out, the issue was not that the ocaml bindings aren't being  
>> built, but that they were being installed under /usr/lib/ocaml as  
>> opposed to /usr/lib64/ocaml.
>>     
>
> Strange one - this works for me on Fedora x86_64 ..
>
> I'll look into this a bit more when I come to add libguestfs to EPEL.
You were indicating that you were having trouble reproducing this issue? 
It's easy enough to work around (s@%{_libdir}@/usr/lib*@), but I'm still 
seeing this:

error: Installed (but unpackaged) file(s) found:
   /usr/lib/ocaml/guestfs/META
   /usr/lib/ocaml/guestfs/guestfs.cmi
   /usr/lib/ocaml/guestfs/guestfs.cmx
   /usr/lib/ocaml/guestfs/guestfs.mli
   /usr/lib/ocaml/guestfs/libmlguestfs.a
   /usr/lib/ocaml/guestfs/mlguestfs.a
   /usr/lib/ocaml/guestfs/mlguestfs.cma
   /usr/lib/ocaml/guestfs/mlguestfs.cmxa
   /usr/lib/ocaml/stublibs/dllmlguestfs.so
   /usr/lib/ocaml/stublibs/dllmlguestfs.so.owner


RPM build errors:
    File not found: 
/var/tmp/libguestfs-1.0.34-1.3-root/usr/lib64/ocaml/guestfs
    File not found by glob: 
/var/tmp/libguestfs-1.0.34-1.3-root/usr/lib64/ocaml/guestfs/*.a
    File not found by glob: 
/var/tmp/libguestfs-1.0.34-1.3-root/usr/lib64/ocaml/guestfs/*.cmxa
    File not found by glob: 
/var/tmp/libguestfs-1.0.34-1.3-root/usr/lib64/ocaml/guestfs/*.cmx
    File not found by glob: 
/var/tmp/libguestfs-1.0.34-1.3-root/usr/lib64/ocaml/guestfs/*.mli
    File not found by glob: 
/var/tmp/libguestfs-1.0.34-1.3-root/usr/lib64/ocaml/stublibs/*.so
    File not found by glob: 
/var/tmp/libguestfs-1.0.34-1.3-root/usr/lib64/ocaml/stublibs/*.so.owner
    File not found by glob: 
/var/tmp/libguestfs-1.0.34-1.3-root/usr/lib64/ocaml/guestfs/*.a
    File not found by glob: 
/var/tmp/libguestfs-1.0.34-1.3-root/usr/lib64/ocaml/guestfs/*.cmxa
    File not found by glob: 
/var/tmp/libguestfs-1.0.34-1.3-root/usr/lib64/ocaml/guestfs/*.cmx
    File not found by glob: 
/var/tmp/libguestfs-1.0.34-1.3-root/usr/lib64/ocaml/guestfs/*.mli
    Installed (but unpackaged) file(s) found:
   /usr/lib/ocaml/guestfs/META
   /usr/lib/ocaml/guestfs/guestfs.cmi
   /usr/lib/ocaml/guestfs/guestfs.cmx
   /usr/lib/ocaml/guestfs/guestfs.mli
   /usr/lib/ocaml/guestfs/libmlguestfs.a
   /usr/lib/ocaml/guestfs/mlguestfs.a
   /usr/lib/ocaml/guestfs/mlguestfs.cma
   /usr/lib/ocaml/guestfs/mlguestfs.cmxa
   /usr/lib/ocaml/stublibs/dllmlguestfs.so
   /usr/lib/ocaml/stublibs/dllmlguestfs.so.owner




More information about the Fedora-virt mailing list