[Python-modules-team] Bug#795584: python-hl7: FTBFS: AttributeError: assert_call_with

Andreas Tille tille at debian.org
Sat Aug 15 13:58:23 UTC 2015


Hi Python modules maintainers,

I realise that there might be an incompatibility with the latest
python-mock version but I do not have any idea how to fix this.

Any help would be really appreciated.

Kind regards

     Andreas.

On Sat, Aug 15, 2015 at 02:05:16PM +0100, Chris Lamb wrote:
> Source: python-hl7
> Version: 0.3.3-3
> Severity: serious
> Justification: fails to build from source
> 
> Dear Maintainer,
> 
> python-hl7 fails to build from source on unstable/amd64, probably due to
> incompatibility with the current version of python-mock:
> 
>   [..]
>   test_create_msg (tests.test_construction.ConstructionTest) ... ok
>   
>   ======================================================================
>   ERROR: test_loose_no_stdin (tests.test_client.MLLPSendTest)
>   ----------------------------------------------------------------------
>   Traceback (most recent call last):
>     File "/tmp/buildd/python-hl7-0.3.3/tests/test_client.py", line 204,
>     in test_loose_no_stdin
>       self.mock_stderr().write.assert_call_with(
>     File "/usr/lib/python2.7/dist-packages/mock/mock.py", line 721, in
>     __getattr__
>       raise AttributeError(name)
>   AttributeError: assert_call_with
>   
>   ----------------------------------------------------------------------
>   Ran 74 tests in 0.162s
>   
>   FAILED (errors=1)
>   E: pybuild pybuild:262: test: plugin distutils failed with: exit
>   code=1: python2.7 setup.py test 
>   dh_auto_test: pybuild --test -i python{version} -p 2.7 --dir .
>   returned exit code 13
>   debian/rules:7: recipe for target 'build' failed
>   make: *** [build] Error 25
>   dpkg-buildpackage: error: debian/rules build gave error exit status 2
> 
> The full build log is attached or can be viewed here:
> 
>   https://reproducible.debian.net/rbuild/unstable/amd64/python-hl7_0.3.3-3.rbuild.log.gz
> 
> 
> Regards,
> 
> -- 
>       ,''`.
>      : :'  :     Chris Lamb
>      `. `'`      lamby at debian.org / chris-lamb.co.uk
>        `-

> Starting to build python-hl7/unstable on 2015-08-11 18:50
> The jenkins build log is/was available at https://jenkins.debian.net/job/reproducible_builder_theta/25262/console
> Reading package lists...
> Building dependency tree...
> Reading state information...
> NOTICE: 'python-hl7' packaging is maintained in the 'Svn' version control system at:
> svn://anonscm.debian.org/debian-med/trunk/packages/python-hl7/trunk/
> Need to get 43.3 kB of source archives.
> Get:1 http://ftp.de.debian.org/debian/ unstable/main python-hl7 0.3.3-3 (dsc) [2193 B]
> Get:2 http://ftp.de.debian.org/debian/ unstable/main python-hl7 0.3.3-3 (tar) [36.8 kB]
> Get:3 http://ftp.de.debian.org/debian/ unstable/main python-hl7 0.3.3-3 (diff) [4228 B]
> Fetched 43.3 kB in 0s (358 kB/s)
> Download complete and in download only mode
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA256
> 
> Format: 3.0 (quilt)
> Source: python-hl7
> Binary: python-hl7, python3-hl7
> Architecture: all
> Version: 0.3.3-3
> Maintainer: Debian Med Packaging Team <debian-med-packaging at lists.alioth.debian.org>
> Uploaders: John Paulett <john at paulett.org>, Andreas Tille <tille at debian.org>
> Homepage: https://github.com/johnpaulett/python-hl7/
> Standards-Version: 3.9.6
> Vcs-Browser: http://anonscm.debian.org/viewvc/debian-med/trunk/packages/python-hl7/trunk/
> Vcs-Svn: svn://anonscm.debian.org/debian-med/trunk/packages/python-hl7/trunk/
> Build-Depends: debhelper (>= 9), dh-python, python, python-setuptools, python-six, python-mock, python-unittest2, python3, python3-setuptools, python3-six, python3-mock
> Package-List:
>  python-hl7 deb python optional arch=all
>  python3-hl7 deb python optional arch=all
> Checksums-Sha1:
>  8a87d95cfe7db9d938a862770843d451eb186f23 36835 python-hl7_0.3.3.orig.tar.gz
>  1b9475c1b73fca180f8d535947dc83e13c7499da 4228 python-hl7_0.3.3-3.debian.tar.xz
> Checksums-Sha256:
>  cd9afcb384b681e078d2d6143647b3e49e25b2ab9c7b6368542ac8a298fc9cb9 36835 python-hl7_0.3.3.orig.tar.gz
>  64afb21e7e24de1c4c28596c5a3401b0c4c89fccd78a418d01c3abde4800302b 4228 python-hl7_0.3.3-3.debian.tar.xz
> Files:
>  86ecc80f2f3a77485ecdea711e660874 36835 python-hl7_0.3.3.orig.tar.gz
>  1947943f643941e30ff4980f402287b4 4228 python-hl7_0.3.3-3.debian.tar.xz
> 
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1
> 
> iQIcBAEBCAAGBQJVuI5+AAoJEFeKBJTRxkbRPUwQAInxW8XgAACA8IalzMO95gCU
> MfpmL8nhd3eiqIhzfhmLfArsUeLKB5y/rS3QbFMhHuRpcFgo5a1UlBWMPCaqV2ZK
> c73MhFKfwtcwlDRRmeeE5fzG5p7yHltkjlUg1q/yDgRi4hkN3CXLNpn/Rde6M/e1
> LnRSeP51aTsQzCyzJmdBp1tn6x7MpSvRdCZX3hecQTzhjBtUCvLdotXBP5HwQzyZ
> 6xDFyCNLJ/lJJoaaIM+Hpbd5aRq/kODu1u05DwiM+BPv6oGPxkuE9jwK0SzSwp1l
> Np//vlsLHe2kO3zGHU0oRhPGdxRGSR9zMwnA7LEsTsDrDDp+9I9+orzZQF/tRNcP
> 8UWb0KH1oi6Wv5eY0ZRGHHNAT7CEUpUDT2mAyaOeYKszenW6O3MMoOGn/N3iKZJY
> FqjIxKBxWmgoZ54yLtepluT65UtMuGAh8UeTJSR6HAeGHkvRfyZX5maniIuH4y3Q
> AlJI2O5Ffnp6aTQETUz4y82R06FYUn7kAnJbhUZuCPee1TaUSk77HORNM0ZE+RnP
> zB/ieCaD1R5sddaZF1rCvwyZWsxX6FBs7rqqrzINWfbEPrrgSJup4ixoHiGmCO2p
> uiWMq/rVxNsB6cLpOgGMb2tt8jBVVUlA266wW2v5TaLi4DkLC2q4gxQDrr3xSXME
> +qRlg/WXbLrkvYo2vka6
> =wjz/
> -----END PGP SIGNATURE-----
> + sudo timeout -k 12.1h 12h /usr/bin/ionice -c 3 /usr/bin/nice /usr/sbin/pbuilder --build --configfile /srv/reproducible-results/tmp.jmpZMzk10f/pbuilderrc_S6Cl --debbuildopts -b --basetgz /var/cache/pbuilder/unstable-reproducible-base.tgz --buildresult b1 --logfile b1/build.log python-hl7_0.3.3-3.dsc
> W: /root/.pbuilderrc does not exist
> I: Logging to b1/build.log
> I: using fakeroot in build.
> I: pbuilder: network access will be disabled during build
> I: Current time: Tue Aug 11 06:50:17 GMT+12 2015
> I: pbuilder-time-stamp: 1439319017
> 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-maint at 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, python-setuptools, python-six, python-mock, python-unittest2, python3, python3-setuptools, python3-six, python3-mock
> dpkg-deb: building package 'pbuilder-satisfydepends-dummy' in '/tmp/satisfydepends-aptitude/pbuilder-satisfydepends-dummy.deb'.
> Selecting previously unselected package pbuilder-satisfydepends-dummy.
> (Reading database ... 20247 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; however:
>   Package python is not installed.
>  pbuilder-satisfydepends-dummy depends on python-setuptools; however:
>   Package python-setuptools is not installed.
>  pbuilder-satisfydepends-dummy depends on python-six; however:
>   Package python-six is not installed.
>  pbuilder-satisfydepends-dummy depends on python-mock; however:
>   Package python-mock is not installed.
>  pbuilder-satisfydepends-dummy depends on python-unittest2; however:
>   Package python-unittest2 is not installed.
>  pbuilder-satisfydepends-dummy depends on python3; however:
>   Package python3 is not installed.
>  pbuilder-satisfydepends-dummy depends on python3-setuptools; however:
>   Package python3-setuptools is not installed.
>  pbuilder-satisfydepends-dummy depends on python3-six; however:
>   Package python3-six 
> 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:
>   ca-certificates{a} dh-python{a} libexpat1{a} libmpdec2{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} openssl{a} python{a} python-chardet{a} 
>   python-colorama{a} python-distlib{a} python-funcsigs{a} 
>   python-html5lib{a} python-linecache2{a} python-minimal{a} python-mock{a} 
>   python-pbr{a} python-pip{a} python-pkg-resources{a} python-requests{a} 
>   python-setuptools{a} python-six{a} python-traceback2{a} 
>   python-unittest2{a} python-urllib3{a} python2.7{a} python2.7-minimal{a} 
>   python3{a} python3-chardet{a} python3-colorama{a} python3-distlib{a} 
>   python3-funcsigs{a} python3-html5lib{a} python3-minimal{a} 
>   python3-mock{a} python3-pbr{a} python3-pip{a} python3-pkg-resources{a} 
>   python3-requests{a} python3-setuptools{a} python3-six{a} 
>   python3-urllib3{a} python3.4{a} python3.4-minimal{a} 
> 0 packages upgraded, 50 newly installed, 0 to remove and 0 not upgraded.
> Need to get 12.7 MB of archives. After unpacking 53.6 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 python-six all 1.9.0-3 [13.6 kB]
> Get: 15 http://ftp.de.debian.org/debian/ unstable/main openssl amd64 1.0.2d-1 [695 kB]
> Get: 16 http://ftp.de.debian.org/debian/ unstable/main ca-certificates all 20150426 [208 kB]
> Get: 17 http://ftp.de.debian.org/debian/ unstable/main python-colorama all 0.3.3-1 [21.4 kB]
> Get: 18 http://ftp.de.debian.org/debian/ unstable/main python-distlib all 0.2.1-1 [116 kB]
> Get: 19 http://ftp.de.debian.org/debian/ unstable/main python-html5lib all 0.999-3 [84.0 kB]
> Get: 20 http://ftp.de.debian.org/debian/ unstable/main python-pkg-resources all 18.0.1-2 [73.6 kB]
> Get: 21 http://ftp.de.debian.org/debian/ unstable/main python-chardet all 2.3.0-1 [96.2 kB]
> Get: 22 http://ftp.de.debian.org/debian/ unstable/main python-urllib3 all 1.10.4-1 [61.0 kB]
> Get: 23 http://ftp.de.debian.org/debian/ unstable/main python-requests all 2.7.0-3 [66.3 kB]
> Get: 24 http://ftp.de.debian.org/debian/ unstable/main python-setuptools all 18.0.1-2 [180 kB]
> Get: 25 http://ftp.de.debian.org/debian/ unstable/main python-pip all 1.5.6-6 [114 kB]
> Get: 26 http://ftp.de.debian.org/debian/ unstable/main python-pbr all 0.11.0-1 [42.3 kB]
> Get: 27 http://ftp.de.debian.org/debian/ unstable/main python3.4-minimal amd64 3.4.3-8 [1401 kB]
> Get: 28 http://ftp.de.debian.org/debian/ unstable/main python3-minimal amd64 3.4.3-4 [34.7 kB]
> Get: 29 http://ftp.de.debian.org/debian/ unstable/main python3.4 amd64 3.4.3-8 [219 kB]
> Get: 30 http://ftp.de.debian.org/debian/ unstable/main libpython3-stdlib amd64 3.4.3-4 [18.1 kB]
> Get: 31 http://ftp.de.debian.org/debian/ unstable/main dh-python all 2.20150728 [71.3 kB]
> Get: 32 http://ftp.de.debian.org/debian/ unstable/main python3 amd64 3.4.3-4 [21.1 kB]
> Get: 33 http://ftp.de.debian.org/debian/ unstable/main python3-six all 1.9.0-3 [13.7 kB]
> Get: 34 http://ftp.de.debian.org/debian/ unstable/main python3-colorama all 0.3.3-1 [14.0 kB]
> Get: 35 http://ftp.de.debian.org/debian/ unstable/main python3-distlib all 0.2.1-1 [116 kB]
> Get: 36 http://ftp.de.debian.org/debian/ unstable/main python3-html5lib all 0.999-3 [82.3 kB]
> Get: 37 http://ftp.de.debian.org/debian/ unstable/main python3-pkg-resources all 18.0.1-2 [44.2 kB]
> Get: 38 http://ftp.de.debian.org/debian/ unstable/main python3-chardet all 2.3.0-1 [96.1 kB]
> Get: 39 http://ftp.de.debian.org/debian/ unstable/main python3-urllib3 all 1.10.4-1 [61.1 kB]
> Get: 40 http://ftp.de.debian.org/debian/ unstable/main python3-requests all 2.7.0-3 [66.1 kB]
> Get: 41 http://ftp.de.debian.org/debian/ unstable/main python3-setuptools all 18.0.1-2 [92.6 kB]
> Get: 42 http://ftp.de.debian.org/debian/ unstable/main python3-pip all 1.5.6-6 [97.4 kB]
> Get: 43 http://ftp.de.debian.org/debian/ unstable/main python3-pbr all 0.11.0-1 [32.5 kB]
> Get: 44 http://ftp.de.debian.org/debian/ unstable/main python-funcsigs all 0.4-1 [12.7 kB]
> Get: 45 http://ftp.de.debian.org/debian/ unstable/main python-linecache2 all 1.0.0-1 [12.0 kB]
> Get: 46 http://ftp.de.debian.org/debian/ unstable/main python-traceback2 all 1.4.0-1 [15.7 kB]
> Get: 47 http://ftp.de.debian.org/debian/ unstable/main python-unittest2 all 1.1.0-5 [75.6 kB]
> Get: 48 http://ftp.de.debian.org/debian/ unstable/main python3-funcsigs all 0.4-1 [12.8 kB]
> Get: 49 http://ftp.de.debian.org/debian/ unstable/main python-mock all 1.3.0-2.1 [58.2 kB]
> Get: 50 http://ftp.de.debian.org/debian/ unstable/main python3-mock all 1.3.0-2.1 [58.3 kB]
> Fetched 12.7 MB in 0s (15.4 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 ... 20247 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.0.2-5) ...
> 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 ... 21049 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 python-six.
> Preparing to unpack .../python-six_1.9.0-3_all.deb ...
> Unpacking python-six (1.9.0-3) ...
> Selecting previously unselected package openssl.
> Preparing to unpack .../openssl_1.0.2d-1_amd64.deb ...
> Unpacking openssl (1.0.2d-1) ...
> Selecting previously unselected package ca-certificates.
> Preparing to unpack .../ca-certificates_20150426_all.deb ...
> Unpacking ca-certificates (20150426) ...
> 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-distlib.
> Preparing to unpack .../python-distlib_0.2.1-1_all.deb ...
> Unpacking python-distlib (0.2.1-1) ...
> Selecting previously unselected package python-html5lib.
> Preparing to unpack .../python-html5lib_0.999-3_all.deb ...
> Unpacking python-html5lib (0.999-3) ...
> Selecting previously unselected package python-pkg-resources.
> Preparing to unpack .../python-pkg-resources_18.0.1-2_all.deb ...
> Unpacking python-pkg-resources (18.0.1-2) ...
> Selecting previously unselected package python-chardet.
> Preparing to unpack .../python-chardet_2.3.0-1_all.deb ...
> Unpacking python-chardet (2.3.0-1) ...
> Selecting previously unselected package python-urllib3.
> Preparing to unpack .../python-urllib3_1.10.4-1_all.deb ...
> Unpacking python-urllib3 (1.10.4-1) ...
> Selecting previously unselected package python-requests.
> Preparing to unpack .../python-requests_2.7.0-3_all.deb ...
> Unpacking python-requests (2.7.0-3) ...
> Selecting previously unselected package python-setuptools.
> Preparing to unpack .../python-setuptools_18.0.1-2_all.deb ...
> Unpacking python-setuptools (18.0.1-2) ...
> Selecting previously unselected package python-pip.
> Preparing to unpack .../python-pip_1.5.6-6_all.deb ...
> Unpacking python-pip (1.5.6-6) ...
> Selecting previously unselected package python-pbr.
> Preparing to unpack .../python-pbr_0.11.0-1_all.deb ...
> Unpacking python-pbr (0.11.0-1) ...
> 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.20150728_all.deb ...
> Unpacking dh-python (2.20150728) ...
> Processing triggers for man-db (2.7.0.2-5) ...
> 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 ... 22756 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 python3-six.
> Preparing to unpack .../python3-six_1.9.0-3_all.deb ...
> Unpacking python3-six (1.9.0-3) ...
> Selecting previously unselected package python3-colorama.
> Preparing to unpack .../python3-colorama_0.3.3-1_all.deb ...
> Unpacking python3-colorama (0.3.3-1) ...
> Selecting previously unselected package python3-distlib.
> Preparing to unpack .../python3-distlib_0.2.1-1_all.deb ...
> Unpacking python3-distlib (0.2.1-1) ...
> Selecting previously unselected package python3-html5lib.
> Preparing to unpack .../python3-html5lib_0.999-3_all.deb ...
> Unpacking python3-html5lib (0.999-3) ...
> Selecting previously unselected package python3-pkg-resources.
> Preparing to unpack .../python3-pkg-resources_18.0.1-2_all.deb ...
> Unpacking python3-pkg-resources (18.0.1-2) ...
> Selecting previously unselected package python3-chardet.
> Preparing to unpack .../python3-chardet_2.3.0-1_all.deb ...
> Unpacking python3-chardet (2.3.0-1) ...
> Selecting previously unselected package python3-urllib3.
> Preparing to unpack .../python3-urllib3_1.10.4-1_all.deb ...
> Unpacking python3-urllib3 (1.10.4-1) ...
> Selecting previously unselected package python3-requests.
> Preparing to unpack .../python3-requests_2.7.0-3_all.deb ...
> Unpacking python3-requests (2.7.0-3) ...
> Selecting previously unselected package python3-setuptools.
> Preparing to unpack .../python3-setuptools_18.0.1-2_all.deb ...
> Unpacking python3-setuptools (18.0.1-2) ...
> Selecting previously unselected package python3-pip.
> Preparing to unpack .../python3-pip_1.5.6-6_all.deb ...
> Unpacking python3-pip (1.5.6-6) ...
> Selecting previously unselected package python3-pbr.
> Preparing to unpack .../python3-pbr_0.11.0-1_all.deb ...
> Unpacking python3-pbr (0.11.0-1) ...
> Selecting previously unselected package python-funcsigs.
> Preparing to unpack .../python-funcsigs_0.4-1_all.deb ...
> Unpacking python-funcsigs (0.4-1) ...
> Selecting previously unselected package python-linecache2.
> Preparing to unpack .../python-linecache2_1.0.0-1_all.deb ...
> Unpacking python-linecache2 (1.0.0-1) ...
> Selecting previously unselected package python-traceback2.
> Preparing to unpack .../python-traceback2_1.4.0-1_all.deb ...
> Unpacking python-traceback2 (1.4.0-1) ...
> Selecting previously unselected package python-unittest2.
> Preparing to unpack .../python-unittest2_1.1.0-5_all.deb ...
> Unpacking python-unittest2 (1.1.0-5) ...
> Selecting previously unselected package python3-funcsigs.
> Preparing to unpack .../python3-funcsigs_0.4-1_all.deb ...
> Unpacking python3-funcsigs (0.4-1) ...
> Selecting previously unselected package python-mock.
> Preparing to unpack .../python-mock_1.3.0-2.1_all.deb ...
> Unpacking python-mock (1.3.0-2.1) ...
> Selecting previously unselected package python3-mock.
> Preparing to unpack .../python3-mock_1.3.0-2.1_all.deb ...
> Unpacking python3-mock (1.3.0-2.1) ...
> Processing triggers for man-db (2.7.0.2-5) ...
> 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 python-six (1.9.0-3) ...
> Setting up openssl (1.0.2d-1) ...
> Setting up ca-certificates (20150426) ...
> Setting up python-colorama (0.3.3-1) ...
> Setting up python-distlib (0.2.1-1) ...
> Setting up python-html5lib (0.999-3) ...
> Setting up python-pkg-resources (18.0.1-2) ...
> Setting up python-chardet (2.3.0-1) ...
> Setting up python-urllib3 (1.10.4-1) ...
> Setting up python-requests (2.7.0-3) ...
> Setting up python-setuptools (18.0.1-2) ...
> Setting up python-pip (1.5.6-6) ...
> Setting up python-pbr (0.11.0-1) ...
> update-alternatives: using /usr/bin/python2-pbr to provide /usr/bin/pbr (pbr) in auto mode
> Setting up python3.4 (3.4.3-8) ...
> Setting up libpython3-stdlib:amd64 (3.4.3-4) ...
> Setting up python-funcsigs (0.4-1) ...
> Setting up python-linecache2 (1.0.0-1) ...
> Setting up python-traceback2 (1.4.0-1) ...
> Setting up python-unittest2 (1.1.0-5) ...
> update-alternatives: using /usr/bin/python2-unit2 to provide /usr/bin/unit2 (unit2) in auto mode
> Setting up python-mock (1.3.0-2.1) ...
> Setting up dh-python (2.20150728) ...
> Setting up python3 (3.4.3-4) ...
> Setting up python3-six (1.9.0-3) ...
> Setting up python3-colorama (0.3.3-1) ...
> Setting up python3-distlib (0.2.1-1) ...
> Setting up python3-html5lib (0.999-3) ...
> Setting up python3-pkg-resources (18.0.1-2) ...
> Setting up python3-chardet (2.3.0-1) ...
> Setting up python3-urllib3 (1.10.4-1) ...
> Setting up python3-requests (2.7.0-3) ...
> Setting up python3-setuptools (18.0.1-2) ...
> Setting up python3-pip (1.5.6-6) ...
> Setting up python3-pbr (0.11.0-1) ...
> Setting up python3-funcsigs (0.4-1) ...
> Setting up python3-mock (1.3.0-2.1) ...
> Processing triggers for libc-bin (2.19-19) ...
> Processing triggers for ca-certificates (20150426) ...
> Updating certificates in /etc/ssl/certs...
> 180 added, 0 removed; done.
> Running hooks in /etc/ca-certificates/update.d...
> done.
> 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...
> 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-hl7_0.3.3-3.dsc]
> I: copying [./python-hl7_0.3.3.orig.tar.gz]
> I: copying [./python-hl7_0.3.3-3.debian.tar.xz]
> I: Extracting source
> gpgv: keyblock resource `/tmp/buildd/.gnupg/trustedkeys.gpg': file open error
> gpgv: Signature made Tue Jul 28 20:27:42 2015 GMT+12 using RSA key ID D1C646D1
> gpgv: Can't check signature: public key not found
> dpkg-source: warning: failed to verify signature on ./python-hl7_0.3.3-3.dsc
> dpkg-source: info: extracting python-hl7 in python-hl7-0.3.3
> dpkg-source: info: unpacking python-hl7_0.3.3.orig.tar.gz
> dpkg-source: info: unpacking python-hl7_0.3.3-3.debian.tar.xz
> 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-hl7
> dpkg-buildpackage: source version 0.3.3-3
> dpkg-buildpackage: source distribution unstable
> dpkg-buildpackage: source changed by Andreas Tille <tille at debian.org>
>  dpkg-source --before-build python-hl7-0.3.3
> dpkg-buildpackage: host architecture amd64
>  fakeroot debian/rules clean
> dh clean --with python2,python3 --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-hl7-0.3.3/.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
> I: pybuild base:170: python3.4 setup.py clean 
> running clean
> removing '/tmp/buildd/python-hl7-0.3.3/.pybuild/pythonX.Y_3.4/build' (and everything under it)
> 'build/bdist.linux-x86_64' does not exist -- can't clean it
> 'build/scripts-3.4' does not exist -- can't clean it
>    dh_clean -O--buildsystem=pybuild
>  debian/rules build
> dh build --with python2,python3 --buildsystem=pybuild
>    dh_testdir -O--buildsystem=pybuild
>    dh_auto_configure -O--buildsystem=pybuild
> I: pybuild base:170: python2.7 setup.py config 
> running config
> I: pybuild base:170: python3.4 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-hl7-0.3.3/.pybuild/pythonX.Y_2.7/build/hl7
> copying hl7/compat.py -> /tmp/buildd/python-hl7-0.3.3/.pybuild/pythonX.Y_2.7/build/hl7
> copying hl7/version.py -> /tmp/buildd/python-hl7-0.3.3/.pybuild/pythonX.Y_2.7/build/hl7
> copying hl7/accessor.py -> /tmp/buildd/python-hl7-0.3.3/.pybuild/pythonX.Y_2.7/build/hl7
> copying hl7/containers.py -> /tmp/buildd/python-hl7-0.3.3/.pybuild/pythonX.Y_2.7/build/hl7
> copying hl7/datatypes.py -> /tmp/buildd/python-hl7-0.3.3/.pybuild/pythonX.Y_2.7/build/hl7
> copying hl7/parser.py -> /tmp/buildd/python-hl7-0.3.3/.pybuild/pythonX.Y_2.7/build/hl7
> copying hl7/util.py -> /tmp/buildd/python-hl7-0.3.3/.pybuild/pythonX.Y_2.7/build/hl7
> copying hl7/client.py -> /tmp/buildd/python-hl7-0.3.3/.pybuild/pythonX.Y_2.7/build/hl7
> copying hl7/__init__.py -> /tmp/buildd/python-hl7-0.3.3/.pybuild/pythonX.Y_2.7/build/hl7
> I: pybuild base:170: /usr/bin/python3 setup.py build 
> running build
> running build_py
> creating /tmp/buildd/python-hl7-0.3.3/.pybuild/pythonX.Y_3.4/build/hl7
> copying hl7/compat.py -> /tmp/buildd/python-hl7-0.3.3/.pybuild/pythonX.Y_3.4/build/hl7
> copying hl7/version.py -> /tmp/buildd/python-hl7-0.3.3/.pybuild/pythonX.Y_3.4/build/hl7
> copying hl7/accessor.py -> /tmp/buildd/python-hl7-0.3.3/.pybuild/pythonX.Y_3.4/build/hl7
> copying hl7/containers.py -> /tmp/buildd/python-hl7-0.3.3/.pybuild/pythonX.Y_3.4/build/hl7
> copying hl7/datatypes.py -> /tmp/buildd/python-hl7-0.3.3/.pybuild/pythonX.Y_3.4/build/hl7
> copying hl7/parser.py -> /tmp/buildd/python-hl7-0.3.3/.pybuild/pythonX.Y_3.4/build/hl7
> copying hl7/util.py -> /tmp/buildd/python-hl7-0.3.3/.pybuild/pythonX.Y_3.4/build/hl7
> copying hl7/client.py -> /tmp/buildd/python-hl7-0.3.3/.pybuild/pythonX.Y_3.4/build/hl7
> copying hl7/__init__.py -> /tmp/buildd/python-hl7-0.3.3/.pybuild/pythonX.Y_3.4/build/hl7
>    dh_auto_test -O--buildsystem=pybuild
> I: pybuild base:170: python2.7 setup.py test 
> running test
> running egg_info
> creating hl7.egg-info
> writing requirements to hl7.egg-info/requires.txt
> writing hl7.egg-info/PKG-INFO
> writing top-level names to hl7.egg-info/top_level.txt
> writing dependency_links to hl7.egg-info/dependency_links.txt
> writing entry points to hl7.egg-info/entry_points.txt
> writing manifest file 'hl7.egg-info/SOURCES.txt'
> reading manifest file 'hl7.egg-info/SOURCES.txt'
> reading manifest template 'MANIFEST.in'
> warning: no previously-included files found matching 'docs/_build'
> warning: no previously-included files matching '*~' found anywhere in distribution
> writing manifest file 'hl7.egg-info/SOURCES.txt'
> running build_ext
> test_close (tests.test_client.MLLPClientTest) ... ok
> test_connect (tests.test_client.MLLPClientTest) ... ok
> test_context_manager (tests.test_client.MLLPClientTest) ... ok
> test_context_manager_exception (tests.test_client.MLLPClientTest) ... ok
> test_send (tests.test_client.MLLPClientTest) ... ok
> test_send_message_bytestring (tests.test_client.MLLPClientTest) ... ok
> test_send_message_hl7_message (tests.test_client.MLLPClientTest) ... ok
> test_send_message_unicode (tests.test_client.MLLPClientTest) ... ok
> test_leftover_buffer (tests.test_client.MLLPSendTest) ... ok
> test_loose_no_mllp_characters (tests.test_client.MLLPSendTest) ... ok
> test_loose_no_stdin (tests.test_client.MLLPSendTest) ... ERROR
> test_loose_send_mutliple (tests.test_client.MLLPSendTest) ... ok
> test_loose_unix_newline (tests.test_client.MLLPSendTest) ... ok
> test_loose_windows_newline (tests.test_client.MLLPSendTest) ... ok
> test_port (tests.test_client.MLLPSendTest) ... ok
> test_quiet (tests.test_client.MLLPSendTest) ... ok
> test_send (tests.test_client.MLLPSendTest) ... ok
> test_send_multiple (tests.test_client.MLLPSendTest) ... ok
> test_stdin (tests.test_client.MLLPSendTest) ... ok
> test_version (tests.test_client.MLLPSendTest) ... ok
> test_parse_date (tests.test_datetime.DatetimeTest) ... ok
> test_parse_datetime (tests.test_datetime.DatetimeTest) ... ok
> test_parse_datetime_frac (tests.test_datetime.DatetimeTest) ... ok
> test_parse_tz (tests.test_datetime.DatetimeTest) ... ok
> test_tz (tests.test_datetime.DatetimeTest) ... ok
> test_equality (tests.test_accessor.AccessorTest) ... ok
> test_key (tests.test_accessor.AccessorTest) ... ok
> test_parse (tests.test_accessor.AccessorTest) ... ok
> test_container_unicode (tests.test_containers.ContainerTest) ... ok
> test_unicode (tests.test_containers.ContainerTest) ... ok
> test_ack (tests.test_containers.FactoryTest) ... ok
> test_parse (tests.test_containers.FactoryTest) ... ok
> test_ack (tests.test_containers.MessageTest) ... ok
> test_get_slice (tests.test_containers.MessageTest) ... ok
> test_segment (tests.test_containers.MessageTest) ... ok
> test_segment_does_not_exist (tests.test_containers.MessageTest) ... ok
> test_segments (tests.test_containers.MessageTest) ... ok
> test_segments_dict_key (tests.test_containers.MessageTest) ... ok
> test_segments_does_not_exist (tests.test_containers.MessageTest) ... ok
> test_create_parse_plan (tests.test_parse.ParsePlanTest) ... ok
> test_parse_plan (tests.test_parse.ParsePlanTest) ... ok
> test_parse_plan_next (tests.test_parse.ParsePlanTest) ... ok
> test_assign (tests.test_parse.ParseTest) ... ok
> test_bytestring_converted_to_unicode (tests.test_parse.ParseTest) ... ok
> test_elementnumbering (tests.test_parse.ParseTest) ... ok
> test_empty_initial_repetition (tests.test_parse.ParseTest) ... ok
> test_escape (tests.test_parse.ParseTest) ... ok
> test_extract (tests.test_parse.ParseTest) ... ok
> test_file (tests.test_parse.ParseTest) ... ok
> test_non_ascii_bytestring (tests.test_parse.ParseTest) ... ok
> test_non_ascii_bytestring_no_encoding (tests.test_parse.ParseTest) ... ok
> test_nonstandard_separators (tests.test_parse.ParseTest) ... ok
> test_parse (tests.test_parse.ParseTest) ... ok
> test_parsing_classes (tests.test_parse.ParseTest) ... ok
> test_repetition (tests.test_parse.ParseTest) ... ok
> test_subcomponent (tests.test_parse.ParseTest) ... ok
> test_unescape (tests.test_parse.ParseTest) ... ok
> test_alpha (tests.test_version.GetVersionTest) ... ok
> test_beta (tests.test_version.GetVersionTest) ... ok
> test_dev (tests.test_version.GetVersionTest) ... ok
> test_empty_modifier (tests.test_version.GetVersionTest) ... ok
> test_final (tests.test_version.GetVersionTest) ... ok
> test_no_modifier (tests.test_version.GetVersionTest) ... ok
> test_none_modifier (tests.test_version.GetVersionTest) ... ok
> test_rc (tests.test_version.GetVersionTest) ... ok
> test_rc_num (tests.test_version.GetVersionTest) ... ok
> test_isfile (tests.test_util.IsHL7Test) ... ok
> test_ishl7 (tests.test_util.IsHL7Test) ... ok
> test_ishl7_None (tests.test_util.IsHL7Test) ... ok
> test_ishl7_empty (tests.test_util.IsHL7Test) ... ok
> test_ishl7_wrongsegment (tests.test_util.IsHL7Test) ... ok
> test_append (tests.test_construction.ConstructionTest) ... ok
> test_append_from_source (tests.test_construction.ConstructionTest) ... ok
> test_create_msg (tests.test_construction.ConstructionTest) ... ok
> 
> ======================================================================
> ERROR: test_loose_no_stdin (tests.test_client.MLLPSendTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "/tmp/buildd/python-hl7-0.3.3/tests/test_client.py", line 204, in test_loose_no_stdin
>     self.mock_stderr().write.assert_call_with(
>   File "/usr/lib/python2.7/dist-packages/mock/mock.py", line 721, in __getattr__
>     raise AttributeError(name)
> AttributeError: assert_call_with
> 
> ----------------------------------------------------------------------
> Ran 74 tests in 0.162s
> 
> FAILED (errors=1)
> E: pybuild pybuild:262: test: plugin distutils failed with: exit code=1: python2.7 setup.py test 
> dh_auto_test: pybuild --test -i python{version} -p 2.7 --dir . returned exit code 13
> debian/rules:7: 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//45405 and its subdirectories
> Warning: No second build log
> No artifacts were saved for this build.

> _______________________________________________
> Debian-med-packaging mailing list
> Debian-med-packaging at lists.alioth.debian.org
> http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/debian-med-packaging


-- 
http://fam-tille.de



More information about the Python-modules-team mailing list