On Sat, Feb 05, 2011 at 09:35:44AM -0500, Brian Nelson wrote: > Sven Joachim <svenj...@gmx.de> writes: > > | signal(error ("Fehler: The filter \"nroff\" does not exist.")) > > | error("%s" "Fehler: The filter \"nroff\" does not exist.") > > It's probably caused by this change: > > * debian/rules: changed pkgdatadir to /usr/share/aspell which is a more > appropriate location for that data than /usr/lib/aspell, and leave the > spell and ispell scripts there so that run-with-aspell works > > since that changed the location of the nroff filter (among other > things), but I'm not sure why that change would make aspell fail to find > the filters.
Hi, Brian. I have unarchived this bug report because I think I know what happened and how to work around the problem. I have straced the failing aspell call and I get, when checking a tex file, ... open("/usr/lib/aspell/tex.amf", O_RDONLY) = 5 ... access("/usr/lib/aspell/tex-filter.info", F_OK) = -1 ENOENT (No such file or directory) write(2, "Error: The filter \"tex\" does not"..., 40Error: The filter "tex" does not exist. with 'lib-dir=/usr/lib/aspell' and 'data-dir=/usr/share/aspell'. Looking at the package, with that selections aspell installs ".amf" files under "/usr/lib/aspell" (pkglibdir), but installs "*-filter.info" under "/usr/share/aspell" (pkgdatadir), making aspell fail when looks for "tex-filter.info" under "/usr/lib/aspell". Attached patch seems to do the work, and I will include it once I finish the multiarch stuff. It tries to make sure that all filter related stuff is installed together. Regards, PS: I have updated the git repo with last NMU and enabled mail submissions to interested people. -- Agustin
Index: aspell/Makefile.am =================================================================== --- aspell.orig/Makefile.am 2014-09-09 15:04:40.659234249 +0200 +++ aspell/Makefile.am 2014-09-09 15:04:40.655234208 +0200 @@ -258,8 +258,8 @@ endif # COMPILE_IN_FILTERS noinst_DATA += $(static_optfiles) gen/filter.pot -opt_DATA = $(dynamic_optfiles) -filter_DATA = $(fltfiles) +# opt_DATA = $(dynamic_optfiles) +filter_DATA = $(fltfiles) $(dynamic_optfiles) # settings.h added as a dependency so it will get recreated if # the COMPILE_IN_FILTERS option changes