[Reproducible-builds] Bug#821892: pycountry: FTBFS: tests/test_general.py:28: AssertionError
Chris Lamb
lamby at debian.org
Wed Apr 20 09:02:23 UTC 2016
Source: pycountry
Version: 1.8+ds1-0.1
Severity: serious
Justification: fails to build from source
User: reproducible-builds at lists.alioth.debian.org
Usertags: ftbfs
X-Debbugs-Cc: reproducible-builds at lists.alioth.debian.org
Dear Maintainer,
pycountry fails to build from source in unstable/amd64:
[..]
dh_testdir
dh_testroot
dh_prep
dh_testdir
dh_testroot
dh_install
dh_installdocs
dh_installchangelogs
dh_compress
dh_fixperms
dh_installdeb
dh_gencontrol
dh_md5sums
dh_builddeb
dpkg-deb: building package 'pycountry-build-deps' in '../pycountry-build-deps_1.8+ds1-0.1_all.deb'.
The package has been created.
Attention, the package has been created in the current directory,
not in ".." as indicated by the message above!
Selecting previously unselected package pycountry-build-deps.
(Reading database ... 22998 files and directories currently installed.)
Preparing to unpack pycountry-build-deps_1.8+ds1-0.1_all.deb ...
Unpacking pycountry-build-deps (1.8+ds1-0.1) ...
Reading package lists...
Building dependency tree...
Reading state information...
Correcting dependencies... Done
The following additional packages will be installed:
iso-codes python-py python-pytest python-setuptools python3-pkg-resources
python3-py python3-pytest python3-setuptools unzip
Suggested packages:
isoquery subversion python-pytest-xdist python-mock python-setuptools-doc
zip
The following NEW packages will be installed:
iso-codes python-py python-pytest python-setuptools python3-pkg-resources
python3-py python3-pytest python3-setuptools unzip
0 upgraded, 9 newly installed, 0 to remove and 0 not upgraded.
1 not fully installed or removed.
Need to get 3376 kB of archives.
After this operation, 21.1 MB of additional disk space will be used.
Get:1 http://httpredir.debian.org/debian sid/main amd64 unzip amd64 6.0-20 [161 kB]
Get:2 http://httpredir.debian.org/debian sid/main amd64 python-setuptools all 20.7.0-1 [202 kB]
Get:3 http://httpredir.debian.org/debian sid/main amd64 python3-pkg-resources all 20.7.0-1 [111 kB]
Get:4 http://httpredir.debian.org/debian sid/main amd64 python3-setuptools all 20.7.0-1 [121 kB]
Get:5 http://httpredir.debian.org/debian sid/main amd64 python-py all 1.4.31-1 [81.8 kB]
Get:6 http://httpredir.debian.org/debian sid/main amd64 python-pytest all 2.9.1-1 [166 kB]
Get:7 http://httpredir.debian.org/debian sid/main amd64 python3-py all 1.4.31-1 [81.9 kB]
Get:8 http://httpredir.debian.org/debian sid/main amd64 python3-pytest all 2.9.1-1 [166 kB]
Get:9 http://httpredir.debian.org/debian sid/main amd64 iso-codes all 3.67-1 [2285 kB]
Fetched 3376 kB in 0s (49.2 MB/s)
Selecting previously unselected package unzip.
(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 ... 23002 files and directories currently installed.)
Preparing to unpack .../unzip_6.0-20_amd64.deb ...
Unpacking unzip (6.0-20) ...
Selecting previously unselected package python-setuptools.
Preparing to unpack .../python-setuptools_20.7.0-1_all.deb ...
Unpacking python-setuptools (20.7.0-1) ...
Selecting previously unselected package python3-pkg-resources.
Preparing to unpack .../python3-pkg-resources_20.7.0-1_all.deb ...
Unpacking python3-pkg-resources (20.7.0-1) ...
Selecting previously unselected package python3-setuptools.
Preparing to unpack .../python3-setuptools_20.7.0-1_all.deb ...
Unpacking python3-setuptools (20.7.0-1) ...
Selecting previously unselected package python-py.
Preparing to unpack .../python-py_1.4.31-1_all.deb ...
Unpacking python-py (1.4.31-1) ...
Selecting previously unselected package python-pytest.
Preparing to unpack .../python-pytest_2.9.1-1_all.deb ...
Unpacking python-pytest (2.9.1-1) ...
Selecting previously unselected package python3-py.
Preparing to unpack .../python3-py_1.4.31-1_all.deb ...
Unpacking python3-py (1.4.31-1) ...
Selecting previously unselected package python3-pytest.
Preparing to unpack .../python3-pytest_2.9.1-1_all.deb ...
Unpacking python3-pytest (2.9.1-1) ...
Selecting previously unselected package iso-codes.
Preparing to unpack .../iso-codes_3.67-1_all.deb ...
Unpacking iso-codes (3.67-1) ...
Processing triggers for mime-support (3.59) ...
Processing triggers for man-db (2.7.5-1) ...
Setting up unzip (6.0-20) ...
Setting up python-setuptools (20.7.0-1) ...
Setting up python3-pkg-resources (20.7.0-1) ...
Setting up python3-setuptools (20.7.0-1) ...
Setting up python-py (1.4.31-1) ...
Setting up python-pytest (2.9.1-1) ...
Setting up python3-py (1.4.31-1) ...
Setting up python3-pytest (2.9.1-1) ...
Setting up iso-codes (3.67-1) ...
Setting up pycountry-build-deps (1.8+ds1-0.1) ...
dpkg-buildpackage -rfakeroot -D -us -uc -b
dpkg-buildpackage: source package pycountry
dpkg-buildpackage: source version 1.8+ds1-0.1
dpkg-buildpackage: source distribution unstable
dpkg-buildpackage: source changed by Michele Orru` <maker at python.it>
dpkg-source --before-build pycountry-1.8+ds1
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:184: python2.7 setup.py clean
running clean
removing '/home/lamby/temp/cdt.20160420100047.nnr0vJfMDd.pycountry/pycountry-1.8+ds1/.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:184: python3.5 setup.py clean
running clean
removing '/home/lamby/temp/cdt.20160420100047.nnr0vJfMDd.pycountry/pycountry-1.8+ds1/.pybuild/pythonX.Y_3.5/build' (and everything under it)
'build/bdist.linux-x86_64' does not exist -- can't clean it
'build/scripts-3.5' does not exist -- can't clean it
debian/rules override_dh_clean
make[1]: Entering directory '/home/lamby/temp/cdt.20160420100047.nnr0vJfMDd.pycountry/pycountry-1.8+ds1'
rm -vrf /home/lamby/temp/cdt.20160420100047.nnr0vJfMDd.pycountry/pycountry-1.8+ds1/src/pycountry.egg-info/
removed '/home/lamby/temp/cdt.20160420100047.nnr0vJfMDd.pycountry/pycountry-1.8+ds1/src/pycountry.egg-info/SOURCES.txt'
removed '/home/lamby/temp/cdt.20160420100047.nnr0vJfMDd.pycountry/pycountry-1.8+ds1/src/pycountry.egg-info/not-zip-safe'
removed '/home/lamby/temp/cdt.20160420100047.nnr0vJfMDd.pycountry/pycountry-1.8+ds1/src/pycountry.egg-info/PKG-INFO'
removed '/home/lamby/temp/cdt.20160420100047.nnr0vJfMDd.pycountry/pycountry-1.8+ds1/src/pycountry.egg-info/top_level.txt'
removed '/home/lamby/temp/cdt.20160420100047.nnr0vJfMDd.pycountry/pycountry-1.8+ds1/src/pycountry.egg-info/dependency_links.txt'
removed directory '/home/lamby/temp/cdt.20160420100047.nnr0vJfMDd.pycountry/pycountry-1.8+ds1/src/pycountry.egg-info/'
dh_clean
make[1]: Leaving directory '/home/lamby/temp/cdt.20160420100047.nnr0vJfMDd.pycountry/pycountry-1.8+ds1'
debian/rules build
dh build --with python2,python3 --buildsystem=pybuild
dh_testdir -O--buildsystem=pybuild
dh_update_autotools_config -O--buildsystem=pybuild
dh_auto_configure -O--buildsystem=pybuild
I: pybuild base:184: python2.7 setup.py config
running config
I: pybuild base:184: python3.5 setup.py config
running config
dh_auto_build -O--buildsystem=pybuild
I: pybuild base:184: /usr/bin/python setup.py build
running build
running build_py
creating /home/lamby/temp/cdt.20160420100047.nnr0vJfMDd.pycountry/pycountry-1.8+ds1/.pybuild/pythonX.Y_2.7/build/pycountry
copying src/pycountry/__init__.py -> /home/lamby/temp/cdt.20160420100047.nnr0vJfMDd.pycountry/pycountry-1.8+ds1/.pybuild/pythonX.Y_2.7/build/pycountry
copying src/pycountry/db.py -> /home/lamby/temp/cdt.20160420100047.nnr0vJfMDd.pycountry/pycountry-1.8+ds1/.pybuild/pythonX.Y_2.7/build/pycountry
running egg_info
creating src/pycountry.egg-info
writing src/pycountry.egg-info/PKG-INFO
writing top-level names to src/pycountry.egg-info/top_level.txt
writing dependency_links to src/pycountry.egg-info/dependency_links.txt
writing manifest file 'src/pycountry.egg-info/SOURCES.txt'
reading manifest file 'src/pycountry.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
warning: no previously-included files matching 'src/pycountry' found anywhere in distribution
warning: no previously-included files matching '*.pyc' found anywhere in distribution
writing manifest file 'src/pycountry.egg-info/SOURCES.txt'
creating /home/lamby/temp/cdt.20160420100047.nnr0vJfMDd.pycountry/pycountry-1.8+ds1/.pybuild/pythonX.Y_2.7/build/pycountry/tests
copying src/pycountry/tests/test_general.py -> /home/lamby/temp/cdt.20160420100047.nnr0vJfMDd.pycountry/pycountry-1.8+ds1/.pybuild/pythonX.Y_2.7/build/pycountry/tests
I: pybuild base:184: /usr/bin/python3 setup.py build
running build
running build_py
creating /home/lamby/temp/cdt.20160420100047.nnr0vJfMDd.pycountry/pycountry-1.8+ds1/.pybuild/pythonX.Y_3.5/build/pycountry
copying src/pycountry/__init__.py -> /home/lamby/temp/cdt.20160420100047.nnr0vJfMDd.pycountry/pycountry-1.8+ds1/.pybuild/pythonX.Y_3.5/build/pycountry
copying src/pycountry/db.py -> /home/lamby/temp/cdt.20160420100047.nnr0vJfMDd.pycountry/pycountry-1.8+ds1/.pybuild/pythonX.Y_3.5/build/pycountry
running egg_info
writing dependency_links to src/pycountry.egg-info/dependency_links.txt
writing src/pycountry.egg-info/PKG-INFO
writing top-level names to src/pycountry.egg-info/top_level.txt
reading manifest file 'src/pycountry.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
warning: no previously-included files matching 'src/pycountry' found anywhere in distribution
warning: no previously-included files matching '*.pyc' found anywhere in distribution
writing manifest file 'src/pycountry.egg-info/SOURCES.txt'
creating /home/lamby/temp/cdt.20160420100047.nnr0vJfMDd.pycountry/pycountry-1.8+ds1/.pybuild/pythonX.Y_3.5/build/pycountry/tests
copying src/pycountry/tests/test_general.py -> /home/lamby/temp/cdt.20160420100047.nnr0vJfMDd.pycountry/pycountry-1.8+ds1/.pybuild/pythonX.Y_3.5/build/pycountry/tests
dh_auto_test -O--buildsystem=pybuild
I: pybuild base:184: cd /home/lamby/temp/cdt.20160420100047.nnr0vJfMDd.pycountry/pycountry-1.8+ds1/.pybuild/pythonX.Y_2.7/build; python2.7 -m pytest /home/lamby/temp/cdt.20160420100047.nnr0vJfMDd.pycountry/pycountry-1.8+ds1/src/pycountry/tests
============================= test session starts ==============================
platform linux2 -- Python 2.7.11+, pytest-2.9.1, py-1.4.31, pluggy-0.3.1
rootdir: /home/lamby/temp/cdt.20160420100047.nnr0vJfMDd.pycountry/pycountry-1.8+ds1, inifile:
collected 10 items
../../../src/pycountry/tests/test_general.py ..F..FFF..
=================================== FAILURES ===================================
____________________ test_subdivisions_directly_accessible _____________________
def test_subdivisions_directly_accessible():
> assert len(pycountry.subdivisions) == 4847
E assert 4837 == 4847
E + where 4837 = len(<pycountry.Subdivisions object at 0x7fea61b8f050>)
E + where <pycountry.Subdivisions object at 0x7fea61b8f050> = pycountry.subdivisions
../../../src/pycountry/tests/test_general.py:28: AssertionError
_________________________________ test_scripts _________________________________
def test_scripts():
> assert len(pycountry.scripts) == 169
E assert 182 == 169
E + where 182 = len(<pycountry.Scripts object at 0x7fea62151390>)
E + where <pycountry.Scripts object at 0x7fea62151390> = pycountry.scripts
../../../src/pycountry/tests/test_general.py:54: AssertionError
_______________________________ test_currencies ________________________________
def test_currencies():
> assert len(pycountry.currencies) == 182
E assert 170 == 182
E + where 170 = len(<pycountry.Currencies object at 0x7fea6224b790>)
E + where <pycountry.Currencies object at 0x7fea6224b790> = pycountry.currencies
../../../src/pycountry/tests/test_general.py:64: AssertionError
________________________________ test_languages ________________________________
def test_languages():
> assert len(pycountry.languages) == 487
E assert 486 == 487
E + where 486 = len(<pycountry.Languages object at 0x7fea61b85190>)
E + where <pycountry.Languages object at 0x7fea61b85190> = pycountry.languages
../../../src/pycountry/tests/test_general.py:74: AssertionError
====================== 4 failed, 6 passed in 0.43 seconds ======================
E: pybuild pybuild:274: test: plugin distutils failed with: exit code=1: cd /home/lamby/temp/cdt.20160420100047.nnr0vJfMDd.pycountry/pycountry-1.8+ds1/.pybuild/pythonX.Y_2.7/build; python2.7 -m pytest /home/lamby/temp/cdt.20160420100047.nnr0vJfMDd.pycountry/pycountry-1.8+ds1/src/pycountry/tests
dh_auto_test: pybuild --test -i python{version} -p 2.7 --dir . returned exit code 13
debian/rules:17: recipe for target 'build' failed
make: *** [build] Error 25
[..]
The full build log is attached.
Regards,
--
,''`.
: :' : Chris Lamb
`. `'` lamby at debian.org / chris-lamb.co.uk
`-
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pycountry.1.8+ds1-0.1.unstable.amd64.log.txt.gz
Type: application/octet-stream
Size: 2587 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/reproducible-builds/attachments/20160420/74295b23/attachment.obj>
More information about the Reproducible-builds
mailing list