Bug 141756

Summary: ddskk hangs forever with EUC_JP locale
Product: [openSUSE] SUSE Linux 10.1 Reporter: Olaf Hering <ohering>
Component: OtherAssignee: Andreas Schwab <schwab>
Status: RESOLVED FIXED QA Contact: E-mail List <qa-bugs>
Severity: Normal    
Priority: P5 - None CC: ro
Version: Alpha 4   
Target Milestone: Beta 1   
Hardware: All   
OS: Linux   
Whiteboard:
Found By: Development Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---
Attachments: ttt2

Description Olaf Hering 2006-01-06 13:22:14 UTC
ddskk hangs forever during build, at least on ppc, ppc64 and beta-ppc.

13958 tty13    SN+    0:00                      \_ make PREFIX=/var/tmp/ddskk-20050123-build/usr SKK_DATADIR=/var/tmp/ddskk-20050123-build/usr/share/skk SKK_INFODIR=
13959 tty13    SN+    0:04                          \_ xemacs -batch -q -no-site-file -l SKK-MK -f SKK-MK-install-package
14581 ?        RNs   85:34                              \_ sort -fd

Logfile.ddskk.spec
Formatting: Q.4-4 SKK ����α��¼�������ʹ�����ΤǤ����� ... 
Formatting: SKK �γ���ˡ����¾ ... 
Formatting: Q.5-1 abbrev �⡼�ɤäƲ��Ǥ���? ... 
Formatting: Q.5-2 abbrev �⡼�ɤǤ�äȱ�ñ������Ѥ����Ѵ����Ǥ��ޤ���? ... 
Formatting: Q.5-3 SKK �θ���ǡ����Τ� CD-ROM �����ͥåȥ���μ�����Ф����ѤǤ��ޤ���? ... 
Formatting: Q.5-4 SKK ��Ȥ��Ϥ�Ƥ��顢¾�� FEP �������ˤ� @key{SHIFT} ����Ƥ��ޤ��ޤ���(T_T) ... 
Formatting: ����Ū���佸 ... 
Formatting: Q.6-1 SKK �� Nemacs �ǻȤ��ޤ���? ... 
Formatting: Q.6-2 SKK �� Demacs �ǻȤ��ޤ���? ... 
Formatting: ����� ...
Comment 1 Mike Fabian 2006-01-10 15:36:57 UTC
it's a bug in sort.

Comment 2 Mike Fabian 2006-01-10 15:37:50 UTC
Created attachment 62679 [details]
ttt2

UTF-8 encoded test file.
Comment 3 Mike Fabian 2006-01-10 15:39:31 UTC
Trying to sort this file (using option -d is important!) in ja_JP.eucJP locale
hangs:

mfabian@magellan:~$ cat /tmp/ttt2 
あ
い
mfabian@magellan:~$ cat /tmp/ttt2 | LANG=ja_JP.eucJP sort -d 

Comment 4 Mike Fabian 2006-01-10 16:43:06 UTC
ddskk package with workaround to make it build submitted to STABLE.

Comment 5 Mike Fabian 2006-01-10 16:45:02 UTC
Reassigning to Andreas Schwab <schwab@suse.de> because of the
remaining problem with the endless loop in sort.

Comment 6 Andreas Schwab 2006-01-11 14:40:41 UTC
Fixed.
Comment 7 Andreas Schwab 2006-01-16 12:59:19 UTC
.