[Reproducible-builds] Bug#824794: python-snuggs: FTBFS: ../../../test_snuggs.py:154: AssertionError
Chris Lamb
lamby at debian.org
Thu May 19 20:32:45 UTC 2016
Source: python-snuggs
Version: 1.3.1-2
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,
python-snuggs 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 'python-snuggs-build-deps' in '../python-snuggs-build-deps_1.3.1-2_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 python-snuggs-build-deps.
(Reading database ... 23081 files and directories currently installed.)
Preparing to unpack python-snuggs-build-deps_1.3.1-2_all.deb ...
Unpacking python-snuggs-build-deps (1.3.1-2) ...
Reading package lists...
Building dependency tree...
Reading state information...
Correcting dependencies... Done
The following additional packages will be installed:
libblas-common libblas3 libgfortran3 liblapack3 python-all python-click
python-colorama python-numpy python-py python-pyparsing python-pytest
python-setuptools python3-all python3-click python3-colorama python3-numpy
python3-pkg-resources python3-py python3-pyparsing python3-pytest
python3-setuptools
Suggested packages:
gfortran python-dev python-nose python-numpy-dbg python-numpy-doc subversion
python-pytest-xdist python-pyparsing-doc python-mock python-setuptools-doc
python3-dev python3-nose python3-numpy-dbg
The following NEW packages will be installed:
libblas-common libblas3 libgfortran3 liblapack3 python-all python-click
python-colorama python-numpy python-py python-pyparsing python-pytest
python-setuptools python3-all python3-click python3-colorama python3-numpy
python3-pkg-resources python3-py python3-pyparsing python3-pytest
python3-setuptools
0 upgraded, 21 newly installed, 0 to remove and 0 not upgraded.
1 not fully installed or removed.
Need to get 7155 kB of archives.
After this operation, 31.7 MB of additional disk space will be used.
Get:1 http://httpredir.debian.org/debian sid/main amd64 python-setuptools all 20.10.1-1 [203 kB]
Get:2 http://httpredir.debian.org/debian sid/main amd64 python-all amd64 2.7.11-1 [936 B]
Get:3 http://httpredir.debian.org/debian sid/main amd64 libgfortran3 amd64 6.1.1-3 [265 kB]
Get:4 http://httpredir.debian.org/debian sid/main amd64 libblas-common amd64 3.6.0-2 [13.5 kB]
Get:5 http://httpredir.debian.org/debian sid/main amd64 libblas3 amd64 3.6.0-2 [158 kB]
Get:6 http://httpredir.debian.org/debian sid/main amd64 liblapack3 amd64 3.6.0-2 [1949 kB]
Get:7 http://httpredir.debian.org/debian sid/main amd64 python-numpy amd64 1:1.11.0-1 [1770 kB]
Get:8 http://httpredir.debian.org/debian sid/main amd64 python3-all amd64 3.5.1-3 [936 B]
Get:9 http://httpredir.debian.org/debian sid/main amd64 python3-numpy amd64 1:1.11.0-1 [1769 kB]
Get:10 http://httpredir.debian.org/debian sid/main amd64 python3-pkg-resources all 20.10.1-1 [112 kB]
Get:11 http://httpredir.debian.org/debian sid/main amd64 python3-setuptools all 20.10.1-1 [122 kB]
Get:12 http://httpredir.debian.org/debian sid/main amd64 python-py all 1.4.31-1 [81.8 kB]
Get:13 http://httpredir.debian.org/debian sid/main amd64 python-pytest all 2.9.1-1 [166 kB]
Get:14 http://httpredir.debian.org/debian sid/main amd64 python3-py all 1.4.31-1 [81.9 kB]
Get:15 http://httpredir.debian.org/debian sid/main amd64 python3-pytest all 2.9.1-1 [166 kB]
Get:16 http://httpredir.debian.org/debian sid/main amd64 python-colorama all 0.3.7-1 [25.7 kB]
Get:17 http://httpredir.debian.org/debian sid/main amd64 python-click all 6.6-1 [56.1 kB]
Get:18 http://httpredir.debian.org/debian sid/main amd64 python3-colorama all 0.3.7-1 [18.1 kB]
Get:19 http://httpredir.debian.org/debian sid/main amd64 python3-click all 6.6-1 [56.2 kB]
Get:20 http://httpredir.debian.org/debian sid/main amd64 python-pyparsing all 2.1.4+dfsg1-1 [70.4 kB]
Get:21 http://httpredir.debian.org/debian sid/main amd64 python3-pyparsing all 2.1.4+dfsg1-1 [70.5 kB]
Fetched 7155 kB in 0s (108 MB/s)
Selecting previously unselected package python-setuptools.
(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 ... 23085 files and directories currently installed.)
Preparing to unpack .../python-setuptools_20.10.1-1_all.deb ...
Unpacking python-setuptools (20.10.1-1) ...
Selecting previously unselected package python-all.
Preparing to unpack .../python-all_2.7.11-1_amd64.deb ...
Unpacking python-all (2.7.11-1) ...
Selecting previously unselected package libgfortran3:amd64.
Preparing to unpack .../libgfortran3_6.1.1-3_amd64.deb ...
Unpacking libgfortran3:amd64 (6.1.1-3) ...
Selecting previously unselected package libblas-common.
Preparing to unpack .../libblas-common_3.6.0-2_amd64.deb ...
Unpacking libblas-common (3.6.0-2) ...
Selecting previously unselected package libblas3.
Preparing to unpack .../libblas3_3.6.0-2_amd64.deb ...
Unpacking libblas3 (3.6.0-2) ...
Selecting previously unselected package liblapack3.
Preparing to unpack .../liblapack3_3.6.0-2_amd64.deb ...
Unpacking liblapack3 (3.6.0-2) ...
Selecting previously unselected package python-numpy.
Preparing to unpack .../python-numpy_1%3a1.11.0-1_amd64.deb ...
Unpacking python-numpy (1:1.11.0-1) ...
Selecting previously unselected package python3-all.
Preparing to unpack .../python3-all_3.5.1-3_amd64.deb ...
Unpacking python3-all (3.5.1-3) ...
Selecting previously unselected package python3-numpy.
Preparing to unpack .../python3-numpy_1%3a1.11.0-1_amd64.deb ...
Unpacking python3-numpy (1:1.11.0-1) ...
Selecting previously unselected package python3-pkg-resources.
Preparing to unpack .../python3-pkg-resources_20.10.1-1_all.deb ...
Unpacking python3-pkg-resources (20.10.1-1) ...
Selecting previously unselected package python3-setuptools.
Preparing to unpack .../python3-setuptools_20.10.1-1_all.deb ...
Unpacking python3-setuptools (20.10.1-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 python-colorama.
Preparing to unpack .../python-colorama_0.3.7-1_all.deb ...
Unpacking python-colorama (0.3.7-1) ...
Selecting previously unselected package python-click.
Preparing to unpack .../python-click_6.6-1_all.deb ...
Unpacking python-click (6.6-1) ...
Selecting previously unselected package python3-colorama.
Preparing to unpack .../python3-colorama_0.3.7-1_all.deb ...
Unpacking python3-colorama (0.3.7-1) ...
Selecting previously unselected package python3-click.
Preparing to unpack .../python3-click_6.6-1_all.deb ...
Unpacking python3-click (6.6-1) ...
Selecting previously unselected package python-pyparsing.
Preparing to unpack .../python-pyparsing_2.1.4+dfsg1-1_all.deb ...
Unpacking python-pyparsing (2.1.4+dfsg1-1) ...
Selecting previously unselected package python3-pyparsing.
Preparing to unpack .../python3-pyparsing_2.1.4+dfsg1-1_all.deb ...
Unpacking python3-pyparsing (2.1.4+dfsg1-1) ...
Processing triggers for libc-bin (2.22-9) ...
Processing triggers for man-db (2.7.5-1) ...
Setting up python-setuptools (20.10.1-1) ...
Setting up python-all (2.7.11-1) ...
Setting up libgfortran3:amd64 (6.1.1-3) ...
Setting up libblas-common (3.6.0-2) ...
Setting up libblas3 (3.6.0-2) ...
update-alternatives: using /usr/lib/libblas/libblas.so.3 to provide /usr/lib/libblas.so.3 (libblas.so.3) in auto mode
Setting up liblapack3 (3.6.0-2) ...
update-alternatives: using /usr/lib/lapack/liblapack.so.3 to provide /usr/lib/liblapack.so.3 (liblapack.so.3) in auto mode
Setting up python-numpy (1:1.11.0-1) ...
Setting up python3-all (3.5.1-3) ...
Setting up python3-numpy (1:1.11.0-1) ...
Setting up python3-pkg-resources (20.10.1-1) ...
Setting up python3-setuptools (20.10.1-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 python-colorama (0.3.7-1) ...
Setting up python-click (6.6-1) ...
Setting up python3-colorama (0.3.7-1) ...
Setting up python3-click (6.6-1) ...
Setting up python-pyparsing (2.1.4+dfsg1-1) ...
Setting up python3-pyparsing (2.1.4+dfsg1-1) ...
Setting up python-snuggs-build-deps (1.3.1-2) ...
Processing triggers for libc-bin (2.22-9) ...
dpkg-buildpackage -rfakeroot -D -us -uc -b
dpkg-buildpackage: info: source package python-snuggs
dpkg-buildpackage: info: source version 1.3.1-2
dpkg-buildpackage: info: source distribution unstable
dpkg-buildpackage: info: source changed by Bas Couwenberg <sebastic at debian.org>
dpkg-source --before-build python-snuggs-1.3.1
dpkg-buildpackage: info: host architecture amd64
fakeroot debian/rules clean
dh clean --with python2,python3 --buildsystem pybuild --parallel
dh_testdir -O--buildsystem=pybuild -O--parallel
dh_auto_clean -O--buildsystem=pybuild -O--parallel
I: pybuild base:184: python2.7 setup.py clean
running clean
removing '/home/lamby/temp/cdt.20160519212113.cda5dxXbLs.python-snuggs/python-snuggs-1.3.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
I: pybuild base:184: python3.5 setup.py clean
running clean
removing '/home/lamby/temp/cdt.20160519212113.cda5dxXbLs.python-snuggs/python-snuggs-1.3.1/.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
dh_clean -O--buildsystem=pybuild -O--parallel
debian/rules build
dh build --with python2,python3 --buildsystem pybuild --parallel
dh_testdir -O--buildsystem=pybuild -O--parallel
dh_update_autotools_config -O--buildsystem=pybuild -O--parallel
dh_auto_configure -O--buildsystem=pybuild -O--parallel
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 -O--parallel
I: pybuild base:184: /usr/bin/python setup.py build
running build
running build_py
creating /home/lamby/temp/cdt.20160519212113.cda5dxXbLs.python-snuggs/python-snuggs-1.3.1/.pybuild/pythonX.Y_2.7/build/snuggs
copying snuggs/__init__.py -> /home/lamby/temp/cdt.20160519212113.cda5dxXbLs.python-snuggs/python-snuggs-1.3.1/.pybuild/pythonX.Y_2.7/build/snuggs
running egg_info
creating snuggs.egg-info
writing requirements to snuggs.egg-info/requires.txt
writing snuggs.egg-info/PKG-INFO
writing top-level names to snuggs.egg-info/top_level.txt
writing dependency_links to snuggs.egg-info/dependency_links.txt
writing manifest file 'snuggs.egg-info/SOURCES.txt'
reading manifest file 'snuggs.egg-info/SOURCES.txt'
writing manifest file 'snuggs.egg-info/SOURCES.txt'
I: pybuild base:184: /usr/bin/python3 setup.py build
running build
running build_py
creating /home/lamby/temp/cdt.20160519212113.cda5dxXbLs.python-snuggs/python-snuggs-1.3.1/.pybuild/pythonX.Y_3.5/build/snuggs
copying snuggs/__init__.py -> /home/lamby/temp/cdt.20160519212113.cda5dxXbLs.python-snuggs/python-snuggs-1.3.1/.pybuild/pythonX.Y_3.5/build/snuggs
running egg_info
writing requirements to snuggs.egg-info/requires.txt
writing dependency_links to snuggs.egg-info/dependency_links.txt
writing snuggs.egg-info/PKG-INFO
writing top-level names to snuggs.egg-info/top_level.txt
reading manifest file 'snuggs.egg-info/SOURCES.txt'
writing manifest file 'snuggs.egg-info/SOURCES.txt'
dh_auto_test -O--buildsystem=pybuild -O--parallel
I: pybuild base:184: cd /home/lamby/temp/cdt.20160519212113.cda5dxXbLs.python-snuggs/python-snuggs-1.3.1/.pybuild/pythonX.Y_2.7/build; python2.7 -m pytest /home/lamby/temp/cdt.20160519212113.cda5dxXbLs.python-snuggs/python-snuggs-1.3.1/test_snuggs.py
============================= 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.20160519212113.cda5dxXbLs.python-snuggs/python-snuggs-1.3.1, inifile:
collected 32 items
../../../test_snuggs.py ..........................F.F.F.
=================================== FAILURES ===================================
__________________________ test_missing_closing_paren __________________________
def test_missing_closing_paren():
with pytest.raises(SyntaxError) as excinfo:
result = snuggs.eval("(+ 1 2")
assert excinfo.value.lineno == 1
assert excinfo.value.offset == 7
> assert str(excinfo.value) == 'Expected ")"'
E assert 'Expected {Fo...Forward: ...}' == 'Expected ")"'
E - Expected {Forward: ... | Forward: ...}
E + Expected ")"
../../../test_snuggs.py:154: AssertionError
______________________________ test_missing_func2 ______________________________
def test_missing_func2():
with pytest.raises(SyntaxError) as excinfo:
result = snuggs.eval("(# 1 2)")
assert excinfo.value.lineno == 1
assert excinfo.value.offset == 2
> assert str(excinfo.value) == "expected a function or operator"
E assert 'Expected {Fo...Forward: ...}' == 'expected a fu...n or operator'
E - Expected {Forward: ... | Forward: ...}
E + expected a function or operator
../../../test_snuggs.py:170: AssertionError
_________________________ test_bogus_higher_order_func _________________________
def test_bogus_higher_order_func():
with pytest.raises(SyntaxError) as excinfo:
result = snuggs.eval("((bogus * 2) 2)")
assert excinfo.value.lineno == 1
assert excinfo.value.offset == 3
> assert str(excinfo.value) == "expected a function or operator"
E assert 'Expected {Fo...Forward: ...}' == 'expected a fu...n or operator'
E - Expected {Forward: ... | Forward: ...}
E + expected a function or operator
../../../test_snuggs.py:186: AssertionError
===================== 3 failed, 29 passed in 0.16 seconds ======================
E: pybuild pybuild:274: test: plugin distutils failed with: exit code=1: cd /home/lamby/temp/cdt.20160519212113.cda5dxXbLs.python-snuggs/python-snuggs-1.3.1/.pybuild/pythonX.Y_2.7/build; python2.7 -m pytest /home/lamby/temp/cdt.20160519212113.cda5dxXbLs.python-snuggs/python-snuggs-1.3.1/test_snuggs.py
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
[..]
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: python-snuggs.1.3.1-2.unstable.amd64.log.txt.gz
Type: application/octet-stream
Size: 2962 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/reproducible-builds/attachments/20160519/03b978b7/attachment.obj>
More information about the Reproducible-builds
mailing list