All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] Build failure on msgfmt
@ 2010-12-17 20:52 Joe
  2010-12-20 14:00 ` Thomas Petazzoni
  0 siblings, 1 reply; 3+ messages in thread
From: Joe @ 2010-12-17 20:52 UTC (permalink / raw)
  To: buildroot


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


      

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Buildroot] Build failure on msgfmt
  2010-12-17 20:52 [Buildroot] Build failure on msgfmt Joe
@ 2010-12-20 14:00 ` Thomas Petazzoni
  2010-12-20 16:17   ` Peter Korsgaard
  0 siblings, 1 reply; 3+ messages in thread
From: Thomas Petazzoni @ 2010-12-20 14:00 UTC (permalink / raw)
  To: buildroot

Hello,

On Fri, 17 Dec 2010 12:52:19 -0800 (PST)
Joe <lordvictory1@yahoo.com> 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
-- 
Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Buildroot] Build failure on msgfmt
  2010-12-20 14:00 ` Thomas Petazzoni
@ 2010-12-20 16:17   ` Peter Korsgaard
  0 siblings, 0 replies; 3+ messages in thread
From: Peter Korsgaard @ 2010-12-20 16:17 UTC (permalink / raw)
  To: buildroot

>>>>> "Thomas" == Thomas Petazzoni <thomas.petazzoni@free-electrons.com> 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.

-- 
Bye, Peter Korsgaard

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2010-12-20 16:17 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-12-17 20:52 [Buildroot] Build failure on msgfmt Joe
2010-12-20 14:00 ` Thomas Petazzoni
2010-12-20 16:17   ` Peter Korsgaard

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.