maintainer-feedback requested: [Bug 280716] science/py-scipy: fix build with clang 19
- In reply to: bugzilla-noreply_a_freebsd.org: "[Bug 280716] science/py-scipy: fix build with clang 19"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 09 Aug 2024 17:16:45 UTC
Bugzilla Automation <bugzilla@FreeBSD.org> has asked freebsd-python (Nobody) <python@FreeBSD.org> for maintainer-feedback: Bug 280716: science/py-scipy: fix build with clang 19 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=280716 --- Description --- With clang 19, science/py-scipy fails to build, first due to bug 280715 which is the fault of math/py-numpy. When that is fixed, it next fails due to a new error indicating a typo: In file included from scipy/_lib/_uarray/_uarray_dispatch.cxx:3: scipy/_lib/_uarray/small_dynamic_array.h:145:18: error: reference to non-static member function must be called 145 | size_ = copy.size; | ~~~~~^~~~ This is an upstream bug, which has been fixed in the mean time by https://github.com/scipy/scipy/pull/21069. Add it as a PATCHFILES entry in the Makefile, until a newer version of py-scipy is imported.