pkgx icon indicating copy to clipboard operation
pkgx copied to clipboard

`Error: Invalid Range Description`

Open mxcl opened this issue 9 months ago • 2 comments

$ docker run -it --rm pkgxdev/pkgx
pkgx/ $ pkgx +llvm.org cargo build
Error: invalid range description

This works on macOS, just not on Linux. The error is thrown in libsemverator but we are passing it something invalid to parse as a semver range.

+clang also does not work. The only way to get it to work is pkgx +llvm.org +rustc -- cargo build, ie. you need to --.

mxcl avatar Mar 24 '25 20:03 mxcl

In fact it’s cargo, any variety of eg pkgx +cargo fails with this error. Only on Linux so I suspect it's the linux specific dependencies of llvm.org: * or curl.se: *. Potentially conflicting with the companions of rust-lang.org.

mxcl avatar Apr 02 '25 14:04 mxcl

Note this is an issue with pkgx^2 only:

❯ pkgx pkgx@1 cargo --version
cargo 1.87.0

❯ pkgx pkgx@2 cargo --version
Error: invalid range description

felipecrs avatar Jun 01 '25 03:06 felipecrs