Coder Social home page Coder Social logo

Comments (7)

dakcarto avatar dakcarto commented on August 20, 2024

Hi Tim,

This is odd. Seems something is amiss with your build env, but I'm not sure what. Can you share the (sanitized) CMakeCache.txt and env | sort output?

Also, did you run qgis-cmake-setup.sh first, or some variation on it? I'm pushing a new version of that in the next hour or so.

Occasionally I see something like this if one has PYTHON_HOME set to a 2.7.x prefix, a .pth file in the wrong site-packages version, or when one has tweaked the python2|3 binary paths with symlinks. However, the CMake PythonInterp module shouldn't return a funky Py2 binary masquerading as Py3. It's unclear to me how PATH could be configured to return the wrong result (the PythonLibrary module now is keyed off of PATH).

from homebrew-qgisdev.

timlinux avatar timlinux commented on August 20, 2024

Thanks for you're reply @dakcarto . I tried to remove my build directory and then do:

mkdir build-debug-master
$BUILD_SCRIPTS/qgis-cmake-setup.sh \
    /Users/timlinux/dev/cpp/QGIS/ \
    /Users/timlinux/dev/cpp/QGIS/build-debug-master \
    /Users/timlinux/apps/

Which produces this:

CMake generator: Ninja
-- 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: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc
-- Check for working C compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc -- 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: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++
-- Check for working CXX compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- QGIS version: 2.99.0 Master (29900)
-- Could not find GRASS 7
-- Looking for openpty
-- Looking for openpty - found
-- Found Proj: /usr/local/lib/libproj.dylib
-- Found GEOS: /usr/local/opt/geos/lib/libgeos_c.dylib (3.5.0)
-- Found GDAL: /usr/local/opt/gdal2/lib/libgdal.dylib (2.1.2)
-- Found Expat: /usr/local/opt/expat/lib/libexpat.dylib
-- Found Spatialindex: /usr/local/lib/libspatialindex.dylib
-- Found Qwt: /usr/local/lib/qwt.framework (6.1.3)
-- Found Sqlite3: /usr/local/opt/sqlite/lib/libsqlite3.dylib
-- Found PostgreSQL: /usr/local/lib/libpq.dylib
-- Found SpatiaLite: /usr/local/lib/libspatialite.dylib
-- Looking for gaiaDropTable in /usr/local/lib/libspatialite.dylib
-- Looking for gaiaDropTable in /usr/local/lib/libspatialite.dylib - found
-- Looking for gaiaStatisticsInvalidate in /usr/local/lib/libspatialite.dylib
-- Looking for gaiaStatisticsInvalidate in /usr/local/lib/libspatialite.dylib - found
-- Looking for spatialite_init_ex in /usr/local/lib/libspatialite.dylib
-- Looking for spatialite_init_ex in /usr/local/lib/libspatialite.dylib - found
-- Qt WebKit support enabled
-- Found Qt version: 5.7.0
-- Touch support disabled
-- Found QScintilla2: /usr/local/lib/libqscintilla2.dylib (2.9.3)
-- Found QCA: /usr/local/lib/qca-qt5.framework (2.1.1)
-- QtCore/QCA include/lib variables missing or CMake is cross-compiling,
--   skipping QCA OpenSSL plugin C++ check
-- Pedantic compiler settings enabled
-- Debug output enabled
-- Found PythonInterp: /usr/local/bin/python3 (found suitable version "3.5.2", minimum required is "3") 
-- Found Python executable: /usr/local/bin/python3
-- Found Python version: 3.5.2
-- Found Python library: /usr/local/Frameworks/Python.framework/Versions/3.5/Python
-- Found Python site-packages: /usr/local/lib/python3.5/site-packages
-- Found PyQt5 version: 5.7
-- Found SIP version: 4.18.1
-- Found QScintilla2 PyQt module: 2.9.3
-- Found QwtPolar: /usr/local/lib/qwtpolar.framework
-- Found GSL: -L/usr/local/opt/gsl/lib -lgsl -lgslcblas
-- Found FCGI: /usr/local/lib/libfcgi.dylib
-- Ctest Binary Directory set to: /Users/timlinux/dev/cpp/QGIS/build-debug-master/output/bin
-- Configuring done
-- Generating done
-- Build files have been written to: /Users/timlinux/dev/cpp/QGIS/build-debug-master

The python paths there look reasonable. Then I try to make using:

#!/bin/bash
unset PYTHONPATH
SOURCE=/Users/timlinux/dev/cpp/QGIS
BUILD_DIR=$SOURCE/build-debug-master
BUILD_SCRIPTS=$(brew --repository qgis/qgisdev)/scripts
$BUILD_SCRIPTS/qgis-dev-build.sh $BUILD_DIR

Which starts to build then fails here:

[64/4669] Generating qgsexpression_texts.cpp
Files "/Users/timlinux/dev/cpp/QGIS/build-debug-master/src/core/qgsexpression_texts.cpp.temp" to "/Users/timlinux/dev/cpp/QGIS/build-debug-master/src/core/qgsexpression_texts.cpp" are different.
[457/4669] Building /Users/timlinux/dev/cpp/QGIS/build-d...NSTALL from /Users/timlinux/dev/cpp/QGIS/doc/INSTALL.t2
FAILED: doc/INSTALL 
cd /Users/timlinux/dev/cpp/QGIS/build-debug-master/doc && /usr/local/bin/txt2tags -o/Users/timlinux/dev/cpp/QGIS/build-debug-master/doc/INSTALL -t txt /Users/timlinux/dev/cpp/QGIS/doc/INSTALL.t2t
Your PYTHONPATH points to a site-packages dir for Python 3.x but you are running Python 2.x!
     PYTHONPATH is currently: "/usr/local/opt/gdal2-python/lib/python3.5/site-packages:/usr/local/lib/python3.5/site-packages:"
     You should `unset PYTHONPATH` to fix this.
[460/4669] Building CXX object src/astyle/CMakeFiles/qgisstyle.dir/ASFormatter.cpp.o
ninja: build stopped: subcommand failed.

Note that PYTHONPATH is unset in the script used to build so I think that is a red herring. My CMakeCache.txt looks like this:

# This is the CMakeCache file.
# For build in directory: /Users/timlinux/dev/cpp/QGIS/build-debug-master
# It was generated by CMake: /usr/local/Cellar/cmake/3.7.1/bin/cmake
# You can edit this file to change values found and used by cmake.
# If you do not want to change any of the values, simply exit the editor.
# If you do want to change a value, simply edit, save, and exit the editor.
# The syntax for the file is as follows:
# KEY:TYPE=VALUE
# KEY is the name of a variable in the cache.
# TYPE is a hint to GUIs for the type of VALUE, DO NOT EDIT TYPE!.
# VALUE is the current value for the KEY.

########################
# EXTERNAL cache entries
########################

//Path to a library.
APP_SERVICES_LIBRARY:FILEPATH=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.12.sdk/System/Library/Frameworks/ApplicationServices.framework

//Install bindings to global python directory? (might need root)
BINDINGS_GLOBAL_INSTALL:BOOL=FALSE

//Path to a program.
BISON_EXECUTABLE:FILEPATH=/usr/local/opt/bison/bin/bison

//Build the testing tree.
BUILD_TESTING:BOOL=ON

//Path to a program.
BZRCOMMAND:FILEPATH=BZRCOMMAND-NOTFOUND

//Path to a program.
CMAKE_AR:FILEPATH=/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ar

//No help, variable specified on the command line.
CMAKE_BUILD_TYPE:STRING=RelWithDebInfo

//CXX compiler
CMAKE_CXX_COMPILER:FILEPATH=/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++

