Skip to content
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

Opam 2.2.0-alpha build on Windows #10

Closed
a2line opened this issue Jul 5, 2023 · 1 comment
Closed

Opam 2.2.0-alpha build on Windows #10

a2line opened this issue Jul 5, 2023 · 1 comment

Comments

@a2line
Copy link

a2line commented Jul 5, 2023

Hi. I'm glad to try Opam 2.2.0-alpha for Windows because I hope it will simplify the build of Geneweb on that platform. After installing a fresh cygwin64 + upgrading %path, the make cold ends with:

make[1]: Entering directory '/home/Tom/opam2.2.0a'
cd src_ext/dune-local && ocaml bootstrap.ml
ocamlc -output-complete-exe -w -24 -g -o .duneboot.exe -I boot unix.cma boot/libs.ml boot/duneboot.ml
.\.duneboot.exe
/home/Tom/opam2.2.0a/src_ext/dune-local/dune.exe build --profile=release --root .  --promote-install-files -- opam-installer.install opam.install
File "src/stubs/win32/dune", line 24, characters 0-150:
24 | (rule
25 |   (targets opam-putenv.exe)
26 |   (deps    opamInject.c)
27 |   (action  (run ocaml %{dep:build-putenv.ml} %{targets} %{dep:opam-putenv.c} %{dep:cc64})))
Exception: End_of_file.
fatal: not a git repository (or any of the parent directories): .git
fatal: not a git repository (or any of the parent directories): .git
make[1]: *** [Makefile:144: build-opam] Error 1
make[1]: Leaving directory '/home/Tom/opam2.2.0a'
make: *** [Makefile:285: cold] Error 2

Full log here https://gist.github.com/a2line/a2b951b9018a402280ac244f461c8bf5

I tried make cold CONFIGURE_ARGS=--with-private-runtime for the same results. Any idea?

@rjbou
Copy link

rjbou commented Jul 13, 2023

Closing, issue moved to opam bugtracker ocaml/opam#5601

@rjbou rjbou closed this as completed Jul 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants