[MacPorts] #49150: py34-shiboken fail install or upgrade
#49150: py34-shiboken fail install or upgrade ------------------------------+-------------------------------- Reporter: david.w.watson@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Keywords: | Port: py34-shiboken ------------------------------+-------------------------------- See log -- Ticket URL: <https://trac.macports.org/ticket/49150> MacPorts <https://www.macports.org/> Ports system for OS X
#49150: py34-shiboken fail install or upgrade -------------------------------+--------------------- Reporter: david.w.watson@… | Owner: mmoll@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Resolution: | Keywords: Port: py-shiboken | -------------------------------+--------------------- Changes (by mf2k@…): * cc: mmoll@… (removed) * owner: macports-tickets@… => mmoll@… * port: py34-shiboken => py-shiboken -- Ticket URL: <https://trac.macports.org/ticket/49150#comment:1> MacPorts <https://www.macports.org/> Ports system for OS X
#49150: py34-shiboken fail install or upgrade -------------------------------+--------------------- Reporter: david.w.watson@… | Owner: mmoll@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Resolution: | Keywords: Port: py-shiboken | -------------------------------+--------------------- Comment (by mmoll@…): The problem appears to be that cmake cannot find Qt4. This error is not specific to py34-shiboken. Any cmake based project that includes a line like this will fail: {{{ find_package(Qt4 REQUIRED) }}} -- Ticket URL: <https://trac.macports.org/ticket/49150#comment:2> MacPorts <https://www.macports.org/> Ports system for OS X
#49150: py34-shiboken fail install or upgrade -------------------------------+--------------------- Reporter: david.w.watson@… | Owner: mmoll@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Resolution: | Keywords: Port: py-shiboken | -------------------------------+--------------------- Changes (by mmoll@…): * cc: michaelld@… (added) -- Ticket URL: <https://trac.macports.org/ticket/49150#comment:3> MacPorts <https://www.macports.org/> Ports system for OS X
#49150: py34-shiboken fail install or upgrade -------------------------------+--------------------- Reporter: david.w.watson@… | Owner: mmoll@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Resolution: | Keywords: Port: py-shiboken | -------------------------------+--------------------- Comment (by michaelld@…): The issue is not with Qt4, according to the build log. The issue is: {{{ :info:build /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports .org_release_tarballs_ports_python_py- shiboken/py34-shiboken/work/shiboken-1.2.2/libshiboken/sbkpython.h:26:10: fatal error: 'Python.h' file not found :info:build #include "Python.h" :info:build ^ }}} So, no idea what's going on there. That said, the QMAKE found is /opt/local/bin/qmake, which is outdated. Please do: {{{ sudo port self update sudo port upgrade outdated }}} to get the latest ports and such. Updating the outdated ports could take a while, but py*-shiboken should work after that. -- Ticket URL: <https://trac.macports.org/ticket/49150#comment:4> MacPorts <https://www.macports.org/> Ports system for OS X
#49150: py34-shiboken fail install or upgrade -------------------------------+--------------------- Reporter: david.w.watson@… | Owner: mmoll@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Resolution: | Keywords: Port: py-shiboken | -------------------------------+--------------------- Comment (by mmoll@…): You are right. I was trying to reproduce the bug on my machine which is up to date. I don't see the python error, but I get the cmake/Qt4 error. -- Ticket URL: <https://trac.macports.org/ticket/49150#comment:5> MacPorts <https://www.macports.org/> Ports system for OS X
#49150: py34-shiboken fail install or upgrade -------------------------------+--------------------- Reporter: david.w.watson@… | Owner: mmoll@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Resolution: | Keywords: Port: py-shiboken | -------------------------------+--------------------- Comment (by michaelld@…): Replying to [comment:5 mmoll@…]:
You are right. I was trying to reproduce the bug on my machine which is up to date. I don't see the python error, but I get the cmake/Qt4 error.
I don't see either error :) If you look through the debug log and the QMAKE environment variable is not set, then something isn't up to date. The latest py*-shiboken includes the qt4 PortGroup, which sets this variable. This variable is then used by find_package to determine the Qt install, at least for the cmake-provided Qt finder. -- Ticket URL: <https://trac.macports.org/ticket/49150#comment:6> MacPorts <https://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts