Your message dated Tue, 25 Mar 2025 14:37:33 +0000
with message-id <e1tx5pj-003dvr...@fasolo.debian.org>
and subject line Bug#1099671: fixed in boost1.83 1.83.0-4.2
has caused the Debian Bug report #1099671,
regarding libboost-numpy1.83.0: the numpy2 support is not complete
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 ow...@bugs.debian.org
immediately.)


-- 
1099671: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1099671
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: libboost-numpy1.83.0
Version: 1.83.0-4.1+b1
Severity: important
X-Debbugs-Cc: pi...@debian.org

Dear Maintainer,

I am trying to fix the autopkgtest of cctbx but I end up with a segfault here

0  PyArray_GetCastingImpl (from=0x9fb020 <PyType_Type>, to=to@entry=0xe4dae0) 
at ../numpy/_core/src/multiarray/convert_datatype.c:196
#1  0x00007ffff4315fcf in PyArray_GetCastInfo (from=0x9fbb80 <PyUnicode_Type>, 
to=0x7ffff4b7bec0 <INT_Descr>, to_dtype=0xe4dae0, to_dtype@entry=0x0, 
view_offset=view_offset@entry=0x7fffffffcde0)
    at ../numpy/_core/src/multiarray/convert_datatype.c:470
#2  0x00007ffff43661cc in PyArray_EquivTypes (type1=<optimized out>, 
type2=<optimized out>) at ../numpy/_core/src/multiarray/multiarraymodule.c:1478
#3  PyArray_EquivTypes (type1=<optimized out>, type2=<optimized out>) at 
../numpy/_core/src/multiarray/multiarraymodule.c:1467
#4  0x00007ffff74a35cb in boost::python::numpy::equivalent (a=..., b=...) at 
libs/python/src/numpy/dtype.cpp:131
#5  0x00007ffff74a3ff8 in boost::python::numpy::(anonymous 
namespace)::array_scalar_converter<int>::convertible (obj='P6222') at 
libs/python/src/numpy/dtype.cpp:168
#6  0x00007ffff71dee5e in boost::python::converter::rvalue_from_python_stage1 
(source=source@entry='P6222', converters=...) at 
libs/python/src/converter/from_python.cpp:54
#7  0x00007ffff69e8b70 in 
boost::python::converter::arg_rvalue_from_python<int>::arg_rvalue_from_python 
(this=0x7fffffffced0, obj='P6222') at 
/usr/include/boost/python/converter/arg_from_python.hpp:297
#8  0x00007ffff1c889dc in boost::python::detail::caller_arity<2u>::impl<void 
(*)(_object*, int), boost::python::default_call_policies, 
boost::mpl::vector3<void, _object*, int> >::operator() (this=0x1140458, 
    args_=<optimized out>) at 
/usr/include/boost/preprocessor/iteration/detail/limits/local_256.hpp:16
#9  0x00007ffff71e93ee in boost::python::objects::py_function::operator() 
(this=0x1140480, args=(<space_group_symbols at remote 0x7ffff2518ef0>, 
'P6222'), kw=<optimized out>)
    at ./boost/python/object/py_function.hpp:147

so it seems that the segfault comes from the boost numpy part

here a few commit in order to support numpy2, I discoverd that only the first 
one was applyed in our boost version.

would you be so kind to add also the second one in our boost library to 
fullfill the numpy2 transition.


https://github.com/boostorg/python/commit/0474de0f6cc9c6e7230aeb7164af2f7e4ccf74bf
https://github.com/boostorg/python/commit/99a5352b5cf790c559a7b976c1ba99520431d9d1


-- System Information:
Debian Release: trixie/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 6.12.16-amd64 (SMP w/6 CPU threads; PREEMPT)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages libboost-numpy1.83.0 depends on:
ii  libboost-python1.83.0 [libboost-python1.83.0-py313]  1.83.0-4.1+b1
ii  libc6                                                2.41-3
ii  libgcc-s1                                            14.2.0-17
ii  libstdc++6                                           14.2.0-17

libboost-numpy1.83.0 recommends no packages.

Versions of packages libboost-numpy1.83.0 suggests:
ii  python3  3.13.2-2

-- no debconf information

--- End Message ---
--- Begin Message ---
Source: boost1.83
Source-Version: 1.83.0-4.2
Done: Matthias Klose <d...@debian.org>

