Source: python-riemann-client
Version: 5.1.1-2
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,

python-riemann-client fails to build from source in unstable/amd64:

  [..]

     dh_auto_test -O--buildsystem=pybuild
  I: pybuild base:170: cd
  /tmp/buildd/python-riemann-client-5.1.1/.pybuild/pythonX.Y_2.7/build;
  python2.7 -m pytest
  /tmp/buildd/python-riemann-client-5.1.1/riemann_client/tests/ -v
  ....................F................
  =================================== FAILURES
  ===================================
  _______________________________ test_send_blank
  ________________________________
  ../../../riemann_client/tests/test_riemann_command.py:46: in
  test_send_blank
      assert compare_output(['send'], EMPTY_MESSAGE %
      socket.gethostname())
  E   assert compare_output(['send'], ('{\n  "attributes": {},\n 
  "description": "",\n  "host": "%s",\n  "metric_d": 0,\n  "metric_f":
  0,\n  "metric_sint64": 0,\n  "service": "",\n  "state": "",\n  "tags":
  [],\n  "time": 0,\n  "ttl": 0\n}\n' % 'jenkins'))
  E    +  where 'jenkins' = <built-in function gethostname>()
  E    +    where <built-in function gethostname> = socket.gethostname
  1 failed, 36 passed in 0.63 seconds
  E: pybuild pybuild:262: test: plugin distutils failed with: exit
  code=1: cd
  /tmp/buildd/python-riemann-client-5.1.1/.pybuild/pythonX.Y_2.7/build;
  python2.7 -m pytest {dir}/riemann_client/tests/ -v
  dh_auto_test: pybuild --test -i python{version} -p 2.7 --dir .
  returned exit code 13
  debian/rules:8: recipe for target 'build' failed
  make: *** [build] Error 25
  dpkg-buildpackage: error: debian/rules build gave error exit status 2

  [..]

(It also fails outside of jenkins)

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

    
https://reproducible.debian.net/logs/unstable/amd64/python-riemann-client_5.1.1-2.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: Fri Sep  4 21:11:24 GMT+12 2015
I: pbuilder-time-stamp: 1441444284
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 (>= 9), dh-python, python-all, python-setuptools, 
python-pytest, python-click, python-protobuf
dpkg-deb: building package 'pbuilder-satisfydepends-dummy' in 
'/tmp/satisfydepends-aptitude/pbuilder-satisfydepends-dummy.deb'.
Selecting previously unselected package pbuilder-satisfydepends-dummy.
(Reading database ... 20262 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-python; however:
  Package dh-python is not installed.
 pbuilder-satisfydepends-dummy depends on python-all; however:
  Package python-all is not installed.
 pbuilder-satisfydepends-dummy depends on python-setuptools; however:
  Package python-setuptools is not installed.
 pbuilder-satisfydepends-dummy depends on python-pytest; however:
  Package python-pytest is not installed.
 pbuilder-satisfydepends-dummy depends on python-click; however:
  Package python-click is not installed.
 pbuilder-satisfydepends-dummy depends on python-protobuf; however:
  Package python-protobuf 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} libexpat1{a} libmpdec2{a} libprotobuf9v5{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} mime-support{a} python{a} python-all{a} python-click{a} 
  python-colorama{a} python-minimal{a} python-pkg-resources{a} 
  python-protobuf{a} python-py{a} python-pytest{a} python-setuptools{a} 
  python2.7{a} python2.7-minimal{a} python3{a} python3-minimal{a} 
  python3.4{a} python3.4-minimal{a} 
0 packages upgraded, 28 newly installed, 0 to remove and 0 not upgraded.
Need to get 10.9 MB of archives. After unpacking 47.3 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/ unstable/main libexpat1 amd64 2.1.0-7 
[80.0 kB]
Get: 6 http://ftp.de.debian.org/debian/ unstable/main libssl1.0.0 amd64 
1.0.2d-1 [1274 kB]
Get: 7 http://ftp.de.debian.org/debian/ unstable/main libpython2.7-stdlib amd64 
2.7.10-3 [1854 kB]
Get: 8 http://ftp.de.debian.org/debian/ unstable/main python2.7 amd64 2.7.10-3 
[258 kB]
Get: 9 http://ftp.de.debian.org/debian/ unstable/main libpython-stdlib amd64 
2.7.9-1 [19.5 kB]
Get: 10 http://ftp.de.debian.org/debian/ unstable/main python amd64 2.7.9-1 
[151 kB]
Get: 11 http://ftp.de.debian.org/debian/ unstable/main libmpdec2 amd64 2.4.1-1 
[85.7 kB]
Get: 12 http://ftp.de.debian.org/debian/ unstable/main libpython3.4-minimal 
amd64 3.4.3-8 [495 kB]
Get: 13 http://ftp.de.debian.org/debian/ unstable/main libpython3.4-stdlib 
amd64 3.4.3-8 [2057 kB]
Get: 14 http://ftp.de.debian.org/debian/ unstable/main python3.4-minimal amd64 
3.4.3-8 [1401 kB]
Get: 15 http://ftp.de.debian.org/debian/ unstable/main python3-minimal amd64 
3.4.3-4 [34.7 kB]
Get: 16 http://ftp.de.debian.org/debian/ unstable/main python3.4 amd64 3.4.3-8 
[219 kB]
Get: 17 http://ftp.de.debian.org/debian/ unstable/main libpython3-stdlib amd64 
3.4.3-4 [18.1 kB]
Get: 18 http://ftp.de.debian.org/debian/ unstable/main dh-python all 2.20150826 
[71.5 kB]
Get: 19 http://ftp.de.debian.org/debian/ unstable/main python3 amd64 3.4.3-4 
[21.1 kB]
Get: 20 http://ftp.de.debian.org/debian/ unstable/main libprotobuf9v5 amd64 
2.6.1-1.3 [344 kB]
Get: 21 http://ftp.de.debian.org/debian/ unstable/main python-all amd64 2.7.9-1 
[996 B]
Get: 22 http://ftp.de.debian.org/debian/ unstable/main python-colorama all 
0.3.3-1 [21.4 kB]
Get: 23 http://ftp.de.debian.org/debian/ unstable/main python-click all 5.1-1 
[51.6 kB]
Get: 24 http://ftp.de.debian.org/debian/ unstable/main python-pkg-resources all 
18.2-1 [73.6 kB]
Get: 25 http://ftp.de.debian.org/debian/ unstable/main python-protobuf amd64 
2.6.1-1.3 [114 kB]
Get: 26 http://ftp.de.debian.org/debian/ unstable/main python-py all 1.4.30-2 
[81.9 kB]
Get: 27 http://ftp.de.debian.org/debian/ unstable/main python-pytest all 
2.7.2-2 [132 kB]
Get: 28 http://ftp.de.debian.org/debian/ unstable/main python-setuptools all 
18.2-1 [180 kB]
Fetched 10.9 MB in 0s (11.1 MB/s)
debconf: delaying package configuration, since apt-utils is not installed
Selecting previously unselected package libpython2.7-minimal:amd64.
(Reading database ... 
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 20262 files and directories currently installed.)
Preparing to unpack .../libpython2.7-minimal_2.7.10-3_amd64.deb ...
Unpacking libpython2.7-minimal:amd64 (2.7.10-3) ...
Selecting previously unselected package python2.7-minimal.
Preparing to unpack .../python2.7-minimal_2.7.10-3_amd64.deb ...
Unpacking python2.7-minimal (2.7.10-3) ...
Selecting previously unselected package python-minimal.
Preparing to unpack .../python-minimal_2.7.9-1_amd64.deb ...
Unpacking python-minimal (2.7.9-1) ...
Selecting previously unselected package mime-support.
Preparing to unpack .../mime-support_3.59_all.deb ...
Unpacking mime-support (3.59) ...
Selecting previously unselected package libexpat1:amd64.
Preparing to unpack .../libexpat1_2.1.0-7_amd64.deb ...
Unpacking libexpat1:amd64 (2.1.0-7) ...
Selecting previously unselected package libssl1.0.0:amd64.
Preparing to unpack .../libssl1.0.0_1.0.2d-1_amd64.deb ...
Unpacking libssl1.0.0:amd64 (1.0.2d-1) ...
Selecting previously unselected package libpython2.7-stdlib:amd64.
Preparing to unpack .../libpython2.7-stdlib_2.7.10-3_amd64.deb ...
Unpacking libpython2.7-stdlib:amd64 (2.7.10-3) ...
Selecting previously unselected package python2.7.
Preparing to unpack .../python2.7_2.7.10-3_amd64.deb ...
Unpacking python2.7 (2.7.10-3) ...
Selecting previously unselected package libpython-stdlib:amd64.
Preparing to unpack .../libpython-stdlib_2.7.9-1_amd64.deb ...
Unpacking libpython-stdlib:amd64 (2.7.9-1) ...
Processing triggers for man-db (2.7.2-1) ...
Setting up libpython2.7-minimal:amd64 (2.7.10-3) ...
Setting up python2.7-minimal (2.7.10-3) ...
Setting up python-minimal (2.7.9-1) ...
Selecting previously unselected package python.
(Reading database ... 
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 21064 files and directories currently installed.)
Preparing to unpack .../python_2.7.9-1_amd64.deb ...
Unpacking python (2.7.9-1) ...
Selecting previously unselected package libmpdec2:amd64.
Preparing to unpack .../libmpdec2_2.4.1-1_amd64.deb ...
Unpacking libmpdec2:amd64 (2.4.1-1) ...
Selecting previously unselected package libpython3.4-minimal:amd64.
Preparing to unpack .../libpython3.4-minimal_3.4.3-8_amd64.deb ...
Unpacking libpython3.4-minimal:amd64 (3.4.3-8) ...
Selecting previously unselected package libpython3.4-stdlib:amd64.
Preparing to unpack .../libpython3.4-stdlib_3.4.3-8_amd64.deb ...
Unpacking libpython3.4-stdlib:amd64 (3.4.3-8) ...
Selecting previously unselected package python3.4-minimal.
Preparing to unpack .../python3.4-minimal_3.4.3-8_amd64.deb ...
Unpacking python3.4-minimal (3.4.3-8) ...
Selecting previously unselected package python3-minimal.
Preparing to unpack .../python3-minimal_3.4.3-4_amd64.deb ...
Unpacking python3-minimal (3.4.3-4) ...
Selecting previously unselected package python3.4.
Preparing to unpack .../python3.4_3.4.3-8_amd64.deb ...
Unpacking python3.4 (3.4.3-8) ...
Selecting previously unselected package libpython3-stdlib:amd64.
Preparing to unpack .../libpython3-stdlib_3.4.3-4_amd64.deb ...
Unpacking libpython3-stdlib:amd64 (3.4.3-4) ...
Selecting previously unselected package dh-python.
Preparing to unpack .../dh-python_2.20150826_all.deb ...
Unpacking dh-python (2.20150826) ...
Processing triggers for man-db (2.7.2-1) ...
Setting up libssl1.0.0:amd64 (1.0.2d-1) ...
Setting up libpython3.4-minimal:amd64 (3.4.3-8) ...
Setting up libexpat1:amd64 (2.1.0-7) ...
Setting up python3.4-minimal (3.4.3-8) ...
Setting up python3-minimal (3.4.3-4) ...
Processing triggers for libc-bin (2.19-19) ...
Selecting previously unselected package python3.
(Reading database ... 
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 22022 files and directories currently installed.)
Preparing to unpack .../python3_3.4.3-4_amd64.deb ...
Unpacking python3 (3.4.3-4) ...
Selecting previously unselected package libprotobuf9v5:amd64.
Preparing to unpack .../libprotobuf9v5_2.6.1-1.3_amd64.deb ...
Unpacking libprotobuf9v5:amd64 (2.6.1-1.3) ...
Selecting previously unselected package python-all.
Preparing to unpack .../python-all_2.7.9-1_amd64.deb ...
Unpacking python-all (2.7.9-1) ...
Selecting previously unselected package python-colorama.
Preparing to unpack .../python-colorama_0.3.3-1_all.deb ...
Unpacking python-colorama (0.3.3-1) ...
Selecting previously unselected package python-click.
Preparing to unpack .../python-click_5.1-1_all.deb ...
Unpacking python-click (5.1-1) ...
Selecting previously unselected package python-pkg-resources.
Preparing to unpack .../python-pkg-resources_18.2-1_all.deb ...
Unpacking python-pkg-resources (18.2-1) ...
Selecting previously unselected package python-protobuf.
Preparing to unpack .../python-protobuf_2.6.1-1.3_amd64.deb ...
Unpacking python-protobuf (2.6.1-1.3) ...
Selecting previously unselected package python-py.
Preparing to unpack .../python-py_1.4.30-2_all.deb ...
Unpacking python-py (1.4.30-2) ...
Selecting previously unselected package python-pytest.
Preparing to unpack .../python-pytest_2.7.2-2_all.deb ...
Unpacking python-pytest (2.7.2-2) ...
Selecting previously unselected package python-setuptools.
Preparing to unpack .../python-setuptools_18.2-1_all.deb ...
Unpacking python-setuptools (18.2-1) ...
Processing triggers for man-db (2.7.2-1) ...
Setting up mime-support (3.59) ...
Setting up libpython2.7-stdlib:amd64 (2.7.10-3) ...
Setting up python2.7 (2.7.10-3) ...
Setting up libpython-stdlib:amd64 (2.7.9-1) ...
Setting up python (2.7.9-1) ...
Setting up libmpdec2:amd64 (2.4.1-1) ...
Setting up libpython3.4-stdlib:amd64 (3.4.3-8) ...
Setting up python3.4 (3.4.3-8) ...
Setting up libpython3-stdlib:amd64 (3.4.3-4) ...
Setting up libprotobuf9v5:amd64 (2.6.1-1.3) ...
Setting up python-all (2.7.9-1) ...
Setting up python-colorama (0.3.3-1) ...
Setting up python-click (5.1-1) ...
Setting up python-pkg-resources (18.2-1) ...
Setting up python-protobuf (2.6.1-1.3) ...
Setting up python-py (1.4.30-2) ...
Setting up python-pytest (2.7.2-2) ...
Setting up python-setuptools (18.2-1) ...
Setting up python3 (3.4.3-4) ...
Setting up dh-python (2.20150826) ...
Processing triggers for libc-bin (2.19-19) ...
Reading package lists...
Building dependency tree...
Reading state information...
Reading extended state information...
Initializing package states...
Writing extended state information...
Building tag database...
 -> Finished parsing the build-deps
Reading package lists...
Building dependency tree...
Reading state information...
disorderfs is already the newest version.
fakeroot is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
I: Copying source file
I: copying [python-riemann-client_5.1.1-2.dsc]
I: copying [./python-riemann-client_5.1.1.orig.tar.gz]
I: copying [./python-riemann-client_5.1.1-2.debian.tar.xz]
I: Extracting source
gpgv: keyblock resource `/tmp/buildd/.gnupg/trustedkeys.gpg': file open error
gpgv: Signature made Thu Nov 13 19:03:42 2014 GMT+12 using RSA key ID C433F68F
gpgv: Can't check signature: public key not found
dpkg-source: warning: failed to verify signature on 
./python-riemann-client_5.1.1-2.dsc
dpkg-source: info: extracting python-riemann-client in 
python-riemann-client-5.1.1
dpkg-source: info: unpacking python-riemann-client_5.1.1.orig.tar.gz
dpkg-source: info: unpacking python-riemann-client_5.1.1-2.debian.tar.xz
dpkg-source: info: applying rename_bin.patch
I: Building the package
I: Running cd tmp/buildd/*/ && env 
PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games" dpkg-buildpackage -us -uc  -b 
-rfakeroot
dpkg-buildpackage: source package python-riemann-client
dpkg-buildpackage: source version 5.1.1-2
dpkg-buildpackage: source distribution unstable
dpkg-buildpackage: source changed by Alexandre Viau 
<alexan...@alexandreviau.net>
 dpkg-source --before-build python-riemann-client-5.1.1
dpkg-buildpackage: host architecture amd64
dpkg-source: info: using options from 
python-riemann-client-5.1.1/debian/source/options: 
--extend-diff-ignore=\.egg-info$
 fakeroot debian/rules clean
dh clean --with python2 --buildsystem=pybuild
   dh_testdir -O--buildsystem=pybuild
   dh_auto_clean -O--buildsystem=pybuild
I: pybuild base:170: python2.7 setup.py clean 
running clean
removing '/tmp/buildd/python-riemann-client-5.1.1/.pybuild/pythonX.Y_2.7/build' 
(and everything under it)
'build/bdist.linux-x86_64' does not exist -- can't clean it
'build/scripts-2.7' does not exist -- can't clean it
   dh_clean -O--buildsystem=pybuild
 debian/rules build
dh build --with python2 --buildsystem=pybuild
   dh_testdir -O--buildsystem=pybuild
   dh_auto_configure -O--buildsystem=pybuild
I: pybuild base:170: python2.7 setup.py config 
running config
   dh_auto_build -O--buildsystem=pybuild
I: pybuild base:170: /usr/bin/python setup.py build 
running build
running build_py
creating 
/tmp/buildd/python-riemann-client-5.1.1/.pybuild/pythonX.Y_2.7/build/riemann_client
copying riemann_client/client.py -> 
/tmp/buildd/python-riemann-client-5.1.1/.pybuild/pythonX.Y_2.7/build/riemann_client
copying riemann_client/riemann_pb2_py2.py -> 
/tmp/buildd/python-riemann-client-5.1.1/.pybuild/pythonX.Y_2.7/build/riemann_client
copying riemann_client/riemann_pb2.py -> 
/tmp/buildd/python-riemann-client-5.1.1/.pybuild/pythonX.Y_2.7/build/riemann_client
copying riemann_client/command.py -> 
/tmp/buildd/python-riemann-client-5.1.1/.pybuild/pythonX.Y_2.7/build/riemann_client
copying riemann_client/riemann_pb2_py3.py -> 
/tmp/buildd/python-riemann-client-5.1.1/.pybuild/pythonX.Y_2.7/build/riemann_client
copying riemann_client/__init__.py -> 
/tmp/buildd/python-riemann-client-5.1.1/.pybuild/pythonX.Y_2.7/build/riemann_client
copying riemann_client/transport.py -> 
/tmp/buildd/python-riemann-client-5.1.1/.pybuild/pythonX.Y_2.7/build/riemann_client
   dh_auto_test -O--buildsystem=pybuild
I: pybuild base:170: cd 
/tmp/buildd/python-riemann-client-5.1.1/.pybuild/pythonX.Y_2.7/build; python2.7 
-m pytest /tmp/buildd/python-riemann-client-5.1.1/riemann_client/tests/ -v
....................F................
=================================== FAILURES ===================================
_______________________________ test_send_blank ________________________________
../../../riemann_client/tests/test_riemann_command.py:46: in test_send_blank
    assert compare_output(['send'], EMPTY_MESSAGE % socket.gethostname())
E   assert compare_output(['send'], ('{\n  "attributes": {},\n  "description": 
"",\n  "host": "%s",\n  "metric_d": 0,\n  "metric_f": 0,\n  "metric_sint64": 
0,\n  "service": "",\n  "state": "",\n  "tags": [],\n  "time": 0,\n  "ttl": 
0\n}\n' % 'jenkins'))
E    +  where 'jenkins' = <built-in function gethostname>()
E    +    where <built-in function gethostname> = socket.gethostname
1 failed, 36 passed in 0.63 seconds
E: pybuild pybuild:262: test: plugin distutils failed with: exit code=1: cd 
/tmp/buildd/python-riemann-client-5.1.1/.pybuild/pythonX.Y_2.7/build; python2.7 
-m pytest {dir}/riemann_client/tests/ -v
dh_auto_test: pybuild --test -i python{version} -p 2.7 --dir . returned exit 
code 13
debian/rules:8: recipe for target 'build' failed
make: *** [build] Error 25
dpkg-buildpackage: error: debian/rules build gave error exit status 2
E: Failed autobuilding of package
I: unmounting /sys filesystem
I: unmounting /dev/shm filesystem
I: unmounting dev/pts filesystem
I: unmounting run/shm filesystem
I: unmounting proc filesystem
I: cleaning the build env 
I: removing directory /var/cache/pbuilder/build//63405 and its subdirectories

Reply via email to