Source: python-cryptography
Version: 1.9-1
Severity: serious

Some recent change in unstable makes python-cryptography FTBFS:

https://tests.reproducible-builds.org/debian/history/python-cryptography.html
https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/python-cryptography.html

...
==================================== ERRORS ====================================
____ ERROR at setup of TestPKCS7.test_invalid_padding[128-����������������] ____

self = {'CPPFLAGS': '-Wdate-time -D_FORTIFY_SOURCE=2', 'DEB_BUILD_MULTIARCH': 
'x86_64-linux-gnu', 'http_proxy': 'http://127.0...-O2 -fstack-protector-strong 
-Wformat -Werror=format-security', 'DEB_TARGET_ARCH': 'amd64', 
'PERL_USE_UNSAFE_INC': '1'}
key = 'PYTEST_CURRENT_TEST'
item = 
'tests/hazmat/primitives/test_padding.py::TestPKCS7::()::test_invalid_padding[128-\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00]
 (setup)'

    def __setitem__(self, key, item):
>       putenv(key, item)
E       TypeError: putenv() argument 2 must be string without null bytes, not 
str

/usr/lib/python2.7/os.py:473: TypeError
__ ERROR at teardown of TestPKCS7.test_invalid_padding[128-����������������] ___

self = {'CPPFLAGS': '-Wdate-time -D_FORTIFY_SOURCE=2', 'DEB_BUILD_MULTIARCH': 
'x86_64-linux-gnu', 'http_proxy': 'http://127.0...-O2 -fstack-protector-strong 
-Wformat -Werror=format-security', 'DEB_TARGET_ARCH': 'amd64', 
'PERL_USE_UNSAFE_INC': '1'}
key = 'PYTEST_CURRENT_TEST'
item = 
'tests/hazmat/primitives/test_padding.py::TestPKCS7::()::test_invalid_padding[128-\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00]
 (teardown)'

    def __setitem__(self, key, item):
>       putenv(key, item)
E       TypeError: putenv() argument 2 must be string without null bytes, not 
str

/usr/lib/python2.7/os.py:473: TypeError
__ ERROR at setup of TestANSIX923.test_invalid_padding[128-����������������] ___

self = {'CPPFLAGS': '-Wdate-time -D_FORTIFY_SOURCE=2', 'DEB_BUILD_MULTIARCH': 
'x86_64-linux-gnu', 'http_proxy': 'http://127.0...-O2 -fstack-protector-strong 
-Wformat -Werror=format-security', 'DEB_TARGET_ARCH': 'amd64', 
'PERL_USE_UNSAFE_INC': '1'}
key = 'PYTEST_CURRENT_TEST'
item = 
'tests/hazmat/primitives/test_padding.py::TestANSIX923::()::test_invalid_padding[128-\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00]
 (setup)'

    def __setitem__(self, key, item):
>       putenv(key, item)
E       TypeError: putenv() argument 2 must be string without null bytes, not 
str

/usr/lib/python2.7/os.py:473: TypeError
_ ERROR at teardown of TestANSIX923.test_invalid_padding[128-����������������] _

self = {'CPPFLAGS': '-Wdate-time -D_FORTIFY_SOURCE=2', 'DEB_BUILD_MULTIARCH': 
'x86_64-linux-gnu', 'http_proxy': 'http://127.0...-O2 -fstack-protector-strong 
-Wformat -Werror=format-security', 'DEB_TARGET_ARCH': 'amd64', 
'PERL_USE_UNSAFE_INC': '1'}
key = 'PYTEST_CURRENT_TEST'
item = 
'tests/hazmat/primitives/test_padding.py::TestANSIX923::()::test_invalid_padding[128-\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00]
 (teardown)'

    def __setitem__(self, key, item):
>       putenv(key, item)
E       TypeError: putenv() argument 2 must be string without null bytes, not 
str

/usr/lib/python2.7/os.py:473: TypeError
___ ERROR at setup of TestANSIX923.test_pad[128-1111111111-1111111111�����] ___

self = {'CPPFLAGS': '-Wdate-time -D_FORTIFY_SOURCE=2', 'DEB_BUILD_MULTIARCH': 
'x86_64-linux-gnu', 'http_proxy': 'http://127.0...-O2 -fstack-protector-strong 
-Wformat -Werror=format-security', 'DEB_TARGET_ARCH': 'amd64', 
'PERL_USE_UNSAFE_INC': '1'}
key = 'PYTEST_CURRENT_TEST'
item = 
'tests/hazmat/primitives/test_padding.py::TestANSIX923::()::test_pad[128-1111111111-1111111111\x00\x00\x00\x00\x00\x06]
 (setup)'

    def __setitem__(self, key, item):
>       putenv(key, item)
E       TypeError: putenv() argument 2 must be string without null bytes, not 
str

/usr/lib/python2.7/os.py:473: TypeError
_ ERROR at teardown of TestANSIX923.test_pad[128-1111111111-1111111111�����] __

self = {'CPPFLAGS': '-Wdate-time -D_FORTIFY_SOURCE=2', 'DEB_BUILD_MULTIARCH': 
'x86_64-linux-gnu', 'http_proxy': 'http://127.0...-O2 -fstack-protector-strong 
-Wformat -Werror=format-security', 'DEB_TARGET_ARCH': 'amd64', 
'PERL_USE_UNSAFE_INC': '1'}
key = 'PYTEST_CURRENT_TEST'
item = 
'tests/hazmat/primitives/test_padding.py::TestANSIX923::()::test_pad[128-1111111111-1111111111\x00\x00\x00\x00\x00\x06]
 (teardown)'

    def __setitem__(self, key, item):
>       putenv(key, item)
E       TypeError: putenv() argument 2 must be string without null bytes, not 
str

/usr/lib/python2.7/os.py:473: TypeError
 ERROR at setup of 
TestANSIX923.test_pad[128-111111111111111122222222222222-111111111111111122222222222222�]
 

self = {'CPPFLAGS': '-Wdate-time -D_FORTIFY_SOURCE=2', 'DEB_BUILD_MULTIARCH': 
'x86_64-linux-gnu', 'http_proxy': 'http://127.0...-O2 -fstack-protector-strong 
-Wformat -Werror=format-security', 'DEB_TARGET_ARCH': 'amd64', 
'PERL_USE_UNSAFE_INC': '1'}
key = 'PYTEST_CURRENT_TEST'
item = 
'tests/hazmat/primitives/test_padding.py::TestANSIX923::()::test_pad[128-111111111111111122222222222222-111111111111111122222222222222\x00\x02]
 (setup)'

    def __setitem__(self, key, item):
>       putenv(key, item)
E       TypeError: putenv() argument 2 must be string without null bytes, not 
str

/usr/lib/python2.7/os.py:473: TypeError
 ERROR at teardown of 
TestANSIX923.test_pad[128-111111111111111122222222222222-111111111111111122222222222222�]
 

self = {'CPPFLAGS': '-Wdate-time -D_FORTIFY_SOURCE=2', 'DEB_BUILD_MULTIARCH': 
'x86_64-linux-gnu', 'http_proxy': 'http://127.0...-O2 -fstack-protector-strong 
-Wformat -Werror=format-security', 'DEB_TARGET_ARCH': 'amd64', 
'PERL_USE_UNSAFE_INC': '1'}
key = 'PYTEST_CURRENT_TEST'
item = 
'tests/hazmat/primitives/test_padding.py::TestANSIX923::()::test_pad[128-111111111111111122222222222222-111111111111111122222222222222\x00\x02]
 (teardown)'

    def __setitem__(self, key, item):
>       putenv(key, item)
E       TypeError: putenv() argument 2 must be string without null bytes, not 
str

/usr/lib/python2.7/os.py:473: TypeError
 ERROR at setup of 
TestANSIX923.test_pad[128-1111111111111111-1111111111111111���������������] 

