[MacPorts] #50733: VLC @2.2.2 build error - build failure
#50733: VLC @2.2.2 build error - build failure -----------------------------+-------------------------------- Reporter: matt_langston@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Keywords: | Port: VLC -----------------------------+-------------------------------- VLC build failure when upgrading to VLC 2.2.2 from VLC @2.1.5_8+mod+mpc+osd+qtkit+quartz. {{{ $ sudo port selfupdate $ sudo port clean VLC $ sudo port upgrade outdated ... :info:build opencv_wrapper.c:42:10: fatal error: 'opencv2/core/fast_math.hpp' file not found :info:build #include <opencv2/core/fast_math.hpp> :info:build ^ :info:build 1 error generated. :info:build make[5]: *** [libopencv_wrapper_plugin_la-opencv_wrapper.lo] Error 1 :info:build make[5]: *** Waiting for unfinished jobs.... }}} The build is failing because opencv2/core/fast_math.hpp does not exist. I have opencv @2.4.11_0+python27 installed and require this version (i.e. I cannot upgrade to opencv 3.x). OS X Version: 10.11.3 (15D21) Xcode Version: 7.2.1 (7C1002) -- Ticket URL: <https://trac.macports.org/ticket/50733> MacPorts <https://www.macports.org/> Ports system for OS X
#50733: VLC @2.2.2 build error - build failure ------------------------------+---------------------- Reporter: matt_langston@… | Owner: devans@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: Resolution: | Keywords: Port: VLC | ------------------------------+---------------------- Changes (by devans@…): * owner: macports-tickets@… => devans@… * cc: rjvbertin@… (added) * version: 2.3.4 => Comment: I'm guessing you know the answer but the port is configured to work with the current version of opencv. This include is not in the original source but has been added via a patch. Assigning to the port's semi-maintainer :-) for interpretation. -- Ticket URL: <https://trac.macports.org/ticket/50733#comment:1> MacPorts <https://www.macports.org/> Ports system for OS X
#50733: VLC @2.2.2 build error - build failure ------------------------------+------------------------- Reporter: matt_langston@… | Owner: rjvbertin@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: Resolution: | Keywords: Port: VLC | ------------------------------+------------------------- Changes (by devans@…): * cc: rjvbertin@… (removed) * owner: devans@… => rjvbertin@… -- Ticket URL: <https://trac.macports.org/ticket/50733#comment:2> MacPorts <https://www.macports.org/> Ports system for OS X
#50733: VLC @2.2.2 build error - build failure ------------------------------+------------------------- Reporter: matt_langston@… | Owner: rjvbertin@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: Resolution: | Keywords: Port: VLC | ------------------------------+------------------------- Comment (by rjvbertin@…): I know that this VLC version built against an older opencv because I hadn't updated mine. I'll presume that someone who holds off on updating a port has some understanding of using a personal port tree with local, frozen and/or modified copies of mainstream port directories. So my suggestion would be to do this for VLC too, and remove the `patch- opencv_includes.diff` patchfile entry. That should make the port build again against the older opencv. Given the issues that this dependency is causing, we could also discuss adding a variant for the functionality it provides. I have no idea what one misses by removing it; maybe a more seasoned VLC user can give some background on that? -- Ticket URL: <https://trac.macports.org/ticket/50733#comment:3> MacPorts <https://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts