[MacPorts] #55464: qgis3 Fails to define SPATIALITE_INCLUDE_DIR and SPATIALITE_LIBRARY for cmake

MacPorts noreply at macports.org
Sun Dec 3 15:19:17 UTC 2017


#55464: qgis3 Fails to define SPATIALITE_INCLUDE_DIR and SPATIALITE_LIBRARY for
cmake
--------------------+-------------------
 Reporter:  neilt   |      Owner:
     Type:  defect  |     Status:  new
 Priority:  Normal  |  Milestone:
Component:  ports   |    Version:  2.4.2
 Keywords:  qgis3   |       Port:  qgis3
--------------------+-------------------
 `
 :info:configure Executing:  cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_gis_qgis3/qgis3/work
 /QGIS-1c1de3a/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
 -DCMAKE_POLICY_DEFAULT_CMP0025=NEW -Wno-dev -DWITH_GRASS=OFF
 -DWITH_GRASS7=OFF -DWITH_3D=ON -DWITH_GLOBE=OFF
 -DLIBZIP_CONF_INCLUDE_DIR=/opt/local/lib/pkgconfig -DWITH_BINDINGS=FALSE
 -DQCA_INCLUDE_DIR=/opt/local/libexec/qt5/include/QtCrypto
 -DQCA_LIBRARY=/opt/local/libexec/qt5/lib/libqca-qt5.dylib
 -DQSCINTILLA_INCLUDE_DIR=/opt/local/libexec/qt5/include
 -DQSCINTILLA_LIBRARY=/opt/local/libexec/qt5/lib/libqscintilla2_qt5.dylib
 -DQWT_LIBRARY=/opt/local/libexec/qt5/lib/qwt.framework/Versions/Current/qwt
 -DQWT_INCLUDE_DIR=/opt/local/libexec/qt5/lib/qwt.framework/Versions/Current/Headers
 -DWITH_QWTPOLAR=ON
 -DQT_LRELEASE_EXECUTABLE=/opt/local/libexec/qt5/bin/lrelease
 -DWITH_SERVER=FALSE -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
 -DPOSTGRES_CONFIG=/opt/local/lib/postgresql10/bin/pg_config
 -DPYTHON_EXECUTABLE=/opt/local/bin/python3.6
 -DCMAKE_C_FLAGS_RELEASE="-DNDEBUG" -DCMAKE_CXX_FLAGS_RELEASE="-DNDEBUG"
 -DCMAKE_OSX_ARCHITECTURES="x86_64" -DCMAKE_OSX_DEPLOYMENT_TARGET="10.13"
 -DCMAKE_OSX_SYSROOT="/"
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_gis_qgis3/qgis3/work
 /QGIS-1c1de3a
 :debug:configure system:  cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_gis_qgis3/qgis3/work
 /QGIS-1c1de3a/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
 -DCMAKE_POLICY_DEFAULT_CMP0025=NEW -Wno-dev -DWITH_GRASS=OFF
 -DWITH_GRASS7=OFF -DWITH_3D=ON -DWITH_GLOBE=OFF
 -DLIBZIP_CONF_INCLUDE_DIR=/opt/local/lib/pkgconfig -DWITH_BINDINGS=FALSE
 -DQCA_INCLUDE_DIR=/opt/local/libexec/qt5/include/QtCrypto
 -DQCA_LIBRARY=/opt/local/libexec/qt5/lib/libqca-qt5.dylib
 -DQSCINTILLA_INCLUDE_DIR=/opt/local/libexec/qt5/include
 -DQSCINTILLA_LIBRARY=/opt/local/libexec/qt5/lib/libqscintilla2_qt5.dylib
 -DQWT_LIBRARY=/opt/local/libexec/qt5/lib/qwt.framework/Versions/Current/qwt
 -DQWT_INCLUDE_DIR=/opt/local/libexec/qt5/lib/qwt.framework/Versions/Current/Headers
 -DWITH_QWTPOLAR=ON
 -DQT_LRELEASE_EXECUTABLE=/opt/local/libexec/qt5/bin/lrelease
 -DWITH_SERVER=FALSE -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
 -DPOSTGRES_CONFIG=/opt/local/lib/postgresql10/bin/pg_config
 -DPYTHON_EXECUTABLE=/opt/local/bin/python3.6
 -DCMAKE_C_FLAGS_RELEASE="-DNDEBUG" -DCMAKE_CXX_FLAGS_RELEASE="-DNDEBUG"
 -DCMAKE_OSX_ARCHITECTURES="x86_64" -DCMAKE_OSX_DEPLOYMENT_TARGET="10.13"
 -DCMAKE_OSX_SYSROOT="/"
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_gis_qgis3/qgis3/work
 /QGIS-1c1de3a
 :info:configure -- The C compiler identification is AppleClang
 9.0.0.9000038
 :info:configure -- The CXX compiler identification is AppleClang
 9.0.0.9000038
 :info:configure -- Check for working C compiler: /usr/bin/clang
 :info:configure -- Check for working C compiler: /usr/bin/clang -- works
 :info:configure -- Detecting C compiler ABI info
 :info:configure -- Detecting C compiler ABI info - done
 :info:configure -- Detecting C compile features
 :info:configure -- Detecting C compile features - done
 :info:configure -- Check for working CXX compiler: /usr/bin/clang++
 :info:configure -- Check for working CXX compiler: /usr/bin/clang++ --
 works
 :info:configure -- Detecting CXX compiler ABI info
 :info:configure -- Detecting CXX compiler ABI info - done
 :info:configure -- Detecting CXX compile features
 :info:configure -- Detecting CXX compile features - done
 :info:configure -- QGIS version: 2.99.0 Master (29900)
 :info:configure -- Looking for openpty
 :info:configure -- Looking for openpty - found
 :info:configure -- Found Proj: /opt/local/lib/libproj.dylib
 :info:configure -- Found GEOS: /opt/local/lib/libgeos_c.dylib (3.6.2)
 :info:configure -- Found GDAL: /opt/local/lib/libgdal.dylib (2.2.3)
 :info:configure -- Found Expat: /opt/local/lib/libexpat.dylib
 :info:configure -- Found Spatialindex:
 /opt/local/lib/libspatialindex.dylib
 :info:configure -- Found Qwt:
 /opt/local/libexec/qt5/lib/qwt.framework/Versions/Current/qwt (6.1.3)
 :info:configure -- Found libzip: /opt/local/lib/libzip.dylib
 :info:configure -- Found Sqlite3: /opt/local/lib/libsqlite3.dylib
 :info:configure -- Found PostgreSQL:
 /opt/local/lib/postgresql10/libpq.dylib
 :info:configure -- Qt WebKit support enabled
 :info:configure -- Found Qt version: 5.9.2
 :info:configure -- Found QScintilla2:
 /opt/local/libexec/qt5/lib/libqscintilla2_qt5.dylib (2.10.2)
 :info:configure -- Found QtKeychain: /opt/local/lib/libqt5keychain.dylib
 :info:configure -- Found QCA: /opt/local/libexec/qt5/lib/libqca-qt5.dylib
 (2.1.0)
 :info:configure -- QtCore/QCA include/lib variables missing or CMake is
 cross-compiling,
 :info:configure --   skipping QCA OpenSSL plugin C++ check
 :info:configure -- Found Libtasn1: /opt/local/include
 :info:configure -- Pedantic compiler settings enabled
 :info:configure -- Found PythonInterp: /opt/local/bin/python3.6 (found
 suitable version "3.6.3", minimum required is "3")
 :info:configure -- txt2tags not found - disabled
 :info:configure -- Performing Test COMPILER_HAS_HIDDEN_VISIBILITY
 :info:configure -- Performing Test COMPILER_HAS_HIDDEN_VISIBILITY -
 Success
 :info:configure -- Performing Test COMPILER_HAS_HIDDEN_INLINE_VISIBILITY
 :info:configure -- Performing Test COMPILER_HAS_HIDDEN_INLINE_VISIBILITY -
 Success
 :info:configure -- Performing Test COMPILER_HAS_DEPRECATED_ATTR
 :info:configure -- Performing Test COMPILER_HAS_DEPRECATED_ATTR - Success
 :info:configure -- Found GSL: -L/opt/local/lib -lgsl -lgslcblas
 :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_qgis3/qgis3/work
 /QGIS-1c1de3a/build/output/bin
 `

 the actual error

 `
 :info:configure CMake Error: The following variables are used in this
 project, but they are set to NOTFOUND.
 :info:configure Please set them or make sure they are set and tested
 correctly in the CMake files:
 :info:configure SPATIALITE_INCLUDE_DIR
 :info:configure    used as include directory in directory
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_gis_qgis3/qgis3/work
 /QGIS-1c1de3a/src/core
 :info:configure    used as include directory in directory
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_gis_qgis3/qgis3/work
 /QGIS-1c1de3a/src/core
 :info:configure    used as include directory in directory
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_gis_qgis3/qgis3/work
 /QGIS-1c1de3a/src/core
 :info:configure    used as include directory in directory
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_gis_qgis3/qgis3/work
 /QGIS-1c1de3a/src/core
 :info:configure    used as include directory in directory
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_gis_qgis3/qgis3/work
 /QGIS-1c1de3a/src/core
 :info:configure    used as include directory in directory
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_gis_qgis3/qgis3/work
 /QGIS-1c1de3a/src/core
 `

 some redundant line removed

 `
 :info:configure    used as include directory in directory
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_gis_qgis3/qgis3/work
 /QGIS-1c1de3a/src/plugins/offline_editing
 :info:configure    used as include directory in directory
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_gis_qgis3/qgis3/work
 /QGIS-1c1de3a/src/plugins/offline_editing
 :info:configure    used as include directory in directory
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_gis_qgis3/qgis3/work
 /QGIS-1c1de3a/src/plugins/offline_editing
 :info:configure    used as include directory in directory
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_gis_qgis3/qgis3/work
 /QGIS-1c1de3a/src/plugins/offline_editing
 `

 the other error

 `
 :info:configure SPATIALITE_LIBRARY
 :info:configure     linked by target "qgis_core" in directory
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_gis_qgis3/qgis3/work
 /QGIS-1c1de3a/src/core
 :info:configure     linked by target "spatialiteprovider" in directory
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_gis_qgis3/qgis3/work
 /QGIS-1c1de3a/src/providers/spatialite
 :info:configure     linked by target "virtuallayerprovider" in directory
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_gis_qgis3/qgis3/work
 /QGIS-1c1de3a/src/providers/virtual
 :info:configure     linked by target "offlineeditingplugin" in directory
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_gis_qgis3/qgis3/work
 /QGIS-1c1de3a/src/plugins/offline_editing
 :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_qgis3/qgis3/work
 /QGIS-1c1de3a/build/CMakeFiles/CMakeOutput.log".
 :info:configure Command failed:  cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_gis_qgis3/qgis3/work
 /QGIS-1c1de3a/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
 -DCMAKE_POLICY_DEFAULT_CMP0025=NEW -Wno-dev -DWITH_GRASS=OFF
 -DWITH_GRASS7=OFF -DWITH_3D=ON -DWITH_GLOBE=OFF
 -DLIBZIP_CONF_INCLUDE_DIR=/opt/local/lib/pkgconfig -DWITH_BINDINGS=FALSE
 -DQCA_INCLUDE_DIR=/opt/local/libexec/qt5/include/QtCrypto
 -DQCA_LIBRARY=/opt/local/libexec/qt5/lib/libqca-qt5.dylib
 -DQSCINTILLA_INCLUDE_DIR=/opt/local/libexec/qt5/include
 -DQSCINTILLA_LIBRARY=/opt/local/libexec/qt5/lib/libqscintilla2_qt5.dylib
 -DQWT_LIBRARY=/opt/local/libexec/qt5/lib/qwt.framework/Versions/Current/qwt
 -DQWT_INCLUDE_DIR=/opt/local/libexec/qt5/lib/qwt.framework/Versions/Current/Headers
 -DWITH_QWTPOLAR=ON
 -DQT_LRELEASE_EXECUTABLE=/opt/local/libexec/qt5/bin/lrelease
 -DWITH_SERVER=FALSE -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
 -DPOSTGRES_CONFIG=/opt/local/lib/postgresql10/bin/pg_config
 -DPYTHON_EXECUTABLE=/opt/local/bin/python3.6
 -DCMAKE_C_FLAGS_RELEASE="-DNDEBUG" -DCMAKE_CXX_FLAGS_RELEASE="-DNDEBUG"
 -DCMAKE_OSX_ARCHITECTURES="x86_64" -DCMAKE_OSX_DEPLOYMENT_TARGET="10.13"
 -DCMAKE_OSX_SYSROOT="/"
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_gis_qgis3/qgis3/work
 /QGIS-1c1de3a
 :info:configure Exit code: 1
 `

--
Ticket URL: <https://trac.macports.org/ticket/55464>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list