Hello,

Thanks for noticing me about the missing riscv64 architecture. I was hoping that GCC catches up with eBPF compilation and I could omit clang altogether. But I guess I'll have to wait a little bit longer.

On 24.10.21 10:47, Aurelien Jarno wrote:
The missing file reported by dh_install is lacking as the "BPF IR
Decoders" are not enabled, because clang is not available in the
build-depends on riscv64, contrary to many other architectures.
Therefore the fix is as simple as adding riscv64 to the clang:native
build-depends:

--- v4l-utils-1.22.1/debian/control
+++ v4l-utils-1.22.1/debian/control
@@ -4,7 +4,7 @@
  Maintainer: Gregor Jasny <gja...@googlemail.com>
  Uploaders: Loic Minier <l...@dooz.org>
  Build-Depends: debhelper-compat (= 13),
-               clang:native [amd64 arm64 armel armhf i386 mips mips64el mipsel 
ppc64el s390x powerpc powerpcspe ppc64 sparc64 x32],
+               clang:native [amd64 arm64 armel armhf i386 mips mips64el mipsel 
ppc64el s390x powerpc powerpcspe riscv64 ppc64 sparc64 x32],
                 doxygen,
                 gettext,
                 graphviz,

Could you please consider applying this patch for the future uploads?

I added the patch to the salsa git repo. It will be included with the next upload.


As a long-time member of Debian maybe you could give me an advise how to conditionally install the (conditionally created) systemd file. Creatin depends on the presence of clang and if systemd enabled bpf socket filtering (Debian does, Ubuntu does not). The decision is within the autoconf and based on it the systemd unit is created or omitted.

My approach
https://salsa.debian.org/debian/libv4l/-/commit/fe63c0af29bab9471daa6e0aba8d39e955777692

Seems to fail in the test-build-all

https://salsa.debian.org/debian/libv4l/-/jobs/2118024

Do you have an idea how to solve the problem more elegant?

Thanks,
Gregor

Reply via email to