[MacPorts] #52328: opencv 3.1.0 fails build on macOS Sierra
#52328: opencv 3.1.0 fails build on macOS Sierra ------------------------+-------------------------------- Reporter: jefrey_c@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Keywords: | Port: opencv ------------------------+-------------------------------- {{{:info:build /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_opencv/opencv/work/opencv-3.1.0/modules/videoio/src/cap_qtkit.mm:46:9: fatal error: 'QTKit/QTKit.h' file not found :info:build #import <QTKit/QTKit.h> :info:build ^}}} Seems to be an an issue with removal of QTKit in XCode 8? https://github.com/opencv/opencv/pull/7159 -- Ticket URL: <https://trac.macports.org/ticket/52328> MacPorts <https://www.macports.org/> Ports system for macOS
#52328: opencv 3.1.0 fails build on macOS Sierra -------------------------+------------------------ Reporter: jefrey_c@… | Owner: stromnov@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Resolution: | Keywords: sierra Port: opencv | -------------------------+------------------------ Changes (by ryandesign@…): * owner: macports-tickets@… => stromnov@… * keywords: => sierra Old description:
{{{:info:build /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_opencv/opencv/work/opencv-3.1.0/modules/videoio/src/cap_qtkit.mm:46:9: fatal error: 'QTKit/QTKit.h' file not found :info:build #import <QTKit/QTKit.h> :info:build ^}}}
Seems to be an an issue with removal of QTKit in XCode 8? https://github.com/opencv/opencv/pull/7159
New description: {{{ :info:build /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_opencv/opencv/work/opencv-3.1.0/modules/videoio/src/cap_qtkit.mm:46:9: fatal error: 'QTKit/QTKit.h' file not found :info:build #import <QTKit/QTKit.h> :info:build ^ }}} Seems to be an an issue with removal of QTKit in XCode 8? https://github.com/opencv/opencv/pull/7159 -- -- Ticket URL: <https://trac.macports.org/ticket/52328#comment:1> MacPorts <https://www.macports.org/> Ports system for macOS
#52328: opencv 3.1.0 fails build on macOS Sierra -------------------------+------------------------ Reporter: jefrey_c@… | Owner: stromnov@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Resolution: | Keywords: sierra Port: opencv | -------------------------+------------------------ Comment (by vitalys@…): The fix was merged to opencv trunk, but they aren't going to release v3.1.x. v3.2 planned or 2016 Q4. Is there any chance to update the port with trunk sources? -- Ticket URL: <https://trac.macports.org/ticket/52328#comment:3> MacPorts <https://www.macports.org/> Ports system for macOS
#52328: opencv 3.1.0 fails build on macOS Sierra -------------------------+------------------------ Reporter: jefrey_c@… | Owner: stromnov@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Resolution: | Keywords: sierra Port: opencv | -------------------------+------------------------ Comment (by victor.borjas@…): Cc Me! -- Ticket URL: <https://trac.macports.org/ticket/52328#comment:8> MacPorts <https://www.macports.org/> Ports system for the Mac operating system
#52328: opencv 3.1.0 fails build on macOS Sierra -------------------------+------------------------ Reporter: jefrey_c@… | Owner: stromnov@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Resolution: | Keywords: sierra Port: opencv | -------------------------+------------------------ Comment (by milutz@…): Relevant links: - Link to opencv bug and fix: https://github.com/opencv/opencv/issues/6913 (also offers side-effect- laden workaround of: {{{ cmake -DBUILD_opencv_videoio=OFF . }}} for current released source) - Link to homebrew workaround (building off of head): https://github.com/Homebrew/homebrew-science/issues/4104 I don't know how to take advantage of the above because I don't know how to force the port to have build options outside of what is defined in the variants (which {{{videoio}}} isn't) and/or force it to build off of the repo {{{HEAD}}} (as the homebrew people can) -- Ticket URL: <https://trac.macports.org/ticket/52328#comment:10> MacPorts <https://www.macports.org/> Ports system for the Mac operating system
#52328: opencv 3.1.0 fails build on macOS Sierra -------------------------+---------------------- Reporter: jefrey_c@… | Owner: stromnov Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: Resolution: | Keywords: sierra Port: opencv | -------------------------+---------------------- Changes (by mkae): * cc: rjvb (added) * version: 2.3.4 => Comment: Duplicate in #52697 -- Ticket URL: <https://trac.macports.org/ticket/52328#comment:13> MacPorts <https://www.macports.org/> Ports system for OS X
#52328: opencv 3.1.0 fails build on macOS Sierra -------------------------+---------------------- Reporter: jefrey_c@… | Owner: stromnov Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: Resolution: | Keywords: sierra Port: opencv | -------------------------+---------------------- Changes (by mkae): * Attachment "opencv_Portfile.diff" added. Portfile diff against current -- Ticket URL: <https://trac.macports.org/ticket/52328> MacPorts <https://www.macports.org/> Ports system for OS X
#52328: opencv 3.1.0 fails build on macOS Sierra -------------------------+---------------------- Reporter: jefrey_c@… | Owner: stromnov Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: Resolution: | Keywords: sierra Port: opencv | -------------------------+---------------------- Comment (by mkae): Please note, that above patch relies on cmake portgroup's version 1.1, which isn't yet released. (@RJVB, is the relevant ticket #52205? How is the status there?) I'll append the missing patch files in a second step now... -- Ticket URL: <https://trac.macports.org/ticket/52328#comment:14> MacPorts <https://www.macports.org/> Ports system for OS X
#52328: opencv 3.1.0 fails build on macOS Sierra -------------------------+---------------------- Reporter: jefrey_c@… | Owner: stromnov Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: Resolution: | Keywords: sierra Port: opencv | -------------------------+---------------------- Changes (by mkae): * Attachment "patch-find-openexr.diff" added. -- Ticket URL: <https://trac.macports.org/ticket/52328> MacPorts <https://www.macports.org/> Ports system for OS X
#52328: opencv 3.1.0 fails build on macOS Sierra -------------------------+---------------------- Reporter: jefrey_c@… | Owner: stromnov Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: Resolution: | Keywords: sierra Port: opencv | -------------------------+---------------------- Changes (by mkae): * Attachment "patch-pchsupport.diff" added. -- Ticket URL: <https://trac.macports.org/ticket/52328> MacPorts <https://www.macports.org/> Ports system for OS X
#52328: opencv 3.1.0 fails build on macOS Sierra -------------------------+---------------------- Reporter: jefrey_c@… | Owner: stromnov Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: Resolution: | Keywords: sierra Port: opencv | -------------------------+---------------------- Changes (by mkae): * Attachment "patch-use-avfound-no-qtkit.diff" added. -- Ticket URL: <https://trac.macports.org/ticket/52328> MacPorts <https://www.macports.org/> Ports system for OS X
#52328: opencv 3.1.0 fails build on macOS Sierra -------------------------+---------------------- Reporter: jefrey_c@… | Owner: stromnov Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: Resolution: | Keywords: sierra Port: opencv | -------------------------+---------------------- Changes (by mkae): * Attachment "cmake-1.1.tcl" added. The new cmake port group version 1.1 (which deserves a separate ticket for discussion, I suppose) -- Ticket URL: <https://trac.macports.org/ticket/52328> MacPorts <https://www.macports.org/> Ports system for OS X
#52328: opencv 3.1.0 fails build on macOS Sierra -------------------------+---------------------- Reporter: jefrey_c@… | Owner: stromnov Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: Resolution: | Keywords: sierra Port: opencv | -------------------------+---------------------- Comment (by mkae): For a final release within MacPorts it might be questionable to use the {{{linux}}} platform-specific bits in {{{opencv_Portfile.diff}}}... -- Ticket URL: <https://trac.macports.org/ticket/52328#comment:15> MacPorts <https://www.macports.org/> Ports system for OS X
#52328: opencv 3.1.0 fails build on macOS Sierra -------------------------+---------------------- Reporter: jefrey_c@… | Owner: stromnov Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: Resolution: | Keywords: sierra Port: opencv | -------------------------+---------------------- Comment (by tmenguy): Thanks a lot @mkae ... but excuse my freshness ... but how do I apply your patches and this ca keep 1.1? Thanks for your work, and your help! -- Ticket URL: <https://trac.macports.org/ticket/52328#comment:19> MacPorts <https://www.macports.org/> Ports system for macOS
participants (1)
-
MacPorts