#1154193 vips: FTBFS on riscv64: /usr/include/hwy/ops/rvv-inl.h:1000:1: error: built-in function ‘__riscv_vnot_v_u8mf8’ requires the ‘v’ ISA extension

Package:
src:vips
Source:
src:vips
Submitter:
Sebastian Ramacher
Date:
2026-11-19 13:49:02 UTC
Severity:
normal
Tags:
#1154193#5
Date:
2026-11-16 21:03:26 UTC
From:
To:
Source: vips
Version: 8.18.7-1
Severity: serious
Tags: ftbfs
Justification: fails to build from source (but built successfully in the past)
X-Debbugs-Cc: debian-riscv@lists.debian.org, sramacher@debian.org
User: debian-riscv@lists.debian.org
Usertags: riscv64

Dear maintainer,

vips FTBFS on riscv64:

FAILED: [code=1] libvips/resample/libresample.a.p/shrinkh_hwy.cpp.o
c++ -Ilibvips/resample/libresample.a.p -Ilibvips/resample -I../libvips/resample -I. -I.. -Ilibvips/include -I../libvips/include -Ilibvips/include/vips -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/riscv64-linux-gnu -I/usr/include/libpng16 -I/usr/include/webp -I/usr/include/pango-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/fribidi -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/librsvg-2.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/glycin-2 -I/usr/include/libxml2 -I/usr/include/hdf5/serial -I/usr/include/OpenEXR -I/usr/include/Imath -I/usr/include/openjpeg-2.5 -fvisibility=hidden -fdiagnostics-color=always -DNDEBUG -Wall -Winvalid-pch -std=c++14 -DG_DISABLE_CAST_CHECKS -DG_DISABLE_CHECKS -DG_DISABLE_ASSERT -Werror=pointer-arith '-DHWY_DISABLED_TARGETS=HWY_SSSE3|HWY_AVX3_ZEN4|HWY_AVX3_SPR|HWY_AVX10_2' -g -O2 -ffile-prefix-map=/build/reproducible-path/vips-8.18.7=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -pthread -DHWY_SHARED_DEFINE -D_FILE_OFFSET_BITS=64 -DHAVE_CONFIG_H -MD -MQ libvips/resample/libresample.a.p/shrinkh_hwy.cpp.o -MF libvips/resample/libresample.a.p/shrinkh_hwy.cpp.o.d -o libvips/resample/libresample.a.p/shrinkh_hwy.cpp.o -c ../libvips/resample/shrinkh_hwy.cpp
In file included from /usr/include/hwy/highway.h:701,
                 from ../libvips/resample/shrinkh_hwy.cpp:54,
                 from /usr/include/hwy/foreach_target.h:325,
                 from ../libvips/resample/shrinkh_hwy.cpp:53:
/usr/include/hwy/ops/rvv-inl.h: In function ‘vuint8mf8_t hwy::N_RVV::Not(vuint8mf8_t)’:
/usr/include/hwy/ops/rvv-inl.h:1000:1: error: built-in function ‘__riscv_vnot_v_u8mf8’ requires the ‘v’ ISA extension
 1000 | HWY_RVV_FOREACH_UI(HWY_RVV_RETV_ARGV, Not, not, _ALL)
      | ^~~~~~~~~~~~~~~~~~
/usr/include/hwy/ops/rvv-inl.h: In function ‘vuint16mf4_t hwy::N_RVV::Not(vuint16mf4_t)’:
/usr/include/hwy/ops/rvv-inl.h:1000:1: error: built-in function ‘__riscv_vnot_v_u16mf4’ requires the ‘v’ ISA extension
 1000 | HWY_RVV_FOREACH_UI(HWY_RVV_RETV_ARGV, Not, not, _ALL)
      | ^~~~~~~~~~~~~~~~~~
/usr/include/hwy/ops/rvv-inl.h: In function ‘vuint32mf2_t hwy::N_RVV::Not(vuint32mf2_t)’:
/usr/include/hwy/ops/rvv-inl.h:1000:1: error: built-in function ‘__riscv_vnot_v_u32mf2’ requires the ‘v’ ISA extension
 1000 | HWY_RVV_FOREACH_UI(HWY_RVV_RETV_ARGV, Not, not, _ALL)
      | ^~~~~~~~~~~~~~~~~~
/usr/include/hwy/ops/rvv-inl.h: In function ‘vuint64m1_t hwy::N_RVV::Not(vuint64m1_t)’:
/usr/include/hwy/ops/rvv-inl.h:1000:1: error: built-in function ‘__riscv_vnot_v_u64m1’ requires the ‘v’ ISA extension
 1000 | HWY_RVV_FOREACH_UI(HWY_RVV_RETV_ARGV, Not, not, _ALL)
      | ^~~~~~~~~~~~~~~~~~
