Skip to content

Add warnings for unsupported distributions when failing to resolve a dependency #2001

@mosteo

Description

@mosteo

Discussed in #1997

Originally posted by carrexxii August 10, 2025
I think a warning should be added when alr install fails to find all dependencies and the distribution is unknown. When trying to install libadalang, I had it reporting that it couldn't find libgmp without it providing any other information. I didn't realise that Alire uses the package manager to resolve dependencies (or failed to in this case) and only stumbled across it in the settings for distribution.override.

I'm using Artix and the solution was a trivial as --set distribution.override arch to get it to use pacman and it would be good if there were a warning indicating an unknown distribution so that in the future others in my situation can find the issue more easily.

Metadata

Metadata

Assignees

No one assigned

    Labels

    type: enhancementImprovements to existing functionality

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions