Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 144133 - Iconv of glibc-2.4-r3 bails when from and to codesets are same.
Summary: Iconv of glibc-2.4-r3 bails when from and to codesets are same.
Status: VERIFIED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Toolchain Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 126945
  Show dependency tree
 
Reported: 2006-08-16 10:33 UTC by Sami Näätänen
Modified: 2007-03-25 14:26 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 Sami Näätänen 2006-08-16 10:33:15 UTC
Iconv of glibc-2.4-r3 fails to convert text using certain codesets to the same codeset. This is the reason for bug 126945 concerning fluxbox's nls support.

for example following conversion fails

iconv -f ISO-8859-15 -t ISO-8859-15 file

but next one works ok

iconv -f ISO-8859-1 -t ISO-8859-1 file

as file one can use
--file--
This is a test.
--end-of-file--

So either iconv should give a meaningfull and correct error in such situations or just make the copy "conversion" like some codesets do.


emerge --info::
Portage 2.1.1_pre5-r1 (default-linux/x86/2006.0, gcc-3.4.6/vanilla, glibc-2.4-r3, 2.6.17.6 i686)
=================================================================
System uname: 2.6.17.6 i686 Intel(R) Pentium(R) 4 CPU 2.53GHz
Gentoo Base System version 1.12.4
Last Sync: Tue, 15 Aug 2006 12:50:01 +0000
app-admin/eselect-compiler: 2.0.0_rc2-r1
dev-lang/python:     2.3.5, 2.4.3-r1
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     [Not Present]
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.18.1
sys-devel/autoconf:  2.13, 2.60
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils:  2.17
sys-devel/gcc-config: 1.3.13-r3
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.17
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=pentium4 -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/lib/mozilla/defaults/pref /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/eselect/compiler /etc/gconf /etc/init.d /etc/java-config/vms/ /etc/terminfo /etc/texmf/web2c"
CXXFLAGS="-O2 -march=pentium4 -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="ftp://trumpetti.atm.tut.fi/gentoo/ "
LANG="en_GB.utf8"
LINGUAS="en_GB fi"
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/.portagelocal"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="x86 X a52 aac acpi alsa apache2 avi bash-completion berkdb bitmap-fonts bzip2 cdparanoia cdr cgi cli crypt css ctype cups curl curlwrappers dedicated directfb disableslit dlloader doc dri dts dv dvb dvd dvdr dvdread edl eds elibc_glibc encode examples exif ffmpeg fftw flac foomaticdb ftp gcj gdbm gif gimp gimpprint gphoto2 gpm gstreamer gtk gtk2 icq imagemagick imap imlib input_devices_keyboard input_devices_mouse ipv6 isdnlog jack jack-tmpfs java javascript jce joystick jpeg jpeg2k kde kernel_linux key-screen libg++ libwww linguas_en_GB linguas_fi live lm_sensors logitech-mouse mad maildir maya-shaderlibrary mikmod mime mmap mmx mmxext motif mouse mozdevelop mozsvg mp3 mpeg mpi mplayer msn multi-tty mysql mythtv ncurses nls nocd nptl nptlonly nsplugin nvidia ogg ogre opengl oss pam pcre pdflib perl physfs png posix postgres pppd python qt3 qt4 readline real reflection rtc sdl search-screen session sharedmem skey sockets spell spl sql sse sse2 ssl subtitles subversion sysfs tcpd tga theora threads tiff truetype truetype-fonts type1 type1-fonts udev unicode usb userland_GNU userlocales utf8 v4l v4l2 vcd vhosts video_cards_nvidia video_cards_v4l videos vorbis win32codecs xml xorg xpm xprint xv xvid xvmc zlib"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LDFLAGS, MAKEOPTS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 SpanKY gentoo-dev 2006-08-19 09:24:02 UTC
unable to reproduce over here, both iconv lines you posted worked fine for me
Comment 2 SpanKY gentoo-dev 2006-09-18 01:04:06 UTC
unable to reproduce
Comment 3 Sami Näätänen 2007-03-25 14:26:24 UTC
Well I would say that this one can be closed, because what ever the reason was for this bug, it went away when I updated the glibc.

PS. Sorry that it took so long, but I have been very busy in the past 6 months.