On April 4, 2018 6:14 PM, Hannes Mehnert <han...@mehnert.org> wrote:

> ​​
> 
> On 04/04/2018 10:47, Martin Lucina wrote:
> 
> > > =-=- 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
> > > ===========
> > > 
> > > ### 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.
> 
> I just remembered that I saw a similar (maybe even the very same one?)
> 
> issue when a friend tried to install my xmpp client on their OpenBSD
> 
> system. I did not debug this in more detail, but have a workaround in
> 
> place (in the opam file):
> 
> build: [
> 
> [ "ocaml" "pkg/pkg.ml" "build" "--pinned" "true" ] { os != "openbsd" }
> 
> [ "ocaml" "pkg/pkg.ml" "build" "--pinned" "false" ] { os = "openbsd" }
> 
> ]
> 
> Would be great if someone with sufficient time and access to an OpenBSD
> 
> machine can debug this further and find the root cause.
> 
> hannes
> 

Thank you for the workaround, it worked nicely.



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

Reply via email to