[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#1122238: ben should ignore Build-Depends-Indep



Hi,

Le 09/12/2025 à 08:22, Adrian Bunk a écrit :
Level 5 of the ongoing Python transition is a mess of circular
dependencies, and there is one low-hanging fruit to improve that:

As long as we cannot binNMU binary-all, there is not much reason
for considering build dependencies that are only relevant for the
indep build.

I consider the fact that we cannot binNMU binary-all a peculiarity of the current Debian infrastructure and I'd rather not embed it in ben.

However, I sympathize with your issue. Maybe enabling the behaviour you suggest with an option would suit you?


FYI, I occasionally do use "ben rebuild" for rebuilding OCaml packages from testing in stable (e.g. [1]) and in this case, I wish to rebuild all packages (even arch:all ones).

Cycles do happen and what I do then is filter out some edges to break circular dependencies (e.g. in [2]). At the moment, the "filter" directive is only available for "ben rebuild", maybe it could be made available to "ben monitor" as well... How would that help you?

[1] http://ocaml.debian.net/backports/20250313/
[2] https://salsa.debian.org/debian/ben/-/blob/master/examples/transition-scripts/examples/ocaml/rebuild.ben?ref_type=heads


Cheers,

--
Stéphane


Reply to: