Opened 10 years ago

Last modified 10 years ago

#43938 closed defect

gettext 0.19 needs to be updated to 0.19.1 when released — at Version 10

Reported by: mkae (Marko Käning) Owned by: ryandesign@…
Priority: Normal Milestone:
Component: ports Version:
Keywords: haspatch Cc: deric@…, rharwood@…, feliks.kluzniak@…, bernhard@…, mh@…
Port: gettext

Description (last modified by seanfarley (Sean Farley))

According to the gettext mailing list there are bugs in its packaging causing error like so:

...
creating mercurial/locale/el
creating mercurial/locale/el/LC_MESSAGES
generating mercurial/locale/el/LC_MESSAGES/hg.mo from i18n/el.po
msgfmt -v -o mercurial/locale/el/LC_MESSAGES/hg.mo i18n/el.po -c
i18n/el.po:7: warning: header field 'Language' missing in header
msgfmt: found 1 fatal error
312 translated messages, 35 fuzzy translations, 1936 untranslated messages.
error: command 'msgfmt' failed with exit status 1
make: *** [build] Error 1
make: *** Waiting for unfinished jobs....
mv hg.1.gendoc.txt.tmp hg.1.gendoc.txt
/opt/local/Library/Frameworks/Python.framework/Versions/2.7/bin/python2.7 runrst hgmanpage  --halt warning \
	  --strip-elements-with-class htmlonly hg.1.txt hg.1
/opt/local/Library/Frameworks/Python.framework/Versions/2.7/bin/python2.7 runrst html  --halt warning \
	  --link-stylesheet --stylesheet-path style.css hg.1.txt hg.1.html
make[1]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_mercurial/mercurial/work/3.0.1/doc'
make: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_mercurial/mercurial/work/3.0.1'
Command failed:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_mercurial/mercurial/work/3.0.1" && make -j8 -w all PYTHON=/opt/local/Library/Frameworks/Python.framework/Versions/2.7/bin/python2.7 
Exit code: 2
Error: org.macports.build for port mercurial returned: command execution failed
DEBUG: Error code: CHILDSTATUS 1091 2
DEBUG: Backtrace: command execution failed
Warning: targets not executed for mercurial: org.macports.install org.macports.build org.macports.destroot

Change History (10)

comment:1 Changed 10 years ago by frozencemetery (Robbie Harwood)

I have this problem as well on OSX 10.6.8 with a similar msgfmt problem in main.log.

comment:2 Changed 10 years ago by frozencemetery (Robbie Harwood)

Cc: rharwood@… added

Cc Me!

comment:3 Changed 10 years ago by feliks.kluzniak@…

Cc: feliks.kluzniak@… added

Cc Me!

comment:4 Changed 10 years ago by jdgoettsch (Jeffrey Goettsch)

I had the same problem on 10.6.8. I tried again a few times and finally it worked.

I have this problem on the latest 10.5 as well, except the sixth line from the bottom in the snippet above is different:

Command failed:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_mercurial/mercurial/work/3.0.1" && make -j3 -w all PYTHON=/opt/local/Library/Frameworks/Python.framework/Versions/2.7/bin/python2.7

comment:5 Changed 10 years ago by bwalle (Bernhard Walle)

Cc: bernhard@… added

Cc Me!

comment:6 in reply to:  4 Changed 10 years ago by frozencemetery (Robbie Harwood)

Replying to jeff@…:

I had the same problem on 10.6.8. I tried again a few times and finally it worked.

Same here. Race condition in the build system?

comment:7 Changed 10 years ago by mopihopi

I had the same issue. It seems to be caused by the update to gettext 0.19 which occurred earlier today. Activing the previous version of gettext resolved the issue for me. e.g. sudo port activate gettext @0.18.3.2_0

According to https://lists.gnu.org/archive/html/bug-gettext/2014-06/msg00007.html it sounds like this may be a bug introduced in gettext 0.19 that will be corrected in a soon-to-be-released gettext 0.19.1.

comment:8 Changed 10 years ago by icemac (Michael Howitz)

Cc: mh@… added

Cc Me!

comment:9 in reply to:  7 Changed 10 years ago by icemac (Michael Howitz)

Replying to mopihopi@…:

I had the same issue. It seems to be caused by the update to gettext 0.19 which occurred earlier today. Activing the previous version of gettext resolved the issue for me. e.g. sudo port activate gettext @0.18.3.2_0

After downgrading gettext, I also was able to install mercurial 3.0.1.

comment:10 Changed 10 years ago by seanfarley (Sean Farley)

Description: modified (diff)
Owner: changed from sean@… to ryandesign@…
Summary: mercurial 3.0.1 update failsgettext 0.19 needs to be updated to 0.19.1 when released

Ok, so this isn't a mercurial issue at all but a gettext one.

Note: See TracTickets for help on using tickets.