Opened 11 years ago
Closed 11 years ago
#42083 closed defect (invalid)
QGIS install failure
Reported by: | tsanders@… | Owned by: | Veence (Vincent) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.2.1 |
Keywords: | Cc: | ||
Port: | QGIS |
Description
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
Attachments (6)
Change History (24)
Changed 11 years ago by tsanders@…
Attachment: | qgis_main_log.txt added |
---|
comment:1 Changed 11 years ago by ryandesign (Ryan Carsten Schmidt)
Keywords: | command execution failed removed |
---|---|
Owner: | changed from macports-tickets@… to vince@… |
The relevant message in the log seems to be:
/opt/local/bin/pyrcc4-2.7: No such file or directory
comment:3 Changed 11 years ago 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)
comment:4 Changed 11 years ago by Veence (Vincent)
There is obviously something wrong with your py27-pyqt4 installation. Please remove both (port -vf uninstall …), reinstall py27-pyqt4-devel and try again.
Changed 11 years ago by tsanders@…
Attachment: | qgis_screen_print.txt added |
---|
comment:5 Changed 11 years ago 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
comment:6 Changed 11 years ago by Veence (Vincent)
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.
Changed 11 years ago by tsanders@…
Attachment: | qgis_main_log2.txt added |
---|
Changed 11 years ago by tsanders@…
Attachment: | qgis_screen_print2.txt added |
---|
comment:7 Changed 11 years ago by tsanders@…
port qgis still failed. I have attached a second screen print and log file to document my actions and results
comment:8 Changed 11 years ago by Veence (Vincent)
It failed for another reason. Can you verify what files do you have in /opt/local/py27-sip/PyQt4/QtCore? Thanks!
Changed 11 years ago by tsanders@…
Attachment: | directory_listing.txt added |
---|
comment:11 Changed 11 years ago by tsanders@…
I have attached a file with a directory listing of the location that you wanted.
comment:12 Changed 11 years ago by Veence (Vincent)
It's strange, I see no configuration info in your last log. Can you do this:
(sudo) port -v clean qgis (sudo) port -v configure qgis
and send me as a text file what the computer outputs? Thanks.
Changed 11 years ago by tsanders@…
Attachment: | qgis_screen_print3.txt added |
---|
comment:13 Changed 11 years ago by tsanders@…
I have attached a 3rd screen print file. Thanks for all the help
comment:14 Changed 11 years ago by Veence (Vincent)
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.
comment:15 Changed 11 years ago by tsanders@…
I am sorry. What configuration do you want me to use? How should I try and build qgis?
comment:16 Changed 11 years ago by Veence (Vincent)
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.
comment:17 Changed 11 years ago 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
comment:18 Changed 11 years ago by Veence (Vincent)
Resolution: | → invalid |
---|---|
Status: | new → closed |
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!
main log