Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 20 Jul 2019 07:15:17 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 239328] devel/gettext-tools: msgmerge --for-msgfmt doesn't produce an output file if the input has no translation
Message-ID:  <bug-239328-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D239328

            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@FreeBSD.org
          Reporter: lantw44@gmail.com
             Flags: maintainer-feedback?(tijl@FreeBSD.org)
          Assignee: tijl@FreeBSD.org

Created attachment 205916
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D205916&action=
=3Dedit
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'. Sin=
ce
the bug has already been fixed by upstream, can we add the patch to the por=
t?

Currently this bug causes libgtop and gcr to fail to build from upstream gi=
t:

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 fi=
le
or directory

cd /home/lantw44/gnome/source/gcr/po && rm -f az.gmo && /usr/local/bin/msgm=
erge
--for-msgfmt -o az.1po az.po gcr.pot && /usr/local/bin/msgfmt -c --statisti=
cs
--verbose -o az.gmo az.1po && rm -f az.1po
/usr/local/bin/msgfmt: error while opening "az.1po" for reading: No such fi=
le
or directory
cd /home/lantw44/gnome/source/gcr/po && rm -f cy.gmo && /usr/local/bin/msgm=
erge
--for-msgfmt -o cy.1po cy.po gcr.pot && /usr/local/bin/msgfmt -c --statisti=
cs
--verbose -o cy.gmo cy.1po && rm -f cy.1po
/usr/local/bin/msgfmt: error while opening "cy.1po" for reading: No such fi=
le
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 && r=
m -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/msgm=
erge
--for-msgfmt -o is.1po is.po gcr.pot && /usr/local/bin/msgfmt -c --statisti=
cs
--verbose -o is.gmo is.1po && rm -f is.1po
/usr/local/bin/msgfmt: error while opening "is.1po" for reading: No such fi=
le
or directory
cd /home/lantw44/gnome/source/gcr/po && rm -f ka.gmo && /usr/local/bin/msgm=
erge
--for-msgfmt -o ka.1po ka.po gcr.pot && /usr/local/bin/msgfmt -c --statisti=
cs
--verbose -o ka.gmo ka.1po && rm -f ka.1po
/usr/local/bin/msgfmt: error while opening "ka.1po" for reading: No such fi=
le
or directory
cd /home/lantw44/gnome/source/gcr/po && rm -f mg.gmo && /usr/local/bin/msgm=
erge
--for-msgfmt -o mg.1po mg.po gcr.pot && /usr/local/bin/msgfmt -c --statisti=
cs
--verbose -o mg.gmo mg.1po && rm -f mg.1po
/usr/local/bin/msgfmt: error while opening "mg.1po" for reading: No such fi=
le
or directory
cd /home/lantw44/gnome/source/gcr/po && rm -f mn.gmo && /usr/local/bin/msgm=
erge
--for-msgfmt -o mn.1po mn.po gcr.pot && /usr/local/bin/msgfmt -c --statisti=
cs
--verbose -o mn.gmo mn.1po && rm -f mn.1po
/usr/local/bin/msgfmt: error while opening "mn.1po" for reading: No such fi=
le
or directory
cd /home/lantw44/gnome/source/gcr/po && rm -f rw.gmo && /usr/local/bin/msgm=
erge
--for-msgfmt -o rw.1po rw.po gcr.pot && /usr/local/bin/msgfmt -c --statisti=
cs
--verbose -o rw.gmo rw.1po && rm -f rw.1po
/usr/local/bin/msgfmt: error while opening "rw.1po" for reading: No such fi=
le
or directory
cd /home/lantw44/gnome/source/gcr/po && rm -f si.gmo && /usr/local/bin/msgm=
erge
--for-msgfmt -o si.1po si.po gcr.pot && /usr/local/bin/msgfmt -c --statisti=
cs
--verbose -o si.gmo si.1po && rm -f si.1po
/usr/local/bin/msgfmt: error while opening "si.1po" for reading: No such fi=
le
or directory
cd /home/lantw44/gnome/source/gcr/po && rm -f xh.gmo && /usr/local/bin/msgm=
erge
--for-msgfmt -o xh.1po xh.po gcr.pot && /usr/local/bin/msgfmt -c --statisti=
cs
--verbose -o xh.gmo xh.1po && rm -f xh.1po
/usr/local/bin/msgfmt: error while opening "xh.1po" for reading: No such fi=
le
or directory

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-239328-7788>