-
Notifications
You must be signed in to change notification settings - Fork 415
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
Select stanza broken (when using -only-packages) #5603
Comments
Is this a bug in 3.1.x as well? If so, could you add a reproduction test case to the repo? |
I confirm that this affects dune.3.1.x as well |
There was one missing aspect in my initial report. The issue only triggers when the optional library in marked as vendor-ed. |
could be related to #4962 |
Replaced by #7197 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Broken Behavior
I have git repo that contains multiple opam packages.
I have a library
A
with an optional (select
stanza) dependency on a libraryB
that is also part of the repo but marked as vendor-ed.After installing A with opam pin (B is not installed), I see B in the
requires
section of theA
's lib/A/dune-package.Trying to install a third package C result in the following error.
If I remove B from the repo and reinstall A. Everything works fine
Specifications
dune
2.9ocaml
4.12opam
2.1.0The text was updated successfully, but these errors were encountered: