[MacPorts] #53231: QGIS @2_18_2_2: error: virtual function 'dataType' has a different return type ('int') than the function it overrides (which has return type 'QGis::DataType')

MacPorts noreply at macports.org
Tue Apr 4 01:58:36 UTC 2017


#53231: QGIS @2_18_2_2: error: virtual function 'dataType' has a different return
type ('int') than the function it overrides (which has return type
'QGis::DataType')
-----------------------+----------------------
  Reporter:  gcarlino  |      Owner:  Veence
      Type:  defect    |     Status:  accepted
  Priority:  Normal    |  Milestone:
 Component:  ports     |    Version:  2.3.5
Resolution:            |   Keywords:
      Port:  QGIS      |
-----------------------+----------------------

Comment (by aaschwanden):

 Thank you guys for all your efforts, I'm now (almost) able to build QGIS
 using python 3.5 instead of 3.6 as in the above port file. I don't know if
 its related to my choice of the python version, but I get


 {{{
 :info:configure -- Ctest Binary Directory set to:
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_gis_qgis/QGIS/work/build/output/bin
 :info:configure -- Configuring incomplete, errors occurred!
 :info:configure See also
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_gis_qgis/QGIS/work/build/CMakeFiles/CMakeOutput.log".

 }}}

 I'll attach the main.log, I can't make much sense of it.

 I assume it will not be possible to build QGIS 2.8.15 with python 2.7
 instead? (I know that QGIS 3 will require python at QT5). There are still
 way too many python modules that are not python 3 compatible that I use on
 a daily basis (e.g. the PETSc build system, dolfin, ocgis), so making the
 switch to python 3 will be hard.

--
Ticket URL: <https://trac.macports.org/ticket/53231#comment:56>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list