Opened 4 weeks ago

Last modified 21 hours ago

#62671 assigned defect

gdal @3.2.2: Undefined symbols "NASAKeywordHandler::GetKeyword(char const*, char const*)" etc.

Reported by: RobK88 Owned by: Veence (Vincent)
Priority: Normal Milestone:
Component: ports Version: 2.6.4
Keywords: lion Cc: Dave-Allured (Dave Allured)
Port: gdal

Description

The port for gdal compiles but does not link properly on Lion. I will attach main.log

ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[1]: *** [libgdal.la] Error 1
make[1]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_gis_gdal/gdal/work/gdal-3.2.2'
make: *** [check-lib] Error 2
make: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_gis_gdal/gdal/work/gdal-3.2.2'
Command failed:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_gis_gdal/gdal/work/gdal-3.2.2" && /usr/bin/make -j4 -w 
Exit code: 2
Error: Failed to build gdal: command execution failed
Error: See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_gis_gdal/gdal/main.log for details.
Error: Follow https://guide.macports.org/#project.tickets to report a bug.
Error: Processing of port gdal failed

Attachments (1)

main.log (3.5 MB) - added by RobK88 4 weeks ago.
main.log

Change History (4)

Changed 4 weeks ago by RobK88

Attachment: main.log added

main.log

comment:1 Changed 4 weeks ago by ryandesign (Ryan Schmidt)

Cc: Veence removed
Keywords: lion added; Lion removed
Owner: set to Veence
Status: newassigned
Summary: gdal Compiles but does NOT Link properly on Liongdal @3.2.2: Undefined symbols "NASAKeywordHandler::GetKeyword(char const*, char const*)" etc.

Looks like 3.1.3 is the last version we were able to build on Lion; 3.2.0 and later don't build.

comment:2 Changed 3 weeks ago by Dave-Allured (Dave Allured)

Cc: Dave-Allured added

comment:3 Changed 21 hours ago by Veence (Vincent)

This is a bit weird, because the undefined symbol is not one of those found in a system library. Unfortunately, I have no Lion machine anymore, so I’m not able to test this… :/

Note: See TracTickets for help on using tickets.