Bug#1097676: python-cython-blis: Fixes for the FTBFS

Maximiliano Curia maxy at debian.org
Fri Sep 11 22:05:28 BST 2026


user debian-python at lists.debian.org
usertags 1097676 python3.15
tags 1097676 patch
thanks

Hi!

While rebuilding the python related packages against the Python 3.15rc2
version I ran into this FTBFS [1]. 

To fix the problems I had to:
- Add upstream commit 1498af063ea924e2e2334a3f5ab49ae1a66a8648 — Disable
   obsolete AVX512 flags (removes - mavx512pf and -mno-avx512pf
   -mno-avx512er)
- Add upstream commit 89c1f0dd0933032a56e334bdbc047b9abdc19ed1 — Remove
   -march=knl flag for GCC 15 compatibility (removes -march=knl on
   optimized KNL kernels and switches to -march=skylake on reference KNL
   kernels)
- Add upstream commit 6b970700a6fa352d71e1ea14ca44c5f39ce1c770 Apply
   temporary fix for gcc 15.
- Add patch to remove unused blis.cy imports in test_dotv

I've applied these fixes in the sandbox [2] to verify that it builds
successfully, these should be applied in Debian to get the package back
to a healthy state.

Happy hacking,

[1]: https://debusine.debian.net/debian/r-python-python3.15/artifact/4587725/
[2]: https://debusine.debian.net/debian/r-python-python3.15/

-- 
"Can you imagine what I would do if I could do all I can?" -- Sun Tzu
Saludos /\/\ /\ >< `/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Apply-temporary-fix-for-gcc-15.patch
Type: text/x-diff
Size: 3839 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/debian-science-maintainers/attachments/20260911/3298c157/attachment-0004.patch>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Disable-obsolete-AVX512-flags.patch
Type: text/x-diff
Size: 101492 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/debian-science-maintainers/attachments/20260911/3298c157/attachment-0005.patch>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Remove-march-knl-flag-for-GCC-15-compatibility.patch
Type: text/x-diff
Size: 99914 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/debian-science-maintainers/attachments/20260911/3298c157/attachment-0006.patch>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: v1.0.0-Update-numpy-pins.patch
Type: text/x-diff
Size: 605 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/debian-science-maintainers/attachments/20260911/3298c157/attachment-0007.patch>


More information about the debian-science-maintainers mailing list