Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 194685 - sys-apps/coreutils-6.9-r1 - sort hangs in UTF8 locale
Summary: sys-apps/coreutils-6.9-r1 - sort hangs in UTF8 locale
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: High major (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-10-04 09:53 UTC by Mike Baikov
Modified: 2008-04-12 19:21 UTC (History)
1 user (show)

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


Attachments
source.txt (source.txt,183 bytes, text/plain)
2007-10-04 09:54 UTC, Mike Baikov
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Mike Baikov 2007-10-04 09:53:22 UTC
Sort hangs on a following command:

/usr/bin/sort -k 3,3d -k 2,2n -o ./dest.txt ./source.txt
Comment 1 Mike Baikov 2007-10-04 09:54:02 UTC
Created attachment 132531 [details]
source.txt
Comment 2 Mike Baikov 2007-10-04 09:54:38 UTC
roxy ~ # emerge info
*** Deprecated use of action 'info', use '--info' instead
Portage 2.1.3.9 (selinux/2007.0/x86, gcc-4.1.2, glibc-2.5-r4, 2.6.22-gentoo-r8 i686)
=================================================================
System uname: 2.6.22-gentoo-r8 i686 Intel(R) Xeon(TM) CPU 2.80GHz
Timestamp of tree: Tue, 02 Oct 2007 07:20:01 +0000
ccache version 2.4 [enabled]
app-shells/bash:     3.2_p17
dev-java/java-config: 1.3.7, 2.0.33-r1
dev-lang/python:     2.4.4-r5
dev-python/pycrypto: 2.0.1-r6
dev-util/ccache:     2.4-r7
sys-apps/baselayout: 1.12.9-r2
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.61-r1
sys-devel/automake:  1.9.6-r2, 1.10
sys-devel/binutils:  2.17-r1
sys-devel/gcc-config: 1.3.16
sys-devel/libtool:   1.5.24
virtual/os-headers:  2.6.21
ACCEPT_KEYWORDS="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=pentium4 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-O2 -march=pentium4 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache distlocks loadpolicy metadata-transfer parallel-fetch sandbox selinux sesandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://gentoo.osuosl.org/ http://distro.ibiblio.org/pub/linux/distributions/gentoo/ "
LANG="en_US.UTF-8"
LC_ALL=""
MAKEOPTS="-j3"
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 --filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="bcmath bitmap-fonts bzlib cli cnamefix cracklib crypt cups dri fortran gd iconv innodb isdnlog jce jpeg memlimit mhash midi mudflap mysql ncurses nls nptl nptlonly openmp pam pcre perl png pppd python qmail readline reflection roundrobin selinux semanticfix session sockets spamassassin spl ssl symlink tcpd tiff truetype truetype-fonts type1-fonts ucs2 unicode userlocales utf8 x86 xorg zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="apm ark chips cirrus cyrix dummy fbdev glint i128 i740 i810 imstt mach64 mga neomagic nsc nv r128 radeon rendition s3 s3virge savage siliconmotion sis sisusb tdfx tga trident tseng v4l vesa vga via vmware voodoo"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

proxy ~ # emerge -pv coreutils

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild   R   ] sys-apps/coreutils-6.9-r1  USE="nls (selinux) (-acl) -static -xattr" 0 kB

Total: 1 package (1 reinstall), Size of downloads: 0 kB
proxy ~ #   
Comment 3 Mike Baikov 2007-10-04 10:33:59 UTC
Bug should be in coreutils-i18n.patch.
Comment 4 Mike Baikov 2007-10-04 11:03:25 UTC
workaround:

LANG=en_US.ISO8859-1 && free-sa
Comment 5 Mike Baikov 2007-10-04 11:04:16 UTC
i.e. not free-sa, "sort" :-)
Comment 6 SpanKY gentoo-dev 2008-04-12 19:21:01 UTC
coreutils-6.10-r2 in the tree with updated i18n patch.  please re-open if this doesnt address your issue.