[MacPorts] #42083: QGIS install failure
#42083: QGIS install failure --------------------------------------+-------------------------------- Reporter: tsanders@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Keywords: command execution failed | Port: QGIS --------------------------------------+-------------------------------- Error: org.macports.build for port qgis returned: command execution failed qgis-2.0.1_0+postgis2+postgresql92+python27.darwin_12.x86_64.tbz2 OSX 10.8 Mountain Lion XCODE ver 5.0.2 Python2.7 -- Ticket URL: <https://trac.macports.org/ticket/42083> MacPorts <http://www.macports.org/> Ports system for OS X
#42083: QGIS install failure -------------------------+--------------------- Reporter: tsanders@… | Owner: vince@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: | Keywords: Port: QGIS | -------------------------+--------------------- Changes (by ryandesign@…): * owner: macports-tickets@… => vince@… * keywords: command execution failed => Comment: The relevant message in the log seems to be: {{{ /opt/local/bin/pyrcc4-2.7: No such file or directory }}} -- Ticket URL: <https://trac.macports.org/ticket/42083#comment:1> MacPorts <http://www.macports.org/> Ports system for OS X
#42083: QGIS install failure -------------------------+--------------------- Reporter: tsanders@… | Owner: vince@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: | Keywords: Port: QGIS | -------------------------+--------------------- Comment (by vince@…): Which version of py27-pyqt4 have you installed? -- Ticket URL: <https://trac.macports.org/ticket/42083#comment:2> MacPorts <http://www.macports.org/> Ports system for OS X
#42083: QGIS install failure -------------------------+--------------------- Reporter: tsanders@… | Owner: vince@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: | Keywords: Port: QGIS | -------------------------+--------------------- Comment (by tsanders@…): Thanks for the quick response! I thought that I had removed py27-pyqt4 because of QGIS sudo port installed pyrcc None of the specified ports are installed. sh-3.2# ls /opt/local/bin/pyrcc* /opt/local/bin/pyrcc4-2.7.mp_1389214849 sh-3.2# sudo port installed py27-pyqt4 The following ports are currently installed: py27-pyqt4 @4.10.3_2 sh-3.2# sudo port installed py27-pyqt4-devel The following ports are currently installed: py27-pyqt4-devel @4.10.4_20131018_0 (active) -- Ticket URL: <https://trac.macports.org/ticket/42083#comment:3> MacPorts <http://www.macports.org/> Ports system for OS X
#42083: QGIS install failure -------------------------+--------------------- Reporter: tsanders@… | Owner: vince@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: | Keywords: Port: QGIS | -------------------------+--------------------- Comment (by vince@…): There is obviously something wrong with your py27-pyqt4 installation. Please remove both (port -vf uninstall …), reinstall py27-pyqt4-devel and try again. -- Ticket URL: <https://trac.macports.org/ticket/42083#comment:4> MacPorts <http://www.macports.org/> Ports system for OS X
#42083: QGIS install failure -------------------------+--------------------- Reporter: tsanders@… | Owner: vince@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: | Keywords: Port: QGIS | -------------------------+--------------------- Comment (by tsanders@…): I have added another file with screen prints of the failure. I removed both versions of py27-pyqt4 and they were both reinstalled with egis -- Ticket URL: <https://trac.macports.org/ticket/42083#comment:5> MacPorts <http://www.macports.org/> Ports system for OS X
#42083: QGIS install failure -------------------------+--------------------- Reporter: tsanders@… | Owner: vince@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: | Keywords: Port: QGIS | -------------------------+--------------------- Comment (by vince@…): Ok. The installation process got entangled in the dependencies. Try in this order : remove py27-pyqt4 py27-pyqt4-devel py27-qscintilla. First, reinstall py27-pyqt4-devel Then, reinstall py27-qscintilla Finally, reinstall qgis. -- Ticket URL: <https://trac.macports.org/ticket/42083#comment:6> MacPorts <http://www.macports.org/> Ports system for OS X
#42083: QGIS install failure -------------------------+--------------------- Reporter: tsanders@… | Owner: vince@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: | Keywords: Port: QGIS | -------------------------+--------------------- Comment (by tsanders@…): port qgis still failed. I have attached a second screen print and log file to document my actions and results -- Ticket URL: <https://trac.macports.org/ticket/42083#comment:7> MacPorts <http://www.macports.org/> Ports system for OS X
#42083: QGIS install failure -------------------------+--------------------- Reporter: tsanders@… | Owner: vince@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: | Keywords: Port: QGIS | -------------------------+--------------------- Comment (by vince@…): It failed for another reason. Can you verify what files do you have in /opt/local/py27-sip/PyQt4/QtCore? Thanks! -- Ticket URL: <https://trac.macports.org/ticket/42083#comment:8> MacPorts <http://www.macports.org/> Ports system for OS X
#42083: QGIS install failure -------------------------+--------------------- Reporter: tsanders@… | Owner: vince@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: | Keywords: Port: QGIS | -------------------------+--------------------- Comment (by tsanders@…): The directory /opt/local/py27-sip does not exist -- Ticket URL: <https://trac.macports.org/ticket/42083#comment:9> MacPorts <http://www.macports.org/> Ports system for OS X
#42083: QGIS install failure -------------------------+--------------------- Reporter: tsanders@… | Owner: vince@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: | Keywords: Port: QGIS | -------------------------+--------------------- Comment (by vince@…): Oops. I meant /opt/local/share/py27-sip/… -- Ticket URL: <https://trac.macports.org/ticket/42083#comment:10> MacPorts <http://www.macports.org/> Ports system for OS X
#42083: QGIS install failure -------------------------+--------------------- Reporter: tsanders@… | Owner: vince@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: | Keywords: Port: QGIS | -------------------------+--------------------- Comment (by tsanders@…): I have attached a file with a directory listing of the location that you wanted. -- Ticket URL: <https://trac.macports.org/ticket/42083#comment:11> MacPorts <http://www.macports.org/> Ports system for OS X
#42083: QGIS install failure -------------------------+--------------------- Reporter: tsanders@… | Owner: vince@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: | Keywords: Port: QGIS | -------------------------+--------------------- Comment (by vince@…): It's strange, I see no configuration info in your last log. Can you do this: (sudo) port -v clean egis (sudo) port -v configure qgis and send me as a text file what the computer outputs? Thanks. -- Ticket URL: <https://trac.macports.org/ticket/42083#comment:12> MacPorts <http://www.macports.org/> Ports system for OS X
#42083: QGIS install failure -------------------------+--------------------- Reporter: tsanders@… | Owner: vince@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: | Keywords: Port: QGIS | -------------------------+--------------------- Comment (by tsanders@…): I have attached a 3rd screen print file. Thanks for all the help -- Ticket URL: <https://trac.macports.org/ticket/42083#comment:13> MacPorts <http://www.macports.org/> Ports system for OS X
#42083: QGIS install failure -------------------------+--------------------- Reporter: tsanders@… | Owner: vince@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: | Keywords: Port: QGIS | -------------------------+--------------------- Comment (by vince@…): Apart from a slightly outdated version of py27-pyqt4-devel I see nothing wrong. Can you try building with this configuration? I am going to build qgis on my side and see what I get. -- Ticket URL: <https://trac.macports.org/ticket/42083#comment:14> MacPorts <http://www.macports.org/> Ports system for OS X
#42083: QGIS install failure -------------------------+--------------------- Reporter: tsanders@… | Owner: vince@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: | Keywords: Port: QGIS | -------------------------+--------------------- Comment (by tsanders@…): I am sorry. What configuration do you want me to use? How should I try and build qgis? -- Ticket URL: <https://trac.macports.org/ticket/42083#comment:15> MacPorts <http://www.macports.org/> Ports system for OS X
#42083: QGIS install failure -------------------------+--------------------- Reporter: tsanders@… | Owner: vince@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: | Keywords: Port: QGIS | -------------------------+--------------------- Comment (by vince@…): When I compare the log you sent me and the log I get when I build qgis, it seems your invocation of sip-2.7 is truncated. You should get: {{{ :info:build cd /opt/local/var/macports/build/_Macports_dports_gis_qgis/qgis/work/qgis-2.0.1/build/python && /opt/local/bin/sip-2.7 -w -e -x HAVE_TOUCH -x MOBILITY_LOCATION -x QSETINT_CONVERSION -x QSETTYPE_CONVERSION -x VendorID -t WS_MACX -x PyQt_NoPrintRangeBug -t Qt_4_8_4 -x Py_v3 -g -o -a /opt/local/var/macports/build/_Macports_dports_gis_qgis/qgis/work/qgis-2.0.1/build/python/qgis.core.api -j 4 -c /opt/local/var/macports/build/_Macports_dports_gis_qgis/qgis/work/qgis-2.0.1/build/python/core -I /opt/local/share/py27-sip/PyQt4 -I /opt/local/var/macports/build/_Macports_dports_gis_qgis/qgis/work/qgis-2.0.1/python /opt/local/var/macports/build/_Macports_dports_gis_qgis/qgis/work/qgis-2.0.1/python/core/core.sip }}} and you get: {{{ /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_gis_qgis/qgis/work/qgis-2.0.1/build/python && /opt/local/bin/sip-2.7 -w -e -x HAVE_TOUCH -x MOBILITY_LOCATION -x QSETINT_CONVERSION -x QSETTYPE_CONVERSION -o -a /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_gis_qgis/qgis/work/qgis-2.0.1/build/python/qgis.core.api -j 4 -c /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_gis_qgis/qgis/work/qgis-2.0.1/build/python/core -I /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_gis_qgis/qgis/work/qgis-2.0.1/python /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_gis_qgis/qgis/work/qgis-2.0.1/python/core/core.sip }}} Your line lacks some options, especially the {{{ -I /opt/local/share/py27-sip/PyQt4 }}} line that tells sip to include the scripts stored in this directory. Why this happens, I have no clue as yet. I'd recommend maybe reinstalling py27-sip. Sorry if I appear groping, but this is a kind of conundrum. -- Ticket URL: <https://trac.macports.org/ticket/42083#comment:16> MacPorts <http://www.macports.org/> Ports system for OS X
#42083: QGIS install failure -------------------------+--------------------- Reporter: tsanders@… | Owner: vince@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: | Keywords: Port: QGIS | -------------------------+--------------------- Comment (by tsanders@…): Looks like you got it! I have been working on this on and off for 3 days now. I thought that I had previously uninstalled and installed sip before. Nevertheless it is working now. Thanks for all the hard work on this -- Ticket URL: <https://trac.macports.org/ticket/42083#comment:17> MacPorts <http://www.macports.org/> Ports system for OS X
#42083: QGIS install failure -------------------------+--------------------- Reporter: tsanders@… | Owner: vince@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: invalid | Keywords: Port: QGIS | -------------------------+--------------------- Changes (by vince@…): * status: new => closed * resolution: => invalid Comment: Great! You're very welcome! To quote a famous character: "I don't like the no-win scenario!" ;) I close the ticket with the "invalid" status since it is rather tied to a weird installation context rather than to the port itself. By the way, did you get the private message I sent you a while ago? Cheers! -- Ticket URL: <https://trac.macports.org/ticket/42083#comment:18> MacPorts <http://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts