Repository navigation
Description
Checks
-
I have checked that this issue has not already been reported.
-
I have confirmed this bug exists on the latest version of pixi, using
pixi --version.
Reproducible example
crypto++ is a valid ROS dependency: https://index.ros.org/d/crypto++/
But pixi-build-ros can't process it because of the + character:
$ pixi lock
Error: × failed to solve requirements of environment 'default' for platform 'linux-64'
╰─▶ × the build backend (pixi-build-ros) exited prematurely.
│ Build backend output:
│
│
│ thread 'main' (595803) panicked at /home/conda/feedstock_root/build_artifacts/bld/
│ rattler-build_pixi-build-ros_1780393469/build_env/.cargo/git/checkouts/rattler-build-
│ 5c6d2407a545b614/22f5d08/crates/rattler_build_recipe/src/stage0/match_spec.rs:64:18:
│ Invalid MatchSpec: InvalidPackageNameMatcher(PackageName { name: "ros-humble-crypto++", source:
│ InvalidCharacters("ros-humble-crypto++") })
│ note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
Minimal example:
- Create pixi workspace and edit
pixi.toml:
[workspace]
authors = ["Vincent Richard <[email protected]>"]
channels = ["conda-forge", "robostack-humble"]
name = "pixi_crypto"
platforms = ["linux-64"]
version = "0.1.0"
preview = ["pixi-build"]
[tasks]
[dependencies]
ros-humble-desktop = ">=0.10.0,<0.11"
[dev]
ros-package-with-cryptopp = { path = "ros_package_with_cryptopp" }- Run
pixi run ros2 pkg create ros_package_with_cryptopp - Add
<depend>crypto++</depend>toros_package_with_cryptopp/package.xml - Create
ros_package_with_cryptopp/pixi.toml:
[package.build.backend]
channels = ["https://prefix.dev/conda-forge"]
name = "pixi-build-ros"
version = "*"- run
pixi lock
Issue description
No response
Expected behavior
Should work?
crypto++ is a ROS dependency which should resolve to cryptopp?
I assume https://index.ros.org/d/libpng++-dev/ will not work either (but in this case, there is no libpngpp on conda-forge (http://savannah.nongnu.org/projects/pngpp/)
Activity
VRichardJP commentedon Jun 9, 2026
Could you re-open this one too?
After updating pixi to 0.70.2,
pixi clean,pixi clean cachethe example still fails on my machine:I guess
pixi-build-rosversion should be bumped?baszalmstra commentedon Jun 9, 2026
A new release of the build backend is required. This is not solved in pixi itself.