Opened 6 years ago

Last modified 6 years ago

#57341 closed defect

opencv @3.4.1_2 +contrib error - build failure — at Initial Version

Reported by: lbarrows Owned by: stromnov (Andrey Stromnov)
Priority: Normal Milestone:
Component: ports Version: 2.5.4
Keywords: Cc:
Port: opencv

Description

Installing opencv 3.4.1_2 with the following invocation fails under High Sierra.

sudo /opt/local/bin/port install opencv@3.4.1_2+contrib

Cleaning the port does not bring it back to a functioning state. Changing into the build tree and attempting to build the software after a build failure leads to the following errors extracted from the full output, which may indicate a possible protobuf update without testing the opencv +contribs build:


In file included from /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_opencv/opencv/work/opencv-3.4.1/modules/dnn/misc/caffe/opencv-caffe.pb.h:12:2: error:

This file was generated by a newer version of protoc which is

#error This file was generated by a newer version of protoc which is

/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_opencv/opencv/work/opencv-3.4.1/modules/dnn/misc/caffe/opencv-caffe.pb.h:13:2: error:

incompatible with your Protocol Buffer headers. Please update

#error incompatible with your Protocol Buffer headers. Please update

/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_opencv/opencv/work/opencv-3.4.1/modules/dnn/misc/caffe/opencv-caffe.pb.h:23:10: fatal error:

'google/protobuf/arena.h' file not found

#include <google/protobuf/arena.h>


I've attached the /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_opencv/opencv/main.log file as referenced in the port build error message. Let me know if there is any other information required.

Lester Barrows

Change History (1)

Changed 6 years ago by lbarrows

Attachment: main.log added

main.log from the failed OpenCV +contrib build

Note: See TracTickets for help on using tickets.