self = {'CPPFLAGS': '-Wdate-time -D_FORTIFY_SOURCE=2', 'DEB_BUILD_MULTIARCH': 
'x86_64-linux-gnu', 'http_proxy': 'http://127.0...-O2 -fstack-protector-strong 
-Wformat -Werror=format-security', 'DEB_TARGET_ARCH': 'amd64', 
'PERL_USE_UNSAFE_INC': '1'}
key = 'PYTEST_CURRENT_TEST'
item = 
'tests/hazmat/primitives/test_padding.py::TestANSIX923::()::test_pad[128-1111111111111111-1111111111111111\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x10]
 (setup)'

    def __setitem__(self, key, item):
>       putenv(key, item)
E       TypeError: putenv() argument 2 must be string without null bytes, not 
str

/usr/lib/python2.7/os.py:473: TypeError
 ERROR at teardown of 
TestANSIX923.test_pad[128-1111111111111111-1111111111111111���������������] 

self = {'CPPFLAGS': '-Wdate-time -D_FORTIFY_SOURCE=2', 'DEB_BUILD_MULTIARCH': 
'x86_64-linux-gnu', 'http_proxy': 'http://127.0...-O2 -fstack-protector-strong 
-Wformat -Werror=format-security', 'DEB_TARGET_ARCH': 'amd64', 
'PERL_USE_UNSAFE_INC': '1'}
key = 'PYTEST_CURRENT_TEST'
item = 
'tests/hazmat/primitives/test_padding.py::TestANSIX923::()::test_pad[128-1111111111111111-1111111111111111\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x10]
 (teardown)'

    def __setitem__(self, key, item):
>       putenv(key, item)
E       TypeError: putenv() argument 2 must be string without null bytes, not 
str

/usr/lib/python2.7/os.py:473: TypeError
 ERROR at setup of 
TestANSIX923.test_pad[128-11111111111111111-11111111111111111��������������] 

self = {'CPPFLAGS': '-Wdate-time -D_FORTIFY_SOURCE=2', 'DEB_BUILD_MULTIARCH': 
'x86_64-linux-gnu', 'http_proxy': 'http://127.0...-O2 -fstack-protector-strong 
-Wformat -Werror=format-security', 'DEB_TARGET_ARCH': 'amd64', 
'PERL_USE_UNSAFE_INC': '1'}
key = 'PYTEST_CURRENT_TEST'
item = 
'tests/hazmat/primitives/test_padding.py::TestANSIX923::()::test_pad[128-11111111111111111-11111111111111111\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x0f]
 (setup)'

    def __setitem__(self, key, item):
>       putenv(key, item)
E       TypeError: putenv() argument 2 must be string without null bytes, not 
str

/usr/lib/python2.7/os.py:473: TypeError
 ERROR at teardown of 
TestANSIX923.test_pad[128-11111111111111111-11111111111111111��������������] 

self = {'CPPFLAGS': '-Wdate-time -D_FORTIFY_SOURCE=2', 'DEB_BUILD_MULTIARCH': 
'x86_64-linux-gnu', 'http_proxy': 'http://127.0...-O2 -fstack-protector-strong 
-Wformat -Werror=format-security', 'DEB_TARGET_ARCH': 'amd64', 
'PERL_USE_UNSAFE_INC': '1'}
key = 'PYTEST_CURRENT_TEST'
item = 
'tests/hazmat/primitives/test_padding.py::TestANSIX923::()::test_pad[128-11111111111111111-11111111111111111\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x0f]
 (teardown)'

    def __setitem__(self, key, item):
>       putenv(key, item)
E       TypeError: putenv() argument 2 must be string without null bytes, not 
str

/usr/lib/python2.7/os.py:473: TypeError
__ ERROR at setup of TestANSIX923.test_unpad[128-1111111111-1111111111�����] __

