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

Re: Bug#759762: ITP: libz-mingw-w64 -- compression library (targeting Windows)



On 09/01/2014 17:55, Colin Watson wrote:
> On Sun, Aug 31, 2014 at 10:43:20PM +0200, Jakub Wilk wrote:
>> So yeah, d-i can't be built automatically without access to a
>> mirror. Which is a bug, and not an easy one to fix.
> 
> What is actually technically wrong with this?  To build packages, you
> have to have access to a mirror in order to acquire the source; using
> the very same mirror during the build as well should not be a problem.

To build packages, you need to have the build dependencies installed. It
doesn't matter where they come from (network mirror, Debian CD, USB disk
with *.deb, ...).

You suggest to change this to require connectivity to a Debian mirror
instead. You also can no longer use versioned Build-Depends, but have to
about the build later instead (as you don't know which version you will
download in advance).

The package would also have to know which mirror to use (not trivial),
which suite it has to obtain the source from and so on.

> (This is of course quite different from the general case of network
> access during a build.)  It has worked for many years.  Built-Using
> gives us the ability to keep track of which versions of things are
> involved.

It also makes it hard to restict network access for buildds (in the
future): instead of only needing access to localhost, they would also
need access to DNS, and all mirrors given in sources.list. The last part
gets tricky once redirector services like http.debian.net are used.

It gets easier if you have one internal mirror all buildds can use
(which I think Canonical does have), but Debian's buildd network looks
nothing like that.

Ansgar


Reply to: