On Sun, 30 Nov 2014 22:31:20 +0100, Alessandro Ghedini wrote: > On Sun, Nov 30, 2014 at 07:17:46PM +0100, gregor herrmann wrote: > > On Sun, 30 Nov 2014 17:36:04 +0100, Alessandro Ghedini wrote: > > > What does this "yet" even mean? Except inside pbuilder, hiredis builds > > > fine [1]. > > > The fact that it fails *only* inside pbuilder (and the fact that hiredis > > > is not > > > the only package in this situation) suggests that this is indeed a > > > pbuilder bug. > > > I really don't see how this is release critical in any way on the part of > > > the > > > hiredis package. > > While I tend to agree in general, here's an additional data point: > > I rebuilt 0.11.0-4 in my sid amd64 cowbuilder chroot, which has > > USENETWORK=yes (due to #753944) but firewalls off everything except > > localhost during build. And in this environment I see a test failure: > Ok, so I think the whole problem is that /etc/resolv.conf lists non-local name > servers, but the build environment can't actually reach them (because of > USENETWORK=no or the firewall).
Sounds plausible. That fact that pbuilder copies /etc/resolv.conf into the chroot each time also does not help :/ > This is, I think, the exact same problem as #759799 (which is btw severity: > important). If the consensus is that this should be fixed in the affected > packages (e.g. by disabling the tests), I'm all for it, but I really think > that > the effort should go into fixing pbuilder, since who knows how many packages > are actually affected by this. I don't know how many packages are affected but it's not the first time I've seen questions around USENETWORK= coming up in recent bug reports. - #769670 being one of them e.g. > A simple and stupid solution would be to turn off DNS name lookups completely > inside the build environment if USENETWORK=no (e.g. by fiddling with > /etc/nsswitch.conf), but I'm not sure if that's really applicable to pbuilder. Hm, don't know :) But this should go into #753944 anyway. (CC'd) Cheers, gregor -- .''`. Homepage: http://info.comodo.priv.at/ - OpenPGP key 0xBB3A68018649AA06 : :' : Debian GNU/Linux user, admin, and developer - http://www.debian.org/ `. `' Member of VIBE!AT & SPI, fellow of the Free Software Foundation Europe `- NP: Rolling Stones: Sleepy
signature.asc
Description: Digital Signature