/usr/include/hwy/ops/rvv-inl.h: In function ‘vint8mf8_t hwy::N_RVV::Shl(vint8mf8_t, vint8mf8_t)’:
/usr/include/hwy/ops/rvv-inl.h:1373:1: error: built-in function ‘__riscv_vsll_vv_i8mf8’ requires the ‘v’ ISA extension
 1373 | HWY_RVV_FOREACH_I(HWY_RVV_SHIFT_II, Shl, sll, _ALL)
      | ^~~~~~~~~~~~~~~~~
/usr/include/hwy/ops/rvv-inl.h: In function ‘vint16mf4_t hwy::N_RVV::Shl(vint16mf4_t, vint16mf4_t)’:
/usr/include/hwy/ops/rvv-inl.h:1373:1: error: built-in function ‘__riscv_vsll_vv_i16mf4’ requires the ‘v’ ISA extension
 1373 | HWY_RVV_FOREACH_I(HWY_RVV_SHIFT_II, Shl, sll, _ALL)
      | ^~~~~~~~~~~~~~~~~
/usr/include/hwy/ops/rvv-inl.h: In function ‘vint32mf2_t hwy::N_RVV::Shl(vint32mf2_t, vint32mf2_t)’:
/usr/include/hwy/ops/rvv-inl.h:1373:1: error: built-in function ‘__riscv_vsll_vv_i32mf2’ requires the ‘v’ ISA extension
 1373 | HWY_RVV_FOREACH_I(HWY_RVV_SHIFT_II, Shl, sll, _ALL)
      | ^~~~~~~~~~~~~~~~~
/usr/include/hwy/ops/rvv-inl.h: In function ‘vint64m1_t hwy::N_RVV::Shl(vint64m1_t, vint64m1_t)’:
/usr/include/hwy/ops/rvv-inl.h:1373:1: error: built-in function ‘__riscv_vsll_vv_i64m1’ requires the ‘v’ ISA extension
 1373 | HWY_RVV_FOREACH_I(HWY_RVV_SHIFT_II, Shl, sll, _ALL)
      | ^~~~~~~~~~~~~~~~~
/usr/include/hwy/ops/rvv-inl.h: In instantiation of ‘vuint8mf4_t hwy::N_RVV::DemoteTo(Simd<unsigned char, N, -2>, vuint32m1_t) [with long unsigned int N = 8192; vuint8mf4_t = vuint8mf4_t; vuint32m1_t = vuint32m1_t]’:
../libvips/resample/shrinkh_hwy.cpp:106:26:   required from here
  106 |                 auto demoted = DemoteTo(du8x32, sum0);
      |                                ~~~~~~~~^~~~~~~~~~~~~~
/usr/include/hwy/ops/rvv-inl.h:2520:34: error: built-in function ‘__riscv_vnclipu_wx_u8mf4’ requires the ‘v’ ISA extension
 2520 |   return __riscv_vnclipu_wx_u8mf4(
      |          ~~~~~~~~~~~~~~~~~~~~~~~~^
 2521 |       DemoteTo(Simd<uint16_t, N, -1>(), v), 0,
      |       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 2522 |       HWY_RVV_INSERT_VXRM(__RISCV_VXRM_RDN, Lanes(d)));
      |       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[214/564] c++ -Ilibvips/resample/libresample.a.p -Ilibvips/resample -I../libvips/resample -I. -I.. -Ilibvips/include -I../libvips/include -Ilibvips/include/vips -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/riscv64-linux-gnu -I/usr/include/libpng16 -I/usr/include/webp -I/usr/include/pango-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/fribidi -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/librsvg-2.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/glycin-2 -I/usr/include/libxml2 -I/usr/include/hdf5/serial -I/usr/include/OpenEXR -I/usr/include/Imath -I/usr/include/openjpeg-2.5 -fvisibility=hidden -fdiagnostics-color=always -DNDEBUG -Wall -Winvalid-pch -std=c++14 -DG_DISABLE_CAST_CHECKS -DG_DISABLE_CHECKS -DG_DISABLE_ASSERT -Werror=pointer-arith '-DHWY_DISABLED_TARGETS=HWY_SSSE3|HWY_AVX3_ZEN4|HWY_AVX3_SPR|HWY_AVX10_2' -g -O2 -ffile-prefix-map=/build/reproducible-path/vips-8.18.7=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -pthread -DHWY_SHARED_DEFINE -D_FILE_OFFSET_BITS=64 -DHAVE_CONFIG_H -MD -MQ libvips/resample/libresample.a.p/shrinkv_hwy.cpp.o -MF libvips/resample/libresample.a.p/shrinkv_hwy.cpp.o.d -o libvips/resample/libresample.a.p/shrinkv_hwy.cpp.o -c ../libvips/resample/shrinkv_hwy.cpp
FAILED: [code=1] libvips/resample/libresample.a.p/shrinkv_hwy.cpp.o
c++ -Ilibvips/resample/libresample.a.p -Ilibvips/resample -I../libvips/resample -I. -I.. -Ilibvips/include -I../libvips/include -Ilibvips/include/vips -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/riscv64-linux-gnu -I/usr/include/libpng16 -I/usr/include/webp -I/usr/include/pango-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/fribidi -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/librsvg-2.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/glycin-2 -I/usr/include/libxml2 -I/usr/include/hdf5/serial -I/usr/include/OpenEXR -I/usr/include/Imath -I/usr/include/openjpeg-2.5 -fvisibility=hidden -fdiagnostics-color=always -DNDEBUG -Wall -Winvalid-pch -std=c++14 -DG_DISABLE_CAST_CHECKS -DG_DISABLE_CHECKS -DG_DISABLE_ASSERT -Werror=pointer-arith '-DHWY_DISABLED_TARGETS=HWY_SSSE3|HWY_AVX3_ZEN4|HWY_AVX3_SPR|HWY_AVX10_2' -g -O2 -ffile-prefix-map=/build/reproducible-path/vips-8.18.7=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -pthread -DHWY_SHARED_DEFINE -D_FILE_OFFSET_BITS=64 -DHAVE_CONFIG_H -MD -MQ libvips/resample/libresample.a.p/shrinkv_hwy.cpp.o -MF libvips/resample/libresample.a.p/shrinkv_hwy.cpp.o.d -o libvips/resample/libresample.a.p/shrinkv_hwy.cpp.o -c ../libvips/resample/shrinkv_hwy.cpp
In file included from /usr/include/hwy/highway.h:701,
                 from ../libvips/resample/shrinkv_hwy.cpp:54,
                 from /usr/include/hwy/foreach_target.h:325,
                 from ../libvips/resample/shrinkv_hwy.cpp:53:
/usr/include/hwy/ops/rvv-inl.h: In function ‘vuint8mf8_t hwy::N_RVV::Not(vuint8mf8_t)’:
/usr/include/hwy/ops/rvv-inl.h:1000:1: error: built-in function ‘__riscv_vnot_v_u8mf8’ requires the ‘v’ ISA extension
 1000 | HWY_RVV_FOREACH_UI(HWY_RVV_RETV_ARGV, Not, not, _ALL)
      | ^~~~~~~~~~~~~~~~~~
/usr/include/hwy/ops/rvv-inl.h: In function ‘vuint16mf4_t hwy::N_RVV::Not(vuint16mf4_t)’:
/usr/include/hwy/ops/rvv-inl.h:1000:1: error: built-in function ‘__riscv_vnot_v_u16mf4’ requires the ‘v’ ISA extension
 1000 | HWY_RVV_FOREACH_UI(HWY_RVV_RETV_ARGV, Not, not, _ALL)
      | ^~~~~~~~~~~~~~~~~~
/usr/include/hwy/ops/rvv-inl.h: In function ‘vuint32mf2_t hwy::N_RVV::Not(vuint32mf2_t)’:
/usr/include/hwy/ops/rvv-inl.h:1000:1: error: built-in function ‘__riscv_vnot_v_u32mf2’ requires the ‘v’ ISA extension
 1000 | HWY_RVV_FOREACH_UI(HWY_RVV_RETV_ARGV, Not, not, _ALL)
      | ^~~~~~~~~~~~~~~~~~
/usr/include/hwy/ops/rvv-inl.h: In function ‘vuint64m1_t hwy::N_RVV::Not(vuint64m1_t)’:
/usr/include/hwy/ops/rvv-inl.h:1000:1: error: built-in function ‘__riscv_vnot_v_u64m1’ requires the ‘v’ ISA extension
 1000 | HWY_RVV_FOREACH_UI(HWY_RVV_RETV_ARGV, Not, not, _ALL)
      | ^~~~~~~~~~~~~~~~~~
/usr/include/hwy/ops/rvv-inl.h: In function ‘vint8mf8_t hwy::N_RVV::Shl(vint8mf8_t, vint8mf8_t)’:
/usr/include/hwy/ops/rvv-inl.h:1373:1: error: built-in function ‘__riscv_vsll_vv_i8mf8’ requires the ‘v’ ISA extension
 1373 | HWY_RVV_FOREACH_I(HWY_RVV_SHIFT_II, Shl, sll, _ALL)
      | ^~~~~~~~~~~~~~~~~
/usr/include/hwy/ops/rvv-inl.h: In function ‘vint16mf4_t hwy::N_RVV::Shl(vint16mf4_t, vint16mf4_t)’:
/usr/include/hwy/ops/rvv-inl.h:1373:1: error: built-in function ‘__riscv_vsll_vv_i16mf4’ requires the ‘v’ ISA extension
 1373 | HWY_RVV_FOREACH_I(HWY_RVV_SHIFT_II, Shl, sll, _ALL)
      | ^~~~~~~~~~~~~~~~~
/usr/include/hwy/ops/rvv-inl.h: In function ‘vint32mf2_t hwy::N_RVV::Shl(vint32mf2_t, vint32mf2_t)’:
/usr/include/hwy/ops/rvv-inl.h:1373:1: error: built-in function ‘__riscv_vsll_vv_i32mf2’ requires the ‘v’ ISA extension
 1373 | HWY_RVV_FOREACH_I(HWY_RVV_SHIFT_II, Shl, sll, _ALL)
      | ^~~~~~~~~~~~~~~~~
/usr/include/hwy/ops/rvv-inl.h: In function ‘vint64m1_t hwy::N_RVV::Shl(vint64m1_t, vint64m1_t)’:
/usr/include/hwy/ops/rvv-inl.h:1373:1: error: built-in function ‘__riscv_vsll_vv_i64m1’ requires the ‘v’ ISA extension
 1373 | HWY_RVV_FOREACH_I(HWY_RVV_SHIFT_II, Shl, sll, _ALL)
      | ^~~~~~~~~~~~~~~~~
/usr/include/hwy/ops/rvv-inl.h: In instantiation of ‘vuint8mf4_t hwy::N_RVV::DemoteTo(Simd<unsigned char, N, -2>, vuint32m1_t) [with long unsigned int N = 8192; vuint8mf4_t = vuint8mf4_t; vuint32m1_t = vuint32m1_t]’:
../libvips/resample/shrinkv_hwy.cpp:176:27:   required from here
  176 |                 auto demoted0 = DemoteTo(du8x32, sum0);
      |                                 ~~~~~~~~^~~~~~~~~~~~~~
/usr/include/hwy/ops/rvv-inl.h:2520:34: error: built-in function ‘__riscv_vnclipu_wx_u8mf4’ requires the ‘v’ ISA extension
 2520 |   return __riscv_vnclipu_wx_u8mf4(
      |          ~~~~~~~~~~~~~~~~~~~~~~~~^
 2521 |       DemoteTo(Simd<uint16_t, N, -1>(), v), 0,
      |       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 2522 |       HWY_RVV_INSERT_VXRM(__RISCV_VXRM_RDN, Lanes(d)));
      |       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[215/564] c++ -Ilibvips/resample/libresample.a.p -Ilibvips/resample -I../libvips/resample -I. -I.. -Ilibvips/include -I../libvips/include -Ilibvips/include/vips -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/riscv64-linux-gnu -I/usr/include/libpng16 -I/usr/include/webp -I/usr/include/pango-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/fribidi -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/librsvg-2.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/glycin-2 -I/usr/include/libxml2 -I/usr/include/hdf5/serial -I/usr/include/OpenEXR -I/usr/include/Imath -I/usr/include/openjpeg-2.5 -fvisibility=hidden -fdiagnostics-color=always -DNDEBUG -Wall -Winvalid-pch -std=c++14 -DG_DISABLE_CAST_CHECKS -DG_DISABLE_CHECKS -DG_DISABLE_ASSERT -Werror=pointer-arith '-DHWY_DISABLED_TARGETS=HWY_SSSE3|HWY_AVX3_ZEN4|HWY_AVX3_SPR|HWY_AVX10_2' -g -O2 -ffile-prefix-map=/build/reproducible-path/vips-8.18.7=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -pthread -DHWY_SHARED_DEFINE -D_FILE_OFFSET_BITS=64 -DHAVE_CONFIG_H -MD -MQ libvips/resample/libresample.a.p/reduceh_hwy.cpp.o -MF libvips/resample/libresample.a.p/reduceh_hwy.cpp.o.d -o libvips/resample/libresample.a.p/reduceh_hwy.cpp.o -c ../libvips/resample/reduceh_hwy.cpp
