[MacPorts] #53231: QGIS @2_18_2_2 build failure

MacPorts noreply at macports.org
Tue Jan 10 00:13:13 UTC 2017


#53231: QGIS @2_18_2_2 build failure
-----------------------+----------------------
  Reporter:  gcarlino  |      Owner:  Veence
      Type:  defect    |     Status:  assigned
  Priority:  Normal    |  Milestone:
 Component:  ports     |    Version:  2.3.5
Resolution:            |   Keywords:
      Port:  QGIS      |
-----------------------+----------------------

Comment (by EJFielding):

 I tried an earlier version of py27-sip @4.18.1_0, but that caused many
 problems with the QGIS build. Using the present py27-sip @4.19_0, here are
 more of the errors with sip components:
 {{{
 :info:build
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_gis_qgis/QGIS/work
 /QGIS-2_18_2/build/python/core/sip_corepart1.cpp:86260:9: error: virtual
 function 'dataType' has a different return type ('int') than the function
 it overrides (which has return type 'QGis::DataType')
 :info:build     int dataType(int) const;
 :info:build     ~~~ ^
 :info:build
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_gis_qgis/QGIS/work
 /QGIS-2_18_2/python/../src/core/raster/qgsrasterprojector.h:101:20: note:
 overridden virtual function is here
 :info:build     QGis::DataType dataType( int bandNo ) const override;
 :info:build     ~~~~~~~~~~~~~~ ^
 :info:build Loaded 182/183 from /opt/local/share/gdal/vertcs.csv
 :info:build Loaded 153/154 from /opt/local/share/gdal/compdcs.csv
 :info:build Loaded 148/149 from /opt/local/share/gdal/geoccs.csv
 :info:build Loading epsg.wkt
 :info:build Loading esri_extra.wkt
 :info:build 6063 WKTs loaded
 :info:build make[2]: Entering directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_gis_qgis/QGIS/work
 /QGIS-2_18_2/build'
 :info:build make[2]: Nothing to be done for
 `src/gui/CMakeFiles/qgis_gui.dir/build'.
 :info:build make[2]: Leaving directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_gis_qgis/QGIS/work
 /QGIS-2_18_2/build'
 :info:build [ 59%] Built target qgis_gui
 :info:build /Applications/Xcode.app/Contents/Developer/usr/bin/make -f
 src/auth/basic/CMakeFiles/basicauthmethod.dir/build.make
 src/auth/basic/CMakeFiles/basicauthmethod.dir/depend
 :info:build /Applications/Xcode.app/Contents/Developer/usr/bin/make -f
 src/auth/identcert/CMakeFiles/identcertauthmethod.dir/build.make
 src/auth/identcert/CMakeFiles/identcertauthmethod.dir/depend
 :info:build /Applications/Xcode.app/Contents/Developer/usr/bin/make -f
 src/auth/pkipaths/CMakeFiles/pkipathsauthmethod.dir/build.make
 src/auth/pkipaths/CMakeFiles/pkipathsauthmethod.dir/depend
 :info:build /Applications/Xcode.app/Contents/Developer/usr/bin/make -f
 src/auth/pkipkcs12/CMakeFiles/pkcs12authmethod.dir/build.make
 src/auth/pkipkcs12/CMakeFiles/pkcs12authmethod.dir/depend
 :info:build
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_gis_qgis/QGIS/work
 /QGIS-2_18_2/build/python/core/sip_corepart2.cpp:130799:27: error: call to
 implicitly-deleted copy constructor of '::QgsVectorLayerFeatureIterator'
 :info:build             sipCpp = new
 ::QgsVectorLayerFeatureIterator(*a0);
 :info:build                           ^                               ~~~
 :info:build
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_gis_qgis/QGIS/work
 /QGIS-2_18_2/python/../src/core/qgsvectorlayerfeatureiterator.h:196:42:
 note: copy constructor of 'QgsVectorLayerFeatureIterator' is implicitly
 deleted because field 'mExpressionContext' has an inaccessible copy
 constructor
 :info:build     QScopedPointer<QgsExpressionContext> mExpressionContext;
 :info:build                                          ^
 :info:build
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_gis_qgis/QGIS/work
 /QGIS-2_18_2/python/core/qgsexception.sip:8:19: error: use of undeclared
 identifier 'sipExportedExceptions__core'
 :info:build   PyErr_SetString(sipException_QgsCsException,
 sipExceptionRef.what().toUtf8().constData() );
 :info:build                   ^
 :info:build
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_gis_qgis/QGIS/work
 /QGIS-2_18_2/build/python/core/sipAPI_core.h:20150:37: note: expanded from
 macro 'sipException_QgsCsException'
 :info:build #define sipException_QgsCsException
 sipExportedExceptions__core[0]
 :info:build                                  ^
 }}}

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


More information about the macports-tickets mailing list