Package reports
Debian build-profile reduction
Reduce a Build-Depends field under an explicit active profile set.
Your inputs
Start with an exampleYour result
Example resultAa — A small example of your colors.
How it works
AND terms within each <profile list> and OR separate lists. Remove false alternatives and empty comma groups; strip satisfied profile restrictions while retaining version and architecture conditions.
With nocheck active, testlib and crosslib disappear. The example reduces to fallback, common.
Limits
One source dependency field, up to 1000 alternatives, 100 active profiles and 5000 terms. Uses the documented lowercase profile-name subset; native dpkg accepts more lenient spellings. Architecture/version restrictions stay unevaluated. No installed-package database, macro expansion, solver or autobuilder first-alternative decision.