Hi Sebastian, On Mon, Nov 16, 2026 at 10:05 PM Sebastian Ramacher <[email protected]> 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

