haskell / haskell/cabal

`cabal-install` could print every missing library that is missing from `pkg-config` in one go

Open
#10,765 1 comment 0 reactions 0 assignees View on GitHub
cabal-install: solver re: pkg-config re: user experience type: enhancement
Dominant language
Haskell
Stars
1.7k
Forks
750
Avg merge
4d 3h
Merged PRs (30d)
28

Description

I recently provisioned a big app on a new machine and it took several iterations of `cabal build` before it complained about every missing library in `pkg-config`. I am not familiar with how the solver knows things, but could it not print one message with *all* the missing libraries?

cc @grayjay (you are my solver expertjl)

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the repeated `cabal build` behavior with a project that has multiple missing libraries in `pkg-config`, then trace how the solver reports missing libraries. Done means `cabal-install` reports all missing libraries in one run, with regression coverage for the diagnostic.

Written by the indexing model from the issue text.

Assessment

Tech stack
haskell
Domain
build-system, cli
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.