[MacPorts] #42083: QGIS install failure

MacPorts noreply at macports.org
Fri Jan 10 11:00:39 PST 2014


#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


More information about the macports-tickets mailing list