pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/54316: CARGO_CRATES_DEPENDS does not consider alphanumeric version numbers



>Number:         54316
>Category:       pkg
>Synopsis:       CARGO_CRATES_DEPENDS does not consider alphanumeric version numbers
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Jun 21 19:30:00 +0000 2019
>Originator:     ng0
>Release:        current, 2019-06-21
>Organization:
>Environment:
NetBSD uptimegirl 8.99.42 NetBSD 8.99.42 (GENERIC) amd64

>Description:
Given this:

CARGO_CRATE_DEPENDS+= tera-1.0.0-beta.10

the current mk file for handling crates does not consider alphanumeric versions and fails to split it after the package name, resulting in a 404 at the crates.io api:

 make distinfo
=> Fetching tera-1.0.0-beta.10.crate
Trying 34.231.75.48:443 ...
Requesting https://crates.io/api/v1/crates/tera-1.0.0-beta.10/tera-1.0.0-beta.10/download
ftp: Error retrieving file `404 Not Found'

>How-To-Repeat:

>Fix:



Home | Main Index | Thread Index | Old Index