[QGIS-Developer] Troubles compiling QGIS master

Andreas Neumann a.neumann at carto.net
Mon Jan 11 13:28:26 PST 2021


Hi,

I am having troubles compiling QGIS master. It always hangs with output 
like the following:

[0/1] Re-running CMake...
-- QGIS version: 3.17.0 Master (31700)
-- Found OpenCL C++ headers: /usr/include
-- Could not find GRASS 7
-- Found Proj: /usr/local/lib/libproj.so version 7 (7.2.0)
-- Found GEOS: /usr/local/lib/libgeos_c.so (3.9.0)
-- Found GDAL: /usr/local/lib/libgdal.so (3.1.0)
-- Found Expat: /usr/lib/x86_64-linux-gnu/libexpat.so
-- Found Spatialindex: /usr/lib/x86_64-linux-gnu/libspatialindex.so
-- Found Qwt: /usr/lib/libqwt-qt5.so (6.1.4)
-- Found libzip: /usr/lib/x86_64-linux-gnu/libzip.so
-- Found Sqlite3: /usr/lib/x86_64-linux-gnu/libsqlite3.so
-- Found Protobuf: /usr/lib/x86_64-linux-gnu/libprotobuf.so;-pthread
-- Found zlib: /usr/lib/x86_64-linux-gnu/libz.so
-- Found PostgreSQL: /usr/local/pgsql/lib/libpq.so
-- Found SpatiaLite: /usr/local/lib/libspatialite.so
-- Qt WebKit support enabled
-- Found ZSTD: /usr/lib/x86_64-linux-gnu/libzstd.so
-- Found laz-perf: /usr/local/include
-- Found PDAL: 
/usr/local/lib/libpdalcpp.so;/usr/local/lib/libpdal_util.so (2.2.0)
-- Found Qt version: 5.12.8
-- Found QScintilla2: /usr/lib/libqscintilla2_qt5.so (2.11.2)
-- Found QtKeychain: /usr/lib/x86_64-linux-gnu/libqt5keychain.so
-- Found QCA: /usr/lib/x86_64-linux-gnu/libqca-qt5.so (2.2.1)
-- Found QCA OpenSSL plugin
-- Pedantic compiler settings enabled
-- Debug output enabled
-- Found GSL: -L/usr/lib/x86_64-linux-gnu -lgsl -lgslcblas -lm
-- Found Python executable: /usr/bin/python3
-- Found Python version: 3.8.5
-- Found Python library: /usr/lib/x86_64-linux-gnu/libpython3.8.so
-- Found Python site-packages: /usr/lib/python3/dist-packages
-- Found PyQt5 version: 5.14.1
-- Found SIP version: 4.19.21
-- Found QScintilla2 PyQt module: 2.11.2
-- Found exiv2: /usr/lib/x86_64-linux-gnu/libexiv2.so
-- HDF5: Using hdf5 compiler wrapper to determine C configuration
-- Using PROJ >= 6 srs database.
-- Ctest Binary Directory set to: /home/an/dev/QGIS/build/output/bin
-- Configuring done
-- Generating done
-- Build files have been written to: /home/an/dev/QGIS/build
[1/5758] Generating qgsversion.h, qgsversion.inc
Files "/home/an/dev/QGIS/build/qgsversion.h.temp" to 
"/home/an/dev/QGIS/build/qgsversion.h" are different.
[3/5758] Generating qgsexpression_texts.cpp
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.
[2427/5758] Building CXX object 
src/providers/mdal/CMakeFiles/mdalprovider.dir/__/__/__/external/mdal/mdal_utils.cpp.o
../external/mdal/mdal_utils.cpp: In function 'int MDAL::toInt(size_t)':
../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]
  143 |   if ( value > std::numeric_limits<int>::max() )
      |        ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[2470/5758] Building CXX object 
src/providers/pdal/CMakeFiles/pdalprovider_a.dir/__/__/__/external/untwine/api/QgisUntwine.cpp.o
In file included from ../external/untwine/api/QgisUntwine.cpp:8:
../external/untwine/api/QgisUntwine_unix.cpp: In member function 'bool 
untwine::QgisUntwine::start(untwine::QgisUntwine::Options&)':
../external/untwine/api/QgisUntwine_unix.cpp:17:9: warning: unused 
variable 'ret' [-Wunused-variable]
   17 |     int ret = ::pipe(fd);
      |         ^~~
[2475/5758] Building CXX object 
src/providers/pdal/CMakeFiles/pdalprovider.dir/__/__/__/external/untwine/api/QgisUntwine.cpp.o
In file included from ../external/untwine/api/QgisUntwine.cpp:8:
../external/untwine/api/QgisUntwine_unix.cpp: In member function 'bool 
untwine::QgisUntwine::start(untwine::QgisUntwine::Options&)':
../external/untwine/api/QgisUntwine_unix.cpp:17:9: warning: unused 
variable 'ret' [-Wunused-variable]
   17 |     int ret = ::pipe(fd);
      |         ^~~
[2505/5758] Running crssync
FAILED: src/crssync/CMakeFiles/synccrsdb
cd /home/an/dev/QGIS/build/src/crssync && 
/home/an/dev/QGIS/build/output/bin/crssync
free(): invalid pointer
Aborted (core dumped)
[2506/5758] Building CXX object 
src/app/dwg/libdxfrw/CMakeFiles/libdxfrw.dir/drw_entities.cpp.o
ninja: build stopped: subcommand failed.

Any idea what might be wrong here?

Thanks,

Andreas
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-developer/attachments/20210111/3dd75c17/attachment.html>


More information about the QGIS-Developer mailing list