FAILED: [code=1] libvips/resample/libresample.a.p/reduceh_hwy.cpp.o
c++ -Ilibvips/resample/libresample.a.p -Ilibvips/resample -I../libvips/resample -I. -I.. -Ilibvips/include -I../libvips/include -Ilibvips/include/vips -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/riscv64-linux-gnu -I/usr/include/libpng16 -I/usr/include/webp -I/usr/include/pango-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/fribidi -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/librsvg-2.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/glycin-2 -I/usr/include/libxml2 -I/usr/include/hdf5/serial -I/usr/include/OpenEXR -I/usr/include/Imath -I/usr/include/openjpeg-2.5 -fvisibility=hidden -fdiagnostics-color=always -DNDEBUG -Wall -Winvalid-pch -std=c++14 -DG_DISABLE_CAST_CHECKS -DG_DISABLE_CHECKS -DG_DISABLE_ASSERT -Werror=pointer-arith '-DHWY_DISABLED_TARGETS=HWY_SSSE3|HWY_AVX3_ZEN4|HWY_AVX3_SPR|HWY_AVX10_2' -g -O2 -ffile-prefix-map=/build/reproducible-path/vips-8.18.7=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -pthread -DHWY_SHARED_DEFINE -D_FILE_OFFSET_BITS=64 -DHAVE_CONFIG_H -MD -MQ libvips/resample/libresample.a.p/reduceh_hwy.cpp.o -MF libvips/resample/libresample.a.p/reduceh_hwy.cpp.o.d -o libvips/resample/libresample.a.p/reduceh_hwy.cpp.o -c ../libvips/resample/reduceh_hwy.cpp
In file included from /usr/include/hwy/highway.h:701,
                 from ../libvips/resample/reduceh_hwy.cpp:56,
                 from /usr/include/hwy/foreach_target.h:325,
                 from ../libvips/resample/reduceh_hwy.cpp:55:
/usr/include/hwy/ops/rvv-inl.h: In function ‘vuint8mf8_t hwy::N_RVV::Not(vuint8mf8_t)’:
/usr/include/hwy/ops/rvv-inl.h:1000:1: error: built-in function ‘__riscv_vnot_v_u8mf8’ requires the ‘v’ ISA extension
 1000 | HWY_RVV_FOREACH_UI(HWY_RVV_RETV_ARGV, Not, not, _ALL)
      | ^~~~~~~~~~~~~~~~~~
/usr/include/hwy/ops/rvv-inl.h: In function ‘vuint16mf4_t hwy::N_RVV::Not(vuint16mf4_t)’:
/usr/include/hwy/ops/rvv-inl.h:1000:1: error: built-in function ‘__riscv_vnot_v_u16mf4’ requires the ‘v’ ISA extension
 1000 | HWY_RVV_FOREACH_UI(HWY_RVV_RETV_ARGV, Not, not, _ALL)
      | ^~~~~~~~~~~~~~~~~~
/usr/include/hwy/ops/rvv-inl.h: In function ‘vuint32mf2_t hwy::N_RVV::Not(vuint32mf2_t)’:
/usr/include/hwy/ops/rvv-inl.h:1000:1: error: built-in function ‘__riscv_vnot_v_u32mf2’ requires the ‘v’ ISA extension
 1000 | HWY_RVV_FOREACH_UI(HWY_RVV_RETV_ARGV, Not, not, _ALL)
      | ^~~~~~~~~~~~~~~~~~
/usr/include/hwy/ops/rvv-inl.h: In function ‘vuint64m1_t hwy::N_RVV::Not(vuint64m1_t)’:
/usr/include/hwy/ops/rvv-inl.h:1000:1: error: built-in function ‘__riscv_vnot_v_u64m1’ requires the ‘v’ ISA extension
 1000 | HWY_RVV_FOREACH_UI(HWY_RVV_RETV_ARGV, Not, not, _ALL)
      | ^~~~~~~~~~~~~~~~~~
/usr/include/hwy/ops/rvv-inl.h: In function ‘vint8mf8_t hwy::N_RVV::Shl(vint8mf8_t, vint8mf8_t)’:
/usr/include/hwy/ops/rvv-inl.h:1373:1: error: built-in function ‘__riscv_vsll_vv_i8mf8’ requires the ‘v’ ISA extension
 1373 | HWY_RVV_FOREACH_I(HWY_RVV_SHIFT_II, Shl, sll, _ALL)
      | ^~~~~~~~~~~~~~~~~
