Skip to content

Conversation

@raphael-proust
Copy link
Contributor

they are causing CI errors in #29147

cmdliner error:

File "git_diffast.ml", line 379, characters 8-17:
379 |         args#repo $ sha1s)
              ^^^^^^^^^
Error: This expression has type string Cmdliner.Term.t
       but an expression was expected of type Fpath.t Cmdliner.Term.t
       Type string is not compatible with type Fpath.t
make: *** [../../rules.mk:105: git_diffast.cmx] Error 2
@jmid
Copy link
Member

jmid commented Dec 31, 2025

Love it! ❤️ There's also an issue for this: #27952

@raphael-proust
Copy link
Contributor Author

0.6.2

The build now passes but it hits an error at installation:

#=== ERROR while installing cca.0.6.2 =========================================#
Some files in /home/opam/.opam/4.14/.opam-switch/install/cca.install couldn't be installed:
  - /home/opam/.opam/4.14/.opam-switch/build/cca.0.6.2/src/ast/analyzing/langs/cpp/Mcpp.cmxs to /home/opam/.opam/4.14/lib/cca
  - /home/opam/.opam/4.14/.opam-switch/build/cca.0.6.2/src/ast/analyzing/langs/cpp/Mcpp_p.cmxs to /home/opam/.opam/4.14/lib/cca
  - /home/opam/.opam/4.14/.opam-switch/build/cca.0.6.2/src/ast/analyzing/langs/fortran/Mfortran.cmxs to /home/opam/.opam/4.14/lib/cca
  - /home/opam/.opam/4.14/.opam-switch/build/cca.0.6.2/src/ast/analyzing/langs/fortran/Mfortran_p.cmxs to /home/opam/.opam/4.14/lib/cca
  - /home/opam/.opam/4.14/.opam-switch/build/cca.0.6.2/src/ast/analyzing/langs/java/Mjava.cmxs to /home/opam/.opam/4.14/lib/cca
  - /home/opam/.opam/4.14/.opam-switch/build/cca.0.6.2/src/ast/analyzing/langs/java/Mjava_p.cmxs to /home/opam/.opam/4.14/lib/cca
  - /home/opam/.opam/4.14/.opam-switch/build/cca.0.6.2/src/ast/analyzing/langs/python/Mpython.cmxs to /home/opam/.opam/4.14/lib/cca
  - /home/opam/.opam/4.14/.opam-switch/build/cca.0.6.2/src/ast/analyzing/langs/python/Mpython_p.cmxs to /home/opam/.opam/4.14/lib/cca
  - /home/opam/.opam/4.14/.opam-switch/build/cca.0.6.2/src/ast/analyzing/langs/verilog/Mverilog.cmxs to /home/opam/.opam/4.14/lib/cca
  - /home/opam/.opam/4.14/.opam-switch/build/cca.0.6.2/src/ast/analyzing/langs/verilog/Mverilog_p.cmxs to /home/opam/.opam/4.14/lib/cca

same error happens on other versions of the package. i'd say let's merge the 6.2 changes anyway, it's better than before

0.7

now the package is unavailable, i'm guessing there are incompatible version constraints??

i'm pushing a commit to relax the constraint

@raphael-proust
Copy link
Contributor Author

ok now both fail at install rather than compile, i think that's better (shorter error message, further along in the process)

if someone (@codinuum ?) wants to address the installation errors we can use this PR as a base, otherwise i'd say let's merge this

@mseri mseri merged commit ad1ce75 into ocaml:master Jan 6, 2026
2 of 5 checks passed
@mseri
Copy link
Member

mseri commented Jan 6, 2026

Let's merge in the meantime! thanks a lot

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.

3 participants