rattler-build icon indicating copy to clipboard operation
rattler-build copied to clipboard

Overlinking against packages without shared objects

Open baszalmstra opened this issue 2 months ago • 1 comments

When building a recipe which contains a package without shared objects rattler-build will still complain that the package is overlinked.

The following recipe shows this problem

package:
  name: test
  version: "0.1.0"

requirements:
  run:
    - pixi-build-api-version ==2

pixi-build-api-version is an empty package (its a mutex package).

When building this package with:

rattler-build build --recipe recipe.yaml

you will get the warning:

warning Overdepending against pixi-build-api-version

baszalmstra avatar Oct 20 '25 08:10 baszalmstra

Can you help me understand why overdepending on a run dependency makes sense in the first place? You cant know what is in the run dependency (because its not yet solved), so how can you know if you are overdepending on something? Which scenario should this check catch?

baszalmstra avatar Nov 06 '25 13:11 baszalmstra