[MacPorts] #63155: heimdal @7.5.0_2: linking libheimbase.la fails with undefined symbols for architecture x86_64: _libintl_dgettext

MacPorts noreply at macports.org
Wed Jun 30 06:59:48 UTC 2021


#63155: heimdal @7.5.0_2: linking libheimbase.la fails with undefined symbols for
architecture x86_64: _libintl_dgettext
-------------------------+---------------------
 Reporter:  cooljeanius  |      Owner:  (none)
     Type:  defect       |     Status:  new
 Priority:  Normal       |  Milestone:
Component:  ports        |    Version:  2.7.1
 Keywords:               |       Port:  heimdal
-------------------------+---------------------
 I'm on macOS 11.4 with Xcode 12.5.1:
 {{{
 error.c:56:24: warning: self-comparison always evaluates to true
 [-Wtautological-compare]
     if (ap->error_code == ap->error_code)
                        ^
 1 warning generated.
   CCLD     libheimbase.la
 Undefined symbols for architecture x86_64:
   "_libintl_dgettext", referenced from:
       _stdb_open in bsearch.o
       _heim_db_create in db.o
       _db_replay_log in db.o
       _heim_db_clone in db.o
       _heim_db_commit in db.o
       _open_file in db.o
       _heim_db_set_value in db.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[2]: *** [libheimbase.la] Error 1
 make[2]: Leaving directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_net_heimdal/heimdal/work/heimdal-7.5.0/lib/base'
 make[1]: *** [all-recursive] Error 1
 make[1]: Leaving directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_net_heimdal/heimdal/work/heimdal-7.5.0/lib'
 make: *** [all-recursive] Error 1
 make: Leaving directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_net_heimdal/heimdal/work/heimdal-7.5.0'
 Command failed:  cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_net_heimdal/heimdal/work/heimdal-7.5.0"
 && /usr/bin/make -j16 -w all
 Exit code: 2
 Error: Failed to build heimdal: command execution failed
 DEBUG: Error code: CHILDSTATUS 62697 2
 }}}
 libintl can be tricky to link with sometimes; I'd recommend checking
 heimdal's gettext dependency to make sure it's used properly.

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


More information about the macports-tickets mailing list