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

mybuild: conflicts with bytecode only compilers #24937

Merged
merged 2 commits into from
Dec 13, 2023
Merged

mybuild: conflicts with bytecode only compilers #24937

merged 2 commits into from
Dec 13, 2023

Conversation

mseri
Copy link
Member

@mseri mseri commented Dec 13, 2023

Fails with:

#=== ERROR while compiling mybuild.6 ==========================================#
# context              2.2.0~alpha4~dev | linux/arm32 | ocaml-base-compiler.5.1.0 | file:///home/opam/opam-repository
# path                 ~/.opam/5.1/.opam-switch/build/mybuild.6
# command              ~/.opam/opam-init/hooks/sandbox.sh build make
# exit-code            2
# env-file             ~/.opam/log/mybuild-7-9481c4.env
# output-file          ~/.opam/log/mybuild-7-9481c4.out
### output ###
# fatal: not a git repository: '.git'
# ocamlbuild -use-ocamlfind -no-links -j 0  mybuild.cma mybuild.cmxa mybuild_write_version.native
# ocamlfind ocamldep -package ocamlbuild -modules mybuild.mli > mybuild.mli.depends
# ocamlfind ocamlc -c -package ocamlbuild -o mybuild.cmi mybuild.mli
# ocamlfind ocamldep -package ocamlbuild -modules mybuild.ml > mybuild.ml.depends
# ocamlfind ocamlc -c -package ocamlbuild -o mybuild.cmo mybuild.ml
# ocamlfind ocamlc -a -package ocamlbuild mybuild.cmo -o mybuild.cma
# ocamlfind ocamlopt -c -package ocamlbuild -o mybuild.cmx mybuild.ml
# + ocamlfind ocamlopt -c -package ocamlbuild -o mybuild.cmx mybuild.ml
# ocamlfind: Not supported in your configuration: ocamlopt
# Command exited with code 2.
# make: *** [Makefile:15: build] Error 10

@mseri
Copy link
Member Author

mseri commented Dec 13, 2023

Seen on #24884

@mseri mseri merged commit 3c5ea15 into master Dec 13, 2023
@mseri mseri deleted the mseri-patch-4 branch December 13, 2023 21:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant