Re: [QGIS-Developer] Commit 1dca9b9 breaks build on FreeBSD with clang

2023-08-12 Thread Nyall Dawson via QGIS-Developer
On Fri, 11 Aug 2023 at 15:54, Rainer Hurling  wrote:
>
> Am 11.08.23 um 05:07 schrieb Nyall Dawson:
> > On Thu, 10 Aug 2023 at 23:20, Rainer Hurling  wrote:
> >>
> >> Hi Nyall,
> >>
> >> On FreeBSD, commit 1dca9b9 [1] breaks the build with clang 16.0.6:
> >
> > Ouch! If it's causing issues then it's fine to revert, it won't harm 
> > anything.
>
> I just double checked. Without commit 1dca9b9 I am able to build latest
> version (atm commit 1a44f7b) on FreeBSD.
>
> If it would be okay with you, the commit would be best withdrawn. On the
> other hand, if there are no problems with your patch for other systems,
> I can also use an appropriate (revert) patch for the port in FreeBSD.
>

Reverted in b797724607, thanks!
Nyall

> Rainer
>
> >
> > Nyall
> >
> >
> >>
> >> 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
>
___
QGIS-Developer mailing list
QGIS-Developer@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer


Re: [QGIS-Developer] Draco package in build dependencies

2023-08-12 Thread Andrea Giudiceandrea via QGIS-Developer

Ismo Lahtinen ismo at gispo.fi
Mon Aug 7 06:18:19 PDT 2023



Installing libdraco-dev seems to do the job. I think this should be added
to each distribution in INSTALL.md? Now the dependency is listed just for
the Fedora distributions.


Hi Ismo,
INSTALL.md has been updated. See: 
https://github.com/qgis/QGIS/commit/bde58219b37453d477f9422e1b7060a5e29085e5


Best regards.

Andrea
___
QGIS-Developer mailing list
QGIS-Developer@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer