[oe] vdr: minimal-uclibc: task `compile` fails with `undefined reference to `_nl_msg_cat_cntr'`

Khem Raj raj.khem at gmail.com
Fri Feb 11 17:37:33 UTC 2011


On Thu, Feb 10, 2011 at 3:46 PM, Paul Menzel
<paulepanter at users.sourceforge.net> wrote:
> Am Montag, den 31.01.2011, 18:35 +0100 schrieb Paul Menzel:
>> Am Freitag, den 28.01.2011, 17:36 +0100 schrieb Paul Menzel:
>> > Am Montag, den 24.01.2011, 02:24 +0100 schrieb Paul Menzel:
>> > > Am Sonntag, den 23.01.2011, 14:09 -0800 schrieb Khem Raj:
>> > > > On Sun, Jan 23, 2011 at 11:57 AM, Paul Menzel wrote:
>> > > > > Am Sonntag, den 23.01.2011, 17:08 +0100 schrieb Paul Menzel:
>> > > > >> Am Samstag, den 22.01.2011, 11:48 -0800 schrieb Khem Raj:
>> > > > >> > On Sat, Jan 22, 2011 at 10:23 AM, Paul Menzel wrote:
>> > > > >> > > The commit since when building fails is a88aca1d [6].
>> > > > >> > >
>> > > > >> > >        commit a88aca1d7dfa3a08957dd49cb61bac850f197106
>> > > > >> > >        Author: Bernhard Reutner-Fischer <rep.dot.nop at gmail.com>
>> > > > >> > >        Date:   Wed Jan 12 20:34:55 2011 +0100
>> > > > >> > >
>> > > > >> > >            autotools.bbclass: pass distro_imposed_configure_flags
>> > > > >> > >
>> > > > >> > >            Acked-by: Khem Raj <raj.khem at gmail.com>
>> > > > >> > >            Acked-by: Tom Rini <tom_rini at mentor.com>
>> > > > >> > >            Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop at gmail.com>
>> > > > >> > >
>> > > > >> > > Any idea?
>> > > > >> >
>> > > > >> > I see. I think its to do with enable-ipv6 or somesuch. Can you run
>> > > > >> > do_configure for vdr before and after this commit and port
>> > > > >> > the contents of line invoking configure.
>> > > > >>
>> > > > >> Strange. VDR just uses a plain Makefile and no Autotools. Since this
>> > > > >> commit, it seems that `-lintl` is not passed.
>> > > > >>
>> > > > >> ### works
>> > > > >>
>> > > > >>       arm-oe-linux-uclibceabi-g++ -march=armv7-a -mtune=cortex-a8 -mfpu=neon -mfloat-abi=softfp -mthumb-interwork -mno-thumb -isystem/oe/build-minimal-uclibc/minimal-uclibc-dev/sysroots/armv7a-oe-linux-uclibceabi/usr/include -fexpensive-optimizations -fomit-frame-pointer -frename-registers -Os -fpermissive -fvisibility-inlines-hidden -rdynamic -Wl,-O1 -Wl,--hash-style=gnu audio.o channels.o ci.o config.o cutter.o device.o diseqc.o dvbdevice.o dvbci.o dvbplayer.o dvbspu.o dvbsubtitle.o eit.o eitscan.o epg.o filter.o font.o i18n.o interface.o keys.o lirc.o menu.o menuitems.o nit.o osdbase.o osd.o pat.o player.o plugin.o rcu.o receiver.o recorder.o recording.o remote.o remux.o ringbuffer.o sdt.o sections.o shutdown.o skinclassic.o skins.o skinsttng.o sourceparams.o sources.o spu.o status.o svdrp.o themes.o thread.o timers.o tools.o transfer.o vdr.o videodir.o -ljpeg -lpthread -ldl -lcap -lrt -lfreetype -lfontconfig -lintl  ./libsi/libsi.a -o vdr
>> > > > >>
>> > > > >> ### fails
>> > > > >>
>> > > > >>       arm-oe-linux-uclibceabi-g++ -march=armv7-a -mtune=cortex-a8 -mfpu=neon -mfloat-abi=softfp -mthumb-interwork -mno-thumb -isystem/oe/build-minimal-uclibc/minimal-uclibc-dev/sysroots/armv7a-oe-linux-uclibceabi/usr/include -fexpensive-optimizations -fomit-frame-pointer -frename-registers -Os -pipe -fpermissive -fvisibility-inlines-hidden -rdynamic -Wl,-O1 -Wl,--hash-style=gnu audio.o channels.o ci.o config.o cutter.o device.o diseqc.o dvbdevice.o dvbci.o dvbplayer.o dvbspu.o dvbsubtitle.o eit.o eitscan.o epg.o filter.o font.o i18n.o interface.o keys.o lirc.o menu.o menuitems.o nit.o osdbase.o osd.o pat.o player.o plugin.o rcu.o receiver.o recorder.o recording.o remote.o remux.o ringbuffer.o sdt.o sections.o shutdown.o skinclassic.o skins.o skinsttng.o sourceparams.o sources.o spu.o status.o svdrp.o themes.o thread.o timers.o tools.o transfer.o vdr.o videodir.o -ljpeg -lpthread -ldl -lcap -lrt -lfreetype -lfontconfig  ./libsi/libsi.a -o vdr
>> > > > >>
>> > > > >>       $ wdiff log.do_compile.*
>> > > > >>       arm-oe-linux-uclibceabi-g++ -march=armv7-a -mtune=cortex-a8 -mfpu=neon -mfloat-abi=softfp -mthumb-interwork -mno-thumb -isystem/oe/build-minimal-uclibc/minimal-uclibc-dev/sysroots/armv7a-oe-linux-uclibceabi/usr/include -fexpensive-optimizations -fomit-frame-pointer -frename-registers -Os [--pipe-] -fpermissive -fvisibility-inlines-hidden -rdynamic -Wl,-O1 -Wl,--hash-style=gnu audio.o channels.o ci.o config.o cutter.o device.o diseqc.o dvbdevice.o dvbci.o dvbplayer.o dvbspu.o dvbsubtitle.o eit.o eitscan.o epg.o filter.o font.o i18n.o interface.o keys.o lirc.o menu.o menuitems.o nit.o osdbase.o osd.o pat.o player.o plugin.o rcu.o receiver.o recorder.o recording.o remote.o remux.o ringbuffer.o sdt.o sections.o shutdown.o skinclassic.o skins.o skinsttng.o sourceparams.o sources.o spu.o status.o svdrp.o themes.o thread.o timers.o tools.o transfer.o vdr.o videodir.o -ljpeg -lpthread -ldl -lcap -lrt -lfreetype -lfontconfig {+-lintl+}  ./libsi/libsi.a -o vdr
>> > > > >>
>> > > > >> Now the question is why is the patch not applied [7] and why did it start breaking with this commit.
>> > > > >
>> > > > > Ok, I am sorry, my last report was messed up. I did not reset to
>> > > > > a88aca1d but 49891de0 [8], where 7190532c [9]
>> > > > >
>> > > > >        commit 7190532c5a810ef886e8607ce042a319020f06c6
>> > > > >        Author: Tom Rini <tom_rini at mentor.com>
>> > > > >        Date:   Tue Jan 18 17:58:02 2011 -0700
>> > > > >
>> > > > >            vdr: Switch to libc-uclibc
>> > > > >
>> > > > >            Signed-off-by: Tom Rini <tom_rini at mentor.com>
>> > > > >
>> > > > > is applied, which seems to be the reason the patch is not applied and
>> > > > > therefore `-lintl` not added.
>> > > >
>> > > > I have fixed a typo in it.
>> > >
>> > > Thank you for fixing this in cb23dffd [10].
>> > >
>> > > > Please retry latest master.
>> > >
>> > > Unfortunately the build still fails.
>> > >
>> > > I also tried to disable the features `largefile` and (second run
>> > > additionally) `ipv6` in `conf/distro/minimal-uclibc.conf` and run
>> > > `bitbake -k vdr` from scratch each time, but it failed too.
>> > >
>> > > Was that the right way to debug this? Do you have any other ideas?
>> >
>> > I encounter a strange thing from clean builds.
>> >
>> >         bitbake -k vdr # fails
>> >         bitbake -k console-image # works
>> >         bitbake -k x11-image # works
>> >         USE_NLS="yes" bitbake -k # fails
>> >
>> > I have no clue what could cause this. I guess that `console-image` or
>> > `x11-image` force some different options to the internationalization
>> > programs and that this got changed with the `autotools.bbclass` change.
>> >
>> > Does anyone have a hint?
>>
>> Just a breadcrumb please? ;-)
>
> Bernhard, have you had time to take a look?
>
>

vdr built fine on minimal-uclibc/qemuarm on latest oe/master unless
its reproducible what you are seeing
It will be hard to fix it.

>
> Thanks,
>
> Paul
>
>
>> > > [10] http://cgit.openembedded.org/cgit.cgi/openembedded/commit/?id=cb23dffdbe3c3a7432c2e2eb19742c254163c05a
>
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel at lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
>
>




More information about the Openembedded-devel mailing list