[QGIS-Developer] QGIS 3.8.0 on FreeBSD: build takes several hours

Rainer Hurling rhurlin at gwdg.de
Fri Jun 21 23:02:29 PDT 2019


As the maintainer of the QGIS port for FreeBSD, I am preparing a port
for the recent update to QGIS 3.8.0.

The build process takes a very long pause of several hours(!) at about
21% of the code, before it proceeds:

[..snip..]
[ 21%] Building CXX object
src/core/CMakeFiles/qgis_core.dir/gps/moc_qgsqtlocationconnection.cpp.o
cd /usr/ports/graphics/qgis/work/.build/src/core && /usr/bin/c++
-DPROJ_VERSION_MAJOR=6 -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_NO_FOREACH -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=0x041311
-DTEST_DATA_DIR=\"/usr/ports/graphics/qgis/work/QGIS-final-3_8_0/tests/testdata\"
-DWITH_BINDINGS -DWITH_QTWEBKIT -D_HAVE_PTHREAD_ -Dqgis_core_EXPORTS
-I/usr/ports/graphics/qgis/work/.build
-I/usr/ports/graphics/qgis/work/QGIS-final-3_8_0/src/core
-I/usr/ports/graphics/qgis/work/.build/src/core
-I/usr/ports/graphics/qgis/work/QGIS-final-3_8_0/src/core/3d
-I/usr/ports/graphics/qgis/work/QGIS-final-3_8_0/src/core/annotations
-I/usr/ports/graphics/qgis/work/QGIS-final-3_8_0/src/core/auth
-I/usr/ports/graphics/qgis/work/QGIS-final-3_8_0/src/core/dxf
-I/usr/ports/graphics/qgis/work/QGIS-final-3_8_0/src/core/effects
-I/usr/ports/graphics/qgis/work/QGIS-final-3_8_0/src/core/expression
-I/usr/ports/graphics/qgis/work/QGIS-final-3_8_0/src/core/fieldformatter
-I/usr/ports/graphics/qgis/work/QGIS-final-3_8_0/src/core/geometry
-I/usr/ports/graphics/qgis/work/QGIS-final-3_8_0/src/core/geocms
-I/usr/ports/graphics/qgis/work/QGIS-final-3_8_0/src/core/geocms/geonode
-I/usr/ports/graphics/qgis/work/QGIS-final-3_8_0/src/core/layertree
-I/usr/ports/graphics/qgis/work/QGIS-final-3_8_0/src/core/layout
-I/usr/ports/graphics/qgis/work/QGIS-final-3_8_0/src/core/locator
-I/usr/ports/graphics/qgis/work/QGIS-final-3_8_0/src/core/metadata
-I/usr/ports/graphics/qgis/work/QGIS-final-3_8_0/src/core/pal
-I/usr/ports/graphics/qgis/work/QGIS-final-3_8_0/src/core/processing
-I/usr/ports/graphics/qgis/work/QGIS-final-3_8_0/src/core/processing/models
-I/usr/ports/graphics/qgis/work/QGIS-final-3_8_0/src/core/providers
-I/usr/ports/graphics/qgis/work/QGIS-final-3_8_0/src/core/providers/memory
-I/usr/ports/graphics/qgis/work/QGIS-final-3_8_0/src/core/raster
-I/usr/ports/graphics/qgis/work/QGIS-final-3_8_0/src/core/renderer
-I/usr/ports/graphics/qgis/work/QGIS-final-3_8_0/src/core/scalebar
-I/usr/ports/graphics/qgis/work/QGIS-final-3_8_0/src/core/symbology
-I/usr/ports/graphics/qgis/work/QGIS-final-3_8_0/src/core/mesh
-I/usr/ports/graphics/qgis/work/QGIS-final-3_8_0/src/core/validity
-I/usr/ports/graphics/qgis/work/QGIS-final-3_8_0/external
-I/usr/ports/graphics/qgis/work/QGIS-final-3_8_0/external/kdbush/include
-I/usr/ports/graphics/qgis/work/QGIS-final-3_8_0/external/nmea
-I/usr/ports/graphics/qgis/work/QGIS-final-3_8_0/external/poly2tri
-isystem /usr/local/include -isystem /usr/local/include/Qca-qt5/QtCrypto
-isystem /usr/local/include/qt5keychain -isystem /usr/local/include/qt5
-isystem /usr/local/include/qt5/QtSerialPort -isystem
/usr/local/include/qt5/QtCore -isystem
/usr/local/lib/qt5/mkspecs/freebsd-clang -isystem
/usr/local/include/qt5/QtXml -isystem /usr/local/include/qt5/QtGui
-isystem /usr/local/include/qt5/QtWidgets -isystem
/usr/local/include/qt5/QtSvg -isystem
/usr/local/include/qt5/QtPrintSupport -isystem
/usr/local/include/qt5/QtNetwork -isystem
/usr/local/include/qt5/QtWebKitWidgets -isystem
/usr/local/include/qt5/QtWebKit -isystem /usr/local/include/qt5/QtSql
-isystem /usr/local/include/qt5/QtConcurrent -isystem
/usr/local/include/qt5/QtPositioning  -O2 -pipe -fstack-protector-strong
-fno-strict-aliasing -Wall -Wextra -Wno-long-long -Wformat-security
-Wno-strict-aliasing -Wno-return-type-c-linkage -Wno-overloaded-virtual
-Wimplicit-fallthrough -Qunused-arguments -O2 -pipe
-fstack-protector-strong -fno-strict-aliasing -fPIC -fvisibility=hidden
 -fPIC -std=gnu++11 -Wno-deprecated-declarations -o
CMakeFiles/qgis_core.dir/gps/moc_qgsqtlocationconnection.cpp.o -c
/usr/ports/graphics/qgis/work/.build/src/core/gps/moc_qgsqtlocationconnection.cpp


This seems to happen since #18fb3f2 [1] (committed 2019-05-13, submitted
2019-04-30). Before the commit, the build process takes a normal
duration on FreeBSD.

As far as I can say, the problem occurs with both proj-5.1.0 and
proj-6.1.0. GDAL version is 2.4.1, the OS is FreeBSD 13-0 CURRENT amd64.

Does anyone else observes something like this? I suspect, that the long
pause has do with a conversion problem into the proj db. What do you think?

Thanks for any help. And please let me know, if I should provide more
information or test something.

Best wishes,
Rainer Hurling

[1]
https://github.com/qgis/QGIS/commit/18fb3f2bad83f208aa32d32600047e2faff24d14


More information about the QGIS-Developer mailing list