Bug#797020: ufw: FTBFS: False is not true

2015-08-27 Thread Jamie Strandboge
On 08/26/2015 06:16 PM, Chris Lamb wrote:
 
 ufw fails to build from source in unstable/amd64. Even with net-tools
 installed (for `netstat`) it fails in a similar way if that helps.

...

 The full build log is attached or can be viewed here:
 
 
 https://reproducible.debian.net/logs/unstable/amd64/ufw_0.34-1.build1.log.gz
 
 
Huh, this worked in a sid schroot and in the Ubuntu sync to wily. I'll take a
look and get this fixed up. Thanks for the report!

-- 
Jamie Strandboge http://www.ubuntu.com/



signature.asc
Description: OpenPGP digital signature


Bug#797020: ufw: FTBFS: False is not true

2015-08-27 Thread Chris Lamb
Hi Jamie,

  ufw fails to build from source in unstable/amd64. Even with net-tools
  installed (for `netstat`) it fails in a similar way if that helps.

 ...

Just to clarify, I tried installing net-tools just in case it was a
trivial missing Build-Dependency issue. :)

  The full build log is attached or can be viewed here:
  
  
  https://reproducible.debian.net/logs/unstable/amd64/ufw_0.34-1.build1.log.gz

 Huh, this worked in a sid schroot and in the Ubuntu sync to wily.

Whilst I am linking to a remote report I am able to reproduce on an
up-to-the-minute sid chroot on this computer - it's under Docker, but
the reproducible.debian.net builds are not.

Poking a bit more, it looks like that test is ultimately reading from
/proc/net/{tcp,udp} and it's IPv6 equivalents but at this point in the
test run, these files are empty modulo the usual header row.

(Is this meant to be run as root etc. etc.?)


Regards,

-- 
  ,''`.
 : :'  : Chris Lamb
 `. `'`  la...@debian.org / chris-lamb.co.uk
   `-



Bug#797020: ufw: FTBFS: False is not true

2015-08-26 Thread Chris Lamb
Source: ufw
Version: 0.34-1
Severity: serious
Justification: fails to build from source
User: reproducible-bui...@lists.alioth.debian.org
Usertags: ftbfs
X-Debbugs-Cc: reproducible-bui...@lists.alioth.debian.org

Dear Maintainer,

ufw fails to build from source in unstable/amd64. Even with net-tools
installed (for `netstat`) it fails in a similar way if that helps.

  [..]

  ==
  FAIL: test_parse_netstat_output (tests.unit.test_util.UtilTestCase)
  Test parse_netstat_output()
  --
  Traceback (most recent call last):
File /tmp/buildd/ufw-0.34/tests/unit/test_util.py, line 940, in
test_parse_netstat_output
  self.assertTrue(len(s)  0)
  AssertionError: False is not true
  
  --
  Ran 43 tests in 0.920s
  
  FAILED (failures=1)
  
  --
  Unit tests summary
  --
  Total=8 (Passed=6, Failed=2)
  
  Found unit test failures. Aborting and skipping functional tests
  debian/rules:32: recipe for target 'install' failed
  make: *** [install] Error 1
  dpkg-buildpackage: error: fakeroot debian/rules binary gave error exit
  status 2

  [..]

The full build log is attached or can be viewed here:

https://reproducible.debian.net/logs/unstable/amd64/ufw_0.34-1.build1.log.gz


Regards,

-- 
  ,''`.
 : :'  : Chris Lamb
 `. `'`  la...@debian.org / chris-lamb.co.uk
   `-
I: using fakeroot in build.
I: pbuilder: network access will be disabled during build
I: Current time: Wed Aug 26 00:28:16 GMT+12 2015
I: pbuilder-time-stamp: 1440592096
I: Building the build Environment
I: extracting base tarball [/var/cache/pbuilder/unstable-reproducible-base.tgz]
I: creating local configuration
I: copying local configuration
I: mounting /proc filesystem
I: mounting /run/shm filesystem
I: mounting /dev/pts filesystem
I: Mounting /dev/shm
I: Mounting /sys
I: policy-rc.d already exists
I: Installing the build-deps
 - Attempting to satisfy build-dependencies
 - Creating pbuilder-satisfydepends-dummy package
Package: pbuilder-satisfydepends-dummy
Version: 0.invalid.0
Architecture: amd64
Maintainer: Debian Pbuilder Team pbuilder-ma...@lists.alioth.debian.org
Description: Dummy package to satisfy dependencies with aptitude - created by 
pbuilder
 This package was created automatically by pbuilder to satisfy the
 build-dependencies of the package being currently built.
Depends: debhelper (= 7.3.15ubuntu2), dh-systemd, po-debconf, python (= 
2.6.6-3~), python3 (= 3.2), iptables, netbase, procps, sed (= 3.95)
dpkg-deb: building package 'pbuilder-satisfydepends-dummy' in 
'/tmp/satisfydepends-aptitude/pbuilder-satisfydepends-dummy.deb'.
Selecting previously unselected package pbuilder-satisfydepends-dummy.
(Reading database ... 20246 files and directories currently installed.)
Preparing to unpack .../pbuilder-satisfydepends-dummy.deb ...
Unpacking pbuilder-satisfydepends-dummy (0.invalid.0) ...
dpkg: pbuilder-satisfydepends-dummy: dependency problems, but configuring 
anyway as you requested:
 pbuilder-satisfydepends-dummy depends on dh-systemd; however:
  Package dh-systemd is not installed.
 pbuilder-satisfydepends-dummy depends on python (= 2.6.6-3~); however:
  Package python is not installed.
 pbuilder-satisfydepends-dummy depends on python3 (= 3.2); however:
  Package python3 is not installed.
 pbuilder-satisfydepends-dummy depends on iptables; however:
  Package iptables is not installed.
 pbuilder-satisfydepends-dummy depends on netbase; however:
  Package netbase is not installed.

Setting up pbuilder-satisfydepends-dummy (0.invalid.0) ...
Reading package lists...
Building dependency tree...
Reading state information...
Initializing package states...
Writing extended state information...
Building tag database...
The following NEW packages will be installed:
  dh-python{a} dh-systemd{a} iptables{a} libexpat1{a} libmpdec2{a} 
  libnfnetlink0{a} libpython-stdlib{a} libpython2.7-minimal{a} 
  libpython2.7-stdlib{a} libpython3-stdlib{a} libpython3.4-minimal{a} 
  libpython3.4-stdlib{a} libssl1.0.0{a} libxtables10{a} mime-support{a} 
  netbase{a} python{a} python-minimal{a} python2.7{a} python2.7-minimal{a} 
  python3{a} python3-minimal{a} python3.4{a} python3.4-minimal{a} 
0 packages upgraded, 24 newly installed, 0 to remove and 0 not upgraded.
Need to get 10.3 MB of archives. After unpacking 47.5 MB will be used.
Writing extended state information...
Get: 1 http://ftp.de.debian.org/debian/ unstable/main libpython2.7-minimal 
amd64 2.7.10-3 [382 kB]
Get: 2 http://ftp.de.debian.org/debian/ unstable/main python2.7-minimal amd64 
2.7.10-3 [1418 kB]
Get: 3 http://ftp.de.debian.org/debian/ unstable/main python-minimal amd64 
2.7.9-1 [40.3 kB]
Get: 4 http://ftp.de.debian.org/debian/ unstable/main mime-support all 3.59 
[36.4 kB]
Get: 5 http://ftp.de.debian.org/debian/