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

classic Classic list List threaded Threaded
83 messages Options
12345
Reply | Threaded
Open this post in threaded view
|

Re: [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
#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 Veence):

 I have successfully compiled a version of QGis with QT5 and Python 3.6
 using the Portfile I will upload as soon as I finish typing this.
 The only problem you may encounter is qwt61. I have QWT6.1 installed
 (+qt5). Maybe it will work with QWT 6. Please let me know.

 This is what I have installed in terms of Python 36 modules:

 {{{
   py36-appdirs @1.4.3_0 (active)
   py36-certifi @2017.01.23_0 (active)
   py36-cython @0.25.2_0 (active)
   py36-gdal @2.1.0_0 (active)
   py36-nose @1.3.7_0 (active)
   py36-numpy @1.12.1_0+gfortran (active)
   py36-packaging @16.8_0 (active)
   py36-parsing @2.2.0_0 (active)
   py36-pyqt5 @5.8.1_0 (active)
   py36-qscintilla2 @2.10_0 (active)
   py36-setuptools @34.3.3_0 (active)
   py36-sip @4.19.2_0 (active)
   py36-six @1.10.0_0 (active)

 }}}

 I will be on holidays without computer all next week. Please don’t
 hesitate to test and amend the Portfile in the meantime.

--
Ticket URL: <https://trac.macports.org/ticket/53231#comment:57>
MacPorts <https://www.macports.org/>
Ports system for macOS
Reply | Threaded
Open this post in threaded view
|

Re: [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
In reply to this post by 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')
-----------------------+----------------------
  Reporter:  gcarlino  |      Owner:  Veence
      Type:  defect    |     Status:  accepted
  Priority:  Normal    |  Milestone:
 Component:  ports     |    Version:  2.3.5
Resolution:            |   Keywords:
      Port:  QGIS      |
-----------------------+----------------------
Changes (by Veence):

 * Attachment "Portfile" added.

 Portfile to build QGIS with QT5 and Python3

--
Ticket URL: <https://trac.macports.org/ticket/53231>
MacPorts <https://www.macports.org/>
Ports system for macOS
Reply | Threaded
Open this post in threaded view
|

Re: [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
In reply to this post by 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')
-----------------------+----------------------
  Reporter:  gcarlino  |      Owner:  Veence
      Type:  defect    |     Status:  accepted
  Priority:  Normal    |  Milestone:
 Component:  ports     |    Version:  2.3.5
Resolution:            |   Keywords:
      Port:  QGIS      |
-----------------------+----------------------

Comment (by aaschwanden):

 Many thanks, Vince.

 I tried to install QGIS with the QT5/Py3 variant and still get stuck here:


 {{{
 CMake Error at cmake/FindQwt.cmake:43 (FILE):
   file failed to open for reading (No such file or directory):

     /opt/local/libexec/qt5/include/qwt/qwt_global.h
 Call Stack (most recent call first):
   CMakeLists.txt:202 (FIND_PACKAGE)

 }}}

 even after I made sure qwt61 was installed with the +qt5 variant.

 I'll go ahead the try the py27 variant now.

 By the way: I think "qt5-qtwebkit" should be added to "depends_lib-append"
 for the Qt5 variant.

--
Ticket URL: <https://trac.macports.org/ticket/53231#comment:58>
MacPorts <https://www.macports.org/>
Ports system for macOS
Reply | Threaded
Open this post in threaded view
|

Re: [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
In reply to this post by 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')
-----------------------+----------------------
  Reporter:  gcarlino  |      Owner:  Veence
      Type:  defect    |     Status:  accepted
  Priority:  Normal    |  Milestone:
 Component:  ports     |    Version:  2.3.5
Resolution:            |   Keywords:
      Port:  QGIS      |
-----------------------+----------------------

Comment (by aaschwanden):

 Alright, I'm making progress on the py27 version, getting about 38% in
 when I encounter:


 {{{
 make[2]: Entering directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_gis_qgis/QGIS/work
 /QGIS-2_18_5/build'
 make[2]: *** No rule to make target `/opt/local/libexec/qt4/lib/libqwt-
 qt4.dylib', needed by
 `output/lib/qgis_gui.framework/Versions/2.18/qgis_gui'.  Stop.
 make[2]: Leaving directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_gis_qgis/QGIS/work
 /QGIS-2_18_5/build'
 make[1]: *** [src/gui/CMakeFiles/qgis_gui.dir/all] Error 2
 make[1]: *** Waiting for unfinished jobs....

 }}}

 I do have qwt61 with the qt4 variant active:


 {{{
 $ port installed qwt61
 The following ports are currently installed:
   qwt61 @6.1.3_0+qt4 (active)
   qwt61 @6.1.3_0+qt5

 }}}

 so I'm not sure what causes the error.

--
Ticket URL: <https://trac.macports.org/ticket/53231#comment:59>
MacPorts <https://www.macports.org/>
Ports system for macOS
Reply | Threaded
Open this post in threaded view
|

Re: [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
In reply to this post by 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')
-----------------------+----------------------
  Reporter:  gcarlino  |      Owner:  Veence
      Type:  defect    |     Status:  accepted
  Priority:  Normal    |  Milestone:
 Component:  ports     |    Version:  2.3.5
Resolution:            |   Keywords:
      Port:  QGIS      |
-----------------------+----------------------

Comment (by basmac):

 {{{
 On Sierra I don't get very far at all, after self update (Apr 11), force
 clean, remove inactive

 [mac27:/] root# port installed qwt61
 The following ports are currently installed:
   qwt61 @6.1.3_0+qt4 (active)
 [mac27:/]

 -- The C compiler identification is AppleClang 8.0.0.8000042
 -- The CXX compiler identification is AppleClang 8.0.0.8000042
 -- Check for working C compiler: /usr/bin/clang
 -- Check for working C compiler: /usr/bin/clang -- works
 -- Detecting C compiler ABI info
 -- Detecting C compiler ABI info - done
 -- Detecting C compile features
 -- Detecting C compile features - done
 -- Check for working CXX compiler: /usr/bin/clang++
 -- Check for working CXX compiler: /usr/bin/clang++ -- works
 -- Detecting CXX compiler ABI info
 -- Detecting CXX compiler ABI info - done
 -- Detecting CXX compile features
 -- Detecting CXX compile features - done
 -- QGIS version: 2.18.2 Las Palmas (21802)
 -- Looking for openpty
 -- Looking for openpty - found
 -- Found Proj: /opt/local/lib/libproj.dylib
 -- Found GEOS: /opt/local/lib/libgeos_c.dylib (3.6.1)
 -- Found GDAL: /opt/local/lib/libgdal.dylib (2.1.2)
 -- Found Expat: /opt/local/lib/libexpat.dylib
 -- Found Spatialindex: /opt/local/lib/libspatialindex.dylib
 -- Found Qwt: /opt/local/libexec/qt4/lib/libqwt.dylib (6.1.3)
 -- Found Sqlite3: /opt/local/lib/libsqlite3.dylib
 -- Found PostgreSQL:
 /Volumes/Cluster/opt/local/lib/postgresql96/libpq.dylib
 -- Found SpatiaLite: /opt/local/lib/libspatialite.dylib
 -- Looking for gaiaDropTable in /opt/local/lib/libspatialite.dylib
 -- Looking for gaiaDropTable in /opt/local/lib/libspatialite.dylib - found
 -- Looking for gaiaStatisticsInvalidate in
 /opt/local/lib/libspatialite.dylib
 -- Looking for gaiaStatisticsInvalidate in
 /opt/local/lib/libspatialite.dylib - found
 -- Looking for spatialite_init_ex in /opt/local/lib/libspatialite.dylib
 -- Looking for spatialite_init_ex in /opt/local/lib/libspatialite.dylib -
 found
 -- Qt WebKit support enabled
 -- Looking for Q_WS_X11
 -- Looking for Q_WS_X11 - not found
 -- Looking for Q_WS_WIN
 -- Looking for Q_WS_WIN - not found
 -- Looking for Q_WS_QWS
 -- Looking for Q_WS_QWS - not found
 -- Looking for Q_WS_MAC
 -- Looking for Q_WS_MAC - found
 -- Looking for QT_MAC_USE_COCOA
 -- Looking for QT_MAC_USE_COCOA - found
 -- Found Qt4: /opt/local/libexec/qt4/bin/qmake (found suitable version
 "4.8.7", minimum required is "4.8.0")
 -- Found Qt version: 4.8.7
 -- Touch support disabled
 -- Found QCA: /opt/local/libexec/qt4/lib/libqca.dylib (2.1.0)
 -- Found QCA OpenSSL plugin
 -- Pedantic compiler settings enabled
 -- Found PythonInterp: /opt/local/bin/python2.7 (found suitable version
 "2.7.13", minimum required is "2.7")
 -- Found PythonInterp:
 /opt/local/Library/Frameworks/Python.framework/Versions/2.7/bin/python
 (found suitable version "2.7.13", minimum required is "2.7")
 -- Found Python executable:
 /opt/local/Library/Frameworks/Python.framework/Versions/2.7/bin/python
 -- Found Python version: 2.7.13
 -- Found Python library:
 /opt/local/Library/Frameworks/Python.framework/Versions/2.7/Python
 -- Found PyQt4 version: 4.12
 -- Found SIP version: 4.19.2
 -- Found QScintilla2 PyQt module: 2.10
 -- Found GSL: -L/opt/local/lib -lgsl -lgslcblas
 -- Found FCGI: /opt/local/lib/libfcgi.dylib
 -- txt2tags not found - disabled
 -- Ctest Binary Directory set to:
 /Volumes/Cluster/opt/local/var/macports/build/_Volumes_Cluster_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_gis_qgis/QGIS/work
 /QGIS-2_18_2/build/output/bin
 CMake Error: The following variables are used in this project, but they
 are set to NOTFOUND.
 Please set them or make sure they are set and tested correctly in the
 CMake files:
 QSCINTILLA_LIBRARY
     linked by target "qgis_gui" in directory
 /Volumes/Cluster/opt/local/var/macports/build/_Volumes_Cluster_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_gis_qgis/QGIS/work
 /QGIS-2_18_2/src/gui

 -- Configuring incomplete, errors occurred!
 See also
 "/Volumes/Cluster/opt/local/var/macports/build/_Volumes_Cluster_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_gis_qgis/QGIS/work
 /QGIS-2_18_2/build/CMakeFiles/CMakeOutput.log".
 See also
 "/Volumes/Cluster/opt/local/var/macports/build/_Volumes_Cluster_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_gis_qgis/QGIS/work
 /QGIS-2_18_2/build/CMakeFiles/CMakeError.log".
 Command failed:  cd
 "/Volumes/Cluster/opt/local/var/macports/build/_Volumes_Cluster_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_gis_qgis/QGIS/work
 /QGIS-2_18_2/build" && cmake .. -DCMAKE_INSTALL_PREFIX='/opt/local'
 -DCMAKE_BUILD_TYPE=Release -DCMAKE_BUILD_WITH_INSTALL_RPATH=ON
 -DCMAKE_C_COMPILER="$CC" -DCMAKE_COLOR_MAKEFILE=ON
 -DCMAKE_CXX_COMPILER="$CXX" -DCMAKE_FIND_FRAMEWORK=LAST
 -DCMAKE_INSTALL_NAME_DIR=/opt/local/lib
 -DCMAKE_INSTALL_RPATH=/opt/local/lib
 -DCMAKE_MODULE_PATH=/opt/local/share/cmake/Modules
 -DCMAKE_SYSTEM_PREFIX_PATH="/opt/local;/usr" -DCMAKE_VERBOSE_MAKEFILE=ON
 -Wno-dev -DPYTHON_EXECUTABLE=/opt/local/bin/python2.7 -DWITH_GRASS=OFF
 -DWITH_GRASS7=OFF -DWITH_QWTPOLAR=FALSE -DGIT_MARKER=NOTFOUND
 -DENABLE_TEST=NO -DCMAKE_CXX_COMPILER=/usr/bin/clang++
 -DCMAKE_C_COMPILER=/usr/bin/clang -DEXPAT_INCLUDE_DIR=/opt/local/include
 -DEXPAT_LIBRARY=/opt/local/lib/libexpat.dylib
 -DCMAKE_INSTALL_PREFIX=/Applications/MacPorts -DQGIS_MACAPP_BUNDLE=0
 -DGDAL_CONFIG=/opt/local/bin/gdal-config
 -DGDAL_INCLUDE_DIR=/opt/local/include
 -DGDAL_LIBRARY=/opt/local/lib/libgdal.dylib -DGEOS_CONFIG=/opt/local/bin
 /geos-config -DGEOS_INCLUDE_DIR=/opt/local/include
 -DGEOS_LIBRARY=/opt/local/lib/libgeos_c.dylib -DGSL_CONFIG=/opt/local/bin
 /gsl-config -DPROJ_INCLUDE_DIR=/opt/local/include
 -DPROJ_LIBRARY=/opt/local/lib/libproj.dylib
 -DSPATIALINDEX_LIBRARY=/opt/local/lib/libspatialindex.dylib
 -DCMAKE_BUILD_TYPE=RELEASE -DENABLE_QT5=OFF
 -DPYTHON_CUSTOM_FRAMEWORK=/opt/local/Library/Frameworks/Python.framework/Versions/2.7
 -DSIP_BINARY_PATH=/opt/local/bin/sip-2.7
 -DPYUIC_PROGRAM=/opt/local/bin/pyuic4-2.7
 -DPYRCC_PROGRAM=/opt/local/bin/pyrcc4-2.7 -DWITH_SERVER=TRUE
 -DWITH_SERVER_PLUGINS=TRUE
 -DQWT_INCLUDE_DIR=/opt/local/libexec/qt4/include/qwt
 -DQWT_LIBRARY=/opt/local/libexec/qt4/lib/libqwt.dylib
 -DQCA_INCLUDE_DIR=/opt/local/libexec/qt4/include/QtCrypto
 -DQCA_LIBRARY=/opt/local/libexec/qt4/lib/libqca.dylib
 -DPOSTGRES_CONFIG=/opt/local/lib/postgresql96/bin/pg_config
 -DCMAKE_C_FLAGS_RELEASE="-DNDEBUG" -DCMAKE_CXX_FLAGS_RELEASE="-DNDEBUG"
 -DCMAKE_OSX_ARCHITECTURES="x86_64" -DCMAKE_OSX_DEPLOYMENT_TARGET="10.12"
 -DCMAKE_OSX_SYSROOT="/"
 /Volumes/Cluster/opt/local/var/macports/build/_Volumes_Cluster_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_gis_qgis/QGIS/work
 /QGIS-2_18_2
 Exit code: 1
 Error: Failed to configure QGIS: configure failure: command execution
 failed
 DEBUG: Error code: NONE
 DEBUG: Backtrace: configure failure: command execution failed
     while executing
 "$procedure $targetname"
 Error: See
 /opt/local/var/macports/logs/_Volumes_Cluster_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_gis_qgis/QGIS/main.log
 for details.
 Error: Follow https://guide.macports.org/#project.tickets to report a bug.
 Error: Processing of port QGIS failed
 [mac27:/]
 }}}

--
Ticket URL: <https://trac.macports.org/ticket/53231#comment:60>
MacPorts <https://www.macports.org/>
Ports system for macOS
Reply | Threaded
Open this post in threaded view
|

Re: [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
In reply to this post by 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')
-----------------------+----------------------
  Reporter:  gcarlino  |      Owner:  Veence
      Type:  defect    |     Status:  accepted
  Priority:  Normal    |  Milestone:
 Component:  ports     |    Version:  2.3.5
Resolution:            |   Keywords:
      Port:  QGIS      |
-----------------------+----------------------

Comment (by aaschwanden):

 @basmac:

 It looks like that either/or qscintilla2 and py27-qscintilla2 ports are
 missing. Can you check if they are installed?

--
Ticket URL: <https://trac.macports.org/ticket/53231#comment:61>
MacPorts <https://www.macports.org/>
Ports system for macOS
Reply | Threaded
Open this post in threaded view
|

Re: [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
In reply to this post by 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')
-----------------------+----------------------
  Reporter:  gcarlino  |      Owner:  Veence
      Type:  defect    |     Status:  accepted
  Priority:  Normal    |  Milestone:
 Component:  ports     |    Version:  2.3.5
Resolution:            |   Keywords:
      Port:  QGIS      |
-----------------------+----------------------

Comment (by kencu):

 qscintilla's libraries have been recently renamed - lots of ports broke
 due to that. Looks like you could set QSCINTILLA_LIBRARY to the new name
 using a cmake variable, something like this `configure.args-append
 -DQSCINTILLA_LIBRARY=${prefix}/lib/whatever_it_is.dylib`. But this seems
 to be a different error than the one this ticket stsrted out with.

--
Ticket URL: <https://trac.macports.org/ticket/53231#comment:62>
MacPorts <https://www.macports.org/>
Ports system for macOS
Reply | Threaded
Open this post in threaded view
|

Re: [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
In reply to this post by 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')
-----------------------+----------------------
  Reporter:  gcarlino  |      Owner:  Veence
      Type:  defect    |     Status:  accepted
  Priority:  Normal    |  Milestone:
 Component:  ports     |    Version:  2.3.5
Resolution:            |   Keywords:
      Port:  QGIS      |
-----------------------+----------------------

Comment (by basmac):

 {{{
 I did have to install both qscintilla2, but similar results -

 [mac27:/Applications] root# port installed qscintilla2
 The following ports are currently installed:
   qscintilla2 @2.10_0 (active)
 [mac27:/Applications] root# port installed py27-qscintilla2
 The following ports are currently installed:
   py27-qscintilla2 @2.10_0 (active)
 [mac27:/Applications] root# port clean QGIS
 --->  Cleaning QGIS
 [mac27:/Applications]

 -- The C compiler identification is AppleClang 8.0.0.8000042
 -- The CXX compiler identification is AppleClang 8.0.0.8000042
 -- Check for working C compiler: /usr/bin/clang
 -- Check for working C compiler: /usr/bin/clang -- works
 -- Detecting C compiler ABI info
 -- Detecting C compiler ABI info - done
 -- Detecting C compile features
 -- Detecting C compile features - done
 -- Check for working CXX compiler: /usr/bin/clang++
 -- Check for working CXX compiler: /usr/bin/clang++ -- works
 -- Detecting CXX compiler ABI info
 -- Detecting CXX compiler ABI info - done
 -- Detecting CXX compile features
 -- Detecting CXX compile features - done
 -- QGIS version: 2.18.2 Las Palmas (21802)
 -- Looking for openpty
 -- Looking for openpty - found
 -- Found Proj: /opt/local/lib/libproj.dylib
 -- Found GEOS: /opt/local/lib/libgeos_c.dylib (3.6.1)
 -- Found GDAL: /opt/local/lib/libgdal.dylib (2.1.2)
 -- Found Expat: /opt/local/lib/libexpat.dylib
 -- Found Spatialindex: /opt/local/lib/libspatialindex.dylib
 -- Found Qwt: /opt/local/libexec/qt4/lib/libqwt.dylib (6.1.3)
 -- Found Sqlite3: /opt/local/lib/libsqlite3.dylib
 -- Found PostgreSQL:
 /Volumes/Cluster/opt/local/lib/postgresql96/libpq.dylib
 -- Found SpatiaLite: /opt/local/lib/libspatialite.dylib
 -- Looking for gaiaDropTable in /opt/local/lib/libspatialite.dylib
 -- Looking for gaiaDropTable in /opt/local/lib/libspatialite.dylib - found
 -- Looking for gaiaStatisticsInvalidate in
 /opt/local/lib/libspatialite.dylib
 -- Looking for gaiaStatisticsInvalidate in
 /opt/local/lib/libspatialite.dylib - found
 -- Looking for spatialite_init_ex in /opt/local/lib/libspatialite.dylib
 -- Looking for spatialite_init_ex in /opt/local/lib/libspatialite.dylib -
 found
 -- Qt WebKit support enabled
 -- Looking for Q_WS_X11
 -- Looking for Q_WS_X11 - not found
 -- Looking for Q_WS_WIN
 -- Looking for Q_WS_WIN - not found
 -- Looking for Q_WS_QWS
 -- Looking for Q_WS_QWS - not found
 -- Looking for Q_WS_MAC
 -- Looking for Q_WS_MAC - found
 -- Looking for QT_MAC_USE_COCOA
 -- Looking for QT_MAC_USE_COCOA - found
 -- Found Qt4: /opt/local/libexec/qt4/bin/qmake (found suitable version
 "4.8.7", minimum required is "4.8.0")
 -- Found Qt version: 4.8.7
 -- Touch support disabled
 -- Found QCA: /opt/local/libexec/qt4/lib/libqca.dylib (2.1.0)
 -- Found QCA OpenSSL plugin
 -- Pedantic compiler settings enabled
 -- Found PythonInterp: /opt/local/bin/python2.7 (found suitable version
 "2.7.13", minimum required is "2.7")
 -- Found PythonInterp:
 /opt/local/Library/Frameworks/Python.framework/Versions/2.7/bin/python
 (found suitable version "2.7.13", minimum required is "2.7")
 -- Found Python executable:
 /opt/local/Library/Frameworks/Python.framework/Versions/2.7/bin/python
 -- Found Python version: 2.7.13
 -- Found Python library:
 /opt/local/Library/Frameworks/Python.framework/Versions/2.7/Python
 -- Found PyQt4 version: 4.12
 -- Found SIP version: 4.19.2
 -- Found QScintilla2 PyQt module: 2.10
 -- Found GSL: -L/opt/local/lib -lgsl -lgslcblas
 -- Found FCGI: /opt/local/lib/libfcgi.dylib
 -- txt2tags not found - disabled
 -- Ctest Binary Directory set to:
 /Volumes/Cluster/opt/local/var/macports/build/_Volumes_Cluster_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_gis_qgis/QGIS/work
 /QGIS-2_18_2/build/output/bin
 CMake Error: The following variables are used in this project, but they
 are set to NOTFOUND.
 Please set them or make sure they are set and tested correctly in the
 CMake files:
 QSCINTILLA_LIBRARY
     linked by target "qgis_gui" in directory
 /Volumes/Cluster/opt/local/var/macports/build/_Volumes_Cluster_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_gis_qgis/QGIS/work
 /QGIS-2_18_2/src/gui

 -- Configuring incomplete, errors occurred!
 See also
 "/Volumes/Cluster/opt/local/var/macports/build/_Volumes_Cluster_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_gis_qgis/QGIS/work
 /QGIS-2_18_2/build/CMakeFiles/CMakeOutput.log".
 See also
 "/Volumes/Cluster/opt/local/var/macports/build/_Volumes_Cluster_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_gis_qgis/QGIS/work
 /QGIS-2_18_2/build/CMakeFiles/CMakeError.log".
 Command failed:  cd
 "/Volumes/Cluster/opt/local/var/macports/build/_Volumes_Cluster_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_gis_qgis/QGIS/work
 /QGIS-2_18_2/build" && cmake .. -DCMAKE_INSTALL_PREFIX='/opt/local'
 -DCMAKE_BUILD_TYPE=Release -DCMAKE_BUILD_WITH_INSTALL_RPATH=ON
 -DCMAKE_C_COMPILER="$CC" -DCMAKE_COLOR_MAKEFILE=ON
 -DCMAKE_CXX_COMPILER="$CXX" -DCMAKE_FIND_FRAMEWORK=LAST
 -DCMAKE_INSTALL_NAME_DIR=/opt/local/lib
 -DCMAKE_INSTALL_RPATH=/opt/local/lib
 -DCMAKE_MODULE_PATH=/opt/local/share/cmake/Modules
 -DCMAKE_SYSTEM_PREFIX_PATH="/opt/local;/usr" -DCMAKE_VERBOSE_MAKEFILE=ON
 -Wno-dev -DPYTHON_EXECUTABLE=/opt/local/bin/python2.7 -DWITH_GRASS=OFF
 -DWITH_GRASS7=OFF -DWITH_QWTPOLAR=FALSE -DGIT_MARKER=NOTFOUND
 -DENABLE_TEST=NO -DCMAKE_CXX_COMPILER=/usr/bin/clang++
 -DCMAKE_C_COMPILER=/usr/bin/clang -DEXPAT_INCLUDE_DIR=/opt/local/include
 -DEXPAT_LIBRARY=/opt/local/lib/libexpat.dylib
 -DCMAKE_INSTALL_PREFIX=/Applications/MacPorts -DQGIS_MACAPP_BUNDLE=0
 -DGDAL_CONFIG=/opt/local/bin/gdal-config
 -DGDAL_INCLUDE_DIR=/opt/local/include
 -DGDAL_LIBRARY=/opt/local/lib/libgdal.dylib -DGEOS_CONFIG=/opt/local/bin
 /geos-config -DGEOS_INCLUDE_DIR=/opt/local/include
 -DGEOS_LIBRARY=/opt/local/lib/libgeos_c.dylib -DGSL_CONFIG=/opt/local/bin
 /gsl-config -DPROJ_INCLUDE_DIR=/opt/local/include
 -DPROJ_LIBRARY=/opt/local/lib/libproj.dylib
 -DSPATIALINDEX_LIBRARY=/opt/local/lib/libspatialindex.dylib
 -DCMAKE_BUILD_TYPE=RELEASE -DENABLE_QT5=OFF
 -DPYTHON_CUSTOM_FRAMEWORK=/opt/local/Library/Frameworks/Python.framework/Versions/2.7
 -DSIP_BINARY_PATH=/opt/local/bin/sip-2.7
 -DPYUIC_PROGRAM=/opt/local/bin/pyuic4-2.7
 -DPYRCC_PROGRAM=/opt/local/bin/pyrcc4-2.7 -DWITH_SERVER=TRUE
 -DWITH_SERVER_PLUGINS=TRUE
 -DQWT_INCLUDE_DIR=/opt/local/libexec/qt4/include/qwt
 -DQWT_LIBRARY=/opt/local/libexec/qt4/lib/libqwt.dylib
 -DQCA_INCLUDE_DIR=/opt/local/libexec/qt4/include/QtCrypto
 -DQCA_LIBRARY=/opt/local/libexec/qt4/lib/libqca.dylib
 -DPOSTGRES_CONFIG=/opt/local/lib/postgresql96/bin/pg_config
 -DCMAKE_C_FLAGS_RELEASE="-DNDEBUG" -DCMAKE_CXX_FLAGS_RELEASE="-DNDEBUG"
 -DCMAKE_OSX_ARCHITECTURES="x86_64" -DCMAKE_OSX_DEPLOYMENT_TARGET="10.12"
 -DCMAKE_OSX_SYSROOT="/"
 /Volumes/Cluster/opt/local/var/macports/build/_Volumes_Cluster_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_gis_qgis/QGIS/work
 /QGIS-2_18_2
 Exit code: 1
 Error: Failed to configure QGIS: configure failure: command execution
 failed
 DEBUG: Error code: NONE
 DEBUG: Backtrace: configure failure: command execution failed
     while executing
 "$procedure $targetname"
 Error: See
 /opt/local/var/macports/logs/_Volumes_Cluster_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_gis_qgis/QGIS/main.log
 for details.
 Error: Follow https://guide.macports.org/#project.tickets to report a bug.
 Error: Processing of port QGIS failed
 [mac27:/Applications] root#

 }}}

--
Ticket URL: <https://trac.macports.org/ticket/53231#comment:63>
MacPorts <https://www.macports.org/>
Ports system for macOS
Reply | Threaded
Open this post in threaded view
|

Re: [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
In reply to this post by 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')
-----------------------+----------------------
  Reporter:  gcarlino  |      Owner:  Veence
      Type:  defect    |     Status:  accepted
  Priority:  Normal    |  Milestone:
 Component:  ports     |    Version:  2.3.5
Resolution:            |   Keywords:
      Port:  QGIS      |
-----------------------+----------------------

Comment (by basmac):

 The same procedure as above builds QGIS on El Cap, with identical Macports
 list of installed items.

--
Ticket URL: <https://trac.macports.org/ticket/53231#comment:64>
MacPorts <https://www.macports.org/>
Ports system for macOS
Reply | Threaded
Open this post in threaded view
|

Re: [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
In reply to this post by 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')
-----------------------+----------------------
  Reporter:  gcarlino  |      Owner:  Veence
      Type:  defect    |     Status:  accepted
  Priority:  Normal    |  Milestone:
 Component:  ports     |    Version:  2.3.5
Resolution:            |   Keywords:
      Port:  QGIS      |
-----------------------+----------------------

Comment (by basmac):

 I should have made the point that the El Cap build go QGIS actually
 compiles and makes before failing, whereas Sierra fails almost
 immediately.

--
Ticket URL: <https://trac.macports.org/ticket/53231#comment:66>
MacPorts <https://www.macports.org/>
Ports system for macOS
Reply | Threaded
Open this post in threaded view
|

Re: [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
In reply to this post by 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')
-----------------------+----------------------
  Reporter:  gcarlino  |      Owner:  Veence
      Type:  defect    |     Status:  accepted
  Priority:  Normal    |  Milestone:
 Component:  ports     |    Version:  2.3.5
Resolution:            |   Keywords:
      Port:  QGIS      |
-----------------------+----------------------

Comment (by Veence):

 Sorry I was away on vacation. Will pick up and hopefully tidy up the
 Portfile in the following days.

--
Ticket URL: <https://trac.macports.org/ticket/53231#comment:67>
MacPorts <https://www.macports.org/>
Ports system for macOS
Reply | Threaded
Open this post in threaded view
|

Re: [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
In reply to this post by 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')
-----------------------+----------------------
  Reporter:  gcarlino  |      Owner:  Veence
      Type:  defect    |     Status:  accepted
  Priority:  Normal    |  Milestone:
 Component:  ports     |    Version:  2.3.5
Resolution:            |   Keywords:
      Port:  QGIS      |
-----------------------+----------------------
Changes (by Veence):

 * Attachment "Portfile.2" added.

 Portfile working for QT4/Py2.7 or QT5/Py3.6

--
Ticket URL: <https://trac.macports.org/ticket/53231>
MacPorts <https://www.macports.org/>
Ports system for macOS
Reply | Threaded
Open this post in threaded view
|

Re: [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
In reply to this post by 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')
-----------------------+----------------------
  Reporter:  gcarlino  |      Owner:  Veence
      Type:  defect    |     Status:  accepted
  Priority:  Normal    |  Milestone:
 Component:  ports     |    Version:  2.3.5
Resolution:            |   Keywords:
      Port:  QGIS      |
-----------------------+----------------------

Comment (by Veence):

 Ok, I’ve attached a new Portfile.

 This one lets you choose between QT4+Py2.7 or QT5+Py3.6. You cannot have
 QT5+Py2.7, this is forbidden by QGIS. I don't think that QT4+Py3.6 is
 allowed either, that would not make sense anyway.

 QT5 is now the DEFAULT choice.

 QT4+py2.7 is untested so far. Please by all means give it a crack (+qt4
 option).

 Grass 6 is obsolete. +grass hooks to Grass 7. Please install it (currently
 v 7.2).

 That’s all folks. Please let me know. If it works, I shall commit it.

 Thanks for you patience all those months. Much appreciated. ❤️

--
Ticket URL: <https://trac.macports.org/ticket/53231#comment:68>
MacPorts <https://www.macports.org/>
Ports system for macOS
Reply | Threaded
Open this post in threaded view
|

Re: [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
In reply to this post by 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')
-----------------------+----------------------
  Reporter:  gcarlino  |      Owner:  Veence
      Type:  defect    |     Status:  accepted
  Priority:  Normal    |  Milestone:
 Component:  ports     |    Version:  2.3.5
Resolution:            |   Keywords:
      Port:  QGIS      |
-----------------------+----------------------

Comment (by basmac):

 {{{
 Thanks for the work, on Sierra with Portfile.2 as Portfile set locally,
 and portindex parsed, and removing any py27-qscintilla that was installed
 as a workaround previously

 --->  Computing dependencies for QGIS
 DEBUG: QGIS has no conflicts
 DEBUG: Searching for dependency: cmake
 DEBUG: Found Dependency: receipt exists for cmake
 DEBUG: Searching for dependency: bison
 DEBUG: Found Dependency: receipt exists for bison
 DEBUG: Searching for dependency: ld64
 DEBUG: Found Dependency: receipt exists for ld64
 DEBUG: Searching for dependency: pkgconfig
 DEBUG: Found Dependency: receipt exists for pkgconfig
 DEBUG: Searching for dependency: py36-sip
 DEBUG: Found Dependency: receipt exists for py36-sip
 DEBUG: Searching for dependency: libiconv
 DEBUG: Found Dependency: receipt exists for libiconv
 DEBUG: Searching for dependency: expat
 DEBUG: Found Dependency: receipt exists for expat
 DEBUG: Searching for dependency: openssl
 DEBUG: Found Dependency: receipt exists for openssl
 DEBUG: Searching for dependency: proj
 DEBUG: Found Dependency: receipt exists for proj
 DEBUG: Searching for dependency: geos
 DEBUG: Found Dependency: receipt exists for geos
 DEBUG: Searching for dependency: gdal
 DEBUG: Found Dependency: receipt exists for gdal
 DEBUG: Searching for dependency: sqlite3
 DEBUG: Found Dependency: receipt exists for sqlite3
 DEBUG: Searching for dependency: gsl
 DEBUG: Found Dependency: receipt exists for gsl
 DEBUG: Searching for dependency: fcgi
 DEBUG: Found Dependency: receipt exists for fcgi
 DEBUG: Searching for dependency: spatialindex
 DEBUG: Found Dependency: receipt exists for spatialindex
 DEBUG: Searching for dependency: postgis2
 DEBUG: Found Dependency: receipt exists for postgis2
 DEBUG: Searching for dependency: qjson
 DEBUG: Found Dependency: receipt exists for qjson
 DEBUG: Searching for dependency: python36
 DEBUG: Found Dependency: receipt exists for python36
 DEBUG: Searching for dependency: py36-pyqt5
 DEBUG: Found Dependency: receipt exists for py36-pyqt5
 DEBUG: Searching for dependency: py36-qscintilla2
 DEBUG: Found Dependency: receipt exists for py36-qscintilla2
 DEBUG: Searching for dependency: qt5-qtscript
 DEBUG: Found Dependency: receipt exists for qt5-qtscript
 DEBUG: Searching for dependency: qt5-sqlite-plugin
 DEBUG: Found Dependency: receipt exists for qt5-sqlite-plugin
 DEBUG: Searching for dependency: qwt61
 DEBUG: Found Dependency: receipt exists for qwt61
 DEBUG: Searching for dependency: qca-qt5
 DEBUG: Found Dependency: receipt exists for qca-qt5
 DEBUG: Searching for dependency: qca-qt5-ossl
 DEBUG: Found Dependency: receipt exists for qca-qt5-ossl
 DEBUG: Searching for dependency: py36-gdal
 DEBUG: Found Dependency: receipt exists for py36-gdal
 DEBUG: Searching for dependency: postgresql96
 DEBUG: Found Dependency: receipt exists for postgresql96
 DEBUG: Searching for dependency: qt5-qtbase
 DEBUG: Found Dependency: receipt exists for qt5-qtbase
 DEBUG: Searching for dependency: py36-psycopg2
 DEBUG: Found Dependency: receipt exists for py36-psycopg2
 DEBUG: Searching for dependency: py36-requests
 DEBUG: Found Dependency: receipt exists for py36-requests
 DEBUG: Executing org.macports.main (QGIS)
 DEBUG: dropping privileges: euid changed to 504, egid changed to 501.
 DEBUG: archivefetch phase started at Tue Apr 18 13:24:22 MDT 2017
 DEBUG: Executing org.macports.archivefetch (QGIS)
 DEBUG: Privilege de-escalation not attempted as not running as root.
 DEBUG: fetch phase started at Tue Apr 18 13:24:22 MDT 2017
 --->  Fetching distfiles for QGIS
 DEBUG: Executing org.macports.fetch (QGIS)
 DEBUG: Privilege de-escalation not attempted as not running as root.
 DEBUG: checksum phase started at Tue Apr 18 13:24:22 MDT 2017
 --->  Verifying checksums for QGIS
 DEBUG: Executing org.macports.checksum (QGIS)
 --->  Checksumming patch-app_info_plist_in.diff
 Error: No checksum set for patch-app_info_plist_in.diff
 --->  Checksumming patch-PyQtMacros.diff
 Error: No checksum set for patch-PyQtMacros.diff
 --->  Checksumming QGIS-2_18_5.tar.gz
 Error: No checksum set for QGIS-2_18_5.tar.gz
 The correct checksum line may be:
 checksums           patch-app_info_plist_in.diff \
                     rmd160  50e9d6b126192eabbacc208cba29569de1ec5534 \
                     sha256
 d76416adbe698907b2a5af703ec8d686dbaacc252a7497b1958d3327ec5fc187 \
                     patch-PyQtMacros.diff \
                     rmd160  50e9d6b126192eabbacc208cba29569de1ec5534 \
                     sha256
 d76416adbe698907b2a5af703ec8d686dbaacc252a7497b1958d3327ec5fc187 \
                     QGIS-2_18_5.tar.gz \
                     rmd160  50e9d6b126192eabbacc208cba29569de1ec5534 \
                     sha256
 d76416adbe698907b2a5af703ec8d686dbaacc252a7497b1958d3327ec5fc187
 Error: Failed to checksum QGIS: Unable to verify file checksums
 DEBUG: Error code: NONE
 DEBUG: Backtrace: Unable to verify file checksums
     while executing
 "$procedure $targetname"
 Error: See
 /opt/local/var/macports/logs/_Volumes_User_bmcinnes_ports_gis_qgis/QGIS/main.log
 for details.
 Error: Follow https://guide.macports.org/#project.tickets to report a bug.
 Error: Processing of port QGIS failed
 }}}

--
Ticket URL: <https://trac.macports.org/ticket/53231#comment:69>
MacPorts <https://www.macports.org/>
Ports system for macOS
Reply | Threaded
Open this post in threaded view
|

Re: [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
In reply to this post by 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')
-----------------------+----------------------
  Reporter:  gcarlino  |      Owner:  Veence
      Type:  defect    |     Status:  accepted
  Priority:  Normal    |  Milestone:
 Component:  ports     |    Version:  2.3.5
Resolution:            |   Keywords:
      Port:  QGIS      |
-----------------------+----------------------

Comment (by basmac):

 {{{
 On El Cap similar result

 [mac27:/Users/bmcinnes/ports] root# cat /Publicmac//qgis.elcap.log
 DEBUG: Removing directory:
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_qca
 /qca-qt5-ossl
 DEBUG: Removing symlink:
 /opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs/ports/devel/qca/work
 DEBUG: Removing directory:
 /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_qca
 /qca-qt5-ossl
 DEBUG: Executing org.macports.main (QGIS)
 DEBUG: dropping privileges: euid changed to 504, egid changed to 503.
 DEBUG: archivefetch phase started at Tue Apr 18 13:29:24 MDT 2017
 DEBUG: Executing org.macports.archivefetch (QGIS)
 DEBUG: Privilege de-escalation not attempted as not running as root.
 DEBUG: fetch phase started at Tue Apr 18 13:29:24 MDT 2017
 --->  Fetching distfiles for QGIS
 DEBUG: Executing org.macports.fetch (QGIS)
 --->  patch-app_info_plist_in.diff does not exist in
 /opt/local/var/macports/distfiles/QGIS
 --->  Attempting to fetch patch-app_info_plist_in.diff from
 https://distfiles.macports.org/QGIS
   % Total    % Received % Xferd  Average Speed   Time    Time     Time
 Current
                                  Dload  Upload   Total   Spent    Left
 Speed
   0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--
 0DEBUG: Fetching distfile failed: The requested URL returned error: 404
 Not Found
 --->  Attempting to fetch patch-app_info_plist_in.diff from
 https://github.com/qgis/QGIS/tarball/final-2_18_5
   % Total    % Received % Xferd  Average Speed   Time    Time     Time
 Current
                                  Dload  Upload   Total   Spent    Left
 Speed
 100   130    0   130    0     0    146      0 --:--:-- --:--:-- --:--:--
 146
 100 94.6M    0 94.6M    0     0  4208k      0 --:--:--  0:00:23 --:--:--
 4789k
 --->  patch-PyQtMacros.diff does not exist in
 /opt/local/var/macports/distfiles/QGIS
 --->  Attempting to fetch patch-PyQtMacros.diff from
 https://distfiles.macports.org/QGIS
   % Total    % Received % Xferd  Average Speed   Time    Time     Time
 Current
                                  Dload  Upload   Total   Spent    Left
 Speed
   0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--
 0DEBUG: Fetching distfile failed: The requested URL returned error: 404
 Not Found
 --->  Attempting to fetch patch-PyQtMacros.diff from
 https://github.com/qgis/QGIS/tarball/final-2_18_5
   % Total    % Received % Xferd  Average Speed   Time    Time     Time
 Current
                                  Dload  Upload   Total   Spent    Left
 Speed
 100   130    0   130    0     0    270      0 --:--:-- --:--:-- --:--:--
 270
 100 94.6M  100 94.6M    0     0  5328k      0  0:00:18  0:00:18 --:--:--
 7419k
 --->  QGIS-2_18_5.tar.gz does not exist in
 /opt/local/var/macports/distfiles/QGIS
 --->  Attempting to fetch QGIS-2_18_5.tar.gz from
 https://distfiles.macports.org/QGIS
   % Total    % Received % Xferd  Average Speed   Time    Time     Time
 Current
                                  Dload  Upload   Total   Spent    Left
 Speed
   0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--
 0DEBUG: Fetching distfile failed: The requested URL returned error: 404
 Not Found
 --->  Attempting to fetch QGIS-2_18_5.tar.gz from
 https://github.com/qgis/QGIS/tarball/final-2_18_5
   % Total    % Received % Xferd  Average Speed   Time    Time     Time
 Current
                                  Dload  Upload   Total   Spent    Left
 Speed
 100   130    0   130    0     0    465      0 --:--:-- --:--:-- --:--:--
 467
 100 94.6M  100 94.6M    0     0  3654k      0  0:00:26  0:00:26 --:--:--
 4320k
 DEBUG: Privilege de-escalation not attempted as not running as root.
 DEBUG: checksum phase started at Tue Apr 18 13:30:33 MDT 2017
 --->  Verifying checksums for QGIS
 DEBUG: Executing org.macports.checksum (QGIS)
 --->  Checksumming patch-app_info_plist_in.diff
 Error: No checksum set for patch-app_info_plist_in.diff
 --->  Checksumming patch-PyQtMacros.diff
 Error: No checksum set for patch-PyQtMacros.diff
 --->  Checksumming QGIS-2_18_5.tar.gz
 Error: No checksum set for QGIS-2_18_5.tar.gz
 The correct checksum line may be:
 checksums           patch-app_info_plist_in.diff \
                     rmd160  50e9d6b126192eabbacc208cba29569de1ec5534 \
                     sha256
 d76416adbe698907b2a5af703ec8d686dbaacc252a7497b1958d3327ec5fc187 \
                     patch-PyQtMacros.diff \
                     rmd160  50e9d6b126192eabbacc208cba29569de1ec5534 \
                     sha256
 d76416adbe698907b2a5af703ec8d686dbaacc252a7497b1958d3327ec5fc187 \
                     QGIS-2_18_5.tar.gz \
                     rmd160  50e9d6b126192eabbacc208cba29569de1ec5534 \
                     sha256
 d76416adbe698907b2a5af703ec8d686dbaacc252a7497b1958d3327ec5fc187
 Error: Failed to checksum QGIS: Unable to verify file checksums
 DEBUG: Error code: NONE
 DEBUG: Backtrace: Unable to verify file checksums
     while executing
 "$procedure $targetname"
 Error: See
 /opt/local/var/macports/logs/_Volumes_User_apsd_ports_gis_qgis/QGIS/main.log
 for details.
 Error: Follow https://guide.macports.org/#project.tickets to report a bug.
 Error: Processing of port QGIS failed
 --->  Some of the ports you installed have notes:
   py36-cython has the following notes:
     To make the Python 3.6 version of Cython the one that is run when you
 execute the commands without a version suffix, e.g. 'cython', run:

     port select --set cython cython36
   py36-sip has the following notes:
     py36-sip is available under a PSF license with one addition:

         4. Licensee may not use SIP to generate Python bindings for any C
 or
            C++ library for which bindings are already provided by
 Riverbank.

     GPL-2 or GPL-3 licenses are also available. For details see
     /opt/local/share/doc/py36-sip/LICENSE [-GPL2 -GPL3]
   python36 has the following notes:
     To make this the default Python or Python 3 (i.e., the version run by
 the 'python' or 'python3' commands), run one or both of:

         sudo port select --set python python36
         sudo port select --set python3 python36

     ##############################################################
     # IF YOU ARE USING PYTHON FROM THE TERMINAL, PLEASE INSTALL:
     #   py36-readline
     # TO AVOID A LIBEDIT / PYTHON INTERACTION ISSUE.
     # REF: https://trac.macports.org/ticket/48807
     ##############################################################
 bash-3.2#
 }}}

--
Ticket URL: <https://trac.macports.org/ticket/53231#comment:70>
MacPorts <https://www.macports.org/>
Ports system for macOS
Reply | Threaded
Open this post in threaded view
|

Re: [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
In reply to this post by 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')
-----------------------+----------------------
  Reporter:  gcarlino  |      Owner:  Veence
      Type:  defect    |     Status:  accepted
  Priority:  Normal    |  Milestone:
 Component:  ports     |    Version:  2.3.5
Resolution:            |   Keywords:
      Port:  QGIS      |
-----------------------+----------------------

Comment (by aaschwanden):

 The new Portfile works for me on my OSX Sierra with


 {{{
 -qt5 +qt4 +grass
 }}}

 both for 2.18.5 as in the Portfile and for 2.8.16. (latest version)

 I have not tested the py36/qt5 version.

 Thanks to everyone!

--
Ticket URL: <https://trac.macports.org/ticket/53231#comment:71>
MacPorts <https://www.macports.org/>
Ports system for macOS
Reply | Threaded
Open this post in threaded view
|

Re: [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
In reply to this post by 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')
-----------------------+----------------------
  Reporter:  gcarlino  |      Owner:  Veence
      Type:  defect    |     Status:  accepted
  Priority:  Normal    |  Milestone:
 Component:  ports     |    Version:  2.3.5
Resolution:            |   Keywords:
      Port:  QGIS      |
-----------------------+----------------------

Comment (by Veence):

 Ok, there are still some glitches to solve.

 First off, I updated the QWT port so that QWT61 is built with Qt5 by
 default, so it can be pulled in by the automatic build process. Added some
 code to check QWT 6.1 is installed with the correct variant. Updated
 various dependencies too.

 Removed the grass70 → grass72 patch as this is taken care of in the newest
 version.

 Will commit later today. Let’s see what happens.

--
Ticket URL: <https://trac.macports.org/ticket/53231#comment:72>
MacPorts <https://www.macports.org/>
Ports system for macOS
Reply | Threaded
Open this post in threaded view
|

Re: [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
In reply to this post by 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')
-----------------------+----------------------
  Reporter:  gcarlino  |      Owner:  Veence
      Type:  defect    |     Status:  accepted
  Priority:  Normal    |  Milestone:
 Component:  ports     |    Version:  2.3.5
Resolution:            |   Keywords:
      Port:  QGIS      |
-----------------------+----------------------

Comment (by Veence):

 Ok, it’s committed with an additional patch (because 2.18.6 is broken with
 QT4, apparently).

 Please update and retry.

 Thanks!

--
Ticket URL: <https://trac.macports.org/ticket/53231#comment:73>
MacPorts <https://www.macports.org/>
Ports system for macOS
Reply | Threaded
Open this post in threaded view
|

Re: [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
In reply to this post by 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')
-----------------------+----------------------
  Reporter:  gcarlino  |      Owner:  Veence
      Type:  defect    |     Status:  accepted
  Priority:  Normal    |  Milestone:
 Component:  ports     |    Version:  2.3.5
Resolution:            |   Keywords:
      Port:  QGIS      |
-----------------------+----------------------

Comment (by basmac):

 {{{

 Still no luck on Sierra for me using the install command
 port -d install QGIS +qt4 +grass -qt5
 looks like grass7 issue now ?

 --
 In case of errors please change into the directory with error and run
 'make'.
 If you get multiple errors, you need to deal with them in the order they
 appear in the error log. If you get an error building a library, you will
 also get errors from anything which uses the library.
 --
 Finished compilation: Thu Apr 20 08:28:29 MDT 2017
 make: *** [default] Error 1
 make: Leaving directory
 `/Volumes/Cluster/opt/local/var/macports/build/_Volumes_Cluster_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_gis_grass7/grass7/work/grass-7.2.0'
 Command failed:  cd
 "/Volumes/Cluster/opt/local/var/macports/build/_Volumes_Cluster_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_gis_grass7/grass7/work/grass-7.2.0"
 && /usr/bin/make -j8 -w default
 Exit code: 2
 Error: Failed to build grass7: command execution failed
 DEBUG: Error code: CHILDSTATUS 29579 2
 DEBUG: Backtrace: command execution failed
     while executing
 "system {*}$notty {*}$nice $fullcmdstring"
     invoked from within
 "command_exec build"
     (procedure "portbuild::build_main" line 8)
     invoked from within
 "$procedure $targetname"
 DEBUG: Failed to locate 'lbzip2' in path:
 '/opt/local/bin:/opt/local/sbin:/bin:/sbin:/usr/bin:/usr/sbin' or at its
 MacPorts configuration time location, did you move it?
     while executing
 "error "$eMessage or at its MacPorts configuration time location, did you
 move it?""
     invoked from within
 "try -pass_signal {
             set cmd_path [macports::binaryInPath $prog]
             return $cmd_path
         } catch {{*} eCode eMessage} {
        ..."
     (procedure "macports::findBinary" line 5)
 Error: See
 /opt/local/var/macports/logs/_Volumes_Cluster_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_gis_grass7/grass7/main.log
 for details.
 Error: Follow https://guide.macports.org/#project.tickets to report a bug.
 Error: Processing of port QGIS failed
 [mac27:local/etc/macports] root# port -d install QGIS +qt4 +grass -qt5

 }}}

--
Ticket URL: <https://trac.macports.org/ticket/53231#comment:74>
MacPorts <https://www.macports.org/>
Ports system for macOS
Reply | Threaded
Open this post in threaded view
|

Re: [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
In reply to this post by 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')
-----------------------+----------------------
  Reporter:  gcarlino  |      Owner:  Veence
      Type:  defect    |     Status:  accepted
  Priority:  Normal    |  Milestone:
 Component:  ports     |    Version:  2.3.5
Resolution:            |   Keywords:
      Port:  QGIS      |
-----------------------+----------------------

Comment (by Veence):

 Yeah, something’s wrong with Grass7 build, but the message you get points
 to a messed up MacPorts installation.
 Could you please post the full log? Thanks.

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