[MacPorts] #35307: opencv @2.4.2 +universal configure failure: command execution failed
#35307: opencv @2.4.2 +universal configure failure: command execution failed ------------------------------------+--------------------------------------- Reporter: lucasvickers@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.1 Keywords: opencv python | Port: opencv ------------------------------------+--------------------------------------- Problem appears to be -- Could NOT find PythonLibs: Found unsuitable version "2.7.2", but required is at least "2.7.3" - I have confirmed that Python 2.7.3 is installed multiple times. - I force uninstalled python, confirmed file '/opt/local/lib/libpython2.7.dylib' was non existant, then installed python 2.7.3 +universal - I also tried allowing opencv port to control the installation of python 2.7.3. In every instance opencv port claims the python libs are 2.7.2. I believe this is the point of failure. -- Ticket URL: <https://trac.macports.org/ticket/35307> MacPorts <http://www.macports.org/> Ports system for Mac OS
#35307: opencv @2.4.2 +universal configure failure: command execution failed ------------------------------------+--------------------------------------- Reporter: lucasvickers@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.1 Keywords: | Port: opencv ------------------------------------+--------------------------------------- Changes (by ryandesign@…): * cc: lucasvickers@… (removed) * keywords: opencv python => Old description:
Problem appears to be -- Could NOT find PythonLibs: Found unsuitable version "2.7.2", but required is at least "2.7.3"
- I have confirmed that Python 2.7.3 is installed multiple times. - I force uninstalled python, confirmed file '/opt/local/lib/libpython2.7.dylib' was non existant, then installed python 2.7.3 +universal - I also tried allowing opencv port to control the installation of python 2.7.3.
In every instance opencv port claims the python libs are 2.7.2. I believe this is the point of failure.
New description: Problem appears to be {{{ -- Could NOT find PythonLibs: Found unsuitable version "2.7.2", but required is at least "2.7.3" }}} - I have confirmed that Python 2.7.3 is installed multiple times. - I force uninstalled python, confirmed file '/opt/local/lib/libpython2.7.dylib' was non existant, then installed python 2.7.3 +universal - I also tried allowing opencv port to control the installation of python 2.7.3. In every instance opencv port claims the python libs are 2.7.2. I believe this is the point of failure. -- -- Ticket URL: <https://trac.macports.org/ticket/35307#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#35307: opencv @2.4.2 +universal configure failure: command execution failed ------------------------------------+--------------------------------------- Reporter: lucasvickers@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.1 Keywords: | Port: opencv ------------------------------------+--------------------------------------- Comment(by ryandesign@…): I can confirm that opencv +universal does not complete the configure phase on my Lion machine either. However I don't think it has anything to do with python; those python failure messages also appear when you try to install opencv without the universal variant, but that still succeeds. -- Ticket URL: <https://trac.macports.org/ticket/35307#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
#35307: opencv @2.4.2 +universal configure failure: command execution failed ------------------------------------+--------------------------------------- Reporter: lucasvickers@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.1 Keywords: | Port: opencv ------------------------------------+--------------------------------------- Comment(by lucasvickers@…): {{{ You are correct I was able to compile without the +universal Does main.log give you any further details? thanks }}} -- Ticket URL: <https://trac.macports.org/ticket/35307#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS
#35307: opencv @2.4.2 +universal configure failure: command execution failed ------------------------------------+--------------------------------------- Reporter: lucasvickers@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.1 Keywords: | Port: opencv ------------------------------------+--------------------------------------- Comment(by lucasvickers@…): Any rough eta on how long this may take or general turn around time on tickets?[[BR]] Trying to decide how much effort I should put into compiling elsewhere.[[BR]] [[BR]] Thanks -- Ticket URL: <https://trac.macports.org/ticket/35307#comment:6> MacPorts <http://www.macports.org/> Ports system for Mac OS
#35307: opencv @2.4.2 +universal configure failure: command execution failed ------------------------------------+--------------------------------------- Reporter: lucasvickers@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.1 Keywords: | Port: opencv ------------------------------------+--------------------------------------- Comment(by basicbaer@…): It seems that the problem are not the Python libs. The message is just misleading, as the later following CMake code will pick up the correct library. The problem is that +universal will cause the removal of one include file from the main CMakeLists.txt file which contains a macro that is required later on. While the compile will fail when the include file cmake/OpenCVPCHSupport.cmake is used as is, as it enables PCH, the simple solution is to add a line containing {{{ SET(PCHSupport_FOUND FALSE) }}} directly after the include. I have attached the new diff file that replaces the old one and does as described above. -- Ticket URL: <https://trac.macports.org/ticket/35307#comment:8> MacPorts <http://www.macports.org/> Ports system for Mac OS
#35307: opencv @2.4.2 +universal configure failure: command execution failed ------------------------------------+--------------------------------------- Reporter: lucasvickers@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.1 Keywords: haspatch | Port: opencv ------------------------------------+--------------------------------------- Changes (by jmr@…): * keywords: => haspatch -- Ticket URL: <https://trac.macports.org/ticket/35307#comment:9> MacPorts <http://www.macports.org/> Ports system for Mac OS
#35307: opencv @2.4.2 +universal configure failure: command execution failed ------------------------------------+--------------------------------------- Reporter: lucasvickers@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.1 Keywords: haspatch | Port: opencv ------------------------------------+--------------------------------------- Changes (by ryandesign@…): * cc: ryandesign@… (added) Comment: Replying to [comment:8 basicbaer@…]:
the simple solution is to add a line containing {{{ SET(PCHSupport_FOUND FALSE) }}} directly after the include
I don't really understand the problem or the proposed solution so I'm a little uncomfortable committing it. I'd feel better if you could show me a statement from the developers of OpenCV stating that this is the correct solution. Or point me to where they've already committed this fix to their repository. If they haven't done that yet, then could you please first work with the developers of OpenCV to get this or some other solution accepted and committed to their repository? Then we can apply the same fix in MacPorts, until they release a new version of OpenCV. -- Ticket URL: <https://trac.macports.org/ticket/35307#comment:10> MacPorts <http://www.macports.org/> Ports system for Mac OS
#35307: opencv @2.4.2 +universal configure failure: command execution failed ------------------------------------+--------------------------------------- Reporter: lucasvickers@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.1 Keywords: haspatch | Port: opencv ------------------------------------+--------------------------------------- Comment(by basicbaer@…): Replying to [comment:10 ryandesign@…]:
I don't really understand the problem or the proposed solution so I'm a little uncomfortable committing it.
I don't understand either why the Universal variant cannot be build with PCH support.
I'd feel better if you could show me a statement from the developers of OpenCV
My patch has nothing to do with the OpenCV developers. I was just replacing the patch file ports/graphics/opencv/files/patch-pch- CMakeLists.txt.diff that is already part of the port. So I fixed the port, not OpenCV.
If they haven't done that yet, then could you please first work with the developers of OpenCV
Honestly I don't feel that as my responsibility as I am not the maintainer of this port. For me the fix works and I can live with a few port files maintained by myself locally ... -- Ticket URL: <https://trac.macports.org/ticket/35307#comment:11> MacPorts <http://www.macports.org/> Ports system for Mac OS
#35307: opencv @2.4.2 +universal configure failure: command execution failed -----------------------------+-------------------------------- Reporter: lucasvickers@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.1 Resolution: | Keywords: haspatch Port: opencv | -----------------------------+-------------------------------- Comment (by ryandesign@…): Replying to [comment:11 basicbaer@…]:
If they haven't done that yet, then could you please first work with the developers of OpenCV
Honestly I don't feel that as my responsibility as I am not the maintainer of this port.
Well clearly nobody has felt it is their responsibility, since nobody has agreed to be this port's maintainer. :) -- Ticket URL: <https://trac.macports.org/ticket/35307#comment:12> MacPorts <http://www.macports.org/> Ports system for Mac OS
#35307: opencv @2.4.2 +universal configure failure: command execution failed -----------------------------+------------------------ Reporter: lucasvickers@… | Owner: stromnov@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.1 Resolution: | Keywords: haspatch Port: opencv | -----------------------------+------------------------ Changes (by jmr@…): * owner: macports-tickets@… => stromnov@… -- Ticket URL: <https://trac.macports.org/ticket/35307#comment:13> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts