Hi Osamu, On Mon, Jul 09, 2012 at 09:21:47PM +0900, Osamu Aoki wrote:
> On Mon, Jul 09, 2012 at 01:18:01PM +0200, Evgeni Golov wrote: > > this is due to multiarch'ed chasen (since 2.4.5-1) and thus makemat > > being in /usr/lib/<triplet>/chasen/ and not /usr/lib/chasen where the > > script expects it to be. > > Thanks for the analisys. This is certainly a big problem needed to be > fixed. Attached is a patch that fixes the issue for me. What I wonder is why the files are in /usr/lib in the first place and not in /usr/bin, but that's probably to be asked from the chasen ppl. > As I understand, many binary dictionary files are in /usr which may be > another problem since they may hit endian problem. Possible, I have no idea, just found the bug on RC-bug-killing-spree :) Greets Evgeni -- Bruce Schneier can read and understand Perl programs.
diff -Nru ipadic-2.7.0+main/debian/changelog ipadic-2.7.0+main/debian/changelog --- ipadic-2.7.0+main/debian/changelog 2011-11-19 05:33:42.000000000 +0100 +++ ipadic-2.7.0+main/debian/changelog 2012-07-09 14:01:27.000000000 +0200 @@ -1,3 +1,11 @@ +ipadic (2.7.0+main-1.1) UNRELEASED; urgency=low + + * Non-maintainer upload. + * Get path to makemat and makeda via chasen-config --mkchadic + Closes: #680834 + + -- Evgeni Golov <evg...@debian.org> Mon, 09 Jul 2012 14:00:32 +0200 + ipadic (2.7.0+main-1) unstable; urgency=low * Bump source version and re-upload after orig.tar.gz removal diff -Nru ipadic-2.7.0+main/debian/utf8dict ipadic-2.7.0+main/debian/utf8dict --- ipadic-2.7.0+main/debian/utf8dict 2011-11-19 05:33:42.000000000 +0100 +++ ipadic-2.7.0+main/debian/utf8dict 2012-07-09 14:00:30.000000000 +0200 @@ -6,6 +6,7 @@ utf8="utf8" VERSION=$( dpkg-parsechangelog | awk '/^Version: /{print $2}' | cut -d':' -f2 | cut -d'-' -f1 | sed 's/\+\|\~/-/') +CHASEN_MKCHADIC_DIR=`chasen-config --mkchadic` # Create UTF-8 dictionary data in ${utf8} rm -rf ${utf8} @@ -34,6 +35,6 @@ fi # for matrix.cha table.cha -(cd ${utf8} && /usr/lib/chasen/makemat -i w) +(cd ${utf8} && $CHASEN_MKCHADIC_DIR/makemat -i w) # for chadic.da chadic.lex chadic.dat -(cd ${utf8} && /usr/lib/chasen/makeda -i w chadic *.dic) +(cd ${utf8} && $CHASEN_MKCHADIC_DIR/makeda -i w chadic *.dic)