Menu

#214 hfst-ospell stops in limbo with minimal libarchive

future
open
nobody
None
1
2013-12-13
2013-12-02
Anonymous
No

To reduce the list of dependencies (and thus the complexity of building libvoikko with hfst support for Windows), Harri Pitkänen suggested to build libarchive with all optional libraries turned off. After doing this, installing it, and then rebuilding hfst-ospell linked to this minimal libarchive, nothing happens when running hfst-ospell with a zhfst file.

Here is what I did:

  1. Downloaded the 3.1.2 release of libarchive
  2. build/autogen.sh
  3. ./configure --without-xml2 --without-nettle --without-bz2lib --without-lzo2 --without-lzma --without-iconv --without-zlib
  4. make
  5. sudo make install
  6. cd hfst-ospell
  7. make clean
  8. make
  9. sudo make install
  10. hfst-ospell sma.zhfst

Result: nothing happens, input is accepted.

Expected: input to be proofread, possibly with suggestions.

I then ran hfst-ospell with GDB, the output can be found here.

hfst-ospell version: svn r3635

hfst-ospell -V

hfstospell 0.2.5
Dec  2 2013 17:38:41
copyright (C) 2009 - 2011 University of Helsinki

OS version:

uname -a
Darwin xxx.yyy.fi 13.0.0 Darwin Kernel Version 13.0.0: Thu Sep 19 22:22:27 PDT 2013;
root:xnu-2422.1.72~6/RELEASE_X86_64 x86_64

Discussion

  • sjurum

    sjurum - 2013-12-02

    Reported by me.

     
  • sjurum

    sjurum - 2013-12-11

    This bug can be closed, it isn't a real bug. The limbo state disappeared - and hfst-ospell returned to normal operation - as soon as I added the library required for reading zhfst files (zlib).

     
  • Flammie Pirinen

    Flammie Pirinen - 2013-12-13

    it can be kept open until someone writes libarchive tests for zip support in configure.ac

     
MongoDB Logo MongoDB