[Pkg-rust-maintainers] Bug#1007797: Bug#1007797: debcargo: Cannot represent prerelease part of dependency: iso7816

Fabian Grünbichler f.gruenbichler at proxmox.com
Thu Mar 17 07:59:03 GMT 2022


it should work if you explicitly allow it, see 
debcargo.conf.toml.example[0]:

 # Whether to allow prerelease deps, by rewriting these to the released version.
 # This should only be enabled for certain crates if really necessary, and first
 # you should check that they can actually build when this is enabled.
 #allow_prerelease_deps = false

0: https://salsa.debian.org/rust-team/debcargo/-/blob/master/debcargo.toml.example#L56

On March 16, 2022 11:42 pm, Philip Rinn wrote:
> Package: debcargo
> Version: 2.5.0-2
> Severity: normal
> 
> Hi,
> 
> solo2 has a dependency 'iso7816 = "0.1.0-alpha.0"' that seems to make debcargo
> fail due to it's quite uncommon (but obviously acceptable) version string:
> 
> ~/Debian/temp$ debcargo package solo2
>     Updating crates.io index
> Generate binary crate with default name 'solo2', set bin_name to override or
> bin = false to disable.
> debcargo failed: Cannot represent prerelease part of dependency: iso7816
> Comparator { op: Caret, major: 0, minor: Some(1), patch: Some(0), pre:
> Prerelease("alpha.0") }
> 
> Best,
> Philip
> 
> 
> -- System Information:
> Debian Release: bookworm/sid
>   APT prefers testing
>   APT policy: (600, 'testing'), (550, 'unstable'), (450, 'experimental')
> Architecture: amd64 (x86_64)
> 
> Kernel: Linux 5.16.0-4-amd64 (SMP w/8 CPU threads; PREEMPT)
> Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8), LANGUAGE not set
> Shell: /bin/sh linked to /usr/bin/dash
> Init: systemd (via /run/systemd/system)
> LSM: AppArmor: enabled
> 
> Versions of packages debcargo depends on:
> ii  libc6            2.33-7
> ii  libcurl3-gnutls  7.81.0-1
> ii  libgcc-s1        12-20220302-1
> ii  libgit2-1.1      1.1.0+dfsg.1-4.1+b1
> ii  libssh2-1        1.10.0-3
> ii  libssl1.1        1.1.1m-1
> ii  quilt            0.66-2.1
> ii  zlib1g           1:1.2.11.dfsg-2
> 
> Versions of packages debcargo recommends:
> ii  dh-cargo  28
> 
> debcargo suggests no packages.
> 
> -- no debconf information
> 
> _______________________________________________
> Pkg-rust-maintainers mailing list
> Pkg-rust-maintainers at alioth-lists.debian.net
> https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-rust-maintainers
> 
> 



More information about the Pkg-rust-maintainers mailing list