[MacPorts] #60060: gdal @3.0.3: patch fails to apply
MacPorts
noreply at macports.org
Tue Feb 25 11:02:49 UTC 2020
#60060: gdal @3.0.3: patch fails to apply
---------------------+----------------------
Reporter: kencu | Owner: Veence
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version:
Resolution: | Keywords: legacy
Port: gdal |
---------------------+----------------------
Comment (by fvaccari):
Following Ken's suggestion I removed the patch from the Portfile.
Configuration and compilation were ok, but the linking failed with this
error
{{{
Undefined symbols for architecture x86_64:
"___cxa_thread_atexit", referenced from:
___cxx_global_var_init.2 in ogr_proj_p.o
___cxx_global_var_init in gdaldataset.o
___cxx_global_var_init in cpl_vsil_curl.o
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_macports_release_tarballs_ports_gis_gdal/gdal/work/gdal-3.0.3/gdal'
make: *** [check-lib] Error 2
make: Leaving directory
`/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_gis_gdal/gdal/work/gdal-3.0.3/gdal'
Command failed: cd
"/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_gis_gdal/gdal/work/gdal-3.0.3/gdal"
&& /usr/bin/make -j2 -w
Exit code: 2
Error: Failed to build gdal: command execution failed
}}}
This is on 10.6.8 on a brand new MacPorts installation, 2.6.2 selfupdated.
What is missing here? I guess I should open a separate ticket on this...
--
Ticket URL: <https://trac.macports.org/ticket/60060#comment:2>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list