Opened 5 months ago

Closed 5 months ago

#73232 closed defect (fixed)

gdal: build fails due to undefined symbols

Reported by: news24lor Owned by: nilason (Nicklas Larsson)
Priority: Normal Milestone:
Component: ports Version: 2.11.6
Keywords: Cc: Veence (Vincent), Dave-Allured (Dave Allured)
Port: gdal

Description (last modified by reneeotten (Renee Otten))

The latest version of the GDAL library, 3.12, available in Macports, cannot be compiled.

I am attaching the log.

:info:build Undefined symbols for architecture arm64:
:info:build   "_DeclareDeferredNetCDFPlugin", referenced from:
:info:build       _GDALAllRegister in gdalallregister.cpp.o
:info:build ld: symbol(s) not found for architecture arm64
:info:build clang++: error: linker command failed with exit code 1 (use -v to see invocation)

Attachments (1)

main.log.zip (93.9 KB) - added by news24lor 5 months ago.

Download all attachments as: .zip

Change History (7)

Changed 5 months ago by news24lor

Attachment: main.log.zip added

comment:1 Changed 5 months ago by reneeotten (Renee Otten)

Cc: Veence added
Description: modified (diff)
Keywords: gis gdal removed
Owner: set to nilason
Port: gdal added
Status: newassigned
Summary: GDAL 3.12.0 - unable to build librarygdal: build fails due to undefined symbols

comment:2 Changed 5 months ago by nilason (Nicklas Larsson)

It is the netcdf variant that fails, I'll look into it. Meanwhile, you should be able to build without the variant.

comment:3 Changed 5 months ago by Dave-Allured (Dave Allured)

Cc: Dave-Allured added

comment:4 Changed 5 months ago by nilason (Nicklas Larsson)

Fix is addressed with PR30078.

Watch out: there will be a new gdal-netcdf subport, replacing the variant.

comment:5 Changed 5 months ago by news24lor

Ok. I've seen the changes.

I'll wait for the gdal-netcdf subport to upgrade.

Thanks.

comment:6 Changed 5 months ago by nilason (Nicklas Larsson)

Resolution: fixed
Status: assignedclosed

In 423abfc925be887cd64e0ff7b13819b6c0ad9ba7/macports-ports (master):

gdal: fix broken netcdf variant

Closes: #73232.

Note: See TracTickets for help on using tickets.