Bug#584749: gnome-icon-theme: postinst configure fails with non-C locale

Josselin Mouette joss at debian.org
Sun Jun 6 10:08:59 UTC 2010


tag 584749 - patch
reassign 584749 sed
thanks

Le dimanche 06 juin 2010 à 11:52 +0200, intrigeri at boum.org a écrit :
> When upgrading from 2.30.2.1-1 to 2.30.3-1, the postinst configure
> step fails when using fr_FR.UTF-8 locale.
> 
> Running it by hand:
> 
> # /var/lib/dpkg/info/gnome-icon-theme.postinst configure
> Segmentation fault
> ls: erreur d'écriture: Relais brisé (pipe)
> 
> (= "ls: write error: broken pipe")
> 
> OTOH, the very same command works fine with C locale:
> 
> # LC_ALL=C /var/lib/dpkg/info/gnome-icon-theme.postinst configure
> 
> The "sed" command (line 18) seems to assume C locale is being used.
> The attached patch fixes this bug.

No, it hides it under the carpet.

If sed crashes, it’s a bug in sed, not in gnome-icon-theme.

Since it doesn’t seem to be trivially reproducible, I’d appreciate if
you could obtain a backtrace of the crashing sed process. See
http://wiki.debian.org/HowToGetABacktrace

Cheers,
-- 
 .''`.      Josselin Mouette
: :' :
`. `'  “If you behave this way because you are blackmailed by someone,
  `-    […] I will see what I can do for you.”  -- Jörg Schilling
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 190 bytes
Desc: This is a digitally signed message part
URL: <http://lists.alioth.debian.org/pipermail/pkg-gnome-maintainers/attachments/20100606/44983982/attachment.pgp>


More information about the pkg-gnome-maintainers mailing list