Build failure on msgfmt
After fixing the other issues I got responses from in my prior post I am getting the following failure (copied from console screen output) before the build stops:
/usr/bin/msgfmt -o test.mo ./de.po; \
/bin/mkdir -p de/LC_MESSAGES; \
cp -f test.mo de/LC_MESSAGES
./de.po:15: keyword "msgctxt" unknown
./de.po:15:8: parse error/usr/bin/msgfmt: found 2 fatal errors
cp: cannot stat `test.mo': No such file or directory
make[5]: *** [test.mo] Error 1
make[5]: Leaving directory `/usr/src/embedded/buildroot-2010.11/output/build/host-libglib2-2.26.0/gio/tests'
make[4]: *** [all-recursive] Error 1
make[4]: Leaving directory `/usr/src/embedded/buildroot-2010.11/output/build/host-libglib2-2.26.0/gio' make[3]: *** [all] Error 2
make[3]: Leaving directory `/usr/src/embedded/buildroot-2010.11/output/build/host-libglib2-2.26.0/gio' make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/usr/src/embedded/buildroot-2010.11/output/build/host-libglib2-2.26.0' make[1]: *** [all] Error 2
make[1]: Leaving directory `/usr/src/embedded/buildroot-2010.11/output/build/host-libglib2-2.26.0'
make: *** [/usr/src/buildroot/output/build/host-libglib2-2.26.0/.stamp_built] Error 2
Hello,
Quoted 8 lines · On Fri, 17 Dec 2010 12:52:19 -0800 (PST) Joe <[email protected]> wrote:
/usr/bin/msgfmt-o test.mo ./de.po; \
/bin/mkdir-p de/LC_MESSAGES; \
cp -f test.mo de/LC_MESSAGES
./de.po:15: keyword "msgctxt" unknown ./de.po:15:8: parse error/usr/bin/msgfmt: found 2 fatal errors
cp: cannot stat `test.mo': No such file or directory make[5]: *** [test.mo] Error 1
This is because your gettext package from your distribution is too old, and msgfmt doesn't understand some newer keywords of the libglib2 .po files.
Peter, maybe we should build gettext for the host instead of relying on the distribution msgfmt ? What do you think ? Or should be add a check to verify that msgfmt is sufficiently recent ?
Regards,
Thomas
Signature · 4 lines
Thomas Petazzoni, Free Electrons Kernel, drivers, real-time and embedded Linux development, consulting, training and support. http://free-electrons.com
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
"Thomas" == Thomas Petazzoni <[email protected]> writes:
Hi,
Thomas> This is because your gettext package from your distribution is Thomas> too old, and msgfmt doesn't understand some newer keywords of Thomas> the libglib2 .po files.
Thomas> Peter, maybe we should build gettext for the host instead of Thomas> relying on the distribution msgfmt ? What do you think ? Or Thomas> should be add a check to verify that msgfmt is sufficiently Thomas> recent ?
Like always, it's a question about pros/cons:
- How many packages need it?
- How uncommon is the dependency? Are there any version dependencies?
- How long does it take to build? Does it have a lot of dependencies?
If gettext comes out positive, then I don't have any issue adding it.
Signature · 1 line
Bye, Peter Korsgaard