[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#219765: Languagechooser 1.03 dies on mipsel



On Sat, 2003-11-08 at 20:48, Karsten Merker wrote:
> Package: languagechooser
> Version: 1.03 and 1.04-cvs
> 
> On mipsel, languagechooser dies with a return-code of 1 when called
> from main-menu (probably it segfaults). When called in a shell
> via "udpkg --configure language-chooser" it just hangs. Further tests
> have narrowed down the problem to the following code segment:
> 
> # Only display the translated texts (ie the English "translation")
> # when in UTF-8 mode.
> if echo $LANG $LC_CTYPE | grep -q UTF-8 ; then
>   db_set debconf/language en
> else
>   db_set debconf/language C
> fi

Hi,

The code actually goes:
echo $LANG $LC_CTYPE | grep -q UTF-8
if [ $? ] ; then
...

Could you please test this on mipsel? I can't log into a mipsel box at
the moment.

if this fails, try the variant
if `echo $LANG $LC_CTYPE | grep -q UTF-8 ` ; then
...

Regards,
Alastair McKinstry

> The echo and grep processes are started, but the db_set is not called.
> When the same sequence is run manually in a shell, it works as expected.
> Exchanging the busybox-ash by a dash as /bin/sh does not change the 
> behaviour.
> 
> If the sequence above is removed and replaced by a single
> 
> db_set debconf/language C
> 
> as a temporary workaround, language-chooser works on mipsel.
> 
> Regards,
> Karsten
> -- 
> #include <standard_disclaimer>
> Nach Paragraph 28 Abs. 3 Bundesdatenschutzgesetz widerspreche ich der Nutzung
> oder Uebermittlung meiner Daten fuer Werbezwecke oder fuer die Markt- oder
> Meinungsforschung.
> 



Reply to: