[MacPorts] #50946: Build failure in qgis

MacPorts noreply at macports.org
Thu May 19 05:59:01 PDT 2016


#50946: Build failure in qgis
-------------------------+---------------------
  Reporter:  hansen.m@…  |      Owner:  vince@…
      Type:  defect      |     Status:  new
  Priority:  Normal      |  Milestone:
 Component:  ports       |    Version:  2.3.4
Resolution:              |   Keywords:
      Port:  qgis        |
-------------------------+---------------------

Comment (by frank.ortmann@…):

 Replying to [comment:9 f.baart@…]:
 > Not sure if this helps, but I noticed that there is some cmake magic [1]
 going on that generates a wrapper script if the pyuic4 script is not
 present. The script was named pyuic4-2.7 instead of pyuic4.
 > Another thing I noticed was that in another pyuic4 wrapper script [2]
 the executable python is called explicitly, which for me was referring to
 python35, without PyQt4 installed.
 >
 > To get qgis building I made 2 changes:
 > * I had to port select python27 and then set it back afterwards.
 > * I also created a symbolic link from pyuic4 to pyuic4-2.7 (in
 /opt/local/bin), but I did not test it without this link.
 >
 > [1]  in the file:
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_gis_qgis//qgis/work/qgis-2.14.2/mac/cmake/1qt.cmake.in
 >
 > [2]  the file
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_gis_qgis/qgis/work/qgis-2.14.2/scripts/pyuic4-wrapper.sh


 I already had python27 as my default (and only) version installed. I made
 the symlink for pyuic4, but my build for 2.14.2 still fails :-(


 {{{
 $ python --version
 Python 2.7.10
 $ pyuic4 --version
 Python User Interface Compiler 4.11.4 for Qt version 4.8.7
 }}}


 The last version that worked for me was 2.12.3.

-- 
Ticket URL: <https://trac.macports.org/ticket/50946#comment:10>
MacPorts <https://www.macports.org/>
Ports system for OS X


More information about the macports-tickets mailing list