gconv-modules.cache invalid for 32bit apps on multilib

Bug #336742 reported by Elan Ruusamäe
2
Affects Status Importance Assigned to Milestone
PLD Linux
Fix Released
Low
Elan Ruusamäe

Bug Description

launching skype gives out errors:

  QIconvCodec::convertFromUnicode: using ASCII for conversion, iconv_open failed
  QIconvCodec::convertToUnicode: using ASCII for conversion, iconv_open failed

even having 32bit iconv package installed [1].
the problem seems to came from packaged gconv-modules.cache file [2], as the strace -ff -eopen shows:

open("/tmp/B.bb679c/glibc-2.9-root-builder/usr/lib/gconv/UTF-16.so", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/tmp/B.bb679c/glibc-2.9-root-builder/usr/lib/gconv/UTF-16.so", O_RDONLY) = -1 ENOENT (No such file or directory)

however, previosly the cache was built by invoking iconvconfig, but that won't update 32bit iconv modules path as the packaged one is for 64bit arch, which defaults to writing /usr/lib64/gconv:

# rm -f /usr/lib/gconv/gconv-modules.cache
# iconvconfig
# ls -ld /usr/lib/gconv/gconv-modules.cache
ls: cannot access /usr/lib/gconv/gconv-modules.cache: No such file or directory

[1] http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/skype.spec.diff?r1=1.64;r2=1.65
[2] http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/glibc.spec.diff?r1=1.800;r2=1.801

Revision history for this message
Elan Ruusamäe (glen666) wrote :

fix commited:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/glibc.spec.diff?r1=1.805;r2=1.806

however running iconvconfig in %post of 32bit library is void, as it updates 64bit modules path.
is there point at all running it in %post?

Revision history for this message
Elan Ruusamäe (glen666) wrote :
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.