Bug#769687: no network is a common condition

Martin Pitt mpitt at debian.org
Tue Nov 18 13:17:55 UTC 2014


Holger Levsen [2014-11-18 13:10 +0100]:
> no, it's not like that. you are using a specific mirror via http, while the 
> host could use a file:// mirror via nfs or rsync or just 
> /var/cache/apt/archives. -> your build results are unreliable and 
> unpredictable.

autopkgtest does not use any specific mirror. It's just calling
"apt-get download", and thus it's using whichever deb source you have
in sources.list. If that is a file:// source, then it won't hit the
network indeed. This is exclusively a problem if you have some kind of
build environment where you put exactly the build deps into
/var/cache/apt/archives/, and then build in an environment without any
network access to pull other packages from. That's why the bug is
still open, but pbuilder, sbuild, cowbuilder, plain debuild etc. all
don't work that way. (Hence "unusual environment").

Out of interest, what are you using as a build env?

> we've discussed this briefly on #debian-devel today and now there is #770016
> "Clarify network access for building packages in main" against debian-policy 
> to document this properly.

Independently of this, that's a good idea to document, thanks!

Martin
-- 
Martin Pitt                        | http://www.piware.de
Ubuntu Developer (www.ubuntu.com)  | Debian Developer  (www.debian.org)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/autopkgtest-devel/attachments/20141118/644585db/attachment-0001.sig>


More information about the autopkgtest-devel mailing list