Opened 3 years ago

Last modified 2 years ago

#62998 assigned defect

gmt6: build failure on Apple Silicon

Reported by: pragyantpradab Owned by: tenomoto (Takeshi Enomoto)
Priority: Normal Milestone:
Component: ports Version:
Keywords: arm64 bigsur Cc: cooljeanius (Eric Gallager)
Port: gmt6

Description (last modified by reneeotten (Renee Otten))

can not install gmt6 .

:info:build /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_gmt5/gmt6/work/gmt-6.1.1/src/gmt_common_sighandler.c:178:14: error: no member named '__eip' in 'struct __darwin_arm_thread_state64'
:info:build         array [0] = UC_IP (uc); /* caller's address */
:info:build                     ^~~~~~~~~~
:info:build /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_gmt5/gmt6/work/gmt-6.1.1/src/gmt_common_sighandler.c:62:56: note: expanded from macro 'UC_IP'
:info:build #   define UC_IP(uc) ((void *) (uc)->uc_mcontext->__ss.__eip)
:info:build                                ~~~~~~~~~~~~~~~~~~~~~~~ ^
:info:build 1 error generated.
:info:build make[2]: *** [src/CMakeFiles/gmtlib.dir/gmt_common_sighandler.c.o] Error 1
:info:build make[2]: *** Waiting for unfinished jobs....
:info:build make[2]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_gmt5/gmt6/work/build'
:info:build make[1]: *** [src/CMakeFiles/gmtlib.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_science_gmt5/gmt6/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_science_gmt5/gmt6/work/build'
:info:build Command failed:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_gmt5/gmt6/work/build" && /usr/bin/make -j8 -w all VERBOSE=ON 
:info:build Exit code: 2
:error:build Failed to build gmt6: command execution failed
:debug:build Error code: CHILDSTATUS 27126 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 8)
: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_science_gmt5/gmt6/main.log for details.

Attachments (1)

main.log (367.9 KB) - added by pragyantpradab 3 years ago.
look at the lines which are at the last

Download all attachments as: .zip

Change History (4)

Changed 3 years ago by pragyantpradab

Attachment: main.log added

look at the lines which are at the last

comment:1 Changed 3 years ago by reneeotten (Renee Otten)

Description: modified (diff)
Milestone: MacPorts Future
Owner: set to tenomoto
Port: gmt6 added
Priority: HighNormal
Status: newassigned
Summary: can not install gmt6. showing problem during building upgmt6: build failure

comment:2 Changed 3 years ago by jmroot (Joshua Root)

Keywords: arm64 bigsur added
Summary: gmt6: build failuregmt6: build failure on Apple Silicon

comment:3 Changed 2 years ago by cooljeanius (Eric Gallager)

Cc: cooljeanius added
Note: See TracTickets for help on using tickets.