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

Fix opam-* < 2.0.7 when the CI environment variable is set #24232

Merged
merged 1 commit into from
Aug 9, 2023

Conversation

kit-ty-kate
Copy link
Member

e.g. in opam-repo-ci

#=== ERROR while compiling opam-core.2.0.6 ====================================#
# context              2.2.0~alpha2~dev | linux/x86_64 | ocaml-base-compiler.4.14.1 | file:///home/opam/opam-repository
# path                 ~/.opam/4.14/.opam-switch/build/opam-core.2.0.6
# command              ~/.opam/opam-init/hooks/sandbox.sh build make opam-core.install
# exit-code            2
# env-file             ~/.opam/log/opam-core-7-6bdbb2.env
# output-file          ~/.opam/log/opam-core-7-6bdbb2.out
### output ###
# dune build  -p opam-core opam-core.install
# (cd _build/default && /home/opam/.opam/4.14/bin/ocamlc.opt -w -40 -w +a-4-40-42-44-48 -safe-string -warn-error A-3 -g -bin-annot -I src/core/.opam_core.objs/byte -I /home/opam/.opam/4.14/lib/ocamlgraph -I /home/opam/.opam/4.14/lib/re -I /home/opam/.opam/4.14/lib/seq -I /home/opam/.opam/4.14/lib/stdlib-shims -no-alias-deps -o src/core/.opam_core.objs/byte/opamStubsTypes.cmo -c -impl src/core/opamStubsTypes.ml)
# File "src/core/opamStubsTypes.ml", line 1:
# Error (warning 70 [missing-mli]): Cannot find interface file.
# make: *** [Makefile:104: opam-core.install] Error 1

This behaviour was fixed in 2.0.7 with https://github.com/ocaml/opam/pull/4143/files#diff-90d08e583c4c9c6f391b2ae90f819f600a6326928ea9512c9e0c6d98e9f29ac2R3980

@kit-ty-kate kit-ty-kate merged commit f4c6c40 into ocaml:master Aug 9, 2023
@kit-ty-kate kit-ty-kate deleted the fix-241 branch August 9, 2023 17:10
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

Successfully merging this pull request may close these issues.

1 participant