[MacPorts] #71156: install gdal failed
MacPorts
noreply at macports.org
Wed Oct 23 08:15:06 UTC 2024
#71156: install gdal failed
-------------------------+----------------------
Reporter: Junjie-oss | Owner: Veence
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version:
Resolution: | Keywords:
Port: gdal |
-------------------------+----------------------
Changes (by ryandesign):
* status: new => assigned
* owner: (none) => Veence
* cc: nilason (added)
* priority: High => Normal
Old description:
> ---> 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.
New description:
{{{
---> 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.
}}}
--
Comment:
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.
--
Ticket URL: <https://trac.macports.org/ticket/71156#comment:2>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list