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

Attachment: opencfu_3.9.0-1_amd64.build
Description: Binary data

Reply via email to