Skip to content

Patch error when installing with the Coq platform #96

@edusporto

Description

@edusporto

Hi! I'm installing the Coq platform, but it keeps erroring due to a failure to find a patch file when installing ocamlfind. I couldn't find anyone with a similar error online.

Specifically, it errors with the following error message:

[ERROR] Patch file
        "/Users/myuser/.opam/CP.2024.10.0~8.19~2024.10/.opam-switch/build/ocamlfind.1.9.5~relocatable/0001-Fix-bug-when-installing-with-a-system-compiler.patch"
        not found.

#=== ERROR while compiling ocamlfind.1.9.5~relocatable ========================#
Not_found

It seems like ocamlfind requires some patch in a specific case, but its file is not being downloaded automatically.
I'm not sure whether this is an error with the Coq platform or specifically with ocamlfind. When installing ocamlfind outside of the Coq platform installer, with opam install ocamlfind.1.9.5, it works as expected, which makes me think it might be an issue with some interaction between ocamlfind and the Coq platform installer.

Additional information:
OS: MacOS 15.2
opam 2.3.0 (installed via the script in the website)

Let me know if any more information is needed

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions