[Pkg-rust-maintainers] Bug#1090359: rust-debcargo: debcargo fails if version contains '~'

Sudip Mukherjee sudipm.mukherjee at gmail.com
Tue Dec 17 14:07:31 GMT 2024


Source: rust-debcargo
Version: 2.7.5-1
Severity: normal
X-Debbugs-Cc: sudipm.mukherjee at gmail.com

Dear Maintainer,

I am trying to update libbpf-rs now and the latest upstream version is '0.25.0~beta.0'.
When I try to do './release.sh libbpf-rs' it fails with error:

debcargo failed: failed to parse the version requirement `=0.25.0~beta.0` for dependency `libbpf-rs`

Caused by:
    expected comma after patch version number, found '~'

It seems the command that is executed by the release script is:
/usr/bin/debcargo package --config /home/sudip/src/debcargo-conf/src/libbpf-rs/debian/debcargo.toml --directory /home/sudip/src/debcargo-conf/build/libbpf-rs --changelog-ready libbpf-rs 0.25.0~beta.0

And debcargo fails to handle the '~' in the version.


-- 
Regards
Sudip



More information about the Pkg-rust-maintainers mailing list