Bug#943331: qgis: FTBFS with Qt 5.12.5

Lisandro Damián Nicanor Pérez Meyer lisandro at debian.org
Wed Oct 23 15:34:38 BST 2019


Source: qgis
Version: 3.4.12+dfsg-1
Severity: serious
Justification: FTBFS

Hi! Your package FTBFS while rebuilding it against Qt 5.12.5, although from the build log
I can not tell for sure if the problem lies in Qt itself.

An excerpt from it:

FAILED: src/core/CMakeFiles/qgis_core.dir/raster/qgshillshaderenderer.cpp.o 
/usr/bin/c++  -DQT_CONCURRENT_LIB -DQT_CORE_LIB -DQT_DISABLE_DEPRECATED_BEFORE=0 -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_NO_CAST_TO_ASCII -DQT_NO_DEBUG -DQT_POSITIONING_LIB -DQT_PRINTSUPPORT_LIB -DQT_SERIALPORT_LIB -DQT_SQL_LIB -DQT_SVG_LIB -DQT_WEBKITWIDGETS_LIB -DQT_WEBKIT_LIB -DQT_WIDGETS_LIB -DQT_XML_LIB -DSIP_VERSION=0x041313 -DTEST_DATA_DIR=\"/<<PKGBUILDDIR>>/tests/testdata\" -DWITH_BINDINGS -DWITH_QTWEBKIT -D_HAVE_PTHREAD_ -Dqgis_core_EXPORTS -I. -I../../src/core -Isrc/core -I../../src/core/3d -I../../src/core/annotations -I../../src/core/auth -I../../src/core/dxf -I../../src/core/effects -I../../src/core/expression -I../../src/core/fieldformatter -I../../src/core/geometry -I../../src/core/geocms -I../../src/core/geocms/geonode -I../../src/core/layertree -I../../src/core/layout -I../../src/core/locator -I../../src/core/metadata -I../../src/core/pal -I../../src/core/processing -I../../src/core/processing/models -I../../src/core/providers -I../../src/core/providers/memory -I../../src/core/raster -I../../src/core/renderer -I../../src/core/scalebar -I../../src/core/symbology -I../../src/core/mesh -I../../external/kdbush/include -I../../external/nmea -I../../external/poly2tri -isystem /usr/include/gdal -isystem /usr/include/Qca-qt5/QtCrypto -isystem /usr/include/qt5keychain -isystem /usr/include/x86_64-linux-gnu/qt5 -isystem /usr/include/x86_64-linux-gnu/qt5/QtSerialPort -isystem /usr/include/x86_64-linux-gnu/qt5/QtCore -isystem /usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -isystem /usr/include/x86_64-linux-gnu/qt5/QtXml -isystem /usr/include/x86_64-linux-gnu/qt5/QtGui -isystem /usr/include/x86_64-linux-gnu/qt5/QtWidgets -isystem /usr/include/x86_64-linux-gnu/qt5/QtSvg -isystem /usr/include/x86_64-linux-gnu/qt5/QtPrintSupport -isystem /usr/include/x86_64-linux-gnu/qt5/QtNetwork -isystem /usr/include/x86_64-linux-gnu/qt5/QtWebKitWidgets -isystem /usr/include/x86_64-linux-gnu/qt5/QtWebKit -isystem /usr/include/x86_64-linux-gnu/qt5/QtSql -isystem /usr/include/x86_64-linux-gnu/qt5/QtConcurrent -isystem /usr/include/x86_64-linux-gnu/qt5/QtPositioning -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -O2 -DNDEBUG -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wextra -Wno-long-long -Wformat-security -Wno-strict-aliasing -fPIC -fvisibility=hidden   -fPIC -std=gnu++11 -MD -MT src/core/CMakeFiles/qgis_core.dir/raster/qgshillshaderenderer.cpp.o -MF src/core/CMakeFiles/qgis_core.dir/raster/qgshillshaderenderer.cpp.o.d -o src/core/CMakeFiles/qgis_core.dir/raster/qgshillshaderenderer.cpp.o -c ../../src/core/raster/qgshillshaderenderer.cpp
In file included from ../../src/core/qgsopenclutils.h:34,
                 from ../../src/core/raster/qgshillshaderenderer.cpp:34:
/usr/include/CL/cl2.hpp:453:129: note: #pragma message: cl2.hpp: CL_HPP_TARGET_OPENCL_VERSION is not a valid value (100, 110, 120, 200 or 210). It will be set to 210
  453 | # pragma message("cl2.hpp: CL_HPP_TARGET_OPENCL_VERSION is not a valid value (100, 110, 120, 200 or 210). It will be set to 210")
      |                                                                                                                                 ^
/usr/include/CL/cl2.hpp:463:109: note: #pragma message: CL_TARGET_OPENCL_VERSION is already defined as is lower than CL_HPP_TARGET_OPENCL_VERSION
  463 | # pragma message("CL_TARGET_OPENCL_VERSION is already defined as is lower than CL_HPP_TARGET_OPENCL_VERSION")
      |                                                                                                             ^
In file included from ../../src/core/qgsopenclutils.h:34,
                 from ../../src/core/raster/qgshillshaderenderer.cpp:34:
/usr/include/CL/cl2.hpp:1394:1: error: ‘CL_PLATFORM_HOST_TIMER_RESOLUTION’ was not declared in this scope
 1394 | CL_HPP_PARAM_NAME_INFO_2_1_(CL_HPP_DECLARE_PARAM_TRAITS_)
      | ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/CL/cl2.hpp:1394:1: error: template argument 2 is invalid
 1394 | CL_HPP_PARAM_NAME_INFO_2_1_(CL_HPP_DECLARE_PARAM_TRAITS_)

...

Kinds regards, Lisandro.

-- System Information:
Debian Release: bullseye/sid
  APT prefers unstable
  APT policy: (990, 'unstable'), (500, 'unstable-debug'), (500, 'testing-debug'), (500, 'buildd-unstable'), (500, 'testing'), (1, 'experimental-debug'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386, arm64, armhf

Kernel: Linux 5.3.0-1-amd64 (SMP w/2 CPU cores)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=es_AR.UTF-8, LC_CTYPE=es_AR.UTF-8 (charmap=UTF-8), LANGUAGE=es_AR:es (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled


More information about the Pkg-grass-devel mailing list