[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Bug#644725: aspell: Failing to autorehash language sets



reassign 644725 dictionaries-common
version  644725 1.12.4
thanks

On Mon, Mar 05, 2012 at 09:28:14PM +0100, Christoph Egger wrote:
> Agustin Martin <agmartin@debian.org> writes:
> > Another thing that may be interesting to discard possibilities is to run
> > explicitly the above command,
> >
> > $ zcat /usr/share/aspell/de-common.cwl.gz | precat | aspell  --per-conf= --local-data-dir=/usr/lib/aspell --lang=de create master ./test-aspell-hash.rws
> 
> root@mitoraj:~# zcat /usr/share/aspell/de-common.cwl.gz | precat | aspell  --per-conf= --local-data-dir=/usr/lib/aspell --lang=de create master ./test-aspell-hash.rws
> Error: /root/:1: The key "" is unknown.
> 
> > and a variant with --per-conf=/dev/null (I left it empty because makes
> > easier to use a chroot to check builds)
> >
> > $ zcat /usr/share/aspell/de-common.cwl.gz | precat | aspell
> > --per-conf=/dev/null --local-data-dir=/usr/lib/aspell --lang=de create
> > master ./test-aspell-hash.rws
> 
> root@mitoraj:~# zcat /usr/share/aspell/de-common.cwl.gz | precat | aspell --per-conf=/dev/null --local-data-dir=/usr/lib/aspell --lang=de create master ./test-aspell-hash.rws
> Warning: Removing invalid affix 'n' from word Ausdrucke.
> Warning: Removing invalid affix 'n' from word Bausch.
...

Thanks for the very interesting info, this last call seems to work well
(noise will not appear unless you use the --debug option). The underlying
problem seems to be that for whatever reason aspell currently does not
accept an empty value for --per-conf in bsd* while it is accepted for
other arches (at least for i386). I guess it was accepted previously, not
sure if the difference comes from aspell or from somewhere else (e.g. libs).

--per-conf=/dev/null was the initial setting for aspell-autobuildhash, but
it caused some noise under some chroots, so I changed it to an empty string
which seemed to work similarly but without noise. I do not remember the
details, but looking at the commit dates for

http://anonscm.debian.org/gitweb/?p=dict-common/dictionaries-common.git;a=commit;h=80223aded528bf5d7a81ecf593e43d7a7ff09cbc

I guess it was in lenny chroots where this happened. I have tested using
/dev/null both in sid and squeeze i386 chroots and seems to work
seamlessly, so I think the best choice to work around this difference in
aspell behavior is to use again --per-conf=/dev/null at
dictionaries-common aspell-autobuildhash.

For that reason I am reassigning this bug report to dictionaries-common and
will try to fix it that way. If that is not enough I will reassign this bug
report back to aspell.

Thanks for your feedback,

Regards,

-- 
Agustin


Reply to: