New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Windows: Menhir dependency fails to build #242
Comments
One other thing worth looking at is that on the forked-opam repository for Windows, there were Windows specific patches introduced: https://github.com/fdopen/opam-repository-mingw/tree/master/packages/menhir/menhir.20180703, ie: fdopen/opam-repository-mingw@54c3e01 |
@bryphe |
It looks like the old opam to esy conversion cannot deal with |
Do you have any tips for debugging this, @andreypopp ? Do we cache these paths? I started adding some logging here https://github.com/esy/esy/tree/bryphe/investigation/debug-logging - but figured you might know some good places to look, too.
Hmm, what did you mean by this? Is this something we will need to address with |
I logged out the
But, when I search the files, I see stuff like:
I believe there's another case of I'm not sure we have any guarantee on the form of the slashes here, so our best bet might be to run |
esy version:
master
+ Windows fixesOperating System: Windows
Issue:
menhir
fails to install with this error when running theocamlbuild -where
command:Some notes on my environment:
ocamlbuild
seems to be installed successfully - it is available here:C:/Users/bryph/.esy/3_/i/opam__slash__ocamlbuild-0.12.0-5e55ac68/bin
Running __
ocamlbuild -where
from the build environment gives some strange results - it returnsC:/Users/bryph/.esy/3_/s/opam__slash__ocamlbuild-0.12.0-5e55ac68/lib/ocamlbuild
, which is the staging folder. I validated that the libraryocamlbuild.cmo
is actually available in the correct folder, theinstall
folder:C:/Users/bryph/.esy/3_/i/opam__slash__ocamlbuild-0.12.0-5e55ac68/lib/ocamlbuild
So the mystery that needs to be solved is - why is
ocamlbuild -where
pointing to the staging folder instead of the install folder? It's possible that something isn't wired up quite right in the environment.One other thing I noticed, that may or may not be related, is that the
esy-installer
step failed forocamlbuild
:Minimal
package.json
repro:The text was updated successfully, but these errors were encountered: