[MacPorts] #62932: push compile problem on M1 Mac: ld: symbol(s) not found for architecture arm64

MacPorts noreply at macports.org
Wed May 19 20:50:59 UTC 2021


#62932: push compile problem on M1 Mac: ld: symbol(s) not found for architecture
arm64
----------------------+--------------------------
 Reporter:  ttelford  |      Owner:  (none)
     Type:  defect    |     Status:  new
 Priority:  Normal    |  Milestone:
Component:  ports     |    Version:  2.7.0
 Keywords:  pdsh      |       Port:  pdsh @2.33_1
----------------------+--------------------------
 When attempting to compile `pdsh +genders`, the build fails, claiming it's
 missing symbols for the arm64 architecture:
 {{{
 :info:build make[4]: Entering directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_net_pdsh/pdsh/work/pdsh-2.33/src/modules'
 :info:build   CC       dshgroup.lo
 :info:build   CC       sshcmd.lo
 :info:build   CC       execcmd.lo
 :info:build   CCLD     dshgroup.la
 :info:build   CCLD     execcmd.la
 :info:build   CCLD     sshcmd.la
 :info:build Undefined symbols for architecture arm64:
 :info:build   "_pdsh_remote_argv", referenced from:
 :info:build       _execcmd in execcmd.o
 :info:build   "_pipecmd", referenced from:
 :info:build       _execcmd in execcmd.o
 :info:build   "_pipecmd_destroy", referenced from:
 :info:build       _exec_destroy in execcmd.o
 :info:build   "_pipecmd_signal", referenced from:
 :info:build       _exec_signal in execcmd.o
 :info:build   "_pipecmd_stderrfd", referenced from:
 :info:build       _execcmd in execcmd.o
 :info:build   "_pipecmd_stdoutfd", referenced from:
 :info:build       _execcmd in execcmd.o
 :info:build   "_pipecmd_wait", referenced from:
 :info:build       _exec_destroy in execcmd.o
 :info:build   "_rcmd_opt_set", referenced from:
 :info:build       _exec_init in execcmd.o
 :info:build Undefined symbols for architecture arm64:
 :info:build   "_hostlist_delete_host", referenced from:
 :info:build       _dshgroup_postop in dshgroup.o
 :info:build   "_hostlist_destroy", referenced from:
 :info:build       __read_groups in dshgroup.o
 :info:build   "_hostlist_iterator_create", referenced from:
 :info:build       _dshgroup_postop in dshgroup.o
 :info:build   "_hostlist_iterator_destroy", referenced from:
 :info:build       _dshgroup_postop in dshgroup.o
 :info:build   "_hostlist_next", referenced from:
 :info:build       _dshgroup_postop in dshgroup.o
 :info:build   "_hostlist_push_list", referenced from:
 :info:build       __read_groups in dshgroup.o
 :info:build ld: symbol(s) not found for architecture arm64
 :info:build   "_hostlist_uniq", referenced from:
 :info:build       __read_groups in dshgroup.o
 :info:build   "_list_iterator_create", referenced from:
 :info:build       __read_groups in dshgroup.o
 :info:build   "_list_iterator_destroy", referenced from:
 :info:build       __read_groups in dshgroup.o
 :info:build   "_list_next", referenced from:
 :info:build       __read_groups in dshgroup.o
 :info:build   "_list_split_append", referenced from:
 :info:build       _dshgroup_process_opt in dshgroup.o
 :info:build   "_read_wcoll_path", referenced from:
 :info:build       __read_groups in dshgroup.o
 :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 clang: error: linker command failed with exit code 1 (use -v
 to see invocation)
 :info:build make[4]: *** [dshgroup.la] Error 1
 :info:build make[4]: *** Waiting for unfinished jobs....
 :info:build make[4]: *** [execcmd.la] Error 1
 :info:build Undefined symbols for architecture arm64:
 :info:build   "_Free", referenced from:
 :info:build       _mod_ssh_postop in sshcmd.o
 :info:build       _ssh_argv_destroy in sshcmd.o
 :info:build       _free_f in sshcmd.o
 :info:build   "_Malloc", referenced from:
 :info:build       _sshcmd in sshcmd.o
 :info:build   "_Strdup", referenced from:
 :info:build       _mod_ssh_postop in sshcmd.o
 :info:build       _sshcmd in sshcmd.o
 :info:build       _fixup_ssh_args in sshcmd.o
 :info:build   "_list_append", referenced from:
 :info:build       _mod_ssh_postop in sshcmd.o
 :info:build       _sshcmd in sshcmd.o
 :info:build       _fixup_ssh_args in sshcmd.o
 :info:build   "_list_count", referenced from:
 :info:build       _sshcmd in sshcmd.o
 :info:build   "_list_create", referenced from:
 :info:build       _sshcmd in sshcmd.o
 :info:build   "_list_destroy", referenced from:
 :info:build       _mod_ssh_exit in sshcmd.o
 :info:build       _sshcmd in sshcmd.o
 :info:build   "_list_find", referenced from:
 :info:build       _fixup_ssh_args in sshcmd.o
 :info:build   "_list_insert", referenced from:
 :info:build       _fixup_ssh_args in sshcmd.o
 :info:build   "_list_iterator_create", referenced from:
 :info:build       _sshcmd in sshcmd.o
 :info:build       _fixup_ssh_args in sshcmd.o
 :info:build   "_list_iterator_destroy", referenced from:
 :info:build       _sshcmd in sshcmd.o
 :info:build       _fixup_ssh_args in sshcmd.o
 :info:build   "_list_iterator_reset", referenced from:
 :info:build       _fixup_ssh_args in sshcmd.o
 :info:build   "_list_next", referenced from:
 :info:build       _sshcmd in sshcmd.o
 :info:build       _fixup_ssh_args in sshcmd.o
 :info:build   "_list_prepend", referenced from:
 :info:build       _mod_ssh_postop in sshcmd.o
 :info:build   "_list_split", referenced from:
 :info:build       _mod_ssh_postop in sshcmd.o
 :info:build   "_pdsh_personality", referenced from:
 :info:build       _sshcmd in sshcmd.o
 :info:build   "_pdsh_remote_argv", referenced from:
 :info:build       _sshcmd in sshcmd.o
 :info:build   "_pipecmd", referenced from:
 :info:build       _sshcmd in sshcmd.o
 :info:build   "_pipecmd_destroy", referenced from:
 :info:build       _sshcmd_destroy in sshcmd.o
 :info:build   "_pipecmd_signal", referenced from:
 :info:build       _sshcmd_signal in sshcmd.o
 :info:build   "_pipecmd_stderrfd", referenced from:
 :info:build       _sshcmd in sshcmd.o
 :info:build   "_pipecmd_stdoutfd", referenced from:
 :info:build       _sshcmd in sshcmd.o
 :info:build   "_pipecmd_target", referenced from:
 :info:build       _sshcmd_signal in sshcmd.o
 :info:build       _sshcmd_destroy in sshcmd.o
 :info:build   "_pipecmd_wait", referenced from:
 :info:build       _sshcmd_destroy in sshcmd.o
 :info:build   "_rcmd_opt_set", referenced from:
 :info:build       _sshcmd_init in sshcmd.o
 :info:build   "_xstrcat", referenced from:
 :info:build       _mod_ssh_postop in sshcmd.o
 :info:build   "_xstrcatchar", referenced from:
 :info:build       _mod_ssh_postop in sshcmd.o
 :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[4]: *** [sshcmd.la] Error 1
 :info:build make[4]: Leaving directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_net_pdsh/pdsh/work/pdsh-2.33/src/modules'
 :info:build make[3]: *** [all] Error 2
 :info:build make[3]: Leaving directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_net_pdsh/pdsh/work/pdsh-2.33/src/modules'
 :info:build make[2]: *** [all-recursive] 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_net_pdsh/pdsh/work/pdsh-2.33/src'
 :info:build make[1]: *** [all-recursive] Error 1
 :info:build make[1]: Leaving directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_net_pdsh/pdsh/work/pdsh-2.33'
 :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_net_pdsh/pdsh/work/pdsh-2.33'
 }}}

 I also attempted to `port install pdsh +genders +universal` and the result
 was more or less the same.

-- 
Ticket URL: <https://trac.macports.org/ticket/62932>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list