We believe that the bug you reported is fixed in the latest version of
boost1.83, 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 1099...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Matthias Klose <d...@debian.org> (supplier of updated boost1.83 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 ftpmas...@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Tue, 25 Mar 2025 14:04:56 +0100
Source: boost1.83
Architecture: source
Version: 1.83.0-4.2
Distribution: unstable
Urgency: medium
Maintainer: Debian Boost Team <team+bo...@tracker.debian.org>
Changed-By: Matthias Klose <d...@debian.org>
Closes: 1071542 1093824 1099671
Changes:
 boost1.83 (1.83.0-4.2) unstable; urgency=medium
 .
   * Non-maintainer upload.
   * Another fix for numpy 2.0. Closes: #1099671.
     - Compare pointers directly instead of using PyArray_EquivTypes
   * Enable context library on ppc64. Closes: #1071542.
   * Use static const for next/prior from C++17. Closes: #1093824.
Checksums-Sha1:
 6fbf7f6d61c50991fc982109cde7c5d8b7c34eee 8866 boost1.83_1.83.0-4.2.dsc
 abbe8db86ac7ee65f16167cee2b61f586f96ff2a 381712 
boost1.83_1.83.0-4.2.debian.tar.xz
 248fcc49ebd847590e1967884acb1f81cd91936d 12041 
boost1.83_1.83.0-4.2_source.buildinfo
Checksums-Sha256:
 35e2ba9d7d5b0e4d49b4a5813f0f2d9852755f970c72861b6df41a1d331185ce 8866 
boost1.83_1.83.0-4.2.dsc
 680ce7ee8d1e1215d196d8820cc5d2d423fb8f7731728303e4409c6627df89c2 381712 
boost1.83_1.83.0-4.2.debian.tar.xz
 1a9c26061264c12f04381c832c6360dd147e6deff7ae274aabb87514e0bc1e63 12041 
boost1.83_1.83.0-4.2_source.buildinfo
Files:
 f9f101cf18d4d84fa24d1db2165ac586 8866 libs optional boost1.83_1.83.0-4.2.dsc
 ccddace8549ce1af75d907ecb7aac41d 381712 libs optional 
boost1.83_1.83.0-4.2.debian.tar.xz
 0bd1d474b0495b35218dd6b8fb3f2d76 12041 libs optional 
boost1.83_1.83.0-4.2_source.buildinfo

-----BEGIN PGP SIGNATURE-----

iQJEBAEBCgAuFiEE1WVxuIqLuvFAv2PWvX6qYHePpvUFAmfissAQHGRva29AZGVi
aWFuLm9yZwAKCRC9fqpgd4+m9S1BD/9EE72MaCXQkdqU2ukeej65G/w+GYd6EYUh
V4lcWvW5XnB4rf4ZdSv6OHrWRuTeg+r/qHgzemMnTGxHZJwpvtquDvYA3X51Jsga
bdCHHXdoWIa0REl6x2atw3GDa5874EKX09SnCI3k5FhGb0z93kZAts3XxH56bwj+
ari9YOBB4Y1+n5QFyjbYCZuo9oe6cMfIOmujJ9tL1MbKTHDZLqcGwbamLraO4tnA
1v9TtGPCFASvKNx9k7by+22t293/FFi4b3gIn2iKR9fhuVpWCIuztm34Pti58R0T
6qy5CUxyCHjg6hEreZFOT4cQBbGRqURyq+hNNF9AALYkvx+06fF1jpZUkmqPEr/B
Rb+m3jKvUzdPFLrQdvnUCox5683TooRqaI+Bm+H6IjqgkjEIPx8IGj1R6qUCBIn1
CHBvohwa8Vxk5yoCYJX6lR6Crb3Lb05zKxHhymiQU6HSa6HnZcfJldlbCE1lFP1H
bodDf7E03DRql6164F9G/cLWbfjCznIjTakLw54C2l90r73z+lEW0fYDmKTXENRL
V8zuvlNVrcQ+nzPXhI4a450yuHqa6LdBE4m860to+TOfST/2YdJq7GwQj6s7Fei5
NngCj+RumQ6jQrSc5rt15X375XfNkdGencEkegoKITxD7wE+rTnZpLVHZuk0q6wX
KFNARwM8Fw==
=mImr
-----END PGP SIGNATURE-----

Attachment: pgp13eGS_YOm5.pgp
Description: PGP signature


--- End Message ---

Reply via email to