[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-API] build issue with xapi


  • To: Anil Madhavapeddy <anil@xxxxxxxxxx>
  • From: Anirban Chakraborty <abchak@xxxxxxxxxxx>
  • Date: Wed, 5 Mar 2014 18:12:03 +0000
  • Accept-language: en-US
  • Cc: "xen-api@xxxxxxxxxxxxx" <xen-api@xxxxxxxxxxxxx>
  • Delivery-date: Wed, 05 Mar 2014 18:12:37 +0000
  • List-id: User and development list for XCP and XAPI <xen-api.lists.xen.org>
  • Thread-index: AQHPNqO/DQJ26lju90S7esAZ24U2dJrPX1iAgACXxACAAthvAA==
  • Thread-topic: [Xen-API] build issue with xapi

2nd Attempt.
I have updated xapi code to the latest change set:

commit 3b707dc67642021412b5e6a78f435a645b278545
Merge: 4d931bf 738d81f
Author: Jon Ludlam <jonathan.ludlam@xxxxxxxxxxxxx> 

and still it doesn’t build. However, it fails with different error messages now:
—
omake -j 8 phase1
*** omake: reading OMakefiles
*** omake: finished reading OMakefiles (0.12 sec)
--- Checking for ocamlfind... (found /contrail/opam/4.00.1/bin/ocamlfind)
--- Checking for ocamlc.opt... (found /contrail/opam/4.00.1/bin/ocamlc.opt)
--- Checking for ocamlopt.opt... (found /contrail/opam/4.00.1/bin/ocamlopt.opt)
--- Checking whether ocamlc understands the "z" warnings... (yes)
- scan ocaml scan-ocaml-fhs.ml
+ ocamlfind ocamldep -package stdext,uuid,gzip -native -I ../ocaml/idl -I 
+ocamldoc fhs.ml
File "fhs.ml", line 5, characters 1-4:
Error: Syntax error
*** omake: 220/331 targets are up to date                                       
                
*** omake: failed (0.70 sec, 31/31 scans, 8/11 rules, 104/444 digests)
*** omake: targets were not rebuilt because of errors:                          
                
   <scanner ocaml/scan-ocaml-fhs.ml>
      depends on: ocaml/fhs.ml
make: *** [all] Error 2

—
Am I missing anything here?

Any pointer will be highly appreciated. Thanks.

Anirban

On Mar 3, 2014, at 2:44 PM, Anirban Chakraborty <abchak@xxxxxxxxxxx> wrote:

> 
> On Mar 3, 2014, at 5:41 AM, Anil Madhavapeddy <anil@xxxxxxxxxx> wrote:
> 
>> As a workaround, you could try:
>> 
>> $ opam switch 4.00.1 # or 4.01.0
>> $ opam install xapi
>> 
>> This topfind problem tends to only happen with the system compiler.
> 
> Thanks a lot. switching to 4.00.1 solved the topfind issue. However, now I 
> see a different issue (given below):
>
> - build ocaml/xenops domain.o                                                 
>                   
> + ocamlfind ocamlopt -syntax camlp4o -package 
> oclock,xml-light2,sexpr,stunnel,http-svr,netdev,rpclib,threads,xenctrl,xenstore-compat,xenctrlext,stdext,cdrom,netdev,oUnit,uuid,xcp-inventory,xcp,xcp.xen,rpclib.syntax
>  -g -dtypes -thread -warn-error +a-4-6-9-27-28-29 -thread -ccopt -fPIC -I 
> ../xapi -I ../util -I .. -c domain.ml
> File "domain.ml", line 307, characters 6-38:
> Error: Unbound module Xenctrl.Domain_info
>
> My xapi code is at following change set:
> 
> commit 0320fb13cc176d0864865851672131acaad7be86
> Author: David Scott <dave.scott@xxxxxxxxxxxxx>
> Date:   Wed Oct 30 13:58:04 2013 +0000
> 
>    import_raw_vdi: look for vhd-tool in %{_bindir}
> 
> and xenstore is at:
> 
> commit 03df4be36f6cb2236f813dad7b13db8b060060e8
> Author: David Scott <dave.scott@xxxxxxxxxxxxx>
> Date:   Wed Sep 11 11:15:14 2013 +0100
> 
>    Regenerate OASIS
> ——
> 
> xenstore build and install went fine. ocamlfind list shows following:
> 
> xenstore            (version: 1.2.4)
> xenstore-compat     (version: 0.9.3)
> xenstore.client     (version: 1.2.4)
> xenstore.server     (version: 1.2.4)
> xenstore.unix       (version: 1.2.4)
> xenstore_transport  (version: 0.9.2)
> xenstore_transport.lwt (version: 0.9.2)
> xenstore_transport.unix (version: 0.9.2)
> 
> Am I missing something in  building xapi? My build OS is 
> 2.6.32.43-0.4.1.xs1.8.0.847.170785xen.
> 
> Any pointer will be highly appreciated. Thanks much.
> 
> Anirban
> 
> _______________________________________________
> Xen-api mailing list
> Xen-api@xxxxxxxxxxxxx
> http://lists.xen.org/cgi-bin/mailman/listinfo/xen-api
> 
> 



_______________________________________________
Xen-api mailing list
Xen-api@xxxxxxxxxxxxx
http://lists.xen.org/cgi-bin/mailman/listinfo/xen-api


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.