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

intrigeri at boum.org intrigeri at boum.org
Sun Jun 6 09:52:33 UTC 2010


Package: gnome-icon-theme
Version: 2.30.3-1
Severity: important
Tags: patch

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.

-- System Information:
Debian Release: squeeze/sid
  APT prefers testing
  APT policy: (900, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.32-3-amd64 (SMP w/2 CPU cores)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages gnome-icon-theme depends on:
ii  hicolor-icon-theme            0.11-1     default fallback theme for FreeDes
ii  libgtk2.0-bin                 2.20.1-1   The programs for the GTK+ graphica
ii  librsvg2-common               2.26.3-1   SAX-based renderer library for SVG

gnome-icon-theme recommends no packages.

gnome-icon-theme suggests no packages.

-- no debconf information

--
  intrigeri <intrigeri at boum.org>
  | GnuPG key @ https://gaffer.ptitcanardnoir.org/intrigeri/intrigeri.asc
  | OTR fingerprint @ https://gaffer.ptitcanardnoir.org/intrigeri/otr-fingerprint.asc
  | The impossible just takes a bit longer.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: fix-sed-in-postinst.diff
Type: text/x-diff
Size: 1229 bytes
Desc: bugfix
URL: <http://lists.alioth.debian.org/pipermail/pkg-gnome-maintainers/attachments/20100606/e9e0fd51/attachment.diff>


More information about the pkg-gnome-maintainers mailing list