/usr/include/hwy/ops/rvv-inl.h: In function ‘vint16mf4_t hwy::N_RVV::Shl(vint16mf4_t, vint16mf4_t)’:
/usr/include/hwy/ops/rvv-inl.h:1373:1: error: built-in function ‘__riscv_vsll_vv_i16mf4’ requires the ‘v’ ISA extension
 1373 | HWY_RVV_FOREACH_I(HWY_RVV_SHIFT_II, Shl, sll, _ALL)
      | ^~~~~~~~~~~~~~~~~
/usr/include/hwy/ops/rvv-inl.h: In function ‘vint32mf2_t hwy::N_RVV::Shl(vint32mf2_t, vint32mf2_t)’:
/usr/include/hwy/ops/rvv-inl.h:1373:1: error: built-in function ‘__riscv_vsll_vv_i32mf2’ requires the ‘v’ ISA extension
 1373 | HWY_RVV_FOREACH_I(HWY_RVV_SHIFT_II, Shl, sll, _ALL)
      | ^~~~~~~~~~~~~~~~~
/usr/include/hwy/ops/rvv-inl.h: In function ‘vint64m1_t hwy::N_RVV::Shl(vint64m1_t, vint64m1_t)’:
/usr/include/hwy/ops/rvv-inl.h:1373:1: error: built-in function ‘__riscv_vsll_vv_i64m1’ requires the ‘v’ ISA extension
 1373 | HWY_RVV_FOREACH_I(HWY_RVV_SHIFT_II, Shl, sll, _ALL)
      | ^~~~~~~~~~~~~~~~~
/usr/include/hwy/ops/rvv-inl.h: In instantiation of ‘vuint8mf4_t hwy::N_RVV::DemoteTo(Simd<unsigned char, N, -2>, vint32m1_t) [with long unsigned int N = 8192; vuint8mf4_t = vuint8mf4_t; vint32m1_t = vint32m1_t]’:
../libvips/resample/reduceh_hwy.cpp:233:26:   required from here
  233 |                 auto demoted = DemoteTo(du8x32, sum0);
      |                                ~~~~~~~~^~~~~~~~~~~~~~
/usr/include/hwy/ops/rvv-inl.h:2489:34: error: built-in function ‘__riscv_vnclipu_wx_u8mf4’ requires the ‘v’ ISA extension
 2489 |   return __riscv_vnclipu_wx_u8mf4(
      |          ~~~~~~~~~~~~~~~~~~~~~~~~^
 2490 |       DemoteTo(Simd<uint16_t, N, -1>(), v), 0,
      |       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 2491 |       HWY_RVV_INSERT_VXRM(__RISCV_VXRM_RDN, Lanes(d)));
      |       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[216/564] c++ -Ilibvips/resample/libresample.a.p -Ilibvips/resample -I../libvips/resample -I. -I.. -Ilibvips/include -I../libvips/include -Ilibvips/include/vips -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/riscv64-linux-gnu -I/usr/include/libpng16 -I/usr/include/webp -I/usr/include/pango-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/fribidi -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/librsvg-2.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/glycin-2 -I/usr/include/libxml2 -I/usr/include/hdf5/serial -I/usr/include/OpenEXR -I/usr/include/Imath -I/usr/include/openjpeg-2.5 -fvisibility=hidden -fdiagnostics-color=always -DNDEBUG -Wall -Winvalid-pch -std=c++14 -DG_DISABLE_CAST_CHECKS -DG_DISABLE_CHECKS -DG_DISABLE_ASSERT -Werror=pointer-arith '-DHWY_DISABLED_TARGETS=HWY_SSSE3|HWY_AVX3_ZEN4|HWY_AVX3_SPR|HWY_AVX10_2' -g -O2 -ffile-prefix-map=/build/reproducible-path/vips-8.18.7=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -pthread -DHWY_SHARED_DEFINE -D_FILE_OFFSET_BITS=64 -DHAVE_CONFIG_H -MD -MQ libvips/resample/libresample.a.p/reducev_hwy.cpp.o -MF libvips/resample/libresample.a.p/reducev_hwy.cpp.o.d -o libvips/resample/libresample.a.p/reducev_hwy.cpp.o -c ../libvips/resample/reducev_hwy.cpp
