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

MacPorts noreply at macports.org
Wed Jan 2 09:00:54 PST 2013


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

 * keywords:   => haspatch


Comment:

 Replying to [comment:6 egor7@…]:
 > {{{
 > diff x86_64_libgettextlib.la i386_libgettextlib.la
 > 17c17
 > < inherited_linker_flags=' '
 > ---
 > > inherited_linker_flags='  -fopenmp'
 > }}}

 Interesting. So the configure script decided that on i386 openmp should be
 used but on x86_64 it should not. I can't reproduce that. On my Snow
 Leopard machine compiling with gcc-4.2, it decided to use openmp for both
 i386 and x86_64 parts. And on Mountain Lion with clang, it decided not to
 use openmp for either the i386 or x86_64 parts.

 I'm inclined to just disable openmp explicitly to avoid the problem,
 whatever its cause. From what I can tell, openmp is only used for the
 `msgmerge` utility, which is a program developers would use but users and
 build systems wouldn't, so this change should not affect normal MacPorts
 users. I see some other packagers have chosen this as well. See if the
 attached patch works for you.


 Replying to [comment:8 halkola@…]:
 > I have a different staging error with gettext:
 >
 > {{{
 > --->  Staging gettext into destroot
 > Error: org.macports.destroot for port gettext returned: error copying
 "/opt/local/var/macports/build/_opt_mports_devel_gettext/gettext/work/destroot"
 to "/opt/local/var/macports/build/_opt_mports_devel_gettext/gettext/work
 /destroot-x86_64/destroot": file already exists
 > Error: Failed to install gettext
 > }}}
 >
 > I have also tried to clean gettext first.

 Although you said you tried to clean gettext, the error message "destroot:
 file already exists" usually means you did not clean before trying. Please
 clean and try again. This ticket is about the "''X'' differs in ''Y'' and
 ''Z'' and cannot be merged" error message. If your build still fails and
 you get an error message different from that, please file a new ticket.

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


More information about the macports-tickets mailing list