Skip to content

Work around build failure in uri package#517

Merged
djs55 merged 1 commit intomoby:masterfrom
djs55:work-around-build-failure
Feb 9, 2021
Merged

Work around build failure in uri package#517
djs55 merged 1 commit intomoby:masterfrom
djs55:work-around-build-failure

Conversation

@djs55
Copy link
Copy Markdown
Collaborator

@djs55 djs55 commented Feb 9, 2021

The failure looks like:

ocamlc lib/.uri.objs/byte/uri_re.{cmi,cmo,cmt} (exit 2)
(cd _build/default && /home/opam/.opam/4.07/bin/ocamlc.opt -w -40 -g -bin-annot -I lib/.uri.objs/byte -no-alias-deps -o lib/.uri.objs/byte/uri_re.cmo -c -impl lib/.wrapped_compat/Uri_re.ml-gen)
File "lib/.wrapped_compat/Uri_re.ml-gen", line 1, characters 99-110:
Error: Unbound module Uri__Uri_re

I suspect it's due to a missed dependency within the code itself, probably due to the old packages and dune/jbuilder version. Building the package separately seems to hide the problem, which is enough until we can upgrade a lot of the dependencies.

Signed-off-by: David Scott dave@recoil.org

The failure looks like:
```
ocamlc lib/.uri.objs/byte/uri_re.{cmi,cmo,cmt} (exit 2)
(cd _build/default && /home/opam/.opam/4.07/bin/ocamlc.opt -w -40 -g -bin-annot -I lib/.uri.objs/byte -no-alias-deps -o lib/.uri.objs/byte/uri_re.cmo -c -impl lib/.wrapped_compat/Uri_re.ml-gen)
File "lib/.wrapped_compat/Uri_re.ml-gen", line 1, characters 99-110:
Error: Unbound module Uri__Uri_re
```

I suspect it's due to a missed dependency within the code itself, probably
due to the old packages and `dune`/`jbuilder` version. Building the package
separately seems to hide the problem, which is enough until we can upgrade
a lot of the dependencies.

Signed-off-by: David Scott <dave@recoil.org>
@djs55 djs55 force-pushed the work-around-build-failure branch from daa5a22 to 7f0eff0 Compare February 9, 2021 11:11
@djs55
Copy link
Copy Markdown
Collaborator Author

djs55 commented Feb 9, 2021

@djs55
Copy link
Copy Markdown
Collaborator Author

djs55 commented Feb 9, 2021

Unfortunately the CI does not test the Dockerfile build :(

@djs55 djs55 merged commit 7bfcba6 into moby:master Feb 9, 2021
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