Source: opengrm-ngram
Version: 1.3.2-3
Severity: serious
User: ubuntu-de...@lists.ubuntu.com
Usertags: origin-ubuntu kinetic

Hi Giulio,

opengrm-ngram fails to build from source in Debian unstable:

[...]
In file included from ./../include/ngram/hist-mapper.h:22,
                 from ngram-count.cc:17:
./../include/ngram/hist-arc.h:47:16: error: ‘string’ does not name a type; did 
you mean ‘stdin’?
   47 |   static const string &Type() {  // Arc type name
      |                ^~~~~~
      |                stdin
[...]

A build log showing this failure in Ubuntu is available at:
https://launchpad.net/ubuntu/+source/opengrm-ngram/1.3.2-3build2/+build/24299140

I attempted to patch the package to make it buildable, but in addition to
the obvious C++ standard fixes, there appear to also be api
incompatibilities with the new libfst which were not straightforwardly
fixable.

[...]
ngram-context.cc:78:8: error: ‘SplitToVector’ is not a member of ‘fst’
   78 |   fst::SplitToVector(contexts[0], " ", &labels1, true);
      |        ^~~~~~~~~~~~~
[...]

-- 
Steve Langasek                   Give me a lever long enough and a Free OS
Debian Developer                   to set it on, and I can move the world.
Ubuntu Developer                                   https://www.debian.org/
slanga...@ubuntu.com                                     vor...@debian.org

Attachment: signature.asc
Description: PGP signature

Reply via email to