//Flags used by the compiler during all build types.
CMAKE_CXX_FLAGS:STRING=

//Flags used by the compiler during debug builds.
CMAKE_CXX_FLAGS_DEBUG:STRING=-g

//Flags used by the compiler during release builds for minimum
// size.
CMAKE_CXX_FLAGS_MINSIZEREL:STRING=-Os -DNDEBUG

//Flags used by the compiler during release builds.
CMAKE_CXX_FLAGS_RELEASE:STRING=-O3 -DNDEBUG

//Flags used by the compiler during release builds with debug info.
CMAKE_CXX_FLAGS_RELWITHDEBINFO:STRING=-O2 -g -DNDEBUG

//C compiler
CMAKE_C_COMPILER:FILEPATH=/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc

//Flags used by the compiler during all build types.
CMAKE_C_FLAGS:STRING=

//Flags used by the compiler during debug builds.
CMAKE_C_FLAGS_DEBUG:STRING=-g

//Flags used by the compiler during release builds for minimum
// size.
CMAKE_C_FLAGS_MINSIZEREL:STRING=-Os -DNDEBUG

//Flags used by the compiler during release builds.
CMAKE_C_FLAGS_RELEASE:STRING=-O3 -DNDEBUG

//Flags used by the compiler during release builds with debug info.
CMAKE_C_FLAGS_RELWITHDEBINFO:STRING=-O2 -g -DNDEBUG

//Flags used by the linker.
CMAKE_EXE_LINKER_FLAGS:STRING=

//Flags used by the linker during debug builds.
CMAKE_EXE_LINKER_FLAGS_DEBUG:STRING=

//Flags used by the linker during release minsize builds.
CMAKE_EXE_LINKER_FLAGS_MINSIZEREL:STRING=

//Flags used by the linker during release builds.
CMAKE_EXE_LINKER_FLAGS_RELEASE:STRING=

//Flags used by the linker during Release with Debug Info builds.
CMAKE_EXE_LINKER_FLAGS_RELWITHDEBINFO:STRING=

//Enable/Disable output of compile commands during generation.
CMAKE_EXPORT_COMPILE_COMMANDS:BOOL=OFF

//No help, variable specified on the command line.
CMAKE_FIND_FRAMEWORK:STRING=LAST

//Path to a program.
CMAKE_INSTALL_NAME_TOOL:FILEPATH=/usr/bin/install_name_tool

//No help, variable specified on the command line.
CMAKE_INSTALL_PREFIX:PATH=/Users/timlinux/apps

//Path to a program.
CMAKE_LINKER:FILEPATH=/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld

//Program used to build from build.ninja files.
CMAKE_MAKE_PROGRAM:FILEPATH=/usr/local/bin/ninja

//Flags used by the linker during the creation of modules.
CMAKE_MODULE_LINKER_FLAGS:STRING=

//Flags used by the linker during debug builds.
CMAKE_MODULE_LINKER_FLAGS_DEBUG:STRING=

//Flags used by the linker during release minsize builds.
CMAKE_MODULE_LINKER_FLAGS_MINSIZEREL:STRING=

//Flags used by the linker during release builds.
CMAKE_MODULE_LINKER_FLAGS_RELEASE:STRING=

//Flags used by the linker during Release with Debug Info builds.
CMAKE_MODULE_LINKER_FLAGS_RELWITHDEBINFO:STRING=

//Path to a program.
CMAKE_NM:FILEPATH=/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/nm

//Path to a program.
CMAKE_OBJCOPY:FILEPATH=CMAKE_OBJCOPY-NOTFOUND

//Path to a program.
CMAKE_OBJDUMP:FILEPATH=/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/objdump

//Build architectures for OSX
CMAKE_OSX_ARCHITECTURES:STRING=

//Minimum OS X version to target for deployment (at runtime); newer
// APIs weak linked. Set to empty string for default value.
CMAKE_OSX_DEPLOYMENT_TARGET:STRING=

//The product will be built against the headers and libraries located
// inside the indicated SDK.
CMAKE_OSX_SYSROOT:PATH=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.12.sdk

//No help, variable specified on the command line.
CMAKE_PREFIX_PATH:STRING=/usr/local/opt/qt5;/usr/local/opt/qt5-webkit;/usr/local/opt/gdal2;/usr/local/opt/expat;/usr/local/opt/sqlite;/usr/local/opt/flex;/usr/local/opt/bison

//Value Computed by CMake
CMAKE_PROJECT_NAME:STATIC=qgis2.99.0

//Path to a program.
CMAKE_RANLIB:FILEPATH=/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib

//Flags used by the linker during the creation of dll's.
CMAKE_SHARED_LINKER_FLAGS:STRING=

//Flags used by the linker during debug builds.
CMAKE_SHARED_LINKER_FLAGS_DEBUG:STRING=

//Flags used by the linker during release minsize builds.
CMAKE_SHARED_LINKER_FLAGS_MINSIZEREL:STRING=

//Flags used by the linker during release builds.
CMAKE_SHARED_LINKER_FLAGS_RELEASE:STRING=

//Flags used by the linker during Release with Debug Info builds.
CMAKE_SHARED_LINKER_FLAGS_RELWITHDEBINFO:STRING=

//If set, runtime paths are not added when installing shared libraries,
// but are added when building.
CMAKE_SKIP_INSTALL_RPATH:BOOL=NO

//If set, runtime paths are not added when using shared libraries.
CMAKE_SKIP_RPATH:BOOL=NO

//Flags used by the linker during the creation of static libraries.
CMAKE_STATIC_LINKER_FLAGS:STRING=

//Flags used by the linker during debug builds.
CMAKE_STATIC_LINKER_FLAGS_DEBUG:STRING=

//Flags used by the linker during release minsize builds.
CMAKE_STATIC_LINKER_FLAGS_MINSIZEREL:STRING=

//Flags used by the linker during release builds.
CMAKE_STATIC_LINKER_FLAGS_RELEASE:STRING=

//Flags used by the linker during Release with Debug Info builds.
CMAKE_STATIC_LINKER_FLAGS_RELWITHDEBINFO:STRING=

//Path to a program.
CMAKE_STRIP:FILEPATH=/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/strip

//If this value is on, makefiles will be generated without the
// .SILENT directive, and all commands will be echoed to the console
// during the make.  This is useful for debugging only. With Visual
// Studio IDE projects all commands are done without /nologo.
CMAKE_VERBOSE_MAKEFILE:BOOL=FALSE

//Path to program used to compress files for transfer to the dart
// server
COMPRESSIONCOMMAND:FILEPATH=/usr/bin/gzip

//Path to the coverage program that CTest uses for performing coverage
// inspection
COVERAGE_COMMAND:FILEPATH=/usr/bin/gcov

//Extra command line flags to pass to the coverage tool
COVERAGE_EXTRA_FLAGS:STRING=-l

//Enable to build OSX bundles
CPACK_BINARY_BUNDLE:BOOL=OFF

//Enable to build Debian packages
CPACK_BINARY_DEB:BOOL=OFF

//Enable to build OSX Drag And Drop package
CPACK_BINARY_DRAGNDROP:BOOL=OFF

//Enable to build IFW packages
CPACK_BINARY_IFW:BOOL=OFF

//Enable to build NSIS packages
CPACK_BINARY_NSIS:BOOL=OFF

//Enable to build OSX X11 packages
CPACK_BINARY_OSXX11:BOOL=OFF

//Enable to build PackageMaker packages
CPACK_BINARY_PACKAGEMAKER:BOOL=OFF

//Enable to build productbuild packages
CPACK_BINARY_PRODUCTBUILD:BOOL=OFF

//Enable to build RPM packages
CPACK_BINARY_RPM:BOOL=OFF

//Enable to build STGZ packages
CPACK_BINARY_STGZ:BOOL=ON

//Enable to build TBZ2 packages
CPACK_BINARY_TBZ2:BOOL=OFF

//Enable to build TGZ packages
CPACK_BINARY_TGZ:BOOL=ON

//Enable to build TXZ packages
CPACK_BINARY_TXZ:BOOL=OFF

//Enable to build RPM source packages
CPACK_SOURCE_RPM:BOOL=OFF

//Enable to build TBZ2 source packages
CPACK_SOURCE_TBZ2:BOOL=ON

//Enable to build TGZ source packages
CPACK_SOURCE_TGZ:BOOL=ON

//Enable to build TXZ source packages
CPACK_SOURCE_TXZ:BOOL=ON

//Enable to build TZ source packages
CPACK_SOURCE_TZ:BOOL=ON

//Enable to build ZIP source packages
CPACK_SOURCE_ZIP:BOOL=OFF

//How many times to retry timed-out CTest submissions.
CTEST_SUBMIT_RETRY_COUNT:STRING=3

//How long to wait between timed-out CTest submissions.
CTEST_SUBMIT_RETRY_DELAY:STRING=5

//Path to a program.
CVSCOMMAND:FILEPATH=CVSCOMMAND-NOTFOUND

//Options passed to the cvs update command.
CVS_UPDATE_OPTIONS:STRING=-d -A -P

//Additional appended CXXFLAGS
CXX_EXTRA_FLAGS:STRING=

//Limit of reported errors, -1 reports all.
DART_BUILD_ERROR_REPORT_LIMIT:BOOL=OFF

//Limit of reported warnings, -1 reports all.
DART_BUILD_WARNING_REPORT_LIMIT:BOOL=OFF

//If you have Dart installed, where is it located?
DART_ROOT:PATH=DART_ROOT-NOTFOUND

//Maximum time allowed before CTest will kill the test.
DART_TESTING_TIMEOUT:STRING=1500

//Show the actual output of the build, or if off show a . for each
// 1024 bytes.
DART_VERBOSE_BUILD:BOOL=OFF

//Should Dart server send email when build errors are found in
// Continuous builds?
DELIVER_CONTINUOUS_EMAIL:BOOL=Off

//If set to true, it will disable deprecated functionality to prepare
// for the next generation of QGIS
DISABLE_DEPRECATED:BOOL=FALSE

//Perform coverage tests?
ENABLE_COVERAGE:BOOL=FALSE

//No help, variable specified on the command line.
ENABLE_MODELTEST:BOOL=FALSE

//Enable MsSQL provider tests
ENABLE_MSSQLTEST:BOOL=FALSE

//Enable Oracle provider tests
ENABLE_ORACLETEST:BOOL=FALSE

//Enable PostgreSQL provider tests
ENABLE_PGTEST:BOOL=FALSE

//No help, variable specified on the command line.
ENABLE_TESTS:BOOL=TRUE

//Path to a file.
EXPAT_INCLUDE_DIR:PATH=/usr/local/opt/expat/include

//Path to a library.
EXPAT_LIBRARY:FILEPATH=/usr/local/opt/expat/lib/libexpat.dylib

//Path to a file.
FCGI_INCLUDE_DIR:PATH=/usr/local/include

//Path to a library.
FCGI_LIBRARY:FILEPATH=/usr/local/lib/libfcgi.dylib

//Path to a program.
FLEX_EXECUTABLE:FILEPATH=/usr/local/opt/flex/bin/flex

//Path to a program.
GDAL_CONFIG:FILEPATH=/usr/local/opt/gdal2/bin/gdal-config

//preferred path to GDAL (gdal-config) from FWTools
GDAL_CONFIG_PREFER_FWTOOLS_PATH:STRING=/bin_safe

//preferred path to GDAL (gdal-config)
GDAL_CONFIG_PREFER_PATH:STRING=/bin

//Path to a file.
GDAL_INCLUDE_DIR:PATH=/usr/local/opt/gdal2/include

//No help, variable specified on the command line.
GDAL_LIBRARY:FILEPATH=/usr/local/opt/gdal2/lib/libgdal.dylib

//Generate coverage docs (requires lcov)?
GENERATE_COVERAGE_DOCS:BOOL=FALSE

//Path to a program.
GEOS_CONFIG:FILEPATH=/usr/local/bin/geos-config

//preferred path to GEOS (geos-config)
GEOS_CONFIG_PREFER_PATH:STRING=/bin

//Path to a file.
GEOS_INCLUDE_DIR:PATH=/usr/local/include

//No help, variable specified on the command line.
GEOS_LIBRARY:FILEPATH=/usr/local/opt/geos/lib/libgeos_c.dylib

//INTERNAL
GEOS_LIB_NAME_WITH_PREFIX:STRING=-lgeos_c

//Path to a program.
GITCOMMAND:FILEPATH=/usr/local/bin/git

//Path to GRASS 7 include directory
GRASS_INCLUDE_DIR7:PATH=GRASS_INCLUDE_DIR7-NOTFOUND

//No help, variable specified on the command line.
GRASS_PREFIX7:PATH=/usr/local/opt/grass7/grass-base

//No help, variable specified on the command line.
GSL_CONFIG:FILEPATH=/usr/local/opt/gsl/bin/gsl-config

//No help, variable specified on the command line.
GSL_INCLUDE_DIR:PATH=/usr/local/opt/gsl/include

//No help, variable specified on the command line.
GSL_LIBRARIES:STRING=-L/usr/local/opt/gsl/lib -lgsl -lgslcblas

//Path to gunzip executable
GUNZIPCOMMAND:FILEPATH=/usr/bin/gunzip

//Path to a program.
HGCOMMAND:FILEPATH=HGCOMMAND-NOTFOUND

//Path to java command, used by the Dart server to create html.
JAVACOMMAND:FILEPATH=/usr/bin/java

//Command to build the project
MAKECOMMAND:STRING=/usr/local/Cellar/cmake/3.7.1/bin/cmake --build . --config "${CTEST_CONFIGURATION_TYPE}"

//Path to the memory checking command, used for memory error detection.
MEMORYCHECK_COMMAND:FILEPATH=MEMORYCHECK_COMMAND-NOTFOUND

//File that contains suppressions for the memory checker
MEMORYCHECK_SUPPRESSIONS_FILE:FILEPATH=

//Path to a program.
P4COMMAND:FILEPATH=P4COMMAND-NOTFOUND

//Determines if we should compile in pedantic mode.
PEDANTIC:BOOL=TRUE

//Path to POSTGRESQL base directory
POSTGRESQL_PREFIX:PATH=

//Path to a program.
POSTGRES_CONFIG:FILEPATH=/usr/local/bin/pg_config

//preferred path to PG (pg_config)
POSTGRES_CONFIG_PREFER_PATH:STRING=/bin

//INTERNAL
POSTGRES_INCLUDE_DIR:STRING=/usr/local/Cellar/postgresql/9.6.1/include

//INTERNAL
POSTGRES_LIBRARY:STRING=/usr/local/lib/libpq.dylib

//Path to a file.
PROJ_INCLUDE_DIR:PATH=/usr/local/include

//Path to a library.
PROJ_LIBRARY:FILEPATH=/usr/local/lib/libproj.dylib

//Path to a program.
PYRCC_PROGRAM:FILEPATH=/usr/local/bin/pyrcc5

//Path to a program.
PYTHON_EXECUTABLE:FILEPATH=/usr/local/bin/python3

