pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: CVS commit: pkgsrc/devel



On Thu, Sep 30, 2021 at 06:59:47PM +0000, Adam Ciarcinski wrote:
> Module Name:  pkgsrc
> Committed By: adam
> Date:         Thu Sep 30 18:59:47 UTC 2021
> 
> Modified Files:
>       pkgsrc/devel/protobuf: Makefile PLIST distinfo
>       pkgsrc/devel/py-protobuf: Makefile PLIST distinfo
> 
> Log Message:
> protobuf py-protobuf: updated to 3.18.0

It looks like this update broke graphics/opencv:

[ 32%] Building CXX object modules/dnn/CMakeFiles/opencv_dnn.dir/src/caffe/caffe_io.cpp.o
cc1plus: warning: command-line option '-Wstrict-prototypes' is valid for C/ObjC but not for C++
cc1plus: warning: command-line option '-Wno-missing-prototypes' is valid for C/ObjC but not for C++
[ 32%] Building CXX object modules/features2d/CMakeFiles/opencv_features2d.dir/src/kaze/fed.cpp.o
cc1plus: warning: command-line option '-Wmissing-prototypes' is valid for C/ObjC but not for C++
cc1plus: warning: command-line option '-Wstrict-prototypes' is valid for C/ObjC but not for C++
/tmp/work/graphics/opencv/work/opencv-3.4.9/modules/dnn/src/caffe/caffe_io.cpp: In function 'bool cv::dnn::ReadProtoFromBinary(google::protobuf::io::ZeroCopyInputStream*, google::protobuf::Message*)':
/tmp/work/graphics/opencv/work/opencv-3.4.9/modules/dnn/src/caffe/caffe_io.cpp:1114:67: error: no matching function for call to 'google::protobuf::io::CodedInputStream::SetTotalBytesLimit(const int&, 
int)'
 1114 |     coded_input.SetTotalBytesLimit(kProtoReadBytesLimit, 536870912);
      |                                                                   ^
In file included from /tmp/work/graphics/opencv/work/opencv-3.4.9/modules/dnn/src/caffe/caffe_io.cpp:93:
/usr/pkg/include/google/protobuf/io/coded_stream.h:401:8: note: candidate: 'void google::protobuf::io::CodedInputStream::SetTotalBytesLimit(int)'
  401 |   void SetTotalBytesLimit(int total_bytes_limit);
      |        ^~~~~~~~~~~~~~~~~~
/usr/pkg/include/google/protobuf/io/coded_stream.h:401:8: note:   candidate expects 1 argument, 2 provided
gmake[2]: *** [modules/dnn/CMakeFiles/opencv_dnn.dir/build.make:339: modules/dnn/CMakeFiles/opencv_dnn.dir/src/caffe/caffe_io.cpp.o] Error 1
gmake[1]: *** [CMakeFiles/Makefile2:2300: modules/dnn/CMakeFiles/opencv_dnn.dir/all] Error 2
gmake[1]: *** Waiting for unfinished jobs....
[ 32%] Building CXX object modules/features2d/CMakeFiles/opencv_features2d.dir/src/kaze/nldiffusion_functions.cpp.o
cc1plus: warning: command-line option '-Wmissing-prototypes' is valid for C/ObjC but not for C++
cc1plus: warning: command-line option '-Wstrict-prototypes' is valid for C/ObjC but not for C++
[ 32%] Building CXX object modules/features2d/CMakeFiles/opencv_features2d.dir/src/keypoint.cpp.o
cc1plus: warning: command-line option '-Wmissing-prototypes' is valid for C/ObjC but not for C++
cc1plus: warning: command-line option '-Wstrict-prototypes' is valid for C/ObjC but not for C++
[ 32%] Building CXX object modules/features2d/CMakeFiles/opencv_features2d.dir/src/main.cpp.o
cc1plus: warning: command-line option '-Wmissing-prototypes' is valid for C/ObjC but not for C++
cc1plus: warning: command-line option '-Wstrict-prototypes' is valid for C/ObjC but not for C++
[ 32%] Building CXX object modules/features2d/CMakeFiles/opencv_features2d.dir/src/matchers.cpp.o
[ 32%] Building CXX object modules/features2d/CMakeFiles/opencv_features2d.dir/src/mser.cpp.o
cc1plus: warning: command-line option '-Wmissing-prototypes' is valid for C/ObjC but not for C++
cc1plus: warning: command-line option '-Wstrict-prototypes' is valid for C/ObjC but not for C++
cc1plus: warning: command-line option '-Wmissing-prototypes' is valid for C/ObjC but not for C++
cc1plus: warning: command-line option '-Wstrict-prototypes' is valid for C/ObjC but not for C++
[ 32%] Building CXX object modules/features2d/CMakeFiles/opencv_features2d.dir/src/orb.cpp.o
cc1plus: warning: command-line option '-Wmissing-prototypes' is valid for C/ObjC but not for C++
cc1plus: warning: command-line option '-Wstrict-prototypes' is valid for C/ObjC but not for C++
[ 32%] Building CXX object modules/features2d/CMakeFiles/opencv_features2d.dir/opencl_kernels_features2d.cpp.o
cc1plus: warning: command-line option '-Wmissing-prototypes' is valid for C/ObjC but not for C++
cc1plus: warning: command-line option '-Wstrict-prototypes' is valid for C/ObjC but not for C++
[ 33%] Linking CXX shared library ../../lib/libopencv_features2d.so
[ 33%] Built target opencv_features2d
gmake: *** [Makefile:166: all] Error 2
*** Error code 2

Stop.
make[1]: stopped in /usr/pkgsrc/graphics/opencv
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/graphics/opencv



Home | Main Index | Thread Index | Old Index