Skip to content

undefined packages in opam file should not reference lock dir after translation #12560

@Alizter

Description

@Alizter

The test run-converted-opam-commands.t shows an error message that points to a lock file. However the erroneous location is really in the opam file. We should fix the location and give a better user message in this case.

Similar issues update-non-dune-local-pin.t and build failures. We shouldn't be reporting lock file locations in such build errors.

Such errors are either upstream opam repo issues or dune build failures. We need to be clear in the error message about what is wrong and how the user might fix it.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions