Source: apache-arrow
Version: 23.0.1-1
Severity: serious
Tags: patch
X-Debbugs-Cc: Steffen Moeller <[email protected]>

https://buildd.debian.org/status/fetch.php?pkg=apache-arrow&arch=amd64&ver=23.0.1-1%2Bb1&stamp=1771319487&raw=0

...
-- CMAKE_C_FLAGS: -g -O2 -Werror=implicit-function-declaration 
-ffile-prefix-map=/build/reproducible-path/apache-arrow-23.0.1=. 
-fstack-protector-strong -fstack-clash-protection -Wformat 
-Werror=format-security -fcf-protection -Wall -pedantic -D_FORTIFY_SOURCE=2 
-D_FORTIFY_SOURCE=2  -Wall -fno-semantic-interposition -msse4.2 
-- CMAKE_CXX_FLAGS:  -Wno-noexcept-type -Wno-self-move -g -O2 
-ffile-prefix-map=/build/reproducible-path/apache-arrow-23.0.1=. 
-fstack-protector-strong -fstack-clash-protection -Wformat 
-Werror=format-security -fcf-protection -D_FORTIFY_SOURCE=2 -D_FORTIFY_SOURCE=2 
-fdiagnostics-color=always  -Wall -fno-semantic-interposition -msse4.2 
...


Fix:

--- apache-arrow-23.0.1/debian/rules    2026-02-16 17:05:22.000000000 +0200
+++ apache-arrow-23.0.1/debian/rules    2026-02-16 17:05:22.000000000 +0200
@@ -38,6 +38,8 @@
  -DParquet_DIR=$(CURDIR)/cpp_build/src/parquet/ \
  -DCMAKE_INSTALL_INCLUDEDIR=$(CURDIR)/debian/tmp/libarrow-dev/usr/include
 
+export PYARROW_CMAKE_OPTIONS = -DARROW_SIMD_LEVEL=NONE
+
 
#PYBUILD_CONFIGURE_ARGS=-DCMAKE_INSTALL_INCLUDEDIR=$(CURDIR)/debian/tmp/libarrow-dev/usr/include
 # Skipping cython tests because it builds modules and needs to
 # find an arrow library to link against, which doesnI't work
@@ -90,6 +92,7 @@
          -DARROW_OPENSSL_USE_SHARED=ON         \
          -DARROW_PARQUET=ON                    \
          -DARROW_PYTHON=ON                     \
+         -DARROW_SIMD_LEVEL=NONE               \
          -DARROW_SNAPPY_USE_SHARED=ON          \
          -DARROW_SUBSTRAIT=OFF                 \
          -DARROW_TENSORFLOW=OFF                \

Reply via email to