FAILED: [code=1] libvips/resample/libresample.a.p/reducev_hwy.cpp.o
c++ -Ilibvips/resample/libresample.a.p -Ilibvips/resample -I../libvips/resample -I. -I.. -Ilibvips/include -I../libvips/include -Ilibvips/include/vips -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/riscv64-linux-gnu -I/usr/include/libpng16 -I/usr/include/webp -I/usr/include/pango-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/fribidi -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/librsvg-2.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/glycin-2 -I/usr/include/libxml2 -I/usr/include/hdf5/serial -I/usr/include/OpenEXR -I/usr/include/Imath -I/usr/include/openjpeg-2.5 -fvisibility=hidden -fdiagnostics-color=always -DNDEBUG -Wall -Winvalid-pch -std=c++14 -DG_DISABLE_CAST_CHECKS -DG_DISABLE_CHECKS -DG_DISABLE_ASSERT -Werror=pointer-arith '-DHWY_DISABLED_TARGETS=HWY_SSSE3|HWY_AVX3_ZEN4|HWY_AVX3_SPR|HWY_AVX10_2' -g -O2 -ffile-prefix-map=/build/reproducible-path/vips-8.18.7=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -pthread -DHWY_SHARED_DEFINE -D_FILE_OFFSET_BITS=64 -DHAVE_CONFIG_H -MD -MQ libvips/resample/libresample.a.p/reducev_hwy.cpp.o -MF libvips/resample/libresample.a.p/reducev_hwy.cpp.o.d -o libvips/resample/libresample.a.p/reducev_hwy.cpp.o -c ../libvips/resample/reducev_hwy.cpp
In file included from /usr/include/hwy/highway.h:701,
                 from ../libvips/resample/reducev_hwy.cpp:60,
                 from /usr/include/hwy/foreach_target.h:325,
                 from ../libvips/resample/reducev_hwy.cpp:59:
/usr/include/hwy/ops/rvv-inl.h: In function ‘vuint8mf8_t hwy::N_RVV::Not(vuint8mf8_t)’:
/usr/include/hwy/ops/rvv-inl.h:1000:1: error: built-in function ‘__riscv_vnot_v_u8mf8’ requires the ‘v’ ISA extension
 1000 | HWY_RVV_FOREACH_UI(HWY_RVV_RETV_ARGV, Not, not, _ALL)
      | ^~~~~~~~~~~~~~~~~~
/usr/include/hwy/ops/rvv-inl.h: In function ‘vuint16mf4_t hwy::N_RVV::Not(vuint16mf4_t)’:
/usr/include/hwy/ops/rvv-inl.h:1000:1: error: built-in function ‘__riscv_vnot_v_u16mf4’ requires the ‘v’ ISA extension
 1000 | HWY_RVV_FOREACH_UI(HWY_RVV_RETV_ARGV, Not, not, _ALL)
      | ^~~~~~~~~~~~~~~~~~
/usr/include/hwy/ops/rvv-inl.h: In function ‘vuint32mf2_t hwy::N_RVV::Not(vuint32mf2_t)’:
/usr/include/hwy/ops/rvv-inl.h:1000:1: error: built-in function ‘__riscv_vnot_v_u32mf2’ requires the ‘v’ ISA extension
 1000 | HWY_RVV_FOREACH_UI(HWY_RVV_RETV_ARGV, Not, not, _ALL)
      | ^~~~~~~~~~~~~~~~~~
/usr/include/hwy/ops/rvv-inl.h: In function ‘vuint64m1_t hwy::N_RVV::Not(vuint64m1_t)’:
/usr/include/hwy/ops/rvv-inl.h:1000:1: error: built-in function ‘__riscv_vnot_v_u64m1’ requires the ‘v’ ISA extension
 1000 | HWY_RVV_FOREACH_UI(HWY_RVV_RETV_ARGV, Not, not, _ALL)
      | ^~~~~~~~~~~~~~~~~~
/usr/include/hwy/ops/rvv-inl.h: In function ‘vint8mf8_t hwy::N_RVV::Shl(vint8mf8_t, vint8mf8_t)’:
/usr/include/hwy/ops/rvv-inl.h:1373:1: error: built-in function ‘__riscv_vsll_vv_i8mf8’ requires the ‘v’ ISA extension
 1373 | HWY_RVV_FOREACH_I(HWY_RVV_SHIFT_II, Shl, sll, _ALL)
      | ^~~~~~~~~~~~~~~~~
/usr/include/hwy/ops/rvv-inl.h: In function ‘vint16mf4_t hwy::N_RVV::Shl(vint16mf4_t, vint16mf4_t)’:
/usr/include/hwy/ops/rvv-inl.h:1373:1: error: built-in function ‘__riscv_vsll_vv_i16mf4’ requires the ‘v’ ISA extension
 1373 | HWY_RVV_FOREACH_I(HWY_RVV_SHIFT_II, Shl, sll, _ALL)
      | ^~~~~~~~~~~~~~~~~
