Re: Using ‘export http_proxy = http://127.0.9.1:9/’ to fail noisily on dependency problems

2013-10-15 Thread Jakub Wilk
* Thomas Goirand , 2013-10-15, 01:47: Unless something changed recently, Debian buildds don't block Internet access. :( I've read multiple times that they do. Could you show a build log where something is downloaded? The only thing I found[0] is a bit old, but here you go: https://buildd.debi

Re: Using ‘export http_proxy = http://127.0.9.1:9/’ to fail noisily on dependency problems

2013-10-14 Thread Steve Langasek
On Tue, Oct 15, 2013 at 11:20:50AM +0800, Paul Wise wrote: > On Tue, Oct 15, 2013 at 1:47 AM, Thomas Goirand wrote: > > I've read multiple times that they do. Could you show a build log where > > something is downloaded? > At around 24:30 in the DebConf13 cross-compiler BoF a discussion about > -

Re: Using ‘export http_proxy = http://127.0.9.1:9/’ to fail noisily on dependency problems

2013-10-14 Thread Paul Wise
On Tue, Oct 15, 2013 at 1:47 AM, Thomas Goirand wrote: > I've read multiple times that they do. Could you show a build log where > something is downloaded? At around 24:30 in the DebConf13 cross-compiler BoF a discussion about -source packages, build-depends on foo:src/foo:build-deps and apt-get

Re: Using ‘export http_proxy = http://127.0.9.1:9/’ to fail noisily on dependency problems

2013-10-14 Thread Thomas Goirand
On 10/14/2013 07:23 PM, Jakub Wilk wrote: > * Barry Warsaw , 2013-10-11, 11:03: >> The point of this recommendation is so that missing Build-Depends are >> exposed when you are testing your package builds locally. > > ACK > >> If you omit them, your package will still properly FTBFS, but only on

Re: Using ‘export http_proxy = http://127.0.9.1:9/’ to fail noisily on dependency problems

2013-10-14 Thread Jakub Wilk
* Barry Warsaw , 2013-10-11, 11:03: The point of this recommendation is so that missing Build-Depends are exposed when you are testing your package builds locally. ACK If you omit them, your package will still properly FTBFS, but only on the buildds. Unless something changed recently, Debia

Re: Using ‘export http_proxy = http://127.0.9.1:9/’ to fail noisily on dependency problems

2013-10-12 Thread Barry Warsaw
On Oct 12, 2013, at 01:03 PM, Thomas Goirand wrote: >On 10/12/2013 11:33 AM, Scott Kitterman wrote: >> On Saturday, October 12, 2013 11:26:28 Thomas Goirand wrote: >>> On 10/12/2013 01:26 AM, Barry Warsaw wrote: On Oct 11, 2013, at 07:23 PM, Julian Taylor wrote: > It is better if one disa

Re: Using ‘export http_proxy = http://127.0.9.1:9/’ to fail noisily on dependency problems

2013-10-11 Thread Thomas Goirand
On 10/12/2013 11:33 AM, Scott Kitterman wrote: > On Saturday, October 12, 2013 11:26:28 Thomas Goirand wrote: >> On 10/12/2013 01:26 AM, Barry Warsaw wrote: >>> On Oct 11, 2013, at 07:23 PM, Julian Taylor wrote: It is better if one disables internet access of package builds completely. >>

Re: Using ‘export http_proxy = http://127.0.9.1:9/’ to fail noisily on dependency problems

2013-10-11 Thread Scott Kitterman
On Saturday, October 12, 2013 11:26:28 Thomas Goirand wrote: > On 10/12/2013 01:26 AM, Barry Warsaw wrote: > > On Oct 11, 2013, at 07:23 PM, Julian Taylor wrote: > >> It is better if one disables internet access of package builds > >> completely. > >> With pbuilder and iptables this is very easy, j

Re: Using ‘export http_proxy = http://127.0.9.1:9/’ to fail noisily on dependency problems

2013-10-11 Thread Thomas Goirand
On 10/12/2013 01:26 AM, Barry Warsaw wrote: > On Oct 11, 2013, at 07:23 PM, Julian Taylor wrote: > >> It is better if one disables internet access of package builds completely. >> With pbuilder and iptables this is very easy, just run this when booting: >> >> iptables -I OUTPUT ! -d 127.0.0.1 -m o

Re: Using ‘export http_proxy = http://127.0.9.1:9/’ to fail noisily on dependency problems

2013-10-11 Thread Barry Warsaw
On Oct 11, 2013, at 07:23 PM, Julian Taylor wrote: >It is better if one disables internet access of package builds completely. >With pbuilder and iptables this is very easy, just run this when booting: > >iptables -I OUTPUT ! -d 127.0.0.1 -m owner --gid-owner 1234 -j REJECT >--reject-with icmp-po

Re: Using ‘export http_proxy = http://127.0.9.1:9/’ to fail noisily on dependency problems

2013-10-11 Thread Julian Taylor
On 11.10.2013 17:04, Barry Warsaw wrote: > On Oct 11, 2013, at 12:21 PM, Piotr Ożarowski wrote: > >> Note that pybuild is doing it by default (if http{,s}_proxy is not set), >> so with --buildsystem=pybuild you will expose missing build dependencies >> *and* let get-orig-source work (pybuild doesn

Re: Using ‘export http_proxy = http://127.0.9.1:9/’ to fail noisily on dependency problems

2013-10-11 Thread Barry Warsaw
On Oct 11, 2013, at 12:21 PM, Piotr Ożarowski wrote: >Note that pybuild is doing it by default (if http{,s}_proxy is not set), >so with --buildsystem=pybuild you will expose missing build dependencies >*and* let get-orig-source work (pybuild doesn't set http_proxy in this >target). If you for some

Re: Using ‘export http_proxy = http://127.0.9.1:9/’ to fail noisily on dependency problems

2013-10-11 Thread Barry Warsaw
On Oct 11, 2013, at 03:39 PM, Ben Finney wrote: >Currently I tend to agree with Barry's advice. Successfully downloading a >package from the internet during a long package build is hiding dependency >problems, and setting the HTTP proxy so that it fails is going to make that >problem easier to not

Re: Using ‘export http_proxy = http://127.0.9.1:9/’ to fail noisily on dependency problems

2013-10-11 Thread Antoine Musso
Le 11/10/13 12:21, Piotr Ożarowski a écrit : > override_dh_auto_test: > http_proxy='' dh_auto_test You ight want to set https_proxy='' as well. -- Antoine "hashar" Musso -- To UNSUBSCRIBE, email to debian-python-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contac

Re: Using ‘export http_proxy = http://127.0.9.1:9/’ to fail noisily on dependency problems

2013-10-11 Thread Piotr Ożarowski
[Ben Finney, 2013-10-11] > I've received conflicting advice on how to deal with Distribute's eagerness > at connecting to the internet during package builds. > > On 10-Dec-2012, Barry Warsaw wrote: > > Also, please put this near the top of your d/rules file: > > > > -snip snip- > > # Prev

Using ‘export http_proxy = http://127.0.9.1:9/’ to fail noisily on dependency problems

2013-10-10 Thread Ben Finney
Howdy all, I've received conflicting advice on how to deal with Distribute's eagerness at connecting to the internet during package builds. On 10-Dec-2012, Barry Warsaw wrote: > Also, please put this near the top of your d/rules file: > > -snip snip- > # Prevent setuptools/distribute fro