[QGIS-Developer] Commit 1dca9b9 breaks build on FreeBSD with clang
Rainer Hurling
rhurlin at gwdg.de
Thu Aug 10 06:20:42 PDT 2023
Hi Nyall,
On FreeBSD, commit 1dca9b9 [1] breaks the build with clang 16.0.6:
In file included from
/usr/ports/graphics/qgis-devel/work/.build/src/core/qgis_core_autogen/mocs_compilation.cpp:132:
In file included from
/usr/ports/graphics/qgis-devel/work/.build/src/core/qgis_core_autogen/FIPKY4Q6PV/moc_qgscopcpointcloudindex.cpp:10:
/usr/ports/graphics/qgis-devel/work/.build/src/core/qgis_core_autogen/FIPKY4Q6PV/../../../../../QGIS-1dca9b9/src/core/pointcloud/qgscopcpointcloudindex.h:109:22:
error: no type named 'copc_info_vlr' in namespace 'lazperf'
mutable lazperf::copc_info_vlr mCopcInfoVlr;
~~~~~~~~~^
In file included from
/usr/ports/graphics/qgis-devel/work/.build/src/core/qgis_core_autogen/mocs_compilation.cpp:132:
/usr/ports/graphics/qgis-devel/work/.build/src/core/qgis_core_autogen/FIPKY4Q6PV/moc_qgscopcpointcloudindex.cpp:86:32:
error: cannot initialize object parameter of type 'QgsPointCloudIndex'
with an expression of type 'QgsCopcPointCloudIndex'
return QgsPointCloudIndex::qt_metacast(_clname);
^~~~~~~~~~~
/usr/ports/graphics/qgis-devel/work/.build/src/core/qgis_core_autogen/FIPKY4Q6PV/moc_qgscopcpointcloudindex.cpp:91:31:
error: cannot initialize object parameter of type 'QgsPointCloudIndex'
with an expression of type 'QgsCopcPointCloudIndex'
_id = QgsPointCloudIndex::qt_metacall(_c, _id, _a);
^~~~~~~~~~~
In file included from
/usr/ports/graphics/qgis-devel/work/.build/src/core/qgis_core_autogen/mocs_compilation.cpp:144:
/usr/ports/graphics/qgis-devel/work/.build/src/core/qgis_core_autogen/FIPKY4Q6PV/moc_qgsremotecopcpointcloudindex.cpp:86:36:
error: cannot initialize object parameter of type
'QgsCopcPointCloudIndex' with an expression of type
'QgsRemoteCopcPointCloudIndex'
return QgsCopcPointCloudIndex::qt_metacast(_clname);
^~~~~~~~~~~
/usr/ports/graphics/qgis-devel/work/.build/src/core/qgis_core_autogen/FIPKY4Q6PV/moc_qgsremotecopcpointcloudindex.cpp:91:35:
error: cannot initialize object parameter of type
'QgsCopcPointCloudIndex' with an expression of type
'QgsRemoteCopcPointCloudIndex'
_id = QgsCopcPointCloudIndex::qt_metacall(_c, _id, _a);
^~~~~~~~~~~
5 errors generated.
gmake[4]: *** [src/core/CMakeFiles/qgis_core.dir/build.make:1557:
src/core/CMakeFiles/qgis_core.dir/qgis_core_autogen/mocs_compilation.cpp.o]
Error 1
gmake[4]: Leaving directory '/usr/ports/graphics/qgis-devel/work/.build'
gmake[3]: *** [CMakeFiles/Makefile2:4696:
src/core/CMakeFiles/qgis_core.dir/all] Error 2
gmake[3]: Leaving directory '/usr/ports/graphics/qgis-devel/work/.build'
gmake[2]: *** [Makefile:169: all] Error 2
gmake[2]: Leaving directory '/usr/ports/graphics/qgis-devel/work/.build'
*** Error code 1
-----------------
[1]
https://github.com/qgis/QGIS/commit/1dca9b9dbc9c790d627e8112adae7333c7a450f7
Any ideas? Many thanks for any help.
Best regards,
Rainer Hurling, maintainer of the FreeBSD port of QGIS
More information about the QGIS-Developer
mailing list