[Slackbuilds-users] opencv-legacy issue

Tim Dickson dickson.tim at googlemail.com
Wed Mar 6 20:15:46 UTC 2019


since updating python to 3.7.2 opencv-legacy fails to build with ..

[ 85%] Generating pyopencv_generated_include.h, 
pyopencv_generated_funcs.h, pyopencv_generated_types.h, 
pyopencv_generated_type_reg.h, pyopencv_generated_ns_reg.h
cd /tmp/SBo/opencv-3.1.0/build/modules/python3 && /usr/bin/python3 
/tmp/SBo/opencv-3.1.0/modules/python/python3/..//src2/gen2.py 
/tmp/SBo/opencv-3.1.0/build/modules/python3 
/tmp/SBo/opencv-3.1.0/build/modules/python3/headers.txt
Note: Class l has more than 1 base class (not supported by Python C 
extensions)
       Bases:  cv::a, cv::s, cv::s, cv::A, cv::l, cv::g, cv::o, cv::r, 
cv::i, cv::t, cv::h, cv::m
       Only the first base class will be used
Note: Class l has more than 1 base class (not supported by Python C 
extensions)
       Bases:  cv::a, cv::s, cv::s, cv::F, cv::i, cv::l, cv::e, cv::S, 
cv::t, cv::o, cv::r, cv::a, cv::g, cv::e
       Only the first base class will be used
Generator error: class l (cname=cv::l) already exists
modules/python3/CMakeFiles/opencv_python3.dir/build.make:276: recipe for 
target 'modules/python3/pyopencv_generated_include.h' failed
make[2]: *** [modules/python3/pyopencv_generated_include.h] Error 255
make[2]: Leaving directory '/tmp/SBo/opencv-3.1.0/build'
CMakeFiles/Makefile2:14021: recipe for target 
'modules/python3/CMakeFiles/opencv_python3.dir/all' failed
make[1]: *** [modules/python3/CMakeFiles/opencv_python3.dir/all] Error 2
make[1]: Leaving directory '/tmp/SBo/opencv-3.1.0/build'
Makefile:160: recipe for target 'all' failed
make: *** [all] Error 2

I've checked, and made sure  opencv-legacy was not previously installed 
when trying to recreate the package.
any ideas?
regards ,Tim



More information about the SlackBuilds-users mailing list