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

Re: opam/mirage and the dreamplug



which version of OPAM?  This isn't a dreamplug-specific failure, so it might be to do with the fixes in 0.3.2.  I need to buy an ARM box over here as I forgot to bring my Dreamplug along for the summer ride...

-anil

On 8 Aug 2012, at 07:20, work <txl@xxxxxxxxxxxxx> wrote:

Sorry if this turns out to be something obvious...I've just tried to install mirage on a dreamplug using opam using the instructions at openmirage.org/wiki/install.  When I run:

opam --verbose install cow mirage-fs

Seems that  git-archive is failing for some reason:

4.00.0
Install: cstruct.0.3dev
Install: mirage-fs.0.3dev
Install: mirage.0.3dev
Install: mirage-net.0.3dev
Install: cohttp.0.3dev
Install: cow.0.3dev
[13182] WARNING: Command "gzip -f cstruct.0.3dev.tar" failed (see 
/root/.opam/log/command57.{info,err,out})
[13182] ERROR: Cannot run git-archive in 
/root/.opam/repo/dev/git/cstruct.0.3dev
Fatal error: exception Globals.Exit(66)
gzip: cstruct.0.3dev.tar: No such file or directory
[13179] WARNING: Command "opam-git-download 
git://github.com/mirage/opam-repo-dev cstruct.0.3dev" failed (see 
/root/.opam/log/command799.{info,err,out})
gzip: cstruct.0.3dev.tar: No such file or directory
[13182] WARNING: Command "gzip -f cstruct.0.3dev.tar" failed (see 
/root/.opam/log/command57.{info,err,out})
[13182] ERROR: Cannot run git-archive in 
/root/.opam/repo/dev/git/cstruct.0.3dev
Fatal error: exception Globals.Exit(66)
[13179] ERROR: opam-git-download failed
[13179] ERROR: Globals.Exit(66)
[13189] WARNING: Command "gzip -f mirage-fs.0.3dev.tar" failed (see 
/root/.opam/log/command1386.{info,err,out})
[13189] ERROR: Cannot run git-archive in 
/root/.opam/repo/dev/git/mirage-fs.0.3dev
Fatal error: exception Globals.Exit(66)
gzip: mirage-fs.0.3dev.tar: No such file or directory
[13186] WARNING: Command "opam-git-download 
git://github.com/mirage/opam-repo-dev mirage-fs.0.3dev" failed (see 
/root/.opam/log/command433.{info,err,out})
gzip: mirage-fs.0.3dev.tar: No such file or directory
[13189] WARNING: Command "gzip -f mirage-fs.0.3dev.tar" failed (see 
/root/.opam/log/command1386.{info,err,out})
[13189] ERROR: Cannot run git-archive in 
/root/.opam/repo/dev/git/mirage-fs.0.3dev
Fatal error: exception Globals.Exit(66)
[13186] ERROR: opam-git-download failed
[13186] ERROR: Globals.Exit(66)
[13174] ERROR: Command failed while installing cstruct.0.3dev
  'opam --verbose install cow mirage-fs' failed


The directory /root/.opam/repo/dev/git/cstruct.0.3dev does exist:

-rwxr-xr-x 1 root root  2915 2012-08-08 11:39 cmd
-rw-r--r-- 1 root root   242 2012-08-08 11:39 Makefile
-rw-r--r-- 1 root root 11420 2012-08-08 11:39 myocamlbuild.ml
-rw-r--r-- 1 root root   220 2012-08-08 11:39 README.md
drwxr-xr-x 5 root root  4096 2012-08-08 11:39 unix
drwxr-xr-x 4 root root  4096 2012-08-08 11:39 xen

Have the same issue when I attempt an install of cstruct on its own  (opam install cstruct) I get:

Install: cstruct.0.3dev
[13205] WARNING: Command "opam-git-download 
git://github.com/mirage/opam-repo-dev cstruct.0.3dev" failed (see 
/root/.opam/log/command2033.{info,err,out})
gzip: cstruct.0.3dev.tar: No such file or directory
[13206] WARNING: Command "gzip -f cstruct.0.3dev.tar" failed (see 
/root/.opam/log/command1090.{info,err,out})
[13206] ERROR: Cannot run git-archive in 
/root/.opam/repo/dev/git/cstruct.0.3dev
Fatal error: exception Globals.Exit(66)
[13205] ERROR: opam-git-download failed
[13205] ERROR: Globals.Exit(66)
[13202] ERROR: Command failed while installing cstruct.0.3dev
  'opam install cstruct' failed

The logs don't give much more info. Guess it's something to do with my environment but not too sure what it might be (git-archive is there...).  Alternatively I've heard that mirage has been successfully installed on a dreamplug - if there are any pointers anyone can give me that'd be great.

Thanks,

Tom


 


Rackspace

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