[MacPorts] #57915: QGIS3 does not build on Mac OS Mojave
MacPorts
noreply at macports.org
Fri Jan 18 16:30:47 UTC 2019
#57915: QGIS3 does not build on Mac OS Mojave
------------------------+----------------------
Reporter: news24lor | Owner: Veence
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version: 2.5.4
Resolution: | Keywords:
Port: qgis3 |
------------------------+----------------------
Comment (by pelons):
I think that the main problem is the appling of the patch patch-
FindPyQt5_py.diff or the post-path command
{{{
reinplace -E "s|@FRAMEWORKS_DIR@|${frameworks_dir}|g" \
${worksrcpath}/cmake/FindPyQt5.py
}}}
Indeed port say:
{{{
Warning: reinplace s|@PYVERSION@|3.6| didn't change anything in
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_gis_qgis3/qgis3/work
/QGIS-3_4_2/cmake/FindPyQt5.py
}}}
As workaround you can create a symbolic link:
{{{
sudo ln -s
/opt//local/Library/Frameworks/Python.framework/Versions/3.6/share/sip
/opt/local/share/py36-sip
}}}
works well for me!
--
Ticket URL: <https://trac.macports.org/ticket/57915#comment:4>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list