<html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /></head><body style='font-size: 10pt; font-family: Verdana,Geneva,sans-serif'>
<p>Hi,</p>
<p>I am having troubles compiling QGIS master. It always hangs with output like the following:</p>
<p><span>[0/1] Re-running CMake... <br />-- QGIS version: 3.17.0 Master (31700) <br />-- Found OpenCL C++ headers: /usr/include <br />-- Could not find GRASS 7 <br />-- Found Proj: /usr/local/lib/libproj.so version 7 (7.2.0) <br />-- Found GEOS: /usr/local/lib/libgeos_c.so (3.9.0) <br />-- Found GDAL: /usr/local/lib/libgdal.so (3.1.0) <br />-- Found Expat: /usr/lib/x86_64-linux-gnu/libexpat.so <br />-- Found Spatialindex: /usr/lib/x86_64-linux-gnu/libspatialindex.so <br />-- Found Qwt: /usr/lib/libqwt-qt5.so (6.1.4) <br />-- Found libzip: /usr/lib/x86_64-linux-gnu/libzip.so <br />-- Found Sqlite3: /usr/lib/x86_64-linux-gnu/libsqlite3.so <br />-- Found Protobuf: /usr/lib/x86_64-linux-gnu/libprotobuf.so;-pthread <br />-- Found zlib: /usr/lib/x86_64-linux-gnu/libz.so <br />-- Found PostgreSQL: /usr/local/pgsql/lib/libpq.so <br />-- Found SpatiaLite: /usr/local/lib/libspatialite.so <br />-- Qt WebKit support enabled <br />-- Found ZSTD: /usr/lib/x86_64-linux-gnu/libzstd.so <br />-- Found laz-perf: /usr/local/include <br />-- Found PDAL: /usr/local/lib/libpdalcpp.so;/usr/local/lib/libpdal_util.so (2.2.0) <br />-- Found Qt version: 5.12.8 <br />-- Found QScintilla2: /usr/lib/libqscintilla2_qt5.so (2.11.2) <br />-- Found QtKeychain: /usr/lib/x86_64-linux-gnu/libqt5keychain.so <br />-- Found QCA: /usr/lib/x86_64-linux-gnu/libqca-qt5.so (2.2.1) <br />-- Found QCA OpenSSL plugin <br />-- Pedantic compiler settings enabled <br />-- Debug output enabled <br />-- Found GSL: -L/usr/lib/x86_64-linux-gnu -lgsl -lgslcblas -lm <br />-- Found Python executable: /usr/bin/python3 <br />-- Found Python version: 3.8.5 <br />-- Found Python library: /usr/lib/x86_64-linux-gnu/libpython3.8.so <br />-- Found Python site-packages: /usr/lib/python3/dist-packages <br />-- Found PyQt5 version: 5.14.1 <br />-- Found SIP version: 4.19.21 <br />-- Found QScintilla2 PyQt module: 2.11.2 <br />-- Found exiv2: /usr/lib/x86_64-linux-gnu/libexiv2.so <br />-- HDF5: Using hdf5 compiler wrapper to determine C configuration <br />-- Using PROJ >= 6 srs database. <br />-- Ctest Binary Directory set to: /home/an/dev/QGIS/build/output/bin <br />-- Configuring done <br />-- Generating done <br />-- Build files have been written to: /home/an/dev/QGIS/build <br />[1/5758] Generating qgsversion.h, qgsversion.inc <br />Files "/home/an/dev/QGIS/build/qgsversion.h.temp" to "/home/an/dev/QGIS/build/qgsversion.h" are different. <br />[3/5758] Generating qgsexpression_texts.cpp <br />Files "/home/an/dev/QGIS/build/src/core/qgsexpression_texts.cpp.temp" to "/home/an/dev/QGIS/build/src/core/qgsexpression_texts.cpp" are different. <br />[2427/5758] Building CXX object src/providers/mdal/CMakeFiles/mdalprovider.dir/__/__/__/external/mdal/mdal_utils.cpp.o <br />../external/mdal/mdal_utils.cpp: In function ‘int MDAL::toInt(size_t)’: <br />../external/mdal/mdal_utils.cpp:143:14: warning: comparison of integer expressions of different signedness: ‘const size_t’ {aka ‘const long unsigned int’} and ‘int’ [-Wsign-compare] <br /> 143 |   if ( value > std::numeric_limits<int>::max() ) <br />     |        ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ <br />[2470/5758] Building CXX object src/providers/pdal/CMakeFiles/pdalprovider_a.dir/__/__/__/external/untwine/api/QgisUntwine.cpp.o <br />In file included from ../external/untwine/api/QgisUntwine.cpp:8: <br />../external/untwine/api/QgisUntwine_unix.cpp: In member function ‘bool untwine::QgisUntwine::start(untwine::QgisUntwine::Options&)’: <br />../external/untwine/api/QgisUntwine_unix.cpp:17:9: warning: unused variable ‘ret’ [-Wunused-variable] <br />  17 |     int ret = ::pipe(fd); <br />     |         ^~~ <br />[2475/5758] Building CXX object src/providers/pdal/CMakeFiles/pdalprovider.dir/__/__/__/external/untwine/api/QgisUntwine.cpp.o <br />In file included from ../external/untwine/api/QgisUntwine.cpp:8: <br />../external/untwine/api/QgisUntwine_unix.cpp: In member function ‘bool untwine::QgisUntwine::start(untwine::QgisUntwine::Options&)’: <br />../external/untwine/api/QgisUntwine_unix.cpp:17:9: warning: unused variable ‘ret’ [-Wunused-variable] <br />  17 |     int ret = ::pipe(fd); <br />     |         ^~~ <br />[2505/5758] Running crssync <br />FAILED: src/crssync/CMakeFiles/synccrsdb  <br />cd /home/an/dev/QGIS/build/src/crssync && /home/an/dev/QGIS/build/output/bin/crssync <br />free(): invalid pointer <br />Aborted (core dumped) <br />[2506/5758] Building CXX object src/app/dwg/libdxfrw/CMakeFiles/libdxfrw.dir/drw_entities.cpp.o <br />ninja: build stopped: subcommand failed.<br /></span></p>
<p><span>Any idea what might be wrong here?</span></p>
<p><span>Thanks,</span></p>
<p><span>Andreas</span></p>

</body></html>