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

[lower-bounds] octavius lower bound needed for doc-ock #19713

Open
mseri opened this issue Oct 7, 2021 · 1 comment
Open

[lower-bounds] octavius lower bound needed for doc-ock #19713

mseri opened this issue Oct 7, 2021 · 1 comment

Comments

@mseri
Copy link
Member

mseri commented Oct 7, 2021

Error

#=== ERROR while compiling doc-ock.1.2.0 ======================================#
# context              2.1.0 | linux/x86_64 | ocaml-base-compiler.4.06.1 | file:///home/opam/opam-repository
# path                 ~/.opam/4.06/.opam-switch/build/doc-ock.1.2.0
# command              ~/.opam/opam-init/hooks/sandbox.sh build jbuilder build -p doc-ock -j 31
# exit-code            1
# env-file             ~/.opam/log/doc-ock-23-f45f53.env
# output-file          ~/.opam/log/doc-ock-23-f45f53.out
### output ###
#       ocamlc src/.docOck.objs/docOckAttrs.{cmo,cmt} (exit 2)
# (cd _build/default && /home/opam/.opam/4.06/bin/ocamlc.opt -w -40 -g -bin-annot -I src/.docOck.objs -I /home/opam/.opam/4.06/lib/ocaml/compiler-libs -I /home/opam/.opam/4.06/lib/octavius -no-alias-deps -o src/.docOck.objs/docOckAttrs.cmo -c -impl src/docOckAttrs.pp.ml)
# File "src/docOckAttrs.ml", line 478, characters 4-13:
# Error: This variant pattern is expected to have type Octavius.Types.tag
#        The constructor Canonical does not belong to type Octavius.Types.tag
#     ocamlopt src/.docOck.objs/docOckAttrs.{cmx,o} (exit 2)
# (cd _build/default && /home/opam/.opam/4.06/bin/ocamlopt.opt -w -40 -g -I src/.docOck.objs -I /home/opam/.opam/4.06/lib/ocaml/compiler-libs -I /home/opam/.opam/4.06/lib/octavius -no-alias-deps -o src/.docOck.objs/docOckAttrs.cmx -c -impl src/docOckAttrs.pp.ml)
# File "src/docOckAttrs.ml", line 478, characters 4-13:
# Error: This variant pattern is expected to have type Octavius.Types.tag
#        The constructor Canonical does not belong to type Octavius.Types.tag

Action performed:

dune-release.1.3.0

# Run eval $(opam env) to update the current shell environment
The following actions will be performed:
  - remove    ocaml-migrate-parsetree  2.2.0               [conflicts with dune]
  - remove    stdlib-shims             0.3.0               [conflicts with dune]
  - install   conf-m4                  1                   [required by ocamlfind]
  - remove    seq                      0.2.2               [conflicts with dune]
  - downgrade opam-file-format         2.1.3 to 2.0~alpha5
  - remove    odoc-parser              0.9.0               [conflicts with dune, result]
  - downgrade ocamlbuild               0.14.0 to 0.9.1
  - remove    opam-depext              1.1.5
  - remove    ocamlfind-secondary      1.9.1               [conflicts with ocamlfind]
  - downgrade result                   1.5 to 1.0
  - downgrade dune                     2.9.1 to 1.0.0
  - downgrade ocamlfind                1.9.1 to 1.7.3
  - remove    ocaml-secondary-compiler 4.08.1-1
  - install   jbuilder                 transition          [required by odoc]
  - install   ocp-build                1.99.18-beta        [required by opam-core]
  - install   menhir                   20160303            [required by doc-ock-xml]
  - install   base-bytes               base                [required by astring]
  - downgrade topkg                    1.0.4 to 0.9.0      [uses ocamlfind, ocamlbuild, result]
  - downgrade ocamlgraph               2.0.0 to 1.8.8      [uses ocamlfind]
  - downgrade re                       1.10.3 to 1.5.0     [uses ocamlbuild, ocamlfind]
  - downgrade cppo                     1.6.8 to 1.4.1      [uses ocamlbuild, ocamlfind]
  - install   xmlm                     1.3.0               [required by odoc]
  - install   octavius                 0.1.0               [required by doc-ock]
  - downgrade rresult                  0.6.0 to 0.4.0      [uses ocamlfind, ocamlbuild, result]
  - downgrade cmdliner                 1.0.4 to 1.0.0      [uses ocamlfind, ocamlbuild, result]
  - downgrade astring                  0.8.5 to 0.8.2      [uses ocamlbuild, ocamlfind]
  - install   doc-ock                  1.2.0               [required by odoc]
  - downgrade uutf                     1.0.2 to 1.0.1      [uses ocamlbuild, ocamlfind]
  - downgrade fmt                      0.8.9 to 0.8.4      [uses ocamlfind, ocamlbuild, result]
  - downgrade fpath                    0.7.3 to 0.7.0      [uses ocamlfind, ocamlbuild, result]
  - install   doc-ock-xml              1.2.0               [required by odoc]
  - install   jsonm                    1.0.1               [required by opam-core]
  - downgrade tyxml                    4.5.0 to 4.2.0      [uses ocamlbuild, ocamlfind]         For tyxml's ppx, please install tyxml-ppx.
  - downgrade logs                     0.7.0 to 0.6.2      [uses ocamlfind, ocamlbuild, result]
  - downgrade opam-core                2.1.0 to 2.0~alpha5 [uses ocamlfind]
  - install   doc-ock-html             1.2.0               [required by odoc]
  - downgrade bos                      0.2.0 to 0.1.0      [uses ocamlbuild, ocamlfind]
  - downgrade opam-format              2.1.0 to 2.0~alpha5 [uses opam-file-format]
  - downgrade odoc                     2.0.0 to 1.2.0      [uses ocamlfind, result]
  - downgrade opam-repository          2.1.0 to 2.0~alpha5 [uses opam-core]
  - downgrade opam-state               2.1.0 to 2.0~alpha5 [uses opam-core]
===== 11 to install | 23 to downgrade | 7 to remove =====

Logs from: https://opam.ci.ocaml.org/github/ocaml/opam-repository/commit/d5595405d0d76cb0e4d77da53bc55aaab20d1071/variant/opam-2.1,compilers,4.06,dune-release.1.3.0,lower-bounds
Seen on #19706

@mseri
Copy link
Member Author

mseri commented Oct 7, 2021

Needs a lower bound to octavius 0.2.0.

@github-actions github-actions bot added the Stale label Jan 5, 2022
@github-actions github-actions bot closed this as completed Feb 4, 2022
@kit-ty-kate kit-ty-kate added persist and removed Stale labels Feb 4, 2022
@kit-ty-kate kit-ty-kate reopened this Feb 4, 2022
@ocaml ocaml deleted a comment from github-actions bot Feb 4, 2022
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