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

Re: [MirageOS-devel] opam pin add mirage-solo5 <SNIP> No VCS repository found



Hi Adam,

On Monday, 02.04.2018 at 07:15, Adam Steen wrote:
> Hi 
> 
> another opam install.
> 
> when i do the following
> 
> "opam pin add mirage-solo5 https://github.com/mirage/mirage-solo5.git";
> 
> i get 
> 
> [NOTE] mirage-solo5 is currently git-pinned to 
> https://github.com/adamsteen/mirage-solo5.git.
> Proceed ? [Y/n] y
> mirage-solo5 is now git-pinned to https://github.com/mirage/mirage-solo5.git
> 
> [mirage-solo5] https://github.com/mirage/mirage-solo5.git updated
> [mirage-solo5] Installing new package description from 
> https://github.com/mirage/mirage-solo5.git
> 
> mirage-solo5 needs to be installed.
> The following actions will be performed:
>   - install mirage-solo5 dev~solo5*
> Do you want to continue ? [Y/n] y
> 
> =-=- Gathering sources 
> =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
> [mirage-solo5] https://github.com/mirage/mirage-solo5.git already up-to-date
> 
> =-=- Processing actions 
> -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
> [ERROR] The compilation of mirage-solo5 failed at "ocaml pkg/pkg.ml build 
> --pinned true".
> 
> #=== ERROR while installing mirage-solo5.dev~solo5 
> ============================#
> # opam-version 1.2.2
> # os           openbsd
> # command      ocaml pkg/pkg.ml build --pinned true
> # path         /home/asteen/.opam/4.06.1/build/mirage-solo5.dev~solo5
> # compiler     4.06.1
> # exit-code    1
> # env-file     
> /home/asteen/.opam/4.06.1/build/mirage-solo5.dev~solo5/mirage-solo5-76948-d8a4ae.env
> # stdout-file  
> /home/asteen/.opam/4.06.1/build/mirage-solo5.dev~solo5/mirage-solo5-76948-d8a4ae.out
> # stderr-file  
> /home/asteen/.opam/4.06.1/build/mirage-solo5.dev~solo5/mirage-solo5-76948-d8a4ae.err
> ### stderr ###
> # pkg.ml: [ERROR] Pin distribution preparation failed: 
> /home/asteen/.opam/4.06.1/build/mirage-solo5.dev~solo5: No VCS repository 
> found
> 
> but when i look in "/home/asteen/.opam/4.06.1/build/mirage-solo5" it all 
> looks correct. ( i am attempting to pin the "mirage/mirage-solo" as a test to 
> eventually pin my own copy.
> 
> Any ideas what i am doing wrong?

I've never seen this particular error before. However, based on the above
it looks like you're switching from one git pin
(https://github.com/adamsteen/mirage-solo5.git) to another
(https://github.com/mirage/mirage-solo5.git).

Maybe remove the local directory OPAM is using for the Git clone and try
again? Also, you write you're looking in
"/home/asteen/.opam/4.06.1/build/mirage-solo5", but the "path" mentioned in
the OPAM log above is different.

> Please note this is on OpenBSD with ocaml 4.06.1 and aspcud installed (i have 
> a PR for OpenBSD support)

Have you tried OPAM 2 at all? (This might be tangential, but OPAM 1.x is
basically in maintenance mode so time to get things working may be better
spent on OPAM 2.)

-mato

_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@xxxxxxxxxxxxxxxxxxxx
https://lists.xenproject.org/mailman/listinfo/mirageos-devel

 


Rackspace

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