On Sun, Apr 12, 2009 at 07:58:22PM +0200, Ján ONDREJ (SAL) wrote:
Another error (writing privatelly to do not flood virt mailinglist):
After installing augeas-devel from updates-testing, rpmbuild fails after compilation:
After disabling check section, some files are not found:
RPM build errors: File not found: /usr/src/rpmbuild/BUILDROOT/libguestfs-0.8-1.fc10.i386/usr/lib/ocaml/guestfs File not found by glob: //usr/src/rpmbuild/BUILDROOT/libguestfs-0.8-1.fc10.i386/usr/lib/ocaml/guestfs/*.a File not found by glob: /usr/src/rpmbuild/BUILDROOT/libguestfs-0.8-1.fc10.i386/usr/lib/ocaml/guestfs/*.cmxa File not found by glob: //usr/src/rpmbuild/BUILDROOT/libguestfs-0.8-1.fc10.i386/usr/lib/ocaml/guestfs/*.cmx File not found by glob: /usr/src/rpmbuild/BUILDROOT/libguestfs-0.8-1.fc10.i386/usr/lib/ocaml/guestfs/*.mli File not found by glob: //usr/src/rpmbuild/BUILDROOT/libguestfs-0.8-1.fc10.i386/usr/lib/ocaml/stublibs/*.so File not found by glob: /usr/src/rpmbuild/BUILDROOT/libguestfs-0.8-1.fc10.i386/usr/lib/ocaml/stublibs/*.so.owner
Seems like you need ocaml-findlib-devel (for the OCaml bindings). See: http://git.et.redhat.com/?p=libguestfs.git;a=commitdiff;h=f1a10c6285cca30f8c...
Rich.
On Sun, Apr 12, 2009 at 09:32:18PM +0100, Richard W.M. Jones wrote:
On Sun, Apr 12, 2009 at 07:58:22PM +0200, Ján ONDREJ (SAL) wrote:
Another error (writing privatelly to do not flood virt mailinglist):
After installing augeas-devel from updates-testing, rpmbuild fails after compilation:
After disabling check section, some files are not found:
RPM build errors: File not found: /usr/src/rpmbuild/BUILDROOT/libguestfs-0.8-1.fc10.i386/usr/lib/ocaml/guestfs File not found by glob: //usr/src/rpmbuild/BUILDROOT/libguestfs-0.8-1.fc10.i386/usr/lib/ocaml/guestfs/*.a File not found by glob: /usr/src/rpmbuild/BUILDROOT/libguestfs-0.8-1.fc10.i386/usr/lib/ocaml/guestfs/*.cmxa File not found by glob: //usr/src/rpmbuild/BUILDROOT/libguestfs-0.8-1.fc10.i386/usr/lib/ocaml/guestfs/*.cmx File not found by glob: /usr/src/rpmbuild/BUILDROOT/libguestfs-0.8-1.fc10.i386/usr/lib/ocaml/guestfs/*.mli File not found by glob: //usr/src/rpmbuild/BUILDROOT/libguestfs-0.8-1.fc10.i386/usr/lib/ocaml/stublibs/*.so File not found by glob: /usr/src/rpmbuild/BUILDROOT/libguestfs-0.8-1.fc10.i386/usr/lib/ocaml/stublibs/*.so.owner
Seems like you need ocaml-findlib-devel (for the OCaml bindings). See: http://git.et.redhat.com/?p=libguestfs.git;a=commitdiff;h=f1a10c6285cca30f8c...
Better, but still error:
ocamlfind ocamlc -c guestfs.mli ocamlfind ocamlc -c guestfs.ml ocamlfind ocamlopt -c guestfs.ml ocamlmklib -o mlguestfs guestfs_c.o guestfs_c_actions.o guestfs.cmo -lguestfs ocamlmklib -o mlguestfs guestfs_c.o guestfs_c_actions.o guestfs.cmx -lguestfs /usr/bin/ld: cannot find -lguestfs collect2: ld returned 1 exit status /usrmake[3]: *** [mlguestfs.cmxa] Error 2 make[3]: *** Waiting for unfinished jobs.... /bin/ld: cannot find -lguestfs collect2: ld returned 1 exit status make[3]: *** [mlguestfs.cma] Error 2 make[3]: Leaving directory `/usr/src/rpmbuild/BUILD/libguestfs-0.8/ocaml'
SAL
On Mon, Apr 13, 2009 at 08:06:35AM +0200, Ján ONDREJ (SAL) wrote:
ocamlmklib -o mlguestfs guestfs_c.o guestfs_c_actions.o guestfs.cmo -lguestfs ocamlmklib -o mlguestfs guestfs_c.o guestfs_c_actions.o guestfs.cmx -lguestfs /usr/bin/ld: cannot find -lguestfs
I'm sure you can work out what the problem is here. This patch fixes it:
http://git.et.redhat.com/?p=libguestfs.git;a=commitdiff;h=b6722e6313e955ad0c...
Rich.
On Mon, Apr 13, 2009 at 10:28:37AM +0100, Richard W.M. Jones wrote:
On Mon, Apr 13, 2009 at 08:06:35AM +0200, Ján ONDREJ (SAL) wrote:
ocamlmklib -o mlguestfs guestfs_c.o guestfs_c_actions.o guestfs.cmo -lguestfs ocamlmklib -o mlguestfs guestfs_c.o guestfs_c_actions.o guestfs.cmx -lguestfs /usr/bin/ld: cannot find -lguestfs
I'm sure you can work out what the problem is here. This patch fixes it:
http://git.et.redhat.com/?p=libguestfs.git;a=commitdiff;h=b6722e6313e955ad0c...
Thanks, I am using git version now and it's working cron git directory. Not tryed to compile an rpm, I will wait for next release.
To fix all dependecies for libguestfs, I created an (currently not fully functional) repository. Problems have been mentioned before (fakechroot release can't be met, because fc11 package is required and should be installed with --nodeps). If somebody interested: http://builder.salstar.sk/local/10/i386/virt/ (src.rpms are from fedora rawhide without change).
Btw, why bochs-bios.noarch is not a part of package bochs-bios.src.rpm? It's a part of bochs.src.rpm and bochs-bios.src.rpm creates only an bochs-bios-data package, which is not required by new qemu*.
SAL