[Python-modules-team] Bug#871199: pysodium: FTBFS: dh_auto_test: pybuild --test -i python{version} -p 2.7 returned exit code 13

Lucas Nussbaum lucas at debian.org
Sun Aug 6 22:55:38 UTC 2017


Source: pysodium
Version: 0.6.11-1
Severity: serious
Tags: buster sid
User: debian-qa at lists.debian.org
Usertags: qa-ftbfs-20170805 qa-ftbfs
Justification: FTBFS on amd64

Hi,

During a rebuild of all packages in sid, your package failed to build on
amd64.

Relevant part (hopefully):
>  debian/rules build
> dh build --with python2,python3 --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.6 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 /<<PKGBUILDDIR>>/.pybuild/pythonX.Y_2.7/build/test
> copying test/__init__.py -> /<<PKGBUILDDIR>>/.pybuild/pythonX.Y_2.7/build/test
> copying test/test_pysodium.py -> /<<PKGBUILDDIR>>/.pybuild/pythonX.Y_2.7/build/test
> creating /<<PKGBUILDDIR>>/.pybuild/pythonX.Y_2.7/build/pysodium
> copying pysodium/__init__.py -> /<<PKGBUILDDIR>>/.pybuild/pythonX.Y_2.7/build/pysodium
> I: pybuild base:184: /usr/bin/python3.6 setup.py build 
> running build
> running build_py
> creating /<<PKGBUILDDIR>>/.pybuild/pythonX.Y_3.6/build/test
> copying test/__init__.py -> /<<PKGBUILDDIR>>/.pybuild/pythonX.Y_3.6/build/test
> copying test/test_pysodium.py -> /<<PKGBUILDDIR>>/.pybuild/pythonX.Y_3.6/build/test
> creating /<<PKGBUILDDIR>>/.pybuild/pythonX.Y_3.6/build/pysodium
> copying pysodium/__init__.py -> /<<PKGBUILDDIR>>/.pybuild/pythonX.Y_3.6/build/pysodium
> I: pybuild base:184: /usr/bin/python3 setup.py build 
> running build
> running build_py
> creating /<<PKGBUILDDIR>>/.pybuild/pythonX.Y_3.5/build/test
> copying test/__init__.py -> /<<PKGBUILDDIR>>/.pybuild/pythonX.Y_3.5/build/test
> copying test/test_pysodium.py -> /<<PKGBUILDDIR>>/.pybuild/pythonX.Y_3.5/build/test
> creating /<<PKGBUILDDIR>>/.pybuild/pythonX.Y_3.5/build/pysodium
> copying pysodium/__init__.py -> /<<PKGBUILDDIR>>/.pybuild/pythonX.Y_3.5/build/pysodium
>    dh_auto_test -O--buildsystem=pybuild
> I: pybuild base:184: cd /<<PKGBUILDDIR>>/.pybuild/pythonX.Y_2.7/build; python2.7 -m unittest discover -v 
> test_AsymCrypto_With_Seeded_Keypair (test.test_pysodium.TestPySodium) ... ok
> test_aead_chacha20poly1305 (test.test_pysodium.TestPySodium) ... ok
> test_aead_chacha20poly1305_detached (test.test_pysodium.TestPySodium) ... ok
> test_aead_chacha20poly1305_ietf (test.test_pysodium.TestPySodium) ... ok
> test_crypto_auth (test.test_pysodium.TestPySodium) ... ok
> test_crypto_blake2b (test.test_pysodium.TestPySodium) ... ok
> test_crypto_box_open (test.test_pysodium.TestPySodium) ... ok
> test_crypto_box_open_afternm (test.test_pysodium.TestPySodium) ... ok
> test_crypto_box_open_detached (test.test_pysodium.TestPySodium) ... ok
> test_crypto_box_pk_from_sk (test.test_pysodium.TestPySodium) ... ok
> test_crypto_box_seal (test.test_pysodium.TestPySodium) ... ok
> test_crypto_generichash (test.test_pysodium.TestPySodium) ... *** Error in `python2.7': double free or corruption (!prev): 0x0000561176470750 ***
> ======= Backtrace: =========
> /lib/x86_64-linux-gnu/libc.so.6(+0x70bfb)[0x7f688c0c1bfb]
> /lib/x86_64-linux-gnu/libc.so.6(+0x76fc6)[0x7f688c0c7fc6]
> /lib/x86_64-linux-gnu/libc.so.6(+0x7780e)[0x7f688c0c880e]
> /usr/lib/python2.7/lib-dynload/_ctypes.x86_64-linux-gnu.so(+0x11a03)[0x7f688bb7ea03]
> python2.7(+0x138243)[0x5611757bc243]
> python2.7(PyEval_EvalFrameEx+0x60c1)[0x561175789671]
> python2.7(PyEval_EvalFrameEx+0x5e5f)[0x56117578940f]
> python2.7(PyEval_EvalCodeEx+0x255)[0x561175781da5]
> python2.7(+0x11a5c8)[0x56117579e5c8]
> python2.7(PyObject_Call+0x43)[0x561175770163]
> python2.7(PyEval_EvalFrameEx+0x2eeb)[0x56117578649b]
> python2.7(PyEval_EvalCodeEx+0x255)[0x561175781da5]
> python2.7(+0x11a40e)[0x56117579e40e]
> python2.7(PyObject_Call+0x43)[0x561175770163]
> python2.7(+0x12fd7e)[0x5611757b3d7e]
> python2.7(PyObject_Call+0x43)[0x561175770163]
> python2.7(+0x19071b)[0x56117581471b]
> python2.7(PyObject_Call+0x43)[0x561175770163]
> python2.7(PyEval_EvalFrameEx+0x6072)[0x561175789622]
> python2.7(PyEval_EvalCodeEx+0x255)[0x561175781da5]
> python2.7(+0x11a5c8)[0x56117579e5c8]
> python2.7(PyObject_Call+0x43)[0x561175770163]
> python2.7(PyEval_EvalFrameEx+0x2eeb)[0x56117578649b]
> python2.7(PyEval_EvalCodeEx+0x255)[0x561175781da5]
> python2.7(+0x11a40e)[0x56117579e40e]
> python2.7(PyObject_Call+0x43)[0x561175770163]
> python2.7(+0x12fd7e)[0x5611757b3d7e]
> python2.7(PyObject_Call+0x43)[0x561175770163]
> python2.7(+0x19071b)[0x56117581471b]
> python2.7(PyObject_Call+0x43)[0x561175770163]
> python2.7(PyEval_EvalFrameEx+0x6072)[0x561175789622]
> python2.7(PyEval_EvalCodeEx+0x255)[0x561175781da5]
> python2.7(+0x11a5c8)[0x56117579e5c8]
> python2.7(PyObject_Call+0x43)[0x561175770163]
> python2.7(PyEval_EvalFrameEx+0x2eeb)[0x56117578649b]
> python2.7(PyEval_EvalCodeEx+0x255)[0x561175781da5]
> python2.7(+0x11a40e)[0x56117579e40e]
> python2.7(PyObject_Call+0x43)[0x561175770163]
> python2.7(+0x12fd7e)[0x5611757b3d7e]
> python2.7(PyObject_Call+0x43)[0x561175770163]
> python2.7(+0x19071b)[0x56117581471b]
> python2.7(PyObject_Call+0x43)[0x561175770163]
> python2.7(PyEval_EvalFrameEx+0x6072)[0x561175789622]
> python2.7(PyEval_EvalCodeEx+0x255)[0x561175781da5]
> python2.7(+0x11a5c8)[0x56117579e5c8]
> python2.7(PyObject_Call+0x43)[0x561175770163]
> python2.7(PyEval_EvalFrameEx+0x2eeb)[0x56117578649b]
> python2.7(PyEval_EvalCodeEx+0x255)[0x561175781da5]
> python2.7(+0x11a40e)[0x56117579e40e]
> python2.7(PyObject_Call+0x43)[0x561175770163]
> python2.7(+0x12fd7e)[0x5611757b3d7e]
> python2.7(PyObject_Call+0x43)[0x561175770163]
> python2.7(+0x19071b)[0x56117581471b]
> python2.7(PyObject_Call+0x43)[0x561175770163]
> python2.7(PyEval_EvalFrameEx+0x6072)[0x561175789622]
> python2.7(PyEval_EvalFrameEx+0x5e5f)[0x56117578940f]
> python2.7(PyEval_EvalFrameEx+0x5e5f)[0x56117578940f]
> python2.7(PyEval_EvalCodeEx+0x255)[0x561175781da5]
> python2.7(+0x11a5c8)[0x56117579e5c8]
> python2.7(PyObject_Call+0x43)[0x561175770163]
> python2.7(+0x12fd7e)[0x5611757b3d7e]
> python2.7(PyObject_Call+0x43)[0x561175770163]
> python2.7(+0x12fac7)[0x5611757b3ac7]
> ======= Memory map: ========
> 561175684000-56117599f000 r-xp 00000000 ca:02 10886149                   /usr/bin/python2.7
> 561175b9f000-561175ba1000 r--p 0031b000 ca:02 10886149                   /usr/bin/python2.7
> 561175ba1000-561175c18000 rw-p 0031d000 ca:02 10886149                   /usr/bin/python2.7
> 561175c18000-561175c3b000 rw-p 00000000 00:00 0 
> 561176363000-561176536000 rw-p 00000000 00:00 0                          [heap]
> 7f6884000000-7f6884021000 rw-p 00000000 00:00 0 
> 7f6884021000-7f6888000000 ---p 00000000 00:00 0 
> 7f688abd8000-7f688abee000 r-xp 00000000 ca:02 11013451                   /lib/x86_64-linux-gnu/libgcc_s.so.1
> 7f688abee000-7f688aded000 ---p 00016000 ca:02 11013451                   /lib/x86_64-linux-gnu/libgcc_s.so.1
> 7f688aded000-7f688adee000 r--p 00015000 ca:02 11013451                   /lib/x86_64-linux-gnu/libgcc_s.so.1
> 7f688adee000-7f688adef000 rw-p 00016000 ca:02 11013451                   /lib/x86_64-linux-gnu/libgcc_s.so.1
> 7f688adef000-7f688ae5c000 r-xp 00000000 ca:02 10887023                   /usr/lib/x86_64-linux-gnu/libsodium.so.18.3.0
> 7f688ae5c000-7f688b05c000 ---p 0006d000 ca:02 10887023                   /usr/lib/x86_64-linux-gnu/libsodium.so.18.3.0
> 7f688b05c000-7f688b05d000 r--p 0006d000 ca:02 10887023                   /usr/lib/x86_64-linux-gnu/libsodium.so.18.3.0
> 7f688b05d000-7f688b05e000 rw-p 0006e000 ca:02 10887023                   /usr/lib/x86_64-linux-gnu/libsodium.so.18.3.0
> 7f688b05e000-7f688b2c3000 r-xp 00000000 ca:02 10886186                   /usr/lib/x86_64-linux-gnu/libcrypto.so.1.1
> 7f688b2c3000-7f688b4c2000 ---p 00265000 ca:02 10886186                   /usr/lib/x86_64-linux-gnu/libcrypto.so.1.1
> 7f688b4c2000-7f688b4e0000 r--p 00264000 ca:02 10886186                   /usr/lib/x86_64-linux-gnu/libcrypto.so.1.1
> 7f688b4e0000-7f688b4ee000 rw-p 00282000 ca:02 10886186                   /usr/lib/x86_64-linux-gnu/libcrypto.so.1.1
> 7f688b4ee000-7f688b4f1000 rw-p 00000000 00:00 0 
> 7f688b4f1000-7f688b553000 r-xp 00000000 ca:02 10886187                   /usr/lib/x86_64-linux-gnu/libssl.so.1.1
> 7f688b553000-7f688b753000 ---p 00062000 ca:02 10886187                   /usr/lib/x86_64-linux-gnu/libssl.so.1.1
> 7f688b753000-7f688b757000 r--p 00062000 ca:02 10886187                   /usr/lib/x86_64-linux-gnu/libssl.so.1.1
> 7f688b757000-7f688b75d000 rw-p 00066000 ca:02 10886187                   /usr/lib/x86_64-linux-gnu/libssl.so.1.1
> 7f688b75d000-7f688b762000 r-xp 00000000 ca:02 11014710                   /usr/lib/python2.7/lib-dynload/_hashlib.x86_64-linux-gnu.so
> 7f688b762000-7f688b962000 ---p 00005000 ca:02 11014710                   /usr/lib/python2.7/lib-dynload/_hashlib.x86_64-linux-gnu.so
> 7f688b962000-7f688b963000 r--p 00005000 ca:02 11014710                   /usr/lib/python2.7/lib-dynload/_hashlib.x86_64-linux-gnu.so
> 7f688b963000-7f688b964000 rw-p 00006000 ca:02 11014710                   /usr/lib/python2.7/lib-dynload/_hashlib.x86_64-linux-gnu.so
> 7f688b964000-7f688b96b000 r-xp 00000000 ca:02 10879219                   /usr/lib/x86_64-linux-gnu/libffi.so.6.0.4
> 7f688b96b000-7f688bb6b000 ---p 00007000 ca:02 10879219                   /usr/lib/x86_64-linux-gnu/libffi.so.6.0.4
> 7f688bb6b000-7f688bb6c000 r--p 00007000 ca:02 10879219                   /usr/lib/x86_64-linux-gnu/libffi.so.6.0.4
> 7f688bb6c000-7f688bb6d000 rw-p 00008000 ca:02 10879219                   /usr/lib/x86_64-linux-gnu/libffi.so.6.0.4
> 7f688bb6d000-7f688bb8c000 r-xp 00000000 ca:02 11014705                   /usr/lib/python2.7/lib-dynload/_ctypes.x86_64-linux-gnu.so
> 7f688bb8c000-7f688bd8b000 ---p 0001f000 ca:02 11014705                   /usr/lib/python2.7/lib-dynload/_ctypes.x86_64-linux-gnu.so
> 7f688bd8b000-7f688bd8c000 r--p 0001e000 ca:02 11014705                   /usr/lib/python2.7/lib-dynload/_ctypes.x86_64-linux-gnu.so
> 7f688bd8c000-7f688bd90000 rw-p 0001f000 ca:02 11014705                   /usr/lib/python2.7/lib-dynload/_ctypes.x86_64-linux-gnu.so
> 7f688bd90000-7f688bdd0000 rw-p 00000000 00:00 0 
> 7f688be50000-7f688be90000 rw-p 00000000 00:00 0 
> 7f688bed0000-7f688c051000 rw-p 00000000 00:00 0 
> 7f688c051000-7f688c1e4000 r-xp 00000000 ca:02 11013403                   /lib/x86_64-linux-gnu/libc-2.24.so
> 7f688c1e4000-7f688c3e4000 ---p 00193000 ca:02 11013403                   /lib/x86_64-linux-gnu/libc-2.24.so
> 7f688c3e4000-7f688c3e8000 r--p 00193000 ca:02 11013403                   /lib/x86_64-linux-gnu/libc-2.24.so
> 7f688c3e8000-7f688c3ea000 rw-p 00197000 ca:02 11013403                   /lib/x86_64-linux-gnu/libc-2.24.so
> 7f688c3ea000-7f688c3ee000 rw-p 00000000 00:00 0 
> 7f688c3ee000-7f688c4f1000 r-xp 00000000 ca:02 11013454                   /lib/x86_64-linux-gnu/libm-2.24.so
> 7f688c4f1000-7f688c6f0000 ---p 00103000 ca:02 11013454                   /lib/x86_64-linux-gnu/libm-2.24.so
> 7f688c6f0000-7f688c6f1000 r--p 00102000 ca:02 11013454                   /lib/x86_64-linux-gnu/libm-2.24.so
> 7f688c6f1000-7f688c6f2000 rw-p 00103000 ca:02 11013454                   /lib/x86_64-linux-gnu/libm-2.24.so
> 7f688c6f2000-7f688c70b000 r-xp 00000000 ca:02 11013414                   /lib/x86_64-linux-gnu/libz.so.1.2.8
> 7f688c70b000-7f688c90a000 ---p 00019000 ca:02 11013414                   /lib/x86_64-linux-gnu/libz.so.1.2.8
> 7f688c90a000-7f688c90b000 r--p 00018000 ca:02 11013414                   /lib/x86_64-linux-gnu/libz.so.1.2.8
> 7f688c90b000-7f688c90c000 rw-p 00019000 ca:02 11013414                   /lib/x86_64-linux-gnu/libz.so.1.2.8
> 7f688c90c000-7f688c90e000 r-xp 00000000 ca:02 11013532                   /lib/x86_64-linux-gnu/libutil-2.24.so
> 7f688c90e000-7f688cb0d000 ---p 00002000 ca:02 11013532                   /lib/x86_64-linux-gnu/libutil-2.24.so
> 7f688cb0d000-7f688cb0e000 r--p 00001000 ca:02 11013532                   /lib/x86_64-linux-gnu/libutil-2.24.so
> 7f688cb0e000-7f688cb0f000 rw-p 00002000 ca:02 11013532                   /lib/x86_64-linux-gnu/libutil-2.24.so
> 7f688cb0f000-7f688cb11000 r-xp 00000000 ca:02 11013439                   /lib/x86_64-linux-gnu/libdl-2.24.so
> 7f688cb11000-7f688cd11000 ---p 00002000 ca:02 11013439                   /lib/x86_64-linux-gnu/libdl-2.24.so
> 7f688cd11000-7f688cd12000 r--p 00002000 ca:02 11013439                   /lib/x86_64-linux-gnu/libdl-2.24.so
> 7f688cd12000-7f688cd13000 rw-p 00003000 ca:02 11013439                   /lib/x86_64-linux-gnu/libdl-2.24.so
> 7f688cd13000-7f688cd2b000 r-xp 00000000 ca:02 11013431                   /lib/x86_64-linux-gnu/libpthread-2.24.so
> 7f688cd2b000-7f688cf2a000 ---p 00018000 ca:02 11013431                   /lib/x86_64-linux-gnu/libpthread-2.24.so
> 7f688cf2a000-7f688cf2b000 r--p 00017000 ca:02 11013431                   /lib/x86_64-linux-gnu/libpthread-2.24.so
> 7f688cf2b000-7f688cf2c000 rw-p 00018000 ca:02 11013431                   /lib/x86_64-linux-gnu/libpthread-2.24.so
> 7f688cf2c000-7f688cf30000 rw-p 00000000 00:00 0 
> 7f688cf30000-7f688cf53000 r-xp 00000000 ca:02 11013411                   /lib/x86_64-linux-gnu/ld-2.24.so
> 7f688cf57000-7f688d057000 rw-p 00000000 00:00 0 
> 7f688d088000-7f688d14c000 rw-p 00000000 00:00 0 
> 7f688d14e000-7f688d14f000 rw-p 00000000 00:00 0 
> 7f688d14f000-7f688d150000 rwxp 00000000 00:00 0 
> 7f688d150000-7f688d153000 rw-p 00000000 00:00 0 
> 7f688d153000-7f688d154000 r--p 00023000 ca:02 11013411                   /lib/x86_64-linux-gnu/ld-2.24.so
> 7f688d154000-7f688d155000 rw-p 00024000 ca:02 11013411                   /lib/x86_64-linux-gnu/ld-2.24.so
> 7f688d155000-7f688d156000 rw-p 00000000 00:00 0 
> 7ffec87de000-7ffec87ff000 rw-p 00000000 00:00 0                          [stack]
> 7ffec8913000-7ffec8915000 r--p 00000000 00:00 0                          [vvar]
> 7ffec8915000-7ffec8917000 r-xp 00000000 00:00 0                          [vdso]
> ffffffffff600000-ffffffffff601000 r-xp 00000000 00:00 0                  [vsyscall]
> Aborted
> E: pybuild pybuild:283: test: plugin distutils failed with: exit code=134: cd /<<PKGBUILDDIR>>/.pybuild/pythonX.Y_2.7/build; python2.7 -m unittest discover -v 
> dh_auto_test: pybuild --test -i python{version} -p 2.7 returned exit code 13

The full build log is available from:
   http://aws-logs.debian.net/2017/08/05/pysodium_0.6.11-1_unstable.log

A list of current common problems and possible solutions is available at
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!

About the archive rebuild: The rebuild was done on EC2 VM instances from
Amazon Web Services, using a clean, minimal and up-to-date chroot. Every
failed build was retried once to eliminate random failures.



More information about the Python-modules-team mailing list