Bug#1012743: opencv: FTBFS on hppa (missing viz module)

Laurent Bigonville bigon at debian.org
Mon Jun 13 08:30:09 BST 2022


Source: opencv
Version: 4.5.4+dfsg-9
Severity: important
Tags: ftbfs
Justification: fails to build from source (but built successfully in the past)

Hello,

opencv FTBFS on hppa because it seems that the viz module is not enabled
during the build

   dh_install -a
dh_install: warning: Cannot find (any matches for) "usr/include/opencv4/opencv2/viz.hpp" (tried in ., debian/tmp)

dh_install: warning: libopencv-viz-dev missing files: usr/include/opencv4/opencv2/viz.hpp
dh_install: warning: Cannot find (any matches for) "usr/include/opencv4/opencv2/viz/*" (tried in ., debian/tmp)

dh_install: warning: libopencv-viz-dev missing files: usr/include/opencv4/opencv2/viz/*
dh_install: warning: Cannot find (any matches for) "usr/lib/*/libopencv_viz.a" (tried in ., debian/tmp)

dh_install: warning: libopencv-viz-dev missing files: usr/lib/*/libopencv_viz.a
dh_install: warning: Cannot find (any matches for) "usr/lib/*/libopencv_viz.so" (tried in ., debian/tmp)

dh_install: warning: libopencv-viz-dev missing files: usr/lib/*/libopencv_viz.so
dh_install: warning: Cannot find (any matches for) "usr/lib/*/libopencv_viz.so.*" (tried in ., debian/tmp)

dh_install: warning: libopencv-viz4.5d missing files: usr/lib/*/libopencv_viz.so.*
dh_install: error: missing files, aborting


https://buildd.debian.org/status/fetch.php?pkg=opencv&arch=hppa&ver=4.5.4%2Bdfsg-9%2Bb7&stamp=1655076922&raw=0

I see that some build-dependencies are not installed on hppa (and
others) architectures.

Maybe the libopencv-viz* packages should not be built on these?

Kind regards,
Laurent Bigonville

-- System Information:
Debian Release: bookworm/sid
  APT prefers unstable-debug
  APT policy: (500, 'unstable-debug'), (500, 'unstable'), (1, 'experimental-debug'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 5.17.0-3-amd64 (SMP w/8 CPU threads; PREEMPT)
Locale: LANG=fr_BE.UTF-8, LC_CTYPE=fr_BE.UTF-8 (charmap=UTF-8), LANGUAGE=fr_BE:fr
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: SELinux: enabled - Mode: Permissive - Policy name: refpolicy



More information about the debian-science-maintainers mailing list