Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 09 Aug 2024 17:16:45 +0000
From:      bugzilla-noreply@freebsd.org
To:        python@FreeBSD.org
Subject:   maintainer-feedback requested: [Bug 280716] science/py-scipy: fix build with clang 19
Message-ID:  <bug-280716-21822-YzaRltQX4y@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-280716-21822@https.bugs.freebsd.org/bugzilla/>
References:  <bug-280716-21822@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
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=3D280716



--- 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_ =3D 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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-280716-21822-YzaRltQX4y>