[QGIS-Developer] Unable to build master on Ubuntu 22.04

Delaz J delazj at gmail.com
Wed Aug 24 03:33:57 PDT 2022


Hi devs,

I had a working build of QGIS master on ubuntu 22.04. Everything worked 
nicely but because it was minimum 2/3 weeks old, I pulled changes from 
upstream and tried to rebuild. Fail! I then deleted my build folder and 
redo a ccmake -G Ninja .., configured (no big changes other than Debug 
cmake_build_type, with_3D on and no GRASS) and launched the build. Still 
nothing. It just fails and I see no information why. Any idea how to fix 
or how I can output error reasons would be really appreciated.

Below all that I get.

Thanks and kind regards,

Harrissou

 > ninja -j4 && ./output/bin/qgis
[9/1820] Building CXX object src/app/CMakeFiles/qgis_app.dir/qgisapp.cpp.o
FAILED: src/app/CMakeFiles/qgis_app.dir/qgisapp.cpp.o
ccache /usr/bin/c++ -DQT_3DCORE_LIB -DQT_3DEXTRAS_LIB -DQT_3DINPUT_LIB 
-DQT_3DLOGIC_LIB -DQT_3DRENDER_LIB -DQT_CONCURRENT_LIB -DQT_CORE_LIB 
-DQT_DBUS_LIB -DQT_DEPRECATED_WARNINGS 
-DQT_DISABLE_DEPRECATED_BEFORE=0x050800 -DQT_GUI_LIB -DQT_NETWORK_LIB 
-DQT_NO_CAST_TO_ASCII -DQT_NO_FOREACH -DQT_POSITIONING_LIB 
-DQT_PRINTSUPPORT_LIB -DQT_QMLMODELS_LIB -DQT_QML_LIB 
-DQT_QUICKWIDGETS_LIB -DQT_QUICK_LIB -DQT_SERIALPORT_LIB -DQT_SQL_LIB 
-DQT_SVG_LIB -DQT_UITOOLS_LIB -DQT_USE_QSTRINGBUILDER 
-DQT_WEBKITWIDGETS_LIB -DQT_WEBKIT_LIB -DQT_WIDGETS_LIB -DQT_XML_LIB 
-DSIP_VERSION=0x060501 
-DTEST_DATA_DIR=\"/media/delazj/github/QGIS/tests/testdata\" 
-DWITH_BINDINGS -DWITH_QTWEBKIT -Dqgis_app_EXPORTS 
-I/media/delazj/github/QGIS/build-ninja/src/app/qgis_app_autogen/include 
-I/media/delazj/github/QGIS/build-ninja 
-I/media/delazj/github/QGIS/external/nmea 
-I/media/delazj/github/QGIS/src/app 
-I/media/delazj/github/QGIS/src/app/decorations 
-I/media/delazj/github/QGIS/src/app/devtools/networklogger 
-I/media/delazj/github/QGIS/src/app/labeling 
-I/media/delazj/github/QGIS/src/app/layout 
-I/media/delazj/github/QGIS/src/app/pluginmanager 
-I/media/delazj/github/QGIS/src/app/gps 
-I/media/delazj/github/QGIS/src/app/dwg 
-I/media/delazj/github/QGIS/src/app/maptools 
-I/media/delazj/github/QGIS/src/app/mesh 
-I/media/delazj/github/QGIS/src/app/locator 
-I/media/delazj/github/QGIS/src/app/pointcloud 
-I/media/delazj/github/QGIS/src/app/vectortile 
-I/media/delazj/github/QGIS/src/plugins 
-I/media/delazj/github/QGIS/src/python 
-I/media/delazj/github/QGIS/src/native 
-I/media/delazj/github/QGIS/build-ninja/src/app 
-I/media/delazj/github/QGIS/src/app/3d 
-I/media/delazj/github/QGIS/src/core 
-I/media/delazj/github/QGIS/build-ninja/src/core 
-I/media/delazj/github/QGIS/src/core/3d 
-I/media/delazj/github/QGIS/src/core/annotations 
-I/media/delazj/github/QGIS/src/core/auth 
-I/media/delazj/github/QGIS/src/core/browser 
-I/media/delazj/github/QGIS/src/core/callouts 
-I/media/delazj/github/QGIS/src/core/classification 
-I/media/delazj/github/QGIS/src/core/diagram 
-I/media/delazj/github/QGIS/src/core/dxf 
-I/media/delazj/github/QGIS/src/core/editform 
-I/media/delazj/github/QGIS/src/core/effects 
-I/media/delazj/github/QGIS/src/core/elevation 
-I/media/delazj/github/QGIS/src/core/expression 
-I/media/delazj/github/QGIS/src/core/externalstorage 
-I/media/delazj/github/QGIS/src/core/fieldformatter 
-I/media/delazj/github/QGIS/src/core/geometry 
-I/media/delazj/github/QGIS/src/core/geocms 
-I/media/delazj/github/QGIS/src/core/geocms/geonode 
-I/media/delazj/github/QGIS/src/core/geocoding 
-I/media/delazj/github/QGIS/src/core/gps 
-I/media/delazj/github/QGIS/src/core/labeling 
-I/media/delazj/github/QGIS/src/core/layertree 
-I/media/delazj/github/QGIS/src/core/layout 
-I/media/delazj/github/QGIS/src/core/locator 
-I/media/delazj/github/QGIS/src/core/maprenderer 
-I/media/delazj/github/QGIS/src/core/mesh 
-I/media/delazj/github/QGIS/src/core/metadata 
-I/media/delazj/github/QGIS/src/core/network 
-I/media/delazj/github/QGIS/src/core/numericformats 
-I/media/delazj/github/QGIS/src/core/pal 
-I/media/delazj/github/QGIS/src/core/plot 
-I/media/delazj/github/QGIS/src/core/pointcloud 
-I/media/delazj/github/QGIS/src/core/pointcloud/expression 
-I/media/delazj/github/QGIS/src/core/processing 
-I/media/delazj/github/QGIS/src/core/processing/models 
-I/media/delazj/github/QGIS/src/core/proj 
-I/media/delazj/github/QGIS/src/core/project 
-I/media/delazj/github/QGIS/src/core/providers 
-I/media/delazj/github/QGIS/src/core/providers/arcgis 
-I/media/delazj/github/QGIS/src/core/providers/memory 
-I/media/delazj/github/QGIS/src/core/providers/gdal 
-I/media/delazj/github/QGIS/src/core/providers/ogr 
-I/media/delazj/github/QGIS/src/core/providers/meshmemory 
-I/media/delazj/github/QGIS/src/core/raster 
-I/media/delazj/github/QGIS/src/core/renderer 
-I/media/delazj/github/QGIS/src/core/scalebar 
-I/media/delazj/github/QGIS/src/core/settings 
-I/media/delazj/github/QGIS/src/core/symbology 
-I/media/delazj/github/QGIS/src/core/textrenderer 
-I/media/delazj/github/QGIS/src/core/validity 
-I/media/delazj/github/QGIS/src/core/vector 
-I/media/delazj/github/QGIS/src/core/vectortile 
-I/media/delazj/github/QGIS/external 
-I/media/delazj/github/QGIS/external/nlohmann 
-I/media/delazj/github/QGIS/external/kdbush/include 
-I/media/delazj/github/QGIS/external/rtree/include 
-I/media/delazj/github/QGIS/external/meshOptimizer 
-I/media/delazj/github/QGIS/src/core/providers/ept 
-I/media/delazj/github/QGIS/src/core/providers/copc 
-I/media/delazj/github/QGIS/src/gui 
-I/media/delazj/github/QGIS/src/gui/annotations 
-I/media/delazj/github/QGIS/src/gui/attributeformconfig 
-I/media/delazj/github/QGIS/src/gui/symbology 
-I/media/delazj/github/QGIS/src/gui/attributetable 
-I/media/delazj/github/QGIS/src/gui/auth 
-I/media/delazj/github/QGIS/src/gui/callouts 
-I/media/delazj/github/QGIS/src/gui/codeeditors 
-I/media/delazj/github/QGIS/src/gui/devtools 
-I/media/delazj/github/QGIS/src/gui/editorwidgets 
-I/media/delazj/github/QGIS/src/gui/editorwidgets/core 
-I/media/delazj/github/QGIS/src/gui/effects 
-I/media/delazj/github/QGIS/src/gui/elevation 
-I/media/delazj/github/QGIS/src/gui/history 
-I/media/delazj/github/QGIS/src/gui/labeling 
-I/media/delazj/github/QGIS/src/gui/layertree 
-I/media/delazj/github/QGIS/src/gui/layout 
-I/media/delazj/github/QGIS/src/gui/locator 
-I/media/delazj/github/QGIS/src/gui/maptools 
-I/media/delazj/github/QGIS/src/gui/mesh 
-I/media/delazj/github/QGIS/src/gui/numericformats 
-I/media/delazj/github/QGIS/src/gui/ogr 
-I/media/delazj/github/QGIS/src/gui/plot 
-I/media/delazj/github/QGIS/src/gui/processing 
-I/media/delazj/github/QGIS/src/gui/processing/models 
-I/media/delazj/github/QGIS/src/gui/providers 
-I/media/delazj/github/QGIS/src/gui/providers/gdal 
-I/media/delazj/github/QGIS/src/gui/providers/ogr 
-I/media/delazj/github/QGIS/src/gui/pointcloud 
-I/media/delazj/github/QGIS/src/gui/raster 
-I/media/delazj/github/QGIS/src/gui/settings 
-I/media/delazj/github/QGIS/src/gui/tableeditor 
-I/media/delazj/github/QGIS/src/gui/vector 
-I/media/delazj/github/QGIS/src/gui/vectortile 
-I/media/delazj/github/QGIS/build-ninja/src/gui 
-I/media/delazj/github/QGIS/build-ninja/src/ui 
-I/media/delazj/github/QGIS/src/gui/providers/ept 
-I/media/delazj/github/QGIS/src/gui/providers/copc 
-I/media/delazj/github/QGIS/build-ninja/src/native 
-I/media/delazj/github/QGIS/src/analysis 
-I/media/delazj/github/QGIS/src/analysis/georeferencing 
-I/media/delazj/github/QGIS/src/analysis/interpolation 
-I/media/delazj/github/QGIS/src/analysis/mesh 
-I/media/delazj/github/QGIS/src/analysis/network 
-I/media/delazj/github/QGIS/src/analysis/processing 
-I/media/delazj/github/QGIS/src/analysis/raster 
-I/media/delazj/github/QGIS/src/analysis/vector 
-I/media/delazj/github/QGIS/src/analysis/vector/geometry_checker 
-I/media/delazj/github/QGIS/build-ninja/src/analysis 
-I/media/delazj/github/QGIS/external/libdxfrw 
-I/media/delazj/github/QGIS/build-ninja/src/python 
-I/media/delazj/github/QGIS/src/3d 
-I/media/delazj/github/QGIS/src/3d/chunks 
-I/media/delazj/github/QGIS/src/3d/lights 
-I/media/delazj/github/QGIS/src/3d/materials 
-I/media/delazj/github/QGIS/src/3d/mesh 
-I/media/delazj/github/QGIS/src/3d/processing 
-I/media/delazj/github/QGIS/src/3d/shaders 
-I/media/delazj/github/QGIS/src/3d/symbols 
-I/media/delazj/github/QGIS/src/3d/terrain 
-I/media/delazj/github/QGIS/build-ninja/src/3d 
-I/media/delazj/github/QGIS/external/delaunator-cpp -isystem 
/usr/include/postgresql -isystem 
/media/delazj/github/QGIS/external/qt-unix-signals -isystem 
/usr/include/x86_64-linux-gnu/qt5 -isystem 
/usr/include/x86_64-linux-gnu/qt5/QtSql -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/QtUiTools -isystem 
/usr/include/x86_64-linux-gnu/qt5/QtWidgets -isystem 
/usr/include/x86_64-linux-gnu/qt5/QtGui -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/QtNetwork -isystem 
/usr/include/x86_64-linux-gnu/qt5/QtXml -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/QtConcurrent -isystem 
/usr/include/gdal -isystem /usr/include/Qca-qt5/QtCrypto -isystem 
/usr/include/qt5keychain -isystem 
/usr/include/x86_64-linux-gnu/qt5/QtSerialPort -isystem 
/usr/include/x86_64-linux-gnu/qt5/QtPositioning -isystem 
/usr/include/qwt -isystem /usr/include/x86_64-linux-gnu/qt5/QtDBus 
-isystem /usr/include/x86_64-linux-gnu/qt5/QtQuickWidgets -isystem 
/usr/include/x86_64-linux-gnu/qt5/QtQuick -isystem 
/usr/include/x86_64-linux-gnu/qt5/QtQmlModels -isystem 
/usr/include/x86_64-linux-gnu/qt5/QtQml -isystem 
/usr/include/x86_64-linux-gnu/qt5/Qt3DCore -isystem 
/usr/include/x86_64-linux-gnu/qt5/Qt3DRender -isystem 
/usr/include/x86_64-linux-gnu/qt5/Qt3DInput -isystem 
/usr/include/x86_64-linux-gnu/qt5/Qt3DLogic -isystem 
/usr/include/x86_64-linux-gnu/qt5/Qt3DExtras -Wall -Wextra 
-Wno-long-long -Wformat-security -Wno-strict-aliasing -Wnon-virtual-dtor 
-Wno-redundant-move -Wno-misleading-indentation -Wno-deprecated-copy -g 
-fPIC -fvisibility=hidden -fPIC -MD -MT 
src/app/CMakeFiles/qgis_app.dir/qgisapp.cpp.o -MF 
src/app/CMakeFiles/qgis_app.dir/qgisapp.cpp.o.d -o 
src/app/CMakeFiles/qgis_app.dir/qgisapp.cpp.o -c 
/media/delazj/github/QGIS/src/app/qgisapp.cpp
c++: fatal error: Processus arrêté signal terminated program cc1plus
compilation terminated.
[12/1820] Building CXX object 
src/app/CMakeFiles/qgis_app.dir/qgsattributetabledialog.cpp.o
ninja: build stopped: subcommand failed.




More information about the QGIS-Developer mailing list