Bug 2336949 - boost: FTBFS in Fedora Rawhide: error: ‘PyArray_Descr’ {aka ‘struct _PyArray_Descr’} has no member named ‘elsize’
Summary: boost: FTBFS in Fedora Rawhide: error: ‘PyArray_Descr’ {aka ‘struct _PyArray_...
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: boost
Version: rawhide
Hardware: Unspecified
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Jonathan Wakely
QA Contact: Fedora Extras Quality Assurance
URL: https://koschei.fedoraproject.org/pac...
Whiteboard:
Depends On:
Blocks: F42FTBFS PYTHON3.14 NUMPY2
TreeView+ depends on / blocked
 
Reported: 2025-01-10 15:49 UTC by Karolina Surma
Modified: 2025-01-10 19:14 UTC (History)
5 users (show)

Fixed In Version: boost-1.83.0-10.fc42
Clone Of:
Environment:
Last Closed: 2025-01-10 17:09:52 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Karolina Surma 2025-01-10 15:49:20 UTC
Description of problem:
Package boost fails to build from source in Fedora Rawhide.

Version-Release number of selected component (if applicable):
1.83.0-9.fc42

Steps to Reproduce:
koji build --scratch f42 boost-1.83.0-9.fc42.src.rpm

Additional info:
This package is tracked by Koschei. See:
https://koschei.fedoraproject.org/package/boost

Reproducible: Always

Actual Results:  
libs/python/src/numpy/dtype.cpp: In member function ‘int boost::python::numpy::dtype::get_itemsize() const’:
libs/python/src/numpy/dtype.cpp:101:83: error: ‘PyArray_Descr’ {aka ‘struct _PyArray_Descr’} has no member named ‘elsize’
  101 | int dtype::get_itemsize() const { return reinterpret_cast<PyArray_Descr*>(ptr())->elsize;}
      | 


This has started to happen after the update to numpy 2.

Comment 1 Jonathan Wakely 2025-01-10 17:09:52 UTC
This is already fixed

Comment 2 Jonathan Wakely 2025-01-10 17:11:02 UTC
(I merged https://src.fedoraproject.org/rpms/boost/pull-request/32 a couple of hours ago and rebuilt boost)

Comment 3 Karolina Surma 2025-01-10 19:14:44 UTC
Oh, thank you, my data must have been obsolete.


Note You need to log in before you can comment on or make changes to this bug.