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

[BUG] jammy: Handling of multiple version constraints on a package is not the correct format #414

Closed
1 task
cpuguy83 opened this issue Oct 24, 2024 · 2 comments · Fixed by #417
Closed
1 task
Assignees
Labels
bug Something isn't working

Comments

@cpuguy83
Copy link
Member

Expected Behavior

Given a spec with package constraints:

dependencies:
  build:
    foo:
      version:
        - ">= 1.0"
        - "< 2.0"

The output in the control file looks like

Build-Depends: foo (>= 1.0, < 2.0)

This is the incorrect format and causes dependency resolution to fail.

Actual Behavior

The correct format would be foo (>= 1.0) | foo (<< 2.0)

Also to note, the double carrot (<<) is not a typo... I think we have some handling for converting < to << and > to >> but it may be insufficient (or maybe I'm mis-remembering altogether).

Steps To Reproduce

No response

Are you willing to submit PRs to contribute to this bug fix?

  • Yes, I am willing to implement it.
@cpuguy83 cpuguy83 added the bug Something isn't working label Oct 24, 2024
@cpuguy83
Copy link
Member Author

Just to note for those looking to work on this, it'd be good to verify that I looked up the correct format 😅

@DannyBrito
Copy link
Contributor

Just to note for those looking to work on this, it'd be good to verify that I looked up the correct format 😅

yeah I think that is right format deb

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

Successfully merging a pull request may close this issue.

2 participants