self = {'CPPFLAGS': '-Wdate-time -D_FORTIFY_SOURCE=2', 'DEB_BUILD_MULTIARCH': 
'x86_64-linux-gnu', 'http_proxy': 'http://127.0...-O2 -fstack-protector-strong 
-Wformat -Werror=format-security', 'DEB_TARGET_ARCH': 'amd64', 
'PERL_USE_UNSAFE_INC': '1'}
key = 'PYTEST_CURRENT_TEST'
item = 
'tests/hazmat/primitives/test_padding.py::TestANSIX923::()::test_unpad[128-1111111111-1111111111\x00\x00\x00\x00\x00\x06]
 (setup)'

    def __setitem__(self, key, item):
>       putenv(key, item)
E       TypeError: putenv() argument 2 must be string without null bytes, not 
str

/usr/lib/python2.7/os.py:473: TypeError
 ERROR at teardown of TestANSIX923.test_unpad[128-1111111111-1111111111�����] _

self = {'CPPFLAGS': '-Wdate-time -D_FORTIFY_SOURCE=2', 'DEB_BUILD_MULTIARCH': 
'x86_64-linux-gnu', 'http_proxy': 'http://127.0...-O2 -fstack-protector-strong 
-Wformat -Werror=format-security', 'DEB_TARGET_ARCH': 'amd64', 
'PERL_USE_UNSAFE_INC': '1'}
key = 'PYTEST_CURRENT_TEST'
item = 
'tests/hazmat/primitives/test_padding.py::TestANSIX923::()::test_unpad[128-1111111111-1111111111\x00\x00\x00\x00\x00\x06]
 (teardown)'

    def __setitem__(self, key, item):
>       putenv(key, item)
E       TypeError: putenv() argument 2 must be string without null bytes, not 
str

/usr/lib/python2.7/os.py:473: TypeError
 ERROR at setup of 
TestANSIX923.test_unpad[128-111111111111111122222222222222-111111111111111122222222222222�]
 

self = {'CPPFLAGS': '-Wdate-time -D_FORTIFY_SOURCE=2', 'DEB_BUILD_MULTIARCH': 
'x86_64-linux-gnu', 'http_proxy': 'http://127.0...-O2 -fstack-protector-strong 
-Wformat -Werror=format-security', 'DEB_TARGET_ARCH': 'amd64', 
'PERL_USE_UNSAFE_INC': '1'}
key = 'PYTEST_CURRENT_TEST'
item = 
'tests/hazmat/primitives/test_padding.py::TestANSIX923::()::test_unpad[128-111111111111111122222222222222-111111111111111122222222222222\x00\x02]
 (setup)'

    def __setitem__(self, key, item):
>       putenv(key, item)
E       TypeError: putenv() argument 2 must be string without null bytes, not 
str

/usr/lib/python2.7/os.py:473: TypeError
 ERROR at teardown of 
TestANSIX923.test_unpad[128-111111111111111122222222222222-111111111111111122222222222222�]
 

self = {'CPPFLAGS': '-Wdate-time -D_FORTIFY_SOURCE=2', 'DEB_BUILD_MULTIARCH': 
'x86_64-linux-gnu', 'http_proxy': 'http://127.0...-O2 -fstack-protector-strong 
-Wformat -Werror=format-security', 'DEB_TARGET_ARCH': 'amd64', 
'PERL_USE_UNSAFE_INC': '1'}
key = 'PYTEST_CURRENT_TEST'
item = 
'tests/hazmat/primitives/test_padding.py::TestANSIX923::()::test_unpad[128-111111111111111122222222222222-111111111111111122222222222222\x00\x02]
 (teardown)'

    def __setitem__(self, key, item):
>       putenv(key, item)
E       TypeError: putenv() argument 2 must be string without null bytes, not 
str

/usr/lib/python2.7/os.py:473: TypeError
============ 82334 passed, 4172 skipped, 16 error in 352.76 seconds ============
E: pybuild pybuild:283: test: plugin distutils failed with: exit code=1: cd 
/build/1st/python-cryptography-1.9/.pybuild/pythonX.Y_2.7/build; python2.7 -m 
pytest {dir}/tests/
dh_auto_test: pybuild --test -i python{version} -p 2.7 returned exit code 13
debian/rules:18: recipe for target 'build' failed
make: *** [build] Error 25

Reply via email to