Source: zsv
Version: 1.3.0-2
Severity: serious
Tags: patch
AVX is not part of the x86 baseline.
-march=native is a baseline violation on architectures where
it is supported, and causes a FTBFS on architectures where
it is not supported.
It also changes the set of machines where the package might run
based on the capabilities of the buildd, e.g. on amd64 code built
on an AMD buildd might not run on Intel hardware and code built
on an Intel buildd might not run on AMD hardware.
Fix:
--- zsv-1.3.0/debian/rules 2026-03-07 09:13:36.000000000 +0200
+++ zsv-1.3.0/debian/rules 2026-03-07 09:13:36.000000000 +0200
@@ -7,7 +7,7 @@
override_dh_auto_configure:
# Define PREFIX as empty to configure /etc instead of /usr/local as the
config directory
- CFLAGS='-DPREFIX=\"\"' ./configure --prefix=$(CURDIR)/debian/tmp
+ CFLAGS='-DPREFIX=\"\"' ./configure --prefix=$(CURDIR)/debian/tmp
--arch=none --force-avx2=no --force-avx=no
override_dh_auto_build: