[Debian-med-packaging] Bug#841248: opencfu: FTBFS: error with opencv 3.1

Nobuhiro Iwamatsu iwamatsu at nigauri.org
Tue Oct 18 23:19:04 UTC 2016


Source: opencfu
Version: 3.9.0-1
Severity: important
Justification: fails to build from source

Dear Maintainer,

I am scheduled to transition of opencv.
This package is target to transition. I tested build with opencv 3.1.
As a result, opencfu FTBFS with opencv 3.1.

-----
src/processor/headers/Predictor.hpp: At global scope:
src/processor/headers/Predictor.hpp:23:9: error: 'CvRTrees' does not name a type
         CvRTrees m_trees;
         ^~~~~~~~
src/processor/headers/Predictor.hpp:24:9: error: 'CvRTParams' does not
name a type
         CvRTParams m_rt_params;
         ^~~~~~~~~~
Makefile:1038: recipe for target 'src/opencfu-main.o' failed
make[2]: *** [src/opencfu-main.o] Error 1
make[2]: Leaving directory
'/home/iwamatsu/priv/debian/ocv/opencfu/opencfu-3.9.0'
Makefile:655: recipe for target 'all' failed
make[1]: *** [all] Error 2
make[1]: Leaving directory
'/home/iwamatsu/priv/debian/ocv/opencfu/opencfu-3.9.0'
dh_auto_build: make -j1 returned exit code 2
debian/rules:3: recipe for target 'build' failed
make: *** [build] Error 2
dpkg-buildpackage: error: debian/rules build gave error exit status 2

-----

CvRTParams and CvRTrees are not provided in opencv 3.1.
We need to use the cv::Ptr<cv::ml::RTrees> instead.

This problem already fixed in upstream with following commit:
edecbbd6fa13304b6f6a39efd49426c22c164786
87bbe96fdbc0416351acbf6994493a2fd46aa933

Could you fix this problem?

Best regards,
  Nobuhiro

-- 
Nobuhiro Iwamatsu
   iwamatsu at {nigauri.org / debian.org}
   GPG ID: 40AD1FA6
-------------- next part --------------
A non-text attachment was scrubbed...
Name: opencfu_3.9.0-1_amd64.build
Type: application/octet-stream
Size: 8095 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/debian-med-packaging/attachments/20161019/8f2e79e2/attachment-0001.obj>


More information about the Debian-med-packaging mailing list