Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 142818 - app-i18n/canna-3.7_p2 uses outdated invalid sort syntax
Summary: app-i18n/canna-3.7_p2 uses outdated invalid sort syntax
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: CJK Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-08-04 10:38 UTC by Wulf Krueger (RETIRED)
Modified: 2006-08-20 07:14 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 Wulf Krueger (RETIRED) gentoo-dev 2006-08-04 10:38:05 UTC
app-dicts/canna-shion-20010916 fails to install properly because app-i18n/canna-3.7_p2's mkbindic uses the old "+ -" syntax for "sort" to specify the sort key.

A small change to mkbindic corrects the problem:

--- /usr/bin/mkbindic~  2006-08-04 19:29:42.000000000 +0200
+++ /usr/bin/mkbindic   2006-08-04 19:30:35.000000000 +0200
@@ -326,7 +326,7 @@
 bck_text=;
 flag=;
 compat_flag=;
-sortcmd="sort -d -s +0 -1"
+sortcmd="sort -d -s -k 1,1"
 usage="usage: mkbindic [-m|-s] [-name dicname] [-c version] textfile [cpp-args ...]";
 : ${TMPDIR:=/tmp}

With this applied, canna-shion installs.
Comment 1 Alastair Tse (RETIRED) gentoo-dev 2006-08-20 07:14:28 UTC
Added canna-3.7_p3 to portage with the sort syntax fixed. Thanks for your
report.