OpenCV 4.3.0+dfsg-1 dh_install missing files

2021abagali at tjhsst.edu 2021abagali at tjhsst.edu
Wed Aug 19 07:54:48 BST 2020


Hello,

I am currently trying to package OpenCV 4.3.0+dfsg-1 from this source: https://salsa.debian.org/science-team/opencv/-/tree/debian/4.3.0+dfsg-1 (https://salsa.debian.org/science-team/opencv/-/tree/debian/4.3.0+dfsg-1) with the default cmake parameters in debian/rules except for the following: 
 -DPROTOBUF_UPDATE_FILES=OFF
 -DPROTOBUF_UPDATE_FILES=OFF

I am trying to disable protobuf since OpenCV 4.3.0 requires protobuf 3.5.x and the Ubuntu bionic default version is 3.0.0, which was causing errors during the build. Enabling -DBUILD_PROTOBUF=ON fails as well, with error "<sys/videoio.h> no such file". The cmake build completes successfully, but dh_install fails with the following message: 

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

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

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

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

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

dh_install: libopencv-dnn4.3 missing files: usr/lib/*/libopencv_dnn.so.*
dh_install: Cannot find (any matches for) "usr/include/opencv4/opencv2/text/*" (tried in ., debian/tmp)

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

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

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

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

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

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

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

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

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

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

dh_install: libopencv-contrib4.3 missing files: usr/lib/*/libopencv_text.so.*
dh_install: Cannot find (any matches for) "usr/lib/*/libopencv_dnn_objdetect.so.*" (tried in ., debian/tmp)

dh_install: libopencv-contrib4.3 missing files: usr/lib/*/libopencv_dnn_objdetect.so.*
dh_install: Cannot find (any matches for) "usr/lib/*/libopencv_dnn_superres.so.*" (tried in ., debian/tmp)

dh_install: libopencv-contrib4.3 missing files: usr/lib/*/libopencv_dnn_superres.so.*
dh_install: missing files, aborting
	I am building on Ubuntu 18.04.5 with the command "debuild -b -us -uc", debhelper version 12.1.1ubuntu1~ubuntu18.04.1. 

How should I resolve these missing files?

Thanks,
Anup Bagali

Lead Student Systems Administrator 
TJHSST Computer Systems Lab
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/debian-science-maintainers/attachments/20200819/78073ed5/attachment-0001.html>


More information about the debian-science-maintainers mailing list