[Python-modules-team] Bug#912450: python-nanomsg FTBFS with nanomsg 1.1.5

Adrian Bunk bunk at debian.org
Wed Oct 31 17:19:56 GMT 2018


Source: python-nanomsg
Version: 1.0-2
Severity: serious
Tags: ftbfs

https://buildd.debian.org/status/package.php?p=python-nanomsg&suite=sid

...
   dh_auto_test -a -O--buildsystem=pybuild
I: pybuild base:217: python2.7 setup.py test 
running test
running egg_info
creating nanomsg.egg-info
writing nanomsg.egg-info/PKG-INFO
writing top-level names to nanomsg.egg-info/top_level.txt
writing dependency_links to nanomsg.egg-info/dependency_links.txt
writing manifest file 'nanomsg.egg-info/SOURCES.txt'
reading manifest file 'nanomsg.egg-info/SOURCES.txt'
writing manifest file 'nanomsg.egg-info/SOURCES.txt'
running build_ext
building '_nanomsg_cpy' extension
x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fno-strict-aliasing -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/usr/include/python2.7 -c _nanomsg_cpy/wrapper.c -o build/temp.linux-amd64-2.7/_nanomsg_cpy/wrapper.o
x86_64-linux-gnu-gcc -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-z,relro -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -Wdate-time -D_FORTIFY_SOURCE=2 -g -fdebug-prefix-map=/build/python2.7-A8UpPM/python2.7-2.7.15=. -fstack-protector-strong -Wformat -Werror=format-security -Wl,-z,relro -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 build/temp.linux-amd64-2.7/_nanomsg_cpy/wrapper.o -lnanomsg -o /<<PKGBUILDDIR>>/_nanomsg_cpy.so -Wl,-z,now
test_subscribe_works (tests.test_pubsub.TestPubSubSockets) ... ok
test_send_recv (tests.test_pair.TestPairSockets) ... ok
test_send_recv_large_message (tests.test_pair.TestPairSockets) ... ok
test_send_recv_with_embeded_nulls (tests.test_pair.TestPairSockets) ... ok
test_bind (tests.test_general_socket_methods.TestGeneralSocketMethods) ... ok
test_connect (tests.test_general_socket_methods.TestGeneralSocketMethods) ... ok
test_get_int_option (tests.test_general_socket_methods.TestGeneralSocketMethods) ... FAIL
test_is_open_is_false_when_closed (tests.test_general_socket_methods.TestGeneralSocketMethods) ... ok
test_is_open_is_true_when_open (tests.test_general_socket_methods.TestGeneralSocketMethods) ... ok
test_set_int_option (tests.test_general_socket_methods.TestGeneralSocketMethods) ... FAIL

======================================================================
FAIL: test_get_int_option (tests.test_general_socket_methods.TestGeneralSocketMethods)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/<<PKGBUILDDIR>>/tests/test_general_socket_methods.py", line 56, in test_get_int_option
    self.assertEqual(LINGER_DEFAULT_VALUE, actual)
AssertionError: 1000 != 0

======================================================================
FAIL: test_set_int_option (tests.test_general_socket_methods.TestGeneralSocketMethods)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/<<PKGBUILDDIR>>/tests/test_general_socket_methods.py", line 51, in test_set_int_option
    self.assertEqual(expected, actual)
AssertionError: 500 != 0

----------------------------------------------------------------------
Ran 10 tests in 0.024s

FAILED (failures=2)
Test failed: <unittest.runner.TextTestResult run=10 errors=0 failures=2>
error: Test failed: <unittest.runner.TextTestResult run=10 errors=0 failures=2>
E: pybuild pybuild:338: test: plugin distutils failed with: exit code=1: python2.7 setup.py test 
dh_auto_test: pybuild --test -i python{version} -p 2.7 returned exit code 13
make: *** [debian/rules:7: build-arch] Error 25



More information about the Python-modules-team mailing list