[virt-tools-list] virt-top compilation failure

Jasper Lievisse Adriaanse jasper at humppa.nl
Mon Oct 22 17:40:19 UTC 2012


Hi,

Is this build error a known issue with virt-top?

gmake[1]: Entering directory `/usr/obj/ports/virt-top-1.0.8/virt-top-1.0.8/virt-top'
rm -f .depend .depend-t
ocamlfind ocamldep -package unix,extlib,curses,str,libvirt -package csv  virt_top.mli virt_top_utils.mli virt_top.ml virt_top_utils.ml virt_top_version.ml virt_top_calendar2.ml virt_top_calendar1.ml virt_top_xml.ml virt_top_csv.ml virt_top_main.ml virt_top_gettext.ml | \
  sed 's/ :/:/' | \
  sed 's/ *$//' | \
  sed -e :a -e '/ *\\$/N; s/ *\\\n */ /; ta' | \
          sort > .depend-t
mv .depend-t .depend
gmake[1]: Leaving directory `/usr/obj/ports/virt-top-1.0.8/virt-top-1.0.8/virt-top'
gmake[1]: Entering directory `/usr/obj/ports/virt-top-1.0.8/virt-top-1.0.8/virt-top'
ocamlfind ocamlc -g -warn-error A -package unix,extlib,curses,str,libvirt -package csv -c virt_top_version.ml
ocamlfind ocamlc -g -warn-error A -package unix,extlib,curses,str,libvirt -package csv -c virt_top_gettext.ml
ocamlfind ocamlc -g -warn-error A -package unix,extlib,curses,str,libvirt -package csv -c virt_top_utils.mli
ocamlfind ocamlc -g -warn-error A -package unix,extlib,curses,str,libvirt -package csv -c virt_top_utils.ml
ocamlfind ocamlc -g -warn-error A -package unix,extlib,curses,str,libvirt -package csv -c virt_top.mli
ocamlfind ocamlc -g -warn-error A -package unix,extlib,curses,str,libvirt -package csv -c virt_top.ml
File "virt_top.ml", line 83, characters 6-110:
Error: This expression has type string but an expression was expected of type
         sort_order
gmake[1]: *** [virt_top.cmo] Error 2
gmake[1]: Leaving directory `/usr/obj/ports/virt-top-1.0.8/virt-top-1.0.8/virt-top'

The offending line 83 is:
	 failwithf (f_"%s: sort order should be: %s")

Any idea what's going on here?

-- 
Cheers,
Jasper

"Stay Hungry. Stay Foolish"




More information about the virt-tools-list mailing list