🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.debian.bugs.rc
Article #3365

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
From: 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
Technical Details
Message-ID: <O0cKm-ckr7-3@gated-at.bofh.it>
Path: mbox-mo1.pugleaf.net!news-lax.pugleaf.net!news-ams.pugleaf.net!news.tcpreset.net!newsfeed.bofh.team!newsfeed.xs3.de!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomod
References: <O0c7E-ckbn-3@gated-at.bofh.it> <O0c7E-ckbn-3@gated-at.bofh.it>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-lax.pugleaf.net!news-ams.pugleaf.net!news.tcpreset.net!newsfeed.bofh.team!newsfeed.xs3.de!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomod
From: László Böszörményi (GCS) <gcs@debian.org>
Newsgroups: linux.debian.bugs.rc
Subject: Bug#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
Date: Mon, 16 Nov 2026 22:50:02 +0100
Message-ID: <O0cKm-ckr7-3@gated-at.bofh.it>
References: <O0c7E-ckbn-3@gated-at.bofh.it> <O0c7E-ckbn-3@gated-at.bofh.it>
X-Mailbox-Line: From debian-bugs-rc-request@lists.debian.org  Mon Nov 16 21:47:07 2026
Old-Return-Path: <debbugs@buxtehude.debian.org>
X-Spam-Flag: NO
X-Spam-Score: -1.7
Reply-To: László Böszörményi (GCS) <gcs@debian.org>, 1154193@bugs.debian.org
Resent-To: debian-bugs-dist@lists.debian.org
Resent-Cc: gcs@debian.org
X-Debian-Pr-Message: followup 1154193
X-Debian-Pr-Package: src:vips
X-Debian-Pr-Keywords: ftbfs
X-Debian-Pr-Source: vips
X-Forwarded-Encrypted: i=1; AL+hErHBMZrcigx/wm/5UxW0n39S6sD+/kA0GzJYOecl/uPXqmnHCF6BzDcCVwYtePbydbBFOR3U+ORp@bugs.debian.org
X-Gm-Message-State: APuU4Z/K2EAYSL2LWwO4cltqBTvKZRpTB1x2eEkIn/i5mRjpzHDBNn1p
	1D5o1UgScJsTsSg27R9v4crZft1pVJmEl/1weK3587oJN4AWG6jSCuA6q8t7bWbidd9Ks3HJ1ai
	GNQo/lz05DsvzxCJvGXkQB5Y3Lq/9D18=
X-Received: by 2002:a2e:a881:0:b0:3ab:53a5:797e with SMTP id
 38308e7fff4ca-3ae2b4cd7cbmr33447481fa.17.1794865512732; Mon, 16 Nov 2026
 13:45:12 -0800 (PST)
MIME-Version: 1.0
X-Gmail-Original-Message-ID: <CAKjSHr1CAjmAewsH0CfVQm_q1+zU+w46O2HAUpNWMEd90z6sDg@mail.gmail.com>
X-Gm-Features: AclHuK997zPrzYHouz3-cwaS70OCGkca6CnfMet_6jBCTDtpRHBi5PTodi92rIA
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Debian-User: gcs
X-Debian-Message: from BTS
X-Mailing-List: <debian-bugs-rc@lists.debian.org> archive/latest/838506
List-ID: <debian-bugs-rc.lists.debian.org>
List-URL: <https://lists.debian.org/debian-bugs-rc/>
Approved: robomod@news.nic.it
Lines: 53
Organization: linux.* mail to news gateway
Sender: robomod@news.nic.it
X-Original-Date: Mon, 16 Nov 2026 22:45:00 +0100
X-Original-Message-ID: <CAKjSHr1CAjmAewsH0CfVQm_q1+zU+w46O2HAUpNWMEd90z6sDg@mail.gmail.com>
X-Original-References: <avtvnrZRgGIo3OGF@ramacher.at> <avtvnrZRgGIo3OGF@ramacher.at>