Your message dated Thu, 30 Jan 2020 20:36:35 +0000 with message-id <[email protected]> and subject line Bug#945987: fixed in boost1.67 1.67.0-13+deb10u1 has caused the Debian Bug report #945987, regarding libboost-numpy1.67.0: python3 modules built with libboost-numpy fail to initialize to be marked as done.
This means that you claim that the problem has been dealt with. If this is not the case it is now your responsibility to reopen the Bug report if necessary, and/or fix the problem forthwith. (NB: If you are a system administrator and have no idea what this message is talking about, this may indicate a serious mail system misconfiguration somewhere. Please contact [email protected] immediately.) -- 945987: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=945987 Debian Bug Tracking System Contact [email protected] with problems
--- Begin Message ---Package: libboost-numpy1.67.0 Version: 1.67.0-13 Severity: important Tags: upstream Dear Maintainer, Python modules built with libboost-numpy cannot be imported in python3, because they fail to initialize. The following module can be used to reproduce the behaviour $ cat segfault.cpp #include <boost/python.hpp> #include <boost/python/numpy.hpp> BOOST_PYTHON_MODULE(segfault) { Py_Initialize(); boost::python::numpy::initialize(); } I compiled this and linked against python3 $ g++ -fPIC -shared -I/usr/include/python3.7m -lboost_numpy37 -lboost_python37 segfault.cpp -o segfault.cpython-37m- x86_64-linux-gnu.so The result of importing this module is $ python3 -c "import segfault" RuntimeError: FATAL: module compiled as little endian, but detected different endianness at runtime ImportError: numpy.core._multiarray_umath failed to import Traceback (most recent call last): File "<string>", line 1, in <module> SystemError: initialization of segfault raised unreported exception The issue only affects the python3 version, python2 works as expected. This issue was repored upstream here: https://github.com/boostorg/python/issues/214 There is already a fix applied upstream: https://github.com/boostorg/python/pull/218/commits/0fce0e589353d772ceda4d493b147138406b22fd It is included in boost release 1.68, but would need a backport for buster. Would it be possible to include the patch into Debian stable? Thank you in advance Moritz -- System Information: Debian Release: 10.2 APT prefers stable APT policy: (990, 'stable'), (500, 'stable-updates'), (500, 'unstable') Architecture: amd64 (x86_64) Kernel: Linux 5.3.12-200.fc30.x86_64 (SMP w/8 CPU cores) Locale: LANG=C, LC_CTYPE=C.UTF-8 (charmap=UTF-8), LANGUAGE=C (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Init: unable to detect Versions of packages libboost-numpy1.67.0 depends on: ii libboost-python1.67.0 1.67.0-13 ii libc6 2.28-10 ii libgcc1 1:8.3.0-6 ii libstdc++6 8.3.0-6 libboost-numpy1.67.0 recommends no packages. Versions of packages libboost-numpy1.67.0 suggests: ii python 2.7.16-1 ii python3 3.7.3-1
--- End Message ---
--- Begin Message ---Source: boost1.67 Source-Version: 1.67.0-13+deb10u1 We believe that the bug you reported is fixed in the latest version of boost1.67, which is due to be installed in the Debian FTP archive. A summary of the changes between this version and the previous one is attached. Thank you for reporting the bug, which will now be closed. If you have further comments please address them to [email protected], and the maintainer will reopen the bug report if appropriate. Debian distribution maintenance software pp. Adrian Bunk <[email protected]> (supplier of updated boost1.67 package) (This message was generated automatically at their request; if you believe that there is a problem with it please contact the archive administrators by mailing [email protected]) -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA512 Format: 1.8 Date: Sun, 26 Jan 2020 21:20:04 +0200 Source: boost1.67 Architecture: source Version: 1.67.0-13+deb10u1 Distribution: buster Urgency: medium Maintainer: Debian Boost Team <[email protected]> Changed-By: Adrian Bunk <[email protected]> Closes: 945987 Changes: boost1.67 (1.67.0-13+deb10u1) buster; urgency=medium . * Non-maintainer upload. * Patch undefined behaviour leading to crashing libboost-numpy (closes: #945987). Checksums-Sha1: efc88b51c37458add8941f5a8cb7398f95d753e8 8402 boost1.67_1.67.0-13+deb10u1.dsc f3d124394ab32b0743a9218857def463fffe1d9c 351404 boost1.67_1.67.0-13+deb10u1.debian.tar.xz Checksums-Sha256: 3a7ac414c257170befd3ca714d8f26ae9bc2a6adf10bdbe400800ec723e6c5bb 8402 boost1.67_1.67.0-13+deb10u1.dsc 48b68b700f8f570c5db7c8ca13dce5c7c986bdc418a7d6ec1175239e11e963b2 351404 boost1.67_1.67.0-13+deb10u1.debian.tar.xz Files: 37f4c650156f24ecc06e6b7d82f66cc0 8402 libs optional boost1.67_1.67.0-13+deb10u1.dsc fda7afb097f4b5dbc344ae1f059ed694 351404 libs optional boost1.67_1.67.0-13+deb10u1.debian.tar.xz -----BEGIN PGP SIGNATURE----- iQIzBAEBCgAdFiEEOvp1f6xuoR0v9F3wiNJCh6LYmLEFAl4t6QkACgkQiNJCh6LY mLES+w//Saee2dCAiVwKnGaUs7hCgMFOw5sZOGp5PUjJm2PnZyDcdZx06J480u72 P5NLnzvC1bzk+oxrQ5IDkBeWd0eE6ycgZXVxj9p3nu6z9Bc0Mi29G+IwPHdIlu3m Dw4fS9hE1NzJBqo4FJ+F4uwKDyH7av5CrJnQY5JhDyHrEovpYcBejCJMpflvCos2 crBByS9CK6FlNCXpcv+K85drvlfFZcfdTC4wX6xX11V1Kxdi0iarhKeGEH5kDQA9 lkqUOjXPkYrK4sY+z8+YirXMDh5/o4O7zhGANesj6ZWR9a30WhxiHMP4SJ1AGP46 UfhHsttY5Fjwj3Mv4iPTF3UCCzntJpiB1KQ7qUopo0BWD46na938+LrrMdNW6Kbc nD5A66sfm2DQwEdVjSto62eYm5UVCoLxz/T8ptrWdiPdkhoOoJeRgbUV7np3DzKa eMFT8qKiE11FMNLFsTnGLjYjJauovzstisuQ84s9EAJjexFnSwUp6OHJNXqt0Rf2 cvK+YyI7xe4MwW4tNakJw+MHIGG3DdPv9OqyfGynMQcNACrAqT/QWMUCFWZN6Tjs ee2+qfnP3EMKB09+kBHhA45/msf+eWEA1XXoM5H9YnjgUSRi9x8J7Qqft3GV4mBf J1MNGHpIBx9/fpEBho2WpkUgI7HQHbpessq9kprwpDnn9sYyTac= =LYaj -----END PGP SIGNATURE-----
--- End Message ---

