Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 161474 - sys-libs/glibc-2.4-r4 - iconv illegal input sequence
Summary: sys-libs/glibc-2.4-r4 - iconv illegal input sequence
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Toolchain Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-01-11 06:01 UTC by Ojec Borec
Modified: 2007-01-12 14:33 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ojec Borec 2007-01-11 06:01:38 UTC
$ echo abc | LC_ALL=en_US.utf8 iconv -f UTF-8 -t WINDOWS-1250
iconv: illegal input sequence at position 0

It works on a fresh Gentoo installation. But after emerge --sync and emerge -uD world it doesn't.

PS:
sys-devel/gcc-4.1.1-r1
sys-libs/glibc-2.4-r4

Linux ojo 2.6.18-gentoo-r6 #1 PREEMPT Mon Jan 8 19:42:09 CET 2007 i686 AMD Athlon(tm) XP 2500+ AuthenticAMD GNU/Linux

Reproducible: Always

Steps to Reproduce:
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2007-01-11 12:09:03 UTC
This has exactly zero in common w/ Gentoo Bugzilla product; read the descriptions.
Comment 2 Jakub Moc (RETIRED) gentoo-dev 2007-01-11 12:12:08 UTC
Works fine here w/ glibc-2.5...

# echo abc | LC_ALL=en_US.utf8 iconv -f UTF-8 -t WINDOWS-1250
abc
Comment 3 SpanKY gentoo-dev 2007-01-11 16:53:00 UTC
post `emerge --info` like the bugreport page told you to

also post `locale-gen -l`

you should also try upgrading to glibc-2.5 and see if that works
Comment 4 Ojec Borec 2007-01-11 17:35:18 UTC
Sorry for missing informations. Here they are.

# emerge --info
Portage 2.1.1-r2 (default-linux/x86/2006.1/desktop, gcc-4.1.1, glibc-2.4-r4, 2.6.18-gentoo-r6 i686)
=================================================================
System uname: 2.6.18-gentoo-r6 i686 AMD Athlon(tm) XP 2500+
Gentoo Base System version 1.12.6
Last Sync: Thu, 11 Jan 2007 05:29:01 +0000
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.4 [enabled]
app-admin/eselect-compiler: [Not Present]
dev-java/java-config: 1.3.7, 2.0.30
dev-lang/python:     2.3.5-r2, 2.4.3-r4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.4-r6
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.61
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.16.1-r3
sys-devel/gcc-config: 1.3.14
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.17-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O3 -march=athlon-xp -fomit-frame-pointer -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /home/mythtv/ /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/lib/fax /usr/share/X11/xkb /usr/share/config /var/spool/fax/etc"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-O3 -march=athlon-xp -fomit-frame-pointer -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache confcache distlocks metadata-transfer parallel-fetch sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LANG="sk_SK.UTF-8"
LC_ALL="sk_SK.UTF-8"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage /usr/portage/local/layman/portage-xgl /usr/portage/local/layman/xeffects /usr/portage/local/xgl-coffee /usr/portage/local/layman/xeffects/trunk"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 3dnow 3dnowext X aac acl aiglx alsa alsa_cards_bt87x alsa_cards_emu10k1 alsa_cards_via82xx alsa_pcm_plugins_adpcm alsa_pcm_plugins_alaw alsa_pcm_plugins_asym alsa_pcm_plugins_copy alsa_pcm_plugins_dmix alsa_pcm_plugins_dshare alsa_pcm_plugins_dsnoop alsa_pcm_plugins_empty alsa_pcm_plugins_extplug alsa_pcm_plugins_file alsa_pcm_plugins_hooks alsa_pcm_plugins_iec958 alsa_pcm_plugins_ioplug alsa_pcm_plugins_ladspa alsa_pcm_plugins_lfloat alsa_pcm_plugins_linear alsa_pcm_plugins_meter alsa_pcm_plugins_mulaw alsa_pcm_plugins_multi alsa_pcm_plugins_null alsa_pcm_plugins_plug alsa_pcm_plugins_rate alsa_pcm_plugins_route alsa_pcm_plugins_share alsa_pcm_plugins_shm alsa_pcm_plugins_softvol apache2 arts berkdb bitmap-fonts bluetooth bzip2 cairo cdr cli cracklib crypt cups dbus divx4linux dlloader dri dts dv dvb dvd dvdr elibc_glibc emboss encode fam ffmpeg firefox flac gdbm gif gimp gimpprint gphoto2 gpm gstreamer gtk hal iconv ieee1394 imagemagick innodb input_devices_keyboard input_devices_mouse irda irmc isdnlog java jpeg jpeg2k kde kdeenablefinal kdehiddenvisibility kdexdeltas kernel_linux lcms ldap libg++ lirc lirc_devices_sir logitech-mouse logrotate mad mikmod mmx mmxext mozsvg mp3 mpeg mysql mythtv ncurses nls nptl nptlonly nvidia ogg opengl pam pcre perl php pic png ppds pppd python qt qt3 qt4 quicktime readline real reflection rtc samba scanner sdl session spell spl sse ssl tcpd tiff truetype truetype-fonts type1-fonts udev unicode usb userland_GNU v4l v4l2 video_cards_fbdev video_cards_nvidia video_cards_vesa vorbis win32codecs xcomposite xine xinerama xml xorg xv xvid xvmc zlib"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, LINGUAS, PORTAGE_RSYNC_EXTRA_OPTS

# locale-gen -l
en_US.ISO-8859-1
en_US.UTF-8
sk_SK.ISO-8859-2
sk_SK.UTF-8

I'll also try to upgrade to glibc-2.5 and send a result.
Comment 5 Ojec Borec 2007-01-12 14:33:09 UTC
glibc-2.5 works fine.