[MacPorts] #37416: gettext +universal upgrade staging error

MacPorts noreply at macports.org
Thu Jan 17 17:13:25 PST 2013


#37416: gettext +universal upgrade staging error
----------------------+--------------------------
  Reporter:  egor7@…  |      Owner:  ryandesign@…
      Type:  defect   |     Status:  closed
  Priority:  Normal   |  Milestone:
 Component:  ports    |    Version:  2.1.2
Resolution:  invalid  |   Keywords:  haspatch
      Port:  gettext  |
----------------------+--------------------------

Comment (by j@…):

 I also had the same thing happen, except for me it was libunistring was
 installed without the universal variant, and the gettext port depended on
 it if it exists, otherwise doesn't include it.


 {{{
 diff -c
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_gettext/gettext/work/destroot-i386/opt/local/lib/libgettextlib.la
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_gettext/gettext/work
 /destroot-x86_64/opt/local/lib/libgettextlib.la
 ***
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_gettext/gettext/work/destroot-i386/opt/local/lib/libgettextlib.la
 Thu Jan 17 16:09:31 2013
 ---
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_gettext/gettext/work
 /destroot-x86_64/opt/local/lib/libgettextlib.la   Thu Jan 17 16:09:27 2013
 ***************
 *** 17,23 ****
   inherited_linker_flags=' '

   # Libraries that this one depends upon.
 ! dependency_libs=' -R/opt/local/lib -L/opt/local/lib
 /opt/local/lib/libintl.la -lc /opt/local/lib/libiconv.la -lncurses'

   # Names of additional weak libraries provided by this library
   weak_library_names=''
 --- 17,23 ----
   inherited_linker_flags=' '

   # Libraries that this one depends upon.
 ! dependency_libs=' -R/opt/local/lib -L/opt/local/lib
 /opt/local/lib/libintl.la -lc /opt/local/lib/libunistring.la
 /opt/local/lib/libiconv.la -lncurses'

   # Names of additional weak libraries provided by this library
   weak_library_names=''

 Diff finished.  Thu Jan 17 17:00:20 2013
 }}}

 To fix this problem, I ran the following commands.
 {{{
 % sudo port install libunistring +universal
 % sudo port install gettext +universal
 % sudo port upgrade outdated
 }}}

 And I was on my way :) I hope this helps people who find this bug in the
 tracker.

 ''MacPort Devs: Let me know if this should be a separate bug? I'm not sure
 I can repro it now that I've gone off and installed libunistring
 correctly, but hopefully that's not too hard.
 ''

-- 
Ticket URL: <https://trac.macports.org/ticket/37416#comment:19>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list