Bug#978028: opencv: FTBFS on architectures without java
Pino Toscano
pino at debian.org
Thu Dec 24 19:10:57 GMT 2020
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
-------------- next part --------------
--- 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}),
More information about the debian-science-maintainers
mailing list