//Directory holding the python.h include file
PYTHON_INCLUDE_PATH:FILEPATH=/usr/local/Frameworks/Python.framework/Versions/3.5/Headers

//Python framework library
PYTHON_LIBRARY:FILEPATH=/usr/local/Frameworks/Python.framework/Versions/3.5/Python

//Python version
PYTHON_VER:STRING=3

//Path to a program.
PYUIC_PROGRAM:FILEPATH=/usr/local/bin/pyuic5

//Path to a file.
QCA_INCLUDE_DIR:PATH=/usr/local/lib/qca-qt5.framework/Headers

//Path to a library.
QCA_LIBRARY:FILEPATH=/usr/local/lib/qca-qt5.framework

//Subdirectory where executables will be installed
QGIS_BIN_SUBDIR:STRING=bin

//Subdirectory where CGI executables will be installed
QGIS_CGIBIN_SUBDIR:STRING=fcgi-bin

//Subdirectory where QGIS data will be installed
QGIS_DATA_SUBDIR:STRING=../Resources

//Subdirectory where header files will be installed
QGIS_INCLUDE_SUBDIR:STRING=include/qgis

//Subdirectory where private executables will be installed
QGIS_LIBEXEC_SUBDIR:STRING=lib/qgis

//Subdirectory where libraries will be installed
QGIS_LIB_SUBDIR:STRING=lib

//No help, variable specified on the command line.
QGIS_MACAPP_BUNDLE:STRING=0

//Path to user bundling script
QGIS_MACAPP_BUNDLE_USER:STRING=

//Path to install developer frameworks
QGIS_MACAPP_DEV_PREFIX:STRING=/Library/Frameworks

//Install developer frameworks
QGIS_MACAPP_INSTALL_DEV:BOOL=FALSE

//Subdirectory where plugins will be installed
QGIS_PLUGIN_SUBDIR:STRING=../PlugIns/qgis

//Path to a file.
QSCINTILLA_INCLUDE_DIR:PATH=/usr/local/include

//Path to a library.
QSCINTILLA_LIBRARY:FILEPATH=/usr/local/lib/libqscintilla2.dylib

//Path to a file.
QSCI_SIP_DIR:PATH=/usr/local/share/sip

//URL for Qt docs
QT_DOC_URL:STRING=http://doc.qt.io/qt-5/

//Path to a program.
QT_LRELEASE_EXECUTABLE:FILEPATH=/usr/local/opt/qt5/bin/lrelease

//Path to a file.
QWTPOLAR_INCLUDE_DIR:PATH=/usr/local/lib/qwtpolar.framework/Headers

//Path to a library.
QWTPOLAR_LIBRARY:FILEPATH=/usr/local/lib/qwtpolar.framework

//Path to a file.
QWT_INCLUDE_DIR:PATH=/usr/local/lib/qwt.framework/Headers

//Path to a library.
QWT_LIBRARY:FILEPATH=/usr/local/lib/qwt.framework

//The directory containing a CMake configuration file for Qt5Concurrent.
Qt5Concurrent_DIR:PATH=/usr/local/opt/qt5/lib/cmake/Qt5Concurrent

//The directory containing a CMake configuration file for Qt5Core.
Qt5Core_DIR:PATH=/usr/local/opt/qt5/lib/cmake/Qt5Core

//The directory containing a CMake configuration file for Qt5Designer.
Qt5Designer_DIR:PATH=/usr/local/opt/qt5/lib/cmake/Qt5Designer

//The directory containing a CMake configuration file for Qt5Gui.
Qt5Gui_DIR:PATH=/usr/local/opt/qt5/lib/cmake/Qt5Gui

//The directory containing a CMake configuration file for Qt5Network.
Qt5Network_DIR:PATH=/usr/local/opt/qt5/lib/cmake/Qt5Network

//The directory containing a CMake configuration file for Qt5Positioning.
Qt5Positioning_DIR:PATH=/usr/local/opt/qt5/lib/cmake/Qt5Positioning

//The directory containing a CMake configuration file for Qt5PrintSupport.
Qt5PrintSupport_DIR:PATH=/usr/local/opt/qt5/lib/cmake/Qt5PrintSupport

//The directory containing a CMake configuration file for Qt5Script.
Qt5Script_DIR:PATH=/usr/local/opt/qt5/lib/cmake/Qt5Script

//The directory containing a CMake configuration file for Qt5Sql.
Qt5Sql_DIR:PATH=/usr/local/opt/qt5/lib/cmake/Qt5Sql

//The directory containing a CMake configuration file for Qt5Svg.
Qt5Svg_DIR:PATH=/usr/local/opt/qt5/lib/cmake/Qt5Svg

//The directory containing a CMake configuration file for Qt5Test.
Qt5Test_DIR:PATH=/usr/local/opt/qt5/lib/cmake/Qt5Test

//The directory containing a CMake configuration file for Qt5UiPlugin.
Qt5UiPlugin_DIR:PATH=/usr/local/opt/qt5/lib/cmake/Qt5UiPlugin

//The directory containing a CMake configuration file for Qt5UiTools.
Qt5UiTools_DIR:PATH=/usr/local/opt/qt5/lib/cmake/Qt5UiTools

//The directory containing a CMake configuration file for Qt5WebKitWidgets.
Qt5WebKitWidgets_DIR:PATH=/usr/local/opt/qt5-webkit/lib/cmake/Qt5WebKitWidgets

//The directory containing a CMake configuration file for Qt5WebKit.
Qt5WebKit_DIR:PATH=/usr/local/opt/qt5-webkit/lib/cmake/Qt5WebKit

//The directory containing a CMake configuration file for Qt5Widgets.
Qt5Widgets_DIR:PATH=/usr/local/opt/qt5/lib/cmake/Qt5Widgets

//The directory containing a CMake configuration file for Qt5XmlPatterns.
Qt5XmlPatterns_DIR:PATH=/usr/local/opt/qt5/lib/cmake/Qt5XmlPatterns

//The directory containing a CMake configuration file for Qt5Xml.
Qt5Xml_DIR:PATH=/usr/local/opt/qt5/lib/cmake/Qt5Xml

//Path to scp command, used by CTest for submitting results to
// a Dart server
SCPCOMMAND:FILEPATH=/usr/bin/scp

//Determines whether QGIS server should disable ECW (ECW in server
// apps requires a special license)
SERVER_SKIP_ECW:BOOL=FALSE

//Name of the computer/site where compile is being run
SITE:STRING=sandstone

//Path to the SLURM sbatch executable
SLURM_SBATCH_COMMAND:FILEPATH=SLURM_SBATCH_COMMAND-NOTFOUND

//Path to the SLURM srun executable
SLURM_SRUN_COMMAND:FILEPATH=SLURM_SRUN_COMMAND-NOTFOUND

//Path to a file.
SPATIALINDEX_INCLUDE_DIR:PATH=/usr/local/include/spatialindex

//Path to a library.
SPATIALINDEX_LIBRARY:FILEPATH=/usr/local/lib/libspatialindex.dylib

//Path to a file.
SPATIALITE_INCLUDE_DIR:PATH=/usr/local/include

//Path to a library.
SPATIALITE_LIBRARY:FILEPATH=/usr/local/lib/libspatialite.dylib

//Path to a file.
SQLITE3_INCLUDE_DIR:PATH=/usr/local/opt/sqlite/include

//Path to a library.
SQLITE3_LIBRARY:FILEPATH=/usr/local/opt/sqlite/lib/libsqlite3.dylib

//Hide SIP warnings
SUPPRESS_SIP_WARNINGS:BOOL=FALSE

//Path to a program.
SVNCOMMAND:FILEPATH=/usr/bin/svn

//Path to a program.
TXT2TAGS_EXECUTABLE:FILEPATH=/usr/local/bin/txt2tags

//No help, variable specified on the command line.
WITH_APIDOC:BOOL=FALSE

//No help, variable specified on the command line.
WITH_ASTYLE:BOOL=TRUE

//Determines whether python bindings should be built
WITH_BINDINGS:BOOL=TRUE

//No help, variable specified on the command line.
WITH_CUSTOM_WIDGETS:BOOL=TRUE

//Determines whether QGIS desktop should be built
WITH_DESKTOP:BOOL=TRUE

//No help, variable specified on the command line.
WITH_GLOBE:BOOL=FALSE

//No help, variable specified on the command line.
WITH_GRASS:BOOL=FALSE

//No help, variable specified on the command line.
WITH_GRASS7:BOOL=TRUE

//Determines whether python dateutil should be included
WITH_INTERNAL_DATEUTIL:BOOL=TRUE

//Determines whether python httplib2 should be included
WITH_INTERNAL_HTTPLIB2:BOOL=TRUE

//Determines whether python jinja2 should be included
WITH_INTERNAL_JINJA2:BOOL=TRUE

//Determines whether python markupsafe should be included
WITH_INTERNAL_MARKUPSAFE:BOOL=TRUE

//Determines whether python nose2 should be included
WITH_INTERNAL_NOSE2:BOOL=TRUE

//Determines whether python owslib should be included
WITH_INTERNAL_OWSLIB:BOOL=TRUE

//Determines whether python pygments should be included
WITH_INTERNAL_PYGMENTS:BOOL=TRUE

//Determines whether python pytz should be included
WITH_INTERNAL_PYTZ:BOOL=TRUE

//Use internal build of Qextserialport
WITH_INTERNAL_QEXTSERIALPORT:BOOL=TRUE

//No help, variable specified on the command line.
WITH_INTERNAL_QWTPOLAR:BOOL=FALSE

//Determines whether python requests should be included
WITH_INTERNAL_REQUESTS:BOOL=TRUE

//Determines whether python six should be included
WITH_INTERNAL_SIX:BOOL=TRUE

//Determines whether python yaml should be included
WITH_INTERNAL_YAML:BOOL=FALSE

//No help, variable specified on the command line.
WITH_ORACLE:BOOL=FALSE

//Determines whether POSTGRESQL support should be built
WITH_POSTGRESQL:BOOL=TRUE

//Determines whether PYSPATIALITE should be built
WITH_PYSPATIALITE:BOOL=FALSE

//Determines whether Python modules in staged or installed locations
// are byte-compiled
WITH_PY_COMPILE:BOOL=FALSE

//No help, variable specified on the command line.
WITH_QSCIAPI:BOOL=FALSE

//No help, variable specified on the command line.
WITH_QSPATIALITE:BOOL=FALSE

//Determines if QtMobility related code should be build (for example
// internal GPS)
WITH_QTMOBILITY:BOOL=FALSE

//No help, variable specified on the command line.
WITH_QTWEBKIT:BOOL=TRUE

//No help, variable specified on the command line.
WITH_QWTPOLAR:BOOL=TRUE

//No help, variable specified on the command line.
WITH_SERVER:BOOL=TRUE

//Determines whether QGIS server support for python plugins should
// be built
WITH_SERVER_PLUGINS:BOOL=TRUE

//No help, variable specified on the command line.
WITH_STAGED_PLUGINS:BOOL=TRUE

//Determines if touch interface related code should be build
WITH_TOUCH:BOOL=FALSE

//Determines whether PDF should be generate for the txt2tags documentation
WITH_TXT2TAGS_PDF:BOOL=FALSE

//Path to a file.
_find_lib_python_py:FILEPATH=/Users/timlinux/dev/cpp/QGIS/cmake/FindLibPython.py

//Path to a file.
_find_pyqt5_py:FILEPATH=/Users/timlinux/dev/cpp/QGIS/cmake/FindPyQt5.py

//Path to a file.
_find_qsci_py:FILEPATH=/Users/timlinux/dev/cpp/QGIS/cmake/FindQsci.py

//Path to a file.
_find_sip_py:FILEPATH=/Users/timlinux/dev/cpp/QGIS/cmake/FindSIP.py

//Dependencies for the target
arcgisfeatureserverprovider_LIB_DEPENDS:STATIC=general;qgis_core;general;qgis_gui;

//Dependencies for the target
arcgismapserverprovider_LIB_DEPENDS:STATIC=general;qgis_core;general;qgis_gui;

//Dependencies for the target
basicauthmethod_LIB_DEPENDS:STATIC=general;qgis_core;general;qgis_gui;

//Dependencies for the target
coordinatecaptureplugin_LIB_DEPENDS:STATIC=general;qgis_core;general;qgis_gui;

//Dependencies for the target
db2provider_LIB_DEPENDS:STATIC=general;qgis_core;general;qgis_gui;general;Qt5::Sql;

//Dependencies for the target
delimitedtextprovider_LIB_DEPENDS:STATIC=general;qgis_core;

//Dependencies for the target
evis_LIB_DEPENDS:STATIC=general;qgis_core;general;qgis_gui;general;Qt5::Sql;

//Dependencies for the target
gdalprovider_LIB_DEPENDS:STATIC=general;qgis_core;general;qgis_gui;

//Dependencies for the target
geometrycheckerplugin_LIB_DEPENDS:STATIC=general;qgis_core;general;qgis_gui;

//Dependencies for the target
georefplugin_LIB_DEPENDS:STATIC=general;qgis_core;general;qgis_gui;general;-L/usr/local/opt/gsl/lib -lgsl -lgslcblas;

//Dependencies for the target
gpsimporterplugin_LIB_DEPENDS:STATIC=general;qgis_core;general;qgis_gui;

//Dependencies for the target
gpxprovider_LIB_DEPENDS:STATIC=general;/usr/local/opt/expat/lib/libexpat.dylib;general;qgis_core;

//Dependencies for the target
identcertauthmethod_LIB_DEPENDS:STATIC=general;qgis_core;general;qgis_gui;

//Dependencies for the target
interpolationplugin_LIB_DEPENDS:STATIC=general;qgis_analysis;general;qgis_core;general;qgis_gui;

//Dependencies for target
libdxfrw_LIB_DEPENDS:STATIC=

//Dependencies for the target
memoryprovider_LIB_DEPENDS:STATIC=general;qgis_core;

//Dependencies for the target
mssqlprovider_LIB_DEPENDS:STATIC=general;qgis_core;general;qgis_gui;general;Qt5::Sql;

//Dependencies for the target
offlineeditingplugin_LIB_DEPENDS:STATIC=general;qgis_core;general;qgis_gui;general;/usr/local/lib/libspatialite.dylib;

//Dependencies for the target
ogrprovider_LIB_DEPENDS:STATIC=general;qgis_core;

//Dependencies for the target
oracleplugin_LIB_DEPENDS:STATIC=general;qgis_core;general;qgis_gui;

//Dependencies for the target
owsprovider_LIB_DEPENDS:STATIC=general;qgis_core;general;qgis_gui;

//Dependencies for the target
pkcs12authmethod_LIB_DEPENDS:STATIC=general;qgis_core;general;qgis_gui;

//Dependencies for the target
pkipathsauthmethod_LIB_DEPENDS:STATIC=general;qgis_core;general;qgis_gui;

//Dependencies for the target
postgresprovider_LIB_DEPENDS:STATIC=general;/usr/local/lib/libpq.dylib;general;qgis_core;general;qgis_gui;

//Dependencies for the target
postgresprovider_a_LIB_DEPENDS:STATIC=general;/usr/local/lib/libpq.dylib;general;qgis_core;general;qgis_gui;

//Dependencies for the target
python_module_qgis__analysis_LIB_DEPENDS:STATIC=general;qgis_core;general;qgis_analysis;

//Dependencies for the target
python_module_qgis__core_LIB_DEPENDS:STATIC=general;qgis_core;

//Dependencies for the target
python_module_qgis__gui_LIB_DEPENDS:STATIC=general;qgis_core;general;qgis_gui;

//Dependencies for the target
python_module_qgis__server_LIB_DEPENDS:STATIC=general;qgis_core;general;qgis_server;

//Value Computed by CMake
qgis2.99.0_BINARY_DIR:STATIC=/Users/timlinux/dev/cpp/QGIS/build-debug-master

//Value Computed by CMake
qgis2.99.0_SOURCE_DIR:STATIC=/Users/timlinux/dev/cpp/QGIS

//Dependencies for the target
qgis_analysis_LIB_DEPENDS:STATIC=general;qgis_core;

//Dependencies for the target
qgis_app_LIB_DEPENDS:STATIC=general;/usr/local/lib/qwt.framework;general;Qt5::Sql;general;Qt5::UiTools;general;Qt5::WebKit;general;Qt5::WebKitWidgets;general;/usr/local/lib/qwtpolar.framework;general;/usr/local/opt/gdal2/lib/libgdal.dylib;general;qgis_core;general;qgis_gui;general;qgis_analysis;general;libdxfrw;general;/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.12.sdk/System/Library/Frameworks/ApplicationServices.framework;

//Dependencies for the target
qgis_core_LIB_DEPENDS:STATIC=general;-framework CoreFoundation -framework IOKit;general;Qt5::Xml;general;Qt5::Core;general;Qt5::Concurrent;general;Qt5::Gui;general;Qt5::Widgets;general;Qt5::PrintSupport;general;Qt5::Svg;general;Qt5::Network;general;Qt5::WebKit;general;Qt5::WebKitWidgets;general;Qt5::Sql;general;/usr/local/lib/qca-qt5.framework;general;/usr/local/lib/libproj.dylib;general;/usr/local/opt/geos/lib/libgeos_c.dylib;general;/usr/local/opt/gdal2/lib/libgdal.dylib;general;/usr/local/lib/libspatialindex.dylib;general;/usr/local/opt/expat/lib/libexpat.dylib;general;/usr/local/opt/sqlite/lib/libsqlite3.dylib;general;/usr/local/lib/libspatialite.dylib;general;Qt5::Positioning;

//Dependencies for the target
qgis_customwidgets_LIB_DEPENDS:STATIC=general;qgis_gui;

//Dependencies for the target
qgis_gui_LIB_DEPENDS:STATIC=general;qgis_core;general;Qt5::UiTools;general;/usr/local/lib/qwt.framework;general;/usr/local/lib/libqscintilla2.dylib;

//Dependencies for the target
qgis_server_LIB_DEPENDS:STATIC=general;qgis_core;general;qgis_gui;general;qgis_analysis;general;/usr/local/lib/libproj.dylib;general;/usr/local/lib/libfcgi.dylib;general;/usr/local/lib/libpq.dylib;general;/usr/local/opt/gdal2/lib/libgdal.dylib;general;/usr/local/lib/qca-qt5.framework;general;qgispython;

//Dependencies for the target
qgispython_LIB_DEPENDS:STATIC=general;qgis_core;general;/usr/local/Frameworks/Python.framework/Versions/3.5/Python;

//Dependencies for the target
rasterterrainplugin_LIB_DEPENDS:STATIC=general;qgis_analysis;general;qgis_core;general;qgis_gui;

//Dependencies for the target
spatialiteprovider_LIB_DEPENDS:STATIC=general;qgis_core;general;qgis_gui;general;/usr/local/lib/libspatialite.dylib;

//Dependencies for the target
spatialqueryplugin_LIB_DEPENDS:STATIC=general;qgis_core;general;qgis_gui;

//Dependencies for the target
topolplugin_LIB_DEPENDS:STATIC=general;qgis_core;general;qgis_gui;

//Dependencies for the target
virtuallayerprovider_LIB_DEPENDS:STATIC=general;qgis_core;general;qgis_gui;general;Qt5::Core;general;Qt5::Concurrent;general;Qt5::Gui;general;Qt5::Widgets;general;Qt5::PrintSupport;general;Qt5::Svg;general;/usr/local/opt/sqlite/lib/libsqlite3.dylib;general;/usr/local/lib/libspatialite.dylib;

//Dependencies for the target
wcsprovider_LIB_DEPENDS:STATIC=general;qgis_core;general;qgis_gui;

//Dependencies for the target
wfsprovider_LIB_DEPENDS:STATIC=general;/usr/local/opt/expat/lib/libexpat.dylib;general;qgis_core;general;qgis_gui;

//Dependencies for the target
wmsprovider_LIB_DEPENDS:STATIC=general;qgis_core;general;qgis_gui;general;Qt5::Script;general;/usr/local/opt/gdal2/lib/libgdal.dylib;

//Dependencies for the target
wmsprovider_a_LIB_DEPENDS:STATIC=general;qgis_core;general;Qt5::Script;


########################
# INTERNAL cache entries
########################

//ADVANCED property for variable: BZRCOMMAND
BZRCOMMAND-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_AR
CMAKE_AR-ADVANCED:INTERNAL=1
//This is the directory where this CMakeCache.txt was created
CMAKE_CACHEFILE_DIR:INTERNAL=/Users/timlinux/dev/cpp/QGIS/build-debug-master
//Major version of cmake used to create the current loaded cache
CMAKE_CACHE_MAJOR_VERSION:INTERNAL=3
//Minor version of cmake used to create the current loaded cache
CMAKE_CACHE_MINOR_VERSION:INTERNAL=7
//Patch version of cmake used to create the current loaded cache
CMAKE_CACHE_PATCH_VERSION:INTERNAL=1
//Path to CMake executable.
CMAKE_COMMAND:INTERNAL=/usr/local/Cellar/cmake/3.7.1/bin/cmake
//Path to cpack program executable.
CMAKE_CPACK_COMMAND:INTERNAL=/usr/local/Cellar/cmake/3.7.1/bin/cpack
//ADVANCED property for variable: CMAKE_CTEST_COMMAND
CMAKE_CTEST_COMMAND-ADVANCED:INTERNAL=1
//Path to ctest program executable.
CMAKE_CTEST_COMMAND:INTERNAL=/usr/local/Cellar/cmake/3.7.1/bin/ctest
//ADVANCED property for variable: CMAKE_CXX_COMPILER
CMAKE_CXX_COMPILER-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_CXX_FLAGS
CMAKE_CXX_FLAGS-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_CXX_FLAGS_DEBUG
CMAKE_CXX_FLAGS_DEBUG-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_CXX_FLAGS_MINSIZEREL
CMAKE_CXX_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_CXX_FLAGS_RELEASE
CMAKE_CXX_FLAGS_RELEASE-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_CXX_FLAGS_RELWITHDEBINFO
CMAKE_CXX_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_C_COMPILER
CMAKE_C_COMPILER-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_C_FLAGS
CMAKE_C_FLAGS-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_C_FLAGS_DEBUG
CMAKE_C_FLAGS_DEBUG-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_C_FLAGS_MINSIZEREL
CMAKE_C_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_C_FLAGS_RELEASE
CMAKE_C_FLAGS_RELEASE-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_C_FLAGS_RELWITHDEBINFO
CMAKE_C_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1
//Executable file format
CMAKE_EXECUTABLE_FORMAT:INTERNAL=Unknown
//ADVANCED property for variable: CMAKE_EXE_LINKER_FLAGS
CMAKE_EXE_LINKER_FLAGS-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_EXE_LINKER_FLAGS_DEBUG
CMAKE_EXE_LINKER_FLAGS_DEBUG-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_EXE_LINKER_FLAGS_MINSIZEREL
CMAKE_EXE_LINKER_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_EXE_LINKER_FLAGS_RELEASE
CMAKE_EXE_LINKER_FLAGS_RELEASE-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_EXE_LINKER_FLAGS_RELWITHDEBINFO
CMAKE_EXE_LINKER_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_EXPORT_COMPILE_COMMANDS
CMAKE_EXPORT_COMPILE_COMMANDS-ADVANCED:INTERNAL=1
//Name of external makefile project generator.
CMAKE_EXTRA_GENERATOR:INTERNAL=
//Name of generator.
CMAKE_GENERATOR:INTERNAL=Ninja
//Name of generator platform.
CMAKE_GENERATOR_PLATFORM:INTERNAL=
//Name of generator toolset.
CMAKE_GENERATOR_TOOLSET:INTERNAL=
//Source directory with the top level CMakeLists.txt file for this
// project
CMAKE_HOME_DIRECTORY:INTERNAL=/Users/timlinux/dev/cpp/QGIS
//ADVANCED property for variable: CMAKE_INSTALL_NAME_TOOL
CMAKE_INSTALL_NAME_TOOL-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_LINKER
CMAKE_LINKER-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_MAKE_PROGRAM
CMAKE_MAKE_PROGRAM-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_MODULE_LINKER_FLAGS
CMAKE_MODULE_LINKER_FLAGS-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_MODULE_LINKER_FLAGS_DEBUG
CMAKE_MODULE_LINKER_FLAGS_DEBUG-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_MODULE_LINKER_FLAGS_MINSIZEREL
CMAKE_MODULE_LINKER_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_MODULE_LINKER_FLAGS_RELEASE
CMAKE_MODULE_LINKER_FLAGS_RELEASE-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_MODULE_LINKER_FLAGS_RELWITHDEBINFO
CMAKE_MODULE_LINKER_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_NM
CMAKE_NM-ADVANCED:INTERNAL=1
//number of local generators
CMAKE_NUMBER_OF_MAKEFILES:INTERNAL=122
//ADVANCED property for variable: CMAKE_OBJCOPY
CMAKE_OBJCOPY-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_OBJDUMP
CMAKE_OBJDUMP-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_RANLIB
CMAKE_RANLIB-ADVANCED:INTERNAL=1
//Path to CMake installation.
CMAKE_ROOT:INTERNAL=/usr/local/Cellar/cmake/3.7.1/share/cmake
//ADVANCED property for variable: CMAKE_SHARED_LINKER_FLAGS
CMAKE_SHARED_LINKER_FLAGS-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_SHARED_LINKER_FLAGS_DEBUG
CMAKE_SHARED_LINKER_FLAGS_DEBUG-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_SHARED_LINKER_FLAGS_MINSIZEREL
CMAKE_SHARED_LINKER_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_SHARED_LINKER_FLAGS_RELEASE
CMAKE_SHARED_LINKER_FLAGS_RELEASE-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_SHARED_LINKER_FLAGS_RELWITHDEBINFO
CMAKE_SHARED_LINKER_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_SKIP_INSTALL_RPATH
CMAKE_SKIP_INSTALL_RPATH-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_SKIP_RPATH
CMAKE_SKIP_RPATH-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_STATIC_LINKER_FLAGS
CMAKE_STATIC_LINKER_FLAGS-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_STATIC_LINKER_FLAGS_DEBUG
CMAKE_STATIC_LINKER_FLAGS_DEBUG-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_STATIC_LINKER_FLAGS_MINSIZEREL
CMAKE_STATIC_LINKER_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_STATIC_LINKER_FLAGS_RELEASE
CMAKE_STATIC_LINKER_FLAGS_RELEASE-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_STATIC_LINKER_FLAGS_RELWITHDEBINFO
CMAKE_STATIC_LINKER_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_STRIP
CMAKE_STRIP-ADVANCED:INTERNAL=1
//uname command
CMAKE_UNAME:INTERNAL=/usr/bin/uname
//ADVANCED property for variable: CMAKE_VERBOSE_MAKEFILE
CMAKE_VERBOSE_MAKEFILE-ADVANCED:INTERNAL=1
//ADVANCED property for variable: COMPRESSIONCOMMAND
COMPRESSIONCOMMAND-ADVANCED:INTERNAL=1
//ADVANCED property for variable: COVERAGE_COMMAND
COVERAGE_COMMAND-ADVANCED:INTERNAL=1
//ADVANCED property for variable: COVERAGE_EXTRA_FLAGS
COVERAGE_EXTRA_FLAGS-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CPACK_BINARY_BUNDLE
CPACK_BINARY_BUNDLE-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CPACK_BINARY_DEB
CPACK_BINARY_DEB-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CPACK_BINARY_DRAGNDROP
CPACK_BINARY_DRAGNDROP-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CPACK_BINARY_IFW
CPACK_BINARY_IFW-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CPACK_BINARY_NSIS
CPACK_BINARY_NSIS-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CPACK_BINARY_OSXX11
CPACK_BINARY_OSXX11-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CPACK_BINARY_PACKAGEMAKER
CPACK_BINARY_PACKAGEMAKER-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CPACK_BINARY_PRODUCTBUILD
CPACK_BINARY_PRODUCTBUILD-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CPACK_BINARY_RPM
CPACK_BINARY_RPM-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CPACK_BINARY_STGZ
CPACK_BINARY_STGZ-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CPACK_BINARY_TBZ2
CPACK_BINARY_TBZ2-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CPACK_BINARY_TGZ
CPACK_BINARY_TGZ-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CPACK_BINARY_TXZ
CPACK_BINARY_TXZ-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CPACK_SOURCE_RPM
CPACK_SOURCE_RPM-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CPACK_SOURCE_TBZ2
CPACK_SOURCE_TBZ2-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CPACK_SOURCE_TGZ
CPACK_SOURCE_TGZ-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CPACK_SOURCE_TXZ
CPACK_SOURCE_TXZ-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CPACK_SOURCE_TZ
CPACK_SOURCE_TZ-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CPACK_SOURCE_ZIP
CPACK_SOURCE_ZIP-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CTEST_SUBMIT_RETRY_COUNT
CTEST_SUBMIT_RETRY_COUNT-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CTEST_SUBMIT_RETRY_DELAY
CTEST_SUBMIT_RETRY_DELAY-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CVSCOMMAND
CVSCOMMAND-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CVS_UPDATE_OPTIONS
CVS_UPDATE_OPTIONS-ADVANCED:INTERNAL=1
//ADVANCED property for variable: DART_BUILD_ERROR_REPORT_LIMIT
DART_BUILD_ERROR_REPORT_LIMIT-ADVANCED:INTERNAL=1
//ADVANCED property for variable: DART_BUILD_WARNING_REPORT_LIMIT
DART_BUILD_WARNING_REPORT_LIMIT-ADVANCED:INTERNAL=1
//ADVANCED property for variable: DART_ROOT
DART_ROOT-ADVANCED:INTERNAL=1
//ADVANCED property for variable: DART_TESTING_TIMEOUT
DART_TESTING_TIMEOUT-ADVANCED:INTERNAL=1
//ADVANCED property for variable: DART_VERBOSE_BUILD
DART_VERBOSE_BUILD-ADVANCED:INTERNAL=1
//ADVANCED property for variable: DELIVER_CONTINUOUS_EMAIL
DELIVER_CONTINUOUS_EMAIL-ADVANCED:INTERNAL=1
//Details about finding PythonInterp
FIND_PACKAGE_MESSAGE_DETAILS_PythonInterp:INTERNAL=[/usr/local/bin/python3][v3.5.2(3)]
//ADVANCED property for variable: GITCOMMAND
GITCOMMAND-ADVANCED:INTERNAL=1
//ADVANCED property for variable: GRASS_INCLUDE_DIR7
GRASS_INCLUDE_DIR7-ADVANCED:INTERNAL=1
//ADVANCED property for variable: GUNZIPCOMMAND
GUNZIPCOMMAND-ADVANCED:INTERNAL=1
//ADVANCED property for variable: HGCOMMAND
HGCOMMAND-ADVANCED:INTERNAL=1
//ADVANCED property for variable: JAVACOMMAND
JAVACOMMAND-ADVANCED:INTERNAL=1
//ADVANCED property for variable: MAKECOMMAND
MAKECOMMAND-ADVANCED:INTERNAL=1
//ADVANCED property for variable: MEMORYCHECK_COMMAND
MEMORYCHECK_COMMAND-ADVANCED:INTERNAL=1
//ADVANCED property for variable: MEMORYCHECK_SUPPRESSIONS_FILE
MEMORYCHECK_SUPPRESSIONS_FILE-ADVANCED:INTERNAL=1
//Have function openpty
OPENPTY_IN_LIBC:INTERNAL=1
//ADVANCED property for variable: P4COMMAND
P4COMMAND-ADVANCED:INTERNAL=1
//ADVANCED property for variable: PYTHON_EXECUTABLE
PYTHON_EXECUTABLE-ADVANCED:INTERNAL=1
//ADVANCED property for variable: QGIS_BIN_SUBDIR
QGIS_BIN_SUBDIR-ADVANCED:INTERNAL=1
//ADVANCED property for variable: QGIS_CGIBIN_SUBDIR
QGIS_CGIBIN_SUBDIR-ADVANCED:INTERNAL=1
//ADVANCED property for variable: QGIS_DATA_SUBDIR
QGIS_DATA_SUBDIR-ADVANCED:INTERNAL=1
//ADVANCED property for variable: QGIS_INCLUDE_SUBDIR
QGIS_INCLUDE_SUBDIR-ADVANCED:INTERNAL=1
//ADVANCED property for variable: QGIS_LIBEXEC_SUBDIR
QGIS_LIBEXEC_SUBDIR-ADVANCED:INTERNAL=1
//ADVANCED property for variable: QGIS_LIB_SUBDIR
QGIS_LIB_SUBDIR-ADVANCED:INTERNAL=1
//ADVANCED property for variable: QGIS_PLUGIN_SUBDIR
QGIS_PLUGIN_SUBDIR-ADVANCED:INTERNAL=1
//ADVANCED property for variable: SCPCOMMAND
SCPCOMMAND-ADVANCED:INTERNAL=1
//ADVANCED property for variable: SITE
SITE-ADVANCED:INTERNAL=1
//ADVANCED property for variable: SLURM_SBATCH_COMMAND
SLURM_SBATCH_COMMAND-ADVANCED:INTERNAL=1
//ADVANCED property for variable: SLURM_SRUN_COMMAND
SLURM_SRUN_COMMAND-ADVANCED:INTERNAL=1
//Have library /usr/local/lib/libspatialite.dylib
SPATIALITE_HAS_INIT_EX:INTERNAL=1
//Have library /usr/local/lib/libspatialite.dylib
SPATIALITE_VERSION_GE_4_0_0:INTERNAL=1
//Have library /usr/local/lib/libspatialite.dylib
SPATIALITE_VERSION_G_4_1_1:INTERNAL=1
//ADVANCED property for variable: SUPPRESS_SIP_WARNINGS
SUPPRESS_SIP_WARNINGS-ADVANCED:INTERNAL=1
//ADVANCED property for variable: SVNCOMMAND
SVNCOMMAND-ADVANCED:INTERNAL=1
//ADVANCED property for variable: WITH_QSCIAPI
WITH_QSCIAPI-ADVANCED:INTERNAL=1


my env | sort looks like this:

Apple_PubSub_Socket_Render=/private/tmp/com.apple.launchd.MJLaRjRpW1/Render
DISPLAY=/private/tmp/com.apple.launchd.gSmFvd6usO/org.macosforge.xquartz:0
HOME=/Users/timlinux
HOMEBREW_NO_AUTO_UPDATE=1
LC_CTYPE=UTF-8
LOGNAME=timlinux
OLDPWD=/Users/timlinux/dev/cpp/QGIS
PATH=/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/opt/X11/bin:/usr/local/MacGPG2/bin:/Users/timlinux/bin:/Users/timlinux/bin/docker-helpers
PS1=[\u@sandstone \w$(__git_ps1)]\$ 
PWD=/Users/timlinux/dev/cpp/QGIS/build-debug-master
SHELL=/bin/bash
SHLVL=1
TERM=xterm-256color
TERM_PROGRAM=Apple_Terminal
TERM_PROGRAM_VERSION=387
TERM_SESSION_ID=2462E187-9441-42AD-8F48-4D40DC482397
TMPDIR=/var/folders/3r/_gcgtjhx2rn3nhnd44h39kw00000gp/T/
USER=timlinux
XPC_FLAGS=0x0
XPC_SERVICE_NAME=0
_=/usr/bin/env
__CF_USER_TEXT_ENCODING=0x1F6:0x0:0x0

I'm not sure if there is anything that leaps out in the above for you - there isn't for me :-(

from homebrew-qgisdev.

timlinux avatar timlinux commented on August 20, 2024

Note that I ran brew update before doing the above so it should be using your latest scripts assuming they are all published....

from homebrew-qgisdev.

dakcarto avatar dakcarto commented on August 20, 2024

Hi Tim,

I was finally able to replicate the issue. Seems CMake passes the environment down to txt2tags, which is hard-coded to use Python 2.x. Try the following:

# if you have installed via Homebrew
brew unlink txt2tags

I quickly reviewed the QGIS3 master code base for other hard-coded Python 2.x issues, and there are several; notably, Python console appears to run scripts via python. These need fixed as well.

NOTE: review #11 first, as that may cause issues for you as well.

from homebrew-qgisdev.

dakcarto avatar dakcarto commented on August 20, 2024

Hmm. We may be able to use:
https://github.com/txt2tags/txt2tags-python3

Or, edit cmake/Txt2Tags.cmake to strip parent env on the txt2tags calls (isolating to Python 2.x).

from homebrew-qgisdev.

timlinux avatar timlinux commented on August 20, 2024

@dakcarto OK thats much better now - I unlinked txt2tags and blanked out the path entry for it in ccmake. Now it builds! Yay! Thank you so much for your help - really great to have master building here on my Mac again! Buildings txt2tags stuff automatically is not a show stopper for me - I am happy to do that manually for now.

I quickly reviewed the QGIS3 master code base for other hard-coded Python 2.x issues, and there are several; notably, Python console appears to run scripts via python. These need fixed as well.

Python console seems to 'just work' for me without any other intervention:

screen shot 2016-12-28 at 2 28 00 pm

from homebrew-qgisdev.

dakcarto avatar dakcarto commented on August 20, 2024

Hi @timlinux,

Sorry, I meant running code from the PyQGIS console's editor. Should be fixed in qgis/QGIS@1d58e53

from homebrew-qgisdev.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.