Guillem Jover, on Wed 21 Sep 2016 00:17:05 +0200, wrote:
> On Tue, 2016-09-20 at 21:26:16 +0200, Samuel Thibault wrote:
> > dpkg needs to build-depend on hurd-dev because it uses <hurd.h> and
> > <ps.h>. It happens that libc0.3-dev depends on it, and thus hurd-dev
> > gets pulled on a normal system. But when bootstrapping, libc0.3-dev does
> > not depend on hurd-dev yet. So dpkg should explicitly build-depend on
> > hurd-dev to be able to be compiled with the bootstrap libc build.
> As I replied to Helmut when he brought this up on IRC, I think adding
> what you proposed would be (currently) wrong. hurd-dev is already
> build-essential, and if we have to spell those explicitly we might as
> well stop having build-essential at all.

Sure, but dpkg is part of build-essential too, and so AIUI it thus
needs to explain how it is supposed to build within the build-essential

> If this is causing problems when rebootstrapping, then this tells me
> we might need some stages somewhere or some build profile restricted
> dependencies, new virtual packages, or packages split or…

At the very best I'd make hurd-dev provide a libps-dev which dpkg would
depend on, but that'd be purely artificial since we don't actually ever
build a separate libps-dev package, the stage3 hurd-dev package already
provides everything that build-essential is supposed to provide.


Reply via email to