Sorry for the noise, this was a stack size problem, fixed with ulimit. Now to figure why the patch fails to apply with the ocaml patch.
Cheers Adam ‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐ On September 4, 2018 3:31 PM, Adam Steen <a...@adamsteen.com.au> wrote: > Hi All > > I am trying to install mirage[1] with opam install mirage but building > parsexp v0.11.0 fails with SEGV [2]. This is on an amd64/current machine. > > I am trying this with an OPAM 2 built from source. > > I tried with chrisz@ patch for ocaml 4.07 et al [3] but num fails to build > when the patches can not be applied, opam looks like it hangs, but then > eventually returns with a failure. > > #=== ERROR while compiling num.1.1 > ============================================# > These patches didn't apply at > /home/asteen/.opam/default/.opam-switch/build/num.1.1: > > - findlib-install.patch: "/usr/local/bin/gpatch -p1 -E -i > /home/asteen/.opam/log/processed-patch-32042-70a526" exited with code 1 > > Any tips on where to look into next would be appreciated? > > Cheers > Adam > > [1] https://mirage.io/ > [2] https://github.com/ocaml/opam-repository/issues/12559 > [3] https://marc.info/?l=openbsd-ports&m=153216412010547&w=2 >