Source: opencv
Version: 4.5.1+dfsg-1
Severity: important
Tags: patch
Hi,
opencv 4.5.1+dfsg-1 fails to build on architectures without Java
support, like hurd-i386 [1].
This is because the libopencv4.5-java binary was changed from arch:all
to arch:any in version 4.5.1+dfsg-1, so on architectures without Java
the files to install in libopencv4.5-java are not found.
The solution is to restrict the architecture of the libopencv4.5-java
binary to the same list of architectures of the other Java-related
binary, i.e. libopencv4.5-jni. Patch attached for this.
[1]
https://buildd.debian.org/status/fetch.php?pkg=opencv&arch=hurd-i386&ver=4.5.1%2Bdfsg-1&stamp=1608798863&raw=0
Thanks,
--
Pino
--- a/debian/control
+++ b/debian/control
@@ -1106,7 +1106,7 @@ Description: computer vision contrlib li
recognition, camera calibration and 3D reconstruction.
Package: libopencv4.5-java
-Architecture: any
+Architecture: amd64 arm64 armel armhf i386 mips64el mipsel ppc64el s390x alpha
ia64 m68k powerpc ppc64 riscv64 sh4 sparc64 x32
Multi-Arch: no
Section: java
Depends: libopencv4.5-jni (>= ${binary:Version}),
--
debian-science-maintainers mailing list
[email protected]
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/debian-science-maintainers