Opened 2 weeks ago

Last modified 4 days ago

#71156 closed defect

install gdal failed — at Version 2

Reported by: Junjie-oss Owned by: Veence (Vincent)
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc: nilason (Nicklas Larsson)
Port: gdal

Description (last modified by ryandesign (Ryan Carsten Schmidt))

--->  Fetching archive for gdal
--->  Attempting to fetch gdal-3.9.3_0+postgresql16+proj9.darwin_24.arm64.tbz2 from https://mirror.sjtu.edu.cn/macports/packages/gdal
--->  Attempting to fetch gdal-3.9.3_0+postgresql16+proj9.darwin_24.arm64.tbz2 from https://pek.cn.packages.macports.org/macports/packages/gdal
--->  Attempting to fetch gdal-3.9.3_0+postgresql16+proj9.darwin_24.arm64.tbz2 from https://packages.macports.org/gdal
--->  Building gdal
Error: Failed to build gdal: command execution failed    
Error: See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_gis_gdal/gdal/main.log for details.
Error: Follow https://guide.macports.org/#project.tickets if you believe there is a bug.
Error: Processing of port saga failed

main.log:

: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)
:info:build make[2]: *** [libgdal.35.3.9.3.dylib] Error 1
:info:build make[2]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_gis_gdal/gdal/work/build'
:info:build make[1]: *** [CMakeFiles/GDAL.dir/all] Error 2
:info:build 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/build'
:info:build make: *** [all] Error 2
:info:build make: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_gis_gdal/gdal/work/build' 
:info:build Command failed:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_gis_gdal/gdal/work/build" && /usr/bin/make -j10 -w VERBOSE=ON 
:info:build Exit code: 2
:error:build Failed to build gdal: command execution failed
:debug:build Error code: CHILDSTATUS 67952 2
:debug:build Backtrace: command execution failed
:debug:build     while executing
:debug:build "system {*}$notty {*}$callback {*}$nice $fullcmdstring"
:debug:build     invoked from within
:debug:build "command_exec -callback portprogress::target_progress_callback build"
:debug:build     (procedure "portbuild::build_main" line 10)
:debug:build     invoked from within
:debug:build "$procedure $targetname"
:error:build See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_gis_gdal/gdal/main.log for details.

Change History (2)

comment:1 Changed 2 weeks ago by Junjie-oss

Description: modified (diff)

comment:2 Changed 2 weeks ago by ryandesign (Ryan Carsten Schmidt)

Cc: nilason added
Description: modified (diff)
Owner: set to Veence
Priority: HighNormal
Status: newassigned

Please attach (not paste) the full main.log file. The last portion of the main.log you posted is not sufficient to identify the problem.

Note: See TracTickets for help on using tickets.