/usr/include/hwy/ops/rvv-inl.h: In function ‘vint32mf2_t hwy::N_RVV::Shl(vint32mf2_t, vint32mf2_t)’:
/usr/include/hwy/ops/rvv-inl.h:1373:1: error: built-in function ‘__riscv_vsll_vv_i32mf2’ requires the ‘v’ ISA extension
 1373 | HWY_RVV_FOREACH_I(HWY_RVV_SHIFT_II, Shl, sll, _ALL)
      | ^~~~~~~~~~~~~~~~~
/usr/include/hwy/ops/rvv-inl.h: In function ‘vint64m1_t hwy::N_RVV::Shl(vint64m1_t, vint64m1_t)’:
/usr/include/hwy/ops/rvv-inl.h:1373:1: error: built-in function ‘__riscv_vsll_vv_i64m1’ requires the ‘v’ ISA extension
 1373 | HWY_RVV_FOREACH_I(HWY_RVV_SHIFT_II, Shl, sll, _ALL)
      | ^~~~~~~~~~~~~~~~~
/usr/include/hwy/ops/rvv-inl.h: In instantiation of ‘vuint8mf4_t hwy::N_RVV::DemoteTo(Simd<unsigned char, N, -2>, vint32m1_t) [with long unsigned int N = 8192; vuint8mf4_t = vuint8mf4_t; vint32m1_t = vint32m1_t]’:
../libvips/resample/reducev_hwy.cpp:232:27:   required from here
  232 |                 auto demoted0 = DemoteTo(du8x32, sum0);
      |                                 ~~~~~~~~^~~~~~~~~~~~~~
/usr/include/hwy/ops/rvv-inl.h:2489:34: error: built-in function ‘__riscv_vnclipu_wx_u8mf4’ requires the ‘v’ ISA extension
 2489 |   return __riscv_vnclipu_wx_u8mf4(
      |          ~~~~~~~~~~~~~~~~~~~~~~~~^
 2490 |       DemoteTo(Simd<uint16_t, N, -1>(), v), 0,
      |       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 2491 |       HWY_RVV_INSERT_VXRM(__RISCV_VXRM_RDN, Lanes(d)));
      |       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ninja: build stopped: subcommand failed.
dh_auto_build: error: cd obj-riscv64-linux-gnu && LC_ALL=C.UTF-8 ninja -j4 -v returned exit code 1

https://buildd.debian.org/status/fetch.php?pkg=vips&arch=riscv64&ver=8.18.7-1%2Bb1&stamp=1794719458&raw=0

Cheers

#1154193#10
Date:
2026-11-16 21:45:00 UTC
From:
To:
Hi Sebastian,
 Thanks for reporting, but I'm not exactly sure what I can do with it.
The mentioned file (rvv-inl.h) is in src:highway. While both vips
8.18.7-1 and +b1 are built with the same src:hightway version, there's
a report against it [1] which talks about this hardware vector
extension. The mentioned bug report talks about various issues with
RVV support in src:highway and I think these do relate.
I don't have access to different riscv64 hardware, but will try to
play with QEMU and build src:highway in different ways to see how its
RVV support affects src:vips. But mainly I'm just looking for help
with it, not being familiar with riscv64 unfortunately.
The other point is, src:highway might not be maintained. It has an
NMU, a new upstream release (1.4.0) since 23rd of April, etc.

Regards,
Laszlo/GCS
[1] https://bugs.debian.org/1145420

#1154193#15
Date:
2026-11-19 10:10:50 UTC
From:
To:
Control: block -1 by 1145420
 Now I could reproduce it with a local cross-riscv64 chroot.
Background is, only newer riscv64 hardware have vector extension CPU
support. It is disabled by default, and src:highway package with the
gcc-15.patch checks this extension in runtime and use it when
available. But as some of our buildds upgraded and now have this
extension, its usage is broken. When a dependent package is being
compiled via the src:highway headers, it is confused now somehow and
so the build fails.
Rebuilding src:highway with the gcc-15.patch disabled, src:vips
compiles. For reference, here you can read about this issue [1]. Bad
thing is, its maintainer Mathieu seems to be absent. I don't know when
it will be solved.

Regards,
Laszlo/GCS
[1] https://bugs.debian.org/1145420

#1154193#22
Date:
2026-11-19 13:47:21 UTC
From:
To:
That bug report is open since August, so it might be a candidate for a
NMU.

Cheers