[Bug 239328] devel/gettext-tools: msgmerge --for-msgfmt doesn't produce an output file if the input has no translation
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Sat Jul 20 07:15:18 UTC 2019
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=239328
Bug ID: 239328
Summary: devel/gettext-tools: msgmerge --for-msgfmt doesn't
produce an output file if the input has no translation
Product: Ports & Packages
Version: Latest
Hardware: Any
OS: Any
Status: New
Severity: Affects Only Me
Priority: ---
Component: Individual Port(s)
Assignee: tijl at FreeBSD.org
Reporter: lantw44 at gmail.com
Flags: maintainer-feedback?(tijl at FreeBSD.org)
Assignee: tijl at FreeBSD.org
Created attachment 205916
--> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=205916&action=edit
Fix msgmerge --for-msgfmt bug
This is a bug which is already fixed by upstream:
https://lists.gnu.org/archive/html/bug-gettext/2019-05/msg00124.html
After updating to gettext 0.20, 'msgmerge --for-msgfmt' stops producing an
output file if it decides that the output file will be empty. This causes
'msgfmt' to fail because it can't find the file produced by 'msgmerge'. Since
the bug has already been fixed by upstream, can we add the patch to the port?
Currently this bug causes libgtop and gcr to fail to build from upstream git:
cd /home/lantw44/gnome/source/libgtop/po && rm -f mi.gmo &&
/usr/local/bin/msgmerge --for-msgfmt -o mi.1po mi.po libgtop.pot &&
/usr/local/bin/msgfmt -c --statistics --verbose -o mi.gmo mi.1po && rm -f
mi.1po
/usr/local/bin/msgfmt: error while opening "mi.1po" for reading: No such file
or directory
cd /home/lantw44/gnome/source/gcr/po && rm -f az.gmo && /usr/local/bin/msgmerge
--for-msgfmt -o az.1po az.po gcr.pot && /usr/local/bin/msgfmt -c --statistics
--verbose -o az.gmo az.1po && rm -f az.1po
/usr/local/bin/msgfmt: error while opening "az.1po" for reading: No such file
or directory
cd /home/lantw44/gnome/source/gcr/po && rm -f cy.gmo && /usr/local/bin/msgmerge
--for-msgfmt -o cy.1po cy.po gcr.pot && /usr/local/bin/msgfmt -c --statistics
--verbose -o cy.gmo cy.1po && rm -f cy.1po
/usr/local/bin/msgfmt: error while opening "cy.1po" for reading: No such file
or directory
cd /home/lantw44/gnome/source/gcr/po && rm -f en_CA.gmo &&
/usr/local/bin/msgmerge --for-msgfmt -o en_CA.1po en_CA.po gcr.pot &&
/usr/local/bin/msgfmt -c --statistics --verbose -o en_CA.gmo en_CA.1po && rm -f
en_CA.1po
/usr/local/bin/msgfmt: error while opening "en_CA.1po" for reading: No such
file or directory
cd /home/lantw44/gnome/source/gcr/po && rm -f is.gmo && /usr/local/bin/msgmerge
--for-msgfmt -o is.1po is.po gcr.pot && /usr/local/bin/msgfmt -c --statistics
--verbose -o is.gmo is.1po && rm -f is.1po
/usr/local/bin/msgfmt: error while opening "is.1po" for reading: No such file
or directory
cd /home/lantw44/gnome/source/gcr/po && rm -f ka.gmo && /usr/local/bin/msgmerge
--for-msgfmt -o ka.1po ka.po gcr.pot && /usr/local/bin/msgfmt -c --statistics
--verbose -o ka.gmo ka.1po && rm -f ka.1po
/usr/local/bin/msgfmt: error while opening "ka.1po" for reading: No such file
or directory
cd /home/lantw44/gnome/source/gcr/po && rm -f mg.gmo && /usr/local/bin/msgmerge
--for-msgfmt -o mg.1po mg.po gcr.pot && /usr/local/bin/msgfmt -c --statistics
--verbose -o mg.gmo mg.1po && rm -f mg.1po
/usr/local/bin/msgfmt: error while opening "mg.1po" for reading: No such file
or directory
cd /home/lantw44/gnome/source/gcr/po && rm -f mn.gmo && /usr/local/bin/msgmerge
--for-msgfmt -o mn.1po mn.po gcr.pot && /usr/local/bin/msgfmt -c --statistics
--verbose -o mn.gmo mn.1po && rm -f mn.1po
/usr/local/bin/msgfmt: error while opening "mn.1po" for reading: No such file
or directory
cd /home/lantw44/gnome/source/gcr/po && rm -f rw.gmo && /usr/local/bin/msgmerge
--for-msgfmt -o rw.1po rw.po gcr.pot && /usr/local/bin/msgfmt -c --statistics
--verbose -o rw.gmo rw.1po && rm -f rw.1po
/usr/local/bin/msgfmt: error while opening "rw.1po" for reading: No such file
or directory
cd /home/lantw44/gnome/source/gcr/po && rm -f si.gmo && /usr/local/bin/msgmerge
--for-msgfmt -o si.1po si.po gcr.pot && /usr/local/bin/msgfmt -c --statistics
--verbose -o si.gmo si.1po && rm -f si.1po
/usr/local/bin/msgfmt: error while opening "si.1po" for reading: No such file
or directory
cd /home/lantw44/gnome/source/gcr/po && rm -f xh.gmo && /usr/local/bin/msgmerge
--for-msgfmt -o xh.1po xh.po gcr.pot && /usr/local/bin/msgfmt -c --statistics
--verbose -o xh.gmo xh.1po && rm -f xh.1po
/usr/local/bin/msgfmt: error while opening "xh.1po" for reading: No such file
or directory
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-ports-bugs
mailing list