Closed TinoDidriksen closed 4 years ago
@Trondtr or @leneantonsen could you have a look? This bug is blocking nightly builds. Cf https://apertium.projectjj.com/apt/logs/giella-sme/sid-amd64.log
I need some more context here. The semset.cg3 file seems ok, wrt. syntax. The error message in the quoted logfile is:
disambiguator-mt-gt.cg3: Error: Cannot stat semsets.cg3 due to error -1 - bailing out! make[5]: *** [Makefile:1436: disambiguator-mt-gt.bin] Error 1
... and it is not enough informative for me to be able to reproduce.
When I try to compile I get a totally different error: 98548 Abort trap: 6 | /usr/local/bin/hfst-xfst -p -v --format=foma make[2]: [analyser-gt-norm.tmp.hfst] Error 134 make[1]: [all-recursive] Error 1
libc++abi.dylib: terminating with uncaught exception of type TransducerTypeMismatchException
aha, I remember this one from Sjur: make clean && make. This will take some time.
The build uses configure flags --without-forrest --with-hfst --enable-tokenisers --without-xfst --enable-reversed-intersect --enable-spellers --enable-hfst-mobile-speller --enable-alignment --disable-minimised-spellers --enable-syntax --enable-analysers --enable-generators --enable-apertium --enable-grammarchecker --with-backend-format=foma --enable-dicts --enable-oahpa --enable-morpher --disable-hfst-desktop-spellers
where I think the important one for this error is --enable-apertium
@Trondtr - @unhammer arbeider med saka. Jf diskusjonen her: https://giella.zulipchat.com/#narrow/stream/124552-sme/topic/cg3-stat-feil
Needs to copy in
semsets.cg3
, or adjust the include directive, or do the work in the src/cg3 folder.