Opened 22 months ago

Last modified 21 months ago

#65520 assigned defect

qgis3 @3.26.1: builds failing across-the-board

Reported by: mascguy (Christopher Nielsen) Owned by: i0ntempest
Priority: Normal Milestone:
Component: ports Version: 2.7.2
Keywords: Cc: Veence (Vincent)
Port: qgis3

Description

With the latest update, builds are failing on every buildbot:

https://ports.macports.org/port/qgis3/builds/

For 10.14 and earlier, legacysupport - with use of libcxx - is likely needed:

qgis3/work/QGIS-3_26_1/external/untwine/bu/BuPyramid.cpp:6:10: fatal error: 'filesystem' file not found
#include <filesystem>
         ^~~~~~~~~~~~

However, for 10.15 and later, there appears to be potential linking issues:

Undefined symbols for architecture x86_64:
  "QgsFeature::setGeometry(QgsGeometry const&)", referenced from:
      QgsAmsProvider::identify(QgsPointXY const&, QgsRaster::IdentifyFormat, QgsRectangle const&, int, int, int) in qgsamsprovider.cpp.o
  "QgsFeature::setAttributes(QgsAttributes const&)", referenced from:
      QgsAmsProvider::identify(QgsPointXY const&, QgsRaster::IdentifyFormat, QgsRectangle const&, int, int, int) in qgsamsprovider.cpp.o
  "QgsFeature::setValid(bool)", referenced from:
      QgsAmsProvider::identify(QgsPointXY const&, QgsRaster::IdentifyFormat, QgsRectangle const&, int, int, int) in qgsamsprovider.cpp.o
  "QgsFeature::QgsFeature(QgsFields const&, long long)", referenced from:
      QgsAmsProvider::identify(QgsPointXY const&, QgsRaster::IdentifyFormat, QgsRectangle const&, int, int, int) in qgsamsprovider.cpp.o
  "QgsFeature::QgsFeature(QgsFeature const&)", referenced from:
      QList<QgsFeature>::QList(QList<QgsFeature> const&) in qgsamsprovider.cpp.o
  "QgsFeature::~QgsFeature()", referenced from:
      QgsAmsProvider::identify(QgsPointXY const&, QgsRaster::IdentifyFormat, QgsRectangle const&, int, int, int) in qgsamsprovider.cpp.o

[...and plenty more...]

Change History (8)

comment:1 Changed 22 months ago by i0ntempest

I could try bumping legacysupport os version to <19 so that 10.14 uses macports libcxx. But for macOS 12 and 11 (and a lot others) seems dependencies are failing sor some reason.

comment:2 Changed 22 months ago by Christopher Nielsen <mascguy@…>

In 4b6b0692763acd4dcd66ca6d5f8804c697a72d71/macports-ports (master):

qgis3: expand mp_libcxx use to 10.14
See: #65520

comment:3 in reply to:  1 Changed 22 months ago by mascguy (Christopher Nielsen)

Replying to i0ntempest:

I could try bumping legacysupport os version to <19 so that 10.14 uses macports libcxx. But for macOS 12 and 11 (and a lot others) seems dependencies are failing for some reason.

Yep, py-pyqt5 is failing, and blocking builds: issue:65410

comment:4 Changed 22 months ago by mascguy (Christopher Nielsen)

While the use of mp_libcxx fixes the compilation errors on 10.14, similar link issues are occurring, vis-a-vis 10.15.

You may want to engage with upstream, to see if they can help.

comment:5 Changed 22 months ago by Veence (Vincent)

I am sorry I can’t help, but I haven't been able to compile Qgis for ages, because I can’t compile py310-pyqt5

comment:6 Changed 21 months ago by mascguy (Christopher Nielsen)

Cc: mascguy removed

comment:7 Changed 21 months ago by mascguy (Christopher Nielsen)

Unfortunately, the link issues are still present in the latest update.

comment:8 Changed 21 months ago by i0ntempest

Issue opened: https://github.com/qgis/QGIS/issues/49766. \ I'm not getting this on 12.5 though, not sure about 11.x either since dependency is blocking build.

Note: See TracTickets for help on using tickets.