[MacPorts] #40325: gettext failing to build

MacPorts noreply at macports.org
Sat Aug 31 23:09:21 PDT 2013


#40325: gettext failing to build
---------------------------+--------------------------
  Reporter:  coolfactor@…  |      Owner:  ryandesign@…
      Type:  defect        |     Status:  new
  Priority:  Normal        |  Milestone:
 Component:  ports         |    Version:  2.2.0
Resolution:                |   Keywords:
      Port:  gettext       |
---------------------------+--------------------------
Changes (by ryandesign@…):

 * owner:  macports-tickets@… => ryandesign@…
 * port:   => gettext


Comment:

 Ok, you're trying to install gettext with the universal variant. MacPorts
 first ensures that dependencies are installed universal. Despite that
 check, dependency libiconv appears to not actually be universal:

 {{{
 :info:build Undefined symbols for architecture i386:
 :info:build   "_libiconv", referenced from:
 :info:build       _xmlIconvWrapper in libxml_rpl.a(libxml_rpl_la-
 encoding.o)
 :info:build   "_libiconv_close", referenced from:
 :info:build       _xmlFindCharEncodingHandler in libxml_rpl.a
 (libxml_rpl_la-encoding.o)
 :info:build       _xmlCharEncCloseFunc in libxml_rpl.a(libxml_rpl_la-
 encoding.o)
 :info:build   "_libiconv_open", referenced from:
 :info:build       _xmlFindCharEncodingHandler in libxml_rpl.a
 (libxml_rpl_la-encoding.o)
 :info:build ld: symbol(s) not found for architecture i386
 }}}

 You told me by email that you then forcibly uninstalled something (what?
 libiconv?), cleaned gettext and reinstalled it, and it worked, except
 activation failed:

 {{{
 :error:activate org.macports.activate for port gettext returned: Image
 error: /opt/local/share/gettext/archive.dir.tar.bz2 already exists and
 does not belong to a registered port.  Unable to activate port gettext.
 Use 'port -f activate gettext' to force the activation.
 }}}

 I suspect you installed some third-party software, which was itself built
 using MacPorts, and it overwrote some files in your MacPorts installation.
 See ProblemHotlist#xmlwf for some of the usual culprits and what to do
 about it.

-- 
Ticket URL: <https://trac.macports.org/ticket/40325#comment:1>
MacPorts <http://www.macports.org/>
Ports system for OS X


More information about the macports-tickets mailing list