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

Findlib library with missing requires crashes #6

Open
sim642 opened this issue Jul 14, 2023 · 0 comments
Open

Findlib library with missing requires crashes #6

sim642 opened this issue Jul 14, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@sim642
Copy link
Owner

sim642 commented Jul 14, 2023

If angstrom is installed from opam, but not angstrom-unix, then Findlib lookups can fail with:

Fl_package_base.No_such_package("angstrom-unix", "required by `angstrom.unix'")

Even Findlib.package_ancestors [] "angstrom.unix" crashes, even though it doesn't have to look up dependencies of angstrom-unix.
Worse yet, Findlib.package_deep_ancestors will fail if any transitive dependency is missing like that, so not even the existing parts will be returned.

@sim642 sim642 added the bug Something isn't working label Jul 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant