Details
Description
I see a difference in behaviour during cmake configuration after commit 8d0ce19ca6cef467e67a49cb720fa5ed61aaca35
Before I got
cmake -C /var/tmp/portage/dev-python/pyside-9999/work/pyside-9999/sources/pyside2-python3_5/gentoo_common_config.cmake -G Unix Makefiles -DCMAKE_INSTALL_PREFIX=/usr -DBUILD_TESTS=no -DCMAKE_DISABLE_FIND_PACKAGE_Qt5Charts=yes -DCMAKE_DISABLE_FIND_PACKAGE_Qt5Concurrent=yes -DCMAKE_DISABLE_FIND_PACKAGE_Qt5DataVisualization=yes -DCMAKE_DISABLE_FIND_PACKAGE_Qt5Designer=yes -DCMAKE_DISABLE_FIND_PACKAGE_Qt5Gui=no -DCMAKE_DISABLE_FIND_PACKAGE_Qt5Help=yes -DCMAKE_DISABLE_FIND_PACKAGE_Qt5Multimedia=yes -DCMAKE_DISABLE_FIND_PACKAGE_Qt5MultimediaWidgets=yes -DCMAKE_DISABLE_FIND_PACKAGE_Qt5Network=no -DCMAKE_DISABLE_FIND_PACKAGE_Qt5OpenGL=no -DCMAKE_DISABLE_FIND_PACKAGE_Qt5PrintSupport=no -DCMAKE_DISABLE_FIND_PACKAGE_Qt5Qml=yes -DCMAKE_DISABLE_FIND_PACKAGE_Qt5Quick=yes -DCMAKE_DISABLE_FIND_PACKAGE_Qt5QuickWidgets=yes -DCMAKE_DISABLE_FIND_PACKAGE_Qt5Script=yes -DCMAKE_DISABLE_FIND_PACKAGE_Qt5ScriptTools=yes -DCMAKE_DISABLE_FIND_PACKAGE_Qt5Sql=no -DCMAKE_DISABLE_FIND_PACKAGE_Qt5Svg=no -DCMAKE_DISABLE_FIND_PACKAGE_Qt5Test=yes -DCMAKE_DISABLE_FIND_PACKAGE_Qt5UiTools=yes -DCMAKE_DISABLE_FIND_PACKAGE_Qt5WebChannel=yes -DCMAKE_DISABLE_FIND_PACKAGE_Qt5WebEngineWidgets=yes -DCMAKE_DISABLE_FIND_PACKAGE_Qt5WebKit=no -DCMAKE_DISABLE_FIND_PACKAGE_Qt5WebKitWidgets=no -DCMAKE_DISABLE_FIND_PACKAGE_Qt5WebSockets=yes -DCMAKE_DISABLE_FIND_PACKAGE_Qt5Widgets=no -DCMAKE_DISABLE_FIND_PACKAGE_Qt5X11Extras=yes -DCMAKE_DISABLE_FIND_PACKAGE_Qt5XmlPatterns=yes -DPYTHON_EXECUTABLE=/usr/bin/python3.5 -DCMAKE_BUILD_TYPE=Gentoo -DCMAKE_USER_MAKE_RULES_OVERRIDE=/var/tmp/portage/dev-python/pyside-9999/work/pyside-9999/sources/pyside2-python3_5/gentoo_rules.cmake -DCMAKE_TOOLCHAIN_FILE=/var/tmp/portage/dev-python/pyside-9999/work/pyside-9999/sources/pyside2-python3_5/gentoo_toolchain.cmake /var/tmp/portage/dev-python/pyside-9999/work/pyside-9999/sources/pyside2 loading initial cache file /var/tmp/portage/dev-python/pyside-9999/work/pyside-9999/sources/pyside2-python3_5/gentoo_common_config.cmake -- The C compiler identification is GNU 6.4.0 -- The CXX compiler identification is GNU 6.4.0 -- Check for working C compiler: /usr/bin/x86_64-pc-linux-gnu-gcc -- Check for working C compiler: /usr/bin/x86_64-pc-linux-gnu-gcc -- 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/x86_64-pc-linux-gnu-g++ -- Check for working CXX compiler: /usr/bin/x86_64-pc-linux-gnu-g++ -- works -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Detecting CXX compile features -- Detecting CXX compile features - done -- Found PythonInterp: /usr/bin/python3.5 (found suitable version "3.5.4", minimum required is "2.6") -- Found PythonLibs: /usr/lib/libpython3.5m.so (found suitable version "3.5.4", minimum required is "2.6") PYTHON_EXTENSION_SUFFIX: .cpython-35m-x86_64-linux-gnu -- PYTHON_EXTENSION_SUFFIX: .cpython-35m-x86_64-linux-gnu -- PYTHON_CONFIG_SUFFIX: .cpython-35m-x86_64-linux-gnu -- PYTHON_SHARED_LIBRARY_SUFFIX: .cpython-35m-x86_64-linux-gnu -- libshiboken built for Release result:/usr/include/GL/gl.h -- *** Qt5Core_INCLUDE_DIRS = /usr/include/qt5/;/usr/include/qt5/QtCore;/usr/lib64/qt5//mkspecs/linux-g++ -- *** computed QT_INCLUDE_DIR as /usr/include/qt5/ -- Found Git: /usr/bin/git (found version "2.13.6") -- essential module Qt5Core found () -- essential module Qt5Gui found () -- essential module Qt5Widgets found () -- essential module Qt5PrintSupport found () -- essential module Qt5Sql found () -- essential module Qt5Network found () -- skipped module Qt5Test is essential! We do not guarantee that all tests are working. -- skipped module Qt5Concurrent is essential! We do not guarantee that all tests are working. -- skipped module Qt5X11Extras is essential! We do not guarantee that all tests are working. -- optional module Qt5Xml found () -- optional module Qt5XmlPatterns skipped -- optional module Qt5Help skipped -- optional module Qt5Multimedia skipped -- optional module Qt5MultimediaWidgets skipped -- optional module Qt5OpenGL found () -- optional module Qt5Qml skipped -- optional module Qt5Quick skipped -- optional module Qt5QuickWidgets skipped -- optional module Qt5Script skipped -- optional module Qt5ScriptTools skipped CMake Warning at CMakeLists.txt:228 (find_package): By not providing "FindQt5TextToSpeech.cmake" in CMAKE_MODULE_PATH this project has asked CMake to find a package configuration file provided by "Qt5TextToSpeech", but CMake did not find one. Could not find a package configuration file provided by "Qt5TextToSpeech" with any of the following names: Qt5TextToSpeechConfig.cmake qt5texttospeech-config.cmake Add the installation prefix of "Qt5TextToSpeech" to CMAKE_PREFIX_PATH or set "Qt5TextToSpeech_DIR" to a directory containing one of the above files. If "Qt5TextToSpeech" provides a separate development package or SDK, be sure it has been installed. Call Stack (most recent call first): CMakeLists.txt:297 (COLLECT_MODULE_IF_FOUND) -- optional module Qt5TextToSpeech skipped -- optional module Qt5Charts skipped -- optional module Qt5Svg found () -- optional module Qt5DataVisualization skipped -- optional module Qt5WebChannel skipped -- optional module Qt5WebEngineWidgets skipped -- optional module Qt5WebKit found () -- optional module Qt5WebKitWidgets found () -- optional module Qt5WebSockets skipped -- Detected OS: x11 -- PySide will be generated using the protected hack! -- Checking for QGtkStyle in QtWidgets -- not found -- Checking for QMacStyle in QtWidgets -- not found -- Checking for QSslCertificate in QtNetwork -- not found -- Checking for QSslCipher in QtNetwork -- not found -- Checking for QSslConfiguration in QtNetwork -- not found -- Checking for QSslError in QtNetwork -- not found -- Checking for QSslKey in QtNetwork -- not found -- Checking for QSslSocket in QtNetwork -- not found -- QT_SRC_DIR variable not set, apidoc generation targets disabled. -- <<< Gentoo configuration >>> Build type Gentoo Install path /usr Compiler flags: C -march=core2 -O2 -pipe -ggdb C++ -march=core2 -O2 -pipe -ggdb -Wall -fvisibility=hidden -Wno-strict-aliasing Linker flags: Executable -Wl,-O1 -Wl,--as-needed Module -Wl,-O1 -Wl,--as-needed Shared -Wl,-O1 -Wl,--as-needed -- Configuring done -- Generating done -- Build files have been written to: /var/tmp/portage/dev-python/pyside-9999/work/pyside-9999/sources/pyside2-python3_5
while after the commit I get
cmake -C /var/tmp/portage/dev-python/pyside-9999/work/pyside-9999/sources/pyside2-python2_7/gentoo_common_config.cmake -G Unix Makefiles -DCMAKE_INSTALL_PREFIX=/usr -DBUILD_TESTS=no -DCMAKE_DISABLE_FIND_PACKAGE_Qt5Charts=yes -DCMAKE_DISABLE_FIND_PACKAGE_Qt5Concurrent=yes -DCMAKE_DISABLE_FIND_PACKAGE_Qt5DataVisualization=yes -DCMAKE_DISABLE_FIND_PACKAGE_Qt5Designer=yes -DCMAKE_DISABLE_FIND_PACKAGE_Qt5Gui=no -DCMAKE_DISABLE_FIND_PACKAGE_Qt5Help=yes -DCMAKE_DISABLE_FIND_PACKAGE_Qt5Multimedia=yes -DCMAKE_DISABLE_FIND_PACKAGE_Qt5MultimediaWidgets=yes -DCMAKE_DISABLE_FIND_PACKAGE_Qt5Network=no -DCMAKE_DISABLE_FIND_PACKAGE_Qt5OpenGL=no -DCMAKE_DISABLE_FIND_PACKAGE_Qt5PrintSupport=no -DCMAKE_DISABLE_FIND_PACKAGE_Qt5Qml=yes -DCMAKE_DISABLE_FIND_PACKAGE_Qt5Quick=yes -DCMAKE_DISABLE_FIND_PACKAGE_Qt5QuickWidgets=yes -DCMAKE_DISABLE_FIND_PACKAGE_Qt5Script=yes -DCMAKE_DISABLE_FIND_PACKAGE_Qt5ScriptTools=yes -DCMAKE_DISABLE_FIND_PACKAGE_Qt5Sql=no -DCMAKE_DISABLE_FIND_PACKAGE_Qt5Svg=no -DCMAKE_DISABLE_FIND_PACKAGE_Qt5Test=yes -DCMAKE_DISABLE_FIND_PACKAGE_Qt5UiTools=yes -DCMAKE_DISABLE_FIND_PACKAGE_Qt5WebChannel=yes -DCMAKE_DISABLE_FIND_PACKAGE_Qt5WebEngineWidgets=yes -DCMAKE_DISABLE_FIND_PACKAGE_Qt5WebKit=no -DCMAKE_DISABLE_FIND_PACKAGE_Qt5WebKitWidgets=no -DCMAKE_DISABLE_FIND_PACKAGE_Qt5WebSockets=yes -DCMAKE_DISABLE_FIND_PACKAGE_Qt5Widgets=no -DCMAKE_DISABLE_FIND_PACKAGE_Qt5X11Extras=yes -DCMAKE_DISABLE_FIND_PACKAGE_Qt5XmlPatterns=yes -DPYTHON_EXECUTABLE=/usr/bin/python2.7 -DCMAKE_BUILD_TYPE=Gentoo -DCMAKE_USER_MAKE_RULES_OVERRIDE=/var/tmp/portage/dev-python/pyside-9999/work/pyside-9999/sources/pyside2-python2_7/gentoo_rules.cmake -DCMAKE_TOOLCHAIN_FILE=/var/tmp/portage/dev-python/pyside-9999/work/pyside-9999/sources/pyside2-python2_7/gentoo_toolchain.cmake /var/tmp/portage/dev-python/pyside-9999/work/pyside-9999/sources/pyside2 loading initial cache file /var/tmp/portage/dev-python/pyside-9999/work/pyside-9999/sources/pyside2-python2_7/gentoo_common_config.cmake -- The C compiler identification is GNU 6.4.0 -- The CXX compiler identification is GNU 6.4.0 -- Check for working C compiler: /usr/bin/x86_64-pc-linux-gnu-gcc -- Check for working C compiler: /usr/bin/x86_64-pc-linux-gnu-gcc -- 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/x86_64-pc-linux-gnu-g++ -- Check for working CXX compiler: /usr/bin/x86_64-pc-linux-gnu-g++ -- works -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Detecting CXX compile features -- Detecting CXX compile features - done -- Found PythonInterp: /usr/bin/python2.7 (found suitable version "2.7.14", minimum required is "2.6") -- Found PythonLibs: /usr/lib/libpython2.7.so (found suitable version "2.7.14", minimum required is "2.6") PYTHON_EXTENSION_SUFFIX: -- PYTHON_EXTENSION_SUFFIX: -- PYTHON_CONFIG_SUFFIX: -python2.7 -- PYTHON_SHARED_LIBRARY_SUFFIX: -python2.7 -- libshiboken built for Release result:/usr/include/GL/gl.h -- *** Qt5Core_INCLUDE_DIRS = /usr/include/qt5/;/usr/include/qt5/QtCore;/usr/lib64/qt5//mkspecs/linux-g++ -- *** computed QT_INCLUDE_DIR as /usr/include/qt5/ -- Found Git: /usr/bin/git (found version "2.13.6") -- skipped module Qt5Core is essential! We do not guarantee that all tests are working. -- skipped module Qt5Gui is essential! We do not guarantee that all tests are working. -- skipped module Qt5Widgets is essential! We do not guarantee that all tests are working. -- skipped module Qt5PrintSupport is essential! We do not guarantee that all tests are working. -- skipped module Qt5Sql is essential! We do not guarantee that all tests are working. -- skipped module Qt5Network is essential! We do not guarantee that all tests are working. -- skipped module Qt5Test is essential! We do not guarantee that all tests are working. CMake Error at CMakeLists.txt:246 (if): if given arguments: "AND" "/usr/include" "STREQUAL" "/" Unknown arguments specified Call Stack (most recent call first): CMakeLists.txt:300 (COLLECT_MODULE_IF_FOUND) -- Configuring incomplete, errors occurred!
Attachments
For Gerrit Dashboard: PYSIDE-596 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
217894,9 | Fix CMake for local system installations | 5.9 | pyside/pyside-setup | Status: MERGED | +2 | 0 |
218323,1 | Fix CMake for local system installations | 5.6 | pyside/pyside-setup | Status: ABANDONED | 0 | 0 |