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

Bug#219765: Languagechooser 1.03 dies on mipsel



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

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: