πŸš€ go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: linux.debian.bugs.rc
3 messages
3 total messages Started by Sebastian Ramacher Mon, 16 Nov 2026 21:10
Bug#1154193: vips: FTBFS on riscv64: /usr/include/hwy/ops/rvv-inl.h:1000:1: error: built-in function β€˜__riscv_vnot_v_u8mf8’ requ...
#3358
Author: Sebastian Ramacher
Date: Mon, 16 Nov 2026 21:10
433 lines
29230 bytes
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
-- 
Sebastian Ramacher
Bug#1154193: vips: FTBFS on riscv64: /usr/include/hwy/ops/rvv-inl.h:1000:1: error: built-in function β€˜__riscv_vnot_v_u8mf8’ requ...
#3365
Author: LΓ‘szlΓ³ BΓΆszΓΆrmΓ©nyi (GCS)
Date: Mon, 16 Nov 2026 21:50
53 lines
5726 bytes
Hi Sebastian,

On Mon, Nov 16, 2026 at 10:05β€―PM Sebastian Ramacher
<sramacher@debian.org> wrote:
> 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)
>       | ^~~~~~~~~~~~~~~~~~
 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
Processed: Re: Bug#1154193: vips: FTBFS on riscv64: /usr/include/hwy/ops/rvv-inl.h:1000:1: error: built-in function β€˜__riscv_v...
#3595
Author: Debian Bug Tracking System
Date: Thu, 19 Nov 2026 10:20
14 lines
2374 bytes
Processing control commands:

> block -1 by 1145420
Bug #1154193 [src:vips] 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
1154193 was not blocked by any bugs.
1154193 was not blocking any bugs.
Added blocking bug(s) of 1154193: 1145420

-- 
1154193: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1154193
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads