Source: python-cryptography
Version: 2.3-1
Severity: serious
Tags: ftbfs

python-cryptography fails to build from source in unstable. The same
version builds fine in testing. This indicates that a dependency (e.g.
openssl) is the cause.

https://tests.reproducible-builds.org/debian/rbuild/unstable/amd64/python-cryptography_2.3-1.rbuild.log.gz

| =================================== FAILURES 
===================================
| ________________ TestOpenSSL.test_openssl_assert_error_on_stack 
________________
| 
| self = <test_openssl.TestOpenSSL object at 0x7fc9a006e3d0>
| 
|     def test_openssl_assert_error_on_stack(self):
|         b = Binding()
|         b.lib.ERR_put_error(
|             b.lib.ERR_LIB_EVP,
|             b.lib.EVP_F_EVP_ENCRYPTFINAL_EX,
|             b.lib.EVP_R_DATA_NOT_MULTIPLE_OF_BLOCK_LENGTH,
|             b"",
|             -1
|         )
|         with pytest.raises(InternalError) as exc_info:
|             _openssl_assert(b.lib, False)
| 
|         error = exc_info.value.err_code[0]
| >       assert error.code == 101183626
| E       AssertionError: assert 337146240L == 101183626
| E        +  where 337146240L = _OpenSSLErrorWithText(code=337146240L, lib=20, 
func=391, reason=384, reason_text='error:14187180:SSL 
routines:ssl_do_config:bad value').code
| 
| ../../../tests/hazmat/bindings/test_openssl.py:98: AssertionError
| =============================== warnings summary 
===============================
...
| ===== 1 failed, 96853 passed, 4186 skipped, 25 warnings in 443.73 seconds 
======
| E: pybuild pybuild:338: test: plugin distutils failed with: exit code=1: cd 
/build/1st/python-cryptography-2.3/.pybuild/cpython2_2.7_cryptography/build; 
python2.7 -m pytest {dir}/tests/
| dh_auto_test: pybuild --test -i python{version} -p 2.7 returned exit code 13
| make: *** [debian/rules:17: build] Error 25
| dpkg-buildpackage: error: debian/rules build subprocess returned exit status 2

Helmut

Reply via email to