Bug#903211: Checking for removal of BD [was Re: release.debian.org: How to handle unbuildable packages in buster]
Paul Gevers:
> Hi all,
>
> On Thu, 09 Aug 2018 09:32:00 +0000 Niels Thykier <niels@thykier.net> wrote:
>> 3) Build-Depends are not enforced on removal. That is packages
>> /can/ be removed while packages are build depending on them.
>>
>> Limitation 2+3 are slightly more involved and may take quite a while for
>> us to implement.
>
> Seems like this is really in need of attention. [...]
>
Ack.
> I may be saying something stupid, but shouldn't the build-depends not
> *just* be added to the depends in the migration phase? Or is that still
> quite involved due to -arch/-indep?
>
> Paul
>
The migration phase never concerned itself with source packages (if you
are thinking of the is_installable check). And adding
Build-Depends(-Indep|-Arch) to a random binary of the source would have
its own issues - notably, a binary is not required to be co-installable
with its source's build-depends.
It is not that it is impossible, it is just a question of spoons, time
and test cases. If you have any trivial test cases, please by all means
begin to collect/commit them (it makes life so much easier later).
Thanks,
~Niels
Reply to: