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] failing to parse "+" in dependency #35

Closed
werdahias opened this issue Dec 2, 2023 · 4 comments · Fixed by #36
Closed

[Bug] failing to parse "+" in dependency #35

werdahias opened this issue Dec 2, 2023 · 4 comments · Fixed by #36

Comments

@werdahias
Copy link
Contributor

To reproduce:

git clone https://github.com/magic-wormhole/magic-wormhole.rs
cd magic-wormhole.rs && cargo debstatus

log:

RUST_BACKTRACE=full cargo debstatus 
[46/201] Resolving debian packages ████████░░░░░░░░░░░░░░░░░░░░░░░░░░░thread '<unnamed>' panicked at 'called `Result::unwrap()` on an `Err` value: unexpected character '+' after major version number', src/debian.rs:66:54
stack backtrace:
   0:     0x5c0f8231fc9a - <unknown>
   1:     0x5c0f8235c55f - <unknown>
   2:     0x5c0f8232a655 - <unknown>
   3:     0x5c0f8231fa55 - <unknown>
   4:     0x5c0f82327a6e - <unknown>
   5:     0x5c0f82327729 - <unknown>
   6:     0x5c0f82327fc1 - <unknown>
   7:     0x5c0f8231ffc9 - <unknown>
   8:     0x5c0f8231fda6 - <unknown>
   9:     0x5c0f82327cc2 - <unknown>
  10:     0x5c0f820fa873 - <unknown>
  11:     0x5c0f820fa7a3 - <unknown>
  12:     0x5c0f82134b1f - <unknown>
  13:     0x5c0f82156c1f - <unknown>
  14:     0x5c0f82347b15 - <unknown>
  15:     0x7b2938a033ec - <unknown>
  16:     0x7b2938a83a4c - <unknown>
  17:                0x0 - <unknown>

I suspect this is cargo debstatus not accounting for Jonas' +ds/+dfsg 'd packages.

@werdahias
Copy link
Contributor Author

Same issue with the noise-rust-crypto crate and after deleting .cargo

@jamessan
Copy link
Contributor

jamessan commented Dec 9, 2023

$ rmadison rust-curve25519-dalek
rust-curve25519-dalek | 4+20231122+dfsg-1 | new        | source
rust-curve25519-dalek | 4+20231122+dfsg-2 | new        | source

Not sure what this versioning scheme is.

@werdahias
Copy link
Contributor Author

thanks for finding the culprit ! That is pretty wack, let's hope it doesn't break debcargo as well.

@jamessan
Copy link
Contributor

jamessan commented Dec 9, 2023

The binary packages look fine. It's just the source package that has an odd version.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants