Package: v4l-utils
Version: 1.22.1-1
Severity: important
Tags: ftbfs patch
User: debian-ri...@lists.debian.org
Usertags: riscv64

Dear maintainer,

Since version 1.22.1-1, v4l-utils fails to build on riscv64:

|     v4l2-compliance uses libv4l: yes
|     v4l2-compliance-32         : no
|     BPF IR Decoders:           : no
| make[1]: Leaving directory '/<<PKGBUILDDIR>>'
|    debian/rules override_dh_auto_build
 
...
 
| dh_install
| dh_install: warning: Cannot find (any matches for) 
"lib/systemd/system/systemd-udevd.service.d/50-rc_keymap.conf" (tried in ., 
debian/tmp)
| 
| dh_install: warning: ir-keytable missing files: 
lib/systemd/system/systemd-udevd.service.d/50-rc_keymap.conf
| dh_install: error: missing files, aborting
| make[1]: *** [debian/rules:27: override_dh_install] Error 25
| make[1]: Leaving directory '/<<PKGBUILDDIR>>'
| make: *** [debian/rules:12: binary-arch] Error 2
| dpkg-buildpackage: error: fakeroot debian/rules binary-arch subprocess 
returned exit status 2

The full build log is available there:
https://buildd.debian.org/status/fetch.php?pkg=v4l-utils&arch=riscv64&ver=1.22.1-1&stamp=1635009273&raw=0

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? 

Regards,
Aurelien

Reply via email to