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

Re: Bootstrappable Debian - proposal of needed changes



Hi,

On Fri, 18 Jan 2013, Colin Watson wrote:
> Maybe this plan can be rescued, though.  Provided that a version of the
> package is installed, the control field will be present in the status
> file; so, after you install the build-architecture version,
> dpkg-checkbuilddeps could look at that and know that it still needs a
> host-architecture version.
> 
> Now, this is a bit awkward because you need two passes if you're relying
> entirely on dpkg-checkbuilddeps rather than on a higher-level tool that
> can inspect the apt cache; but it's only for cross builds, and
> dpkg-checkbuilddeps doesn't always print an accurate list of packages to
> install in any event (e.g. virtual packages).

In theory virtual packages are preceded by the preferred implementation
(real | virtual) and sbuild goes as far as keeping only the first
alternative in most of the cases.

> I think that the most important part of its contract is still met as
> long as it exits zero if and only if all build-dependencies are
> satisfied, and it would still be able to do that.
> 
> Does that sound acceptable?

To me, yes.

Cheers,
-- 
Raphaël Hertzog ◈ Debian Developer

Get the Debian Administrator's Handbook:
→ http://debian-handbook.info/get/


Reply to: