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

Re: opam/mirage and the dreamplug



Hi,

opam runs the following command in /root/.opam/repo/dev/git/cstruct.0.3dev:
$ git archive --format=tar --prefix=cstruct.0.3.dev/ HEAD -o cstruct.0.3.dev.tar

maybe git is not in the right path for OPAM ? /root/.opam/log/commandXXX.info 
stores the environment in which the command run (obviously, need to replace the 
XXX by the right number).

--
Thomas

>>> /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®.