Bug#1084865: opencv: FTBFS on alpha due to missing libtbb-dev

Michael Cree mcree at orcon.net.nz
Tue Oct 22 20:09:20 BST 2024


On Sun, 13 Oct 2024 17:55:07 +1300 Michael Cree <mcree at orcon.net.nz> wrote:
> Regarding:
> 
> > opencv currently FTBFS on alpha due to missing files during dh_install [1]
> 
> I note from the build log that the viz module was not built because
> it was disabled at cmake configure time at the start of the build.

[snip]

> I suggest we ask for a binNMU of vtk9 on Alpha to get it built on
> the buildd, and, assuming that is successful, give-back opencv on
> Alpha to see if that resolves this bug.

A rebuild of vtk9 did not fix the problem.

The actual problem is that libtbb-dev is not included in the
build-depends on Alpha.  The vtk9 modules requested by opencv in the
cmake configuration require libtbb-dev, and in the absence of libtbb-dev
the detection of vtk9 fails, hence the opencv viz module is not built,
and the build ultimately fails.

A test build of opencv on Alpha with debian/control updated to include
alpha in the libtbb-dev build-dependency arch-list built to completion.

Cheers,
Michael.



More information about the debian-science-maintainers mailing list