Skip to content

Strange build miss in tools-hyphenators-dir-include.am #70

@snomos

Description

@snomos

With the following configuration:

./configure --enable-fst-hyphenator --enable-pattern-hyphenators

make does not build the final FST hyphenator target:

GT_HYPHENATOR=hyphenator-gt-desc.hfstol

as showed by the following listing (notice the timestamps):

ls -l tools/hyphenators/
total 180448
-rw-r--r--   1 smo036  staff     47840 Jan 16 16:13 Makefile
-rw-r--r--   1 smo036  staff       824 Jan  7 09:07 all_tags.txt
-rw-r--r--   1 smo036  staff    153292 Jan 16 15:03 cleaned-hyphenated-fst-wordlist.txt
-rw-r--r--   1 smo036  staff     10581 Jan  7 09:07 downcase-derived_proper-strings.compose.hfst
drwxr-xr-x  12 smo036  staff       384 Jan  7 09:25 filters
-rw-r--r--   1 smo036  staff    188701 Jan 16 15:03 hyphenated-fst-wordlist.txt
-rw-r--r--   1 smo036  staff   7021024 Jan 16 15:03 hyphenator-gt-desc-input.hfst
-rw-r--r--   1 smo036  staff   9452766 Jan 16 15:03 hyphenator-gt-desc-no_fallback.hfst
-rw-r--r--   1 smo036  staff   8400132 Jan 16 15:03 hyphenator-gt-desc-output.hfst
-rw-r--r--   1 smo036  staff  10285586 Jan  7 09:08 hyphenator-gt-desc.hfst
-rw-r--r--   1 smo036  staff  10635153 Jan  7 09:08 hyphenator-gt-desc.hfstol
-rw-r--r--   1 smo036  staff   7016610 Jan 16 15:02 hyphenator-raw-gt-desc.hfst
-rw-r--r--   1 smo036  staff   7016758 Jan 16 15:02 hyphenator-raw-gt-desc.tmp.hfst
-rw-r--r--   1 smo036  staff    103333 Jan  7 09:07 hyphenator-rules-desc-weighted.hfst
-rw-r--r--   1 smo036  staff   7287711 Jan 16 15:02 lexicon-gt-desc-clean.hfst
-rw-r--r--   1 smo036  staff   7286118 Jan 16 15:02 lexicon-gt-desc-tag_weighted.hfst
-rw-r--r--   1 smo036  staff   7286134 Jan 16 15:02 lexicon-gt-desc-tag_weighted_no_analysis.hfst
-rw-r--r--   1 smo036  staff   7424786 Jan 16 15:02 lexicon-gt-desc.hfst
-rw-r--r--   1 smo036  staff    151246 Jan 16 16:13 pattmp.2
-rw-r--r--   1 smo036  staff     31273 Jan 16 16:13 sma.pat
drwxr-xr-x   5 smo036  staff       160 Jan  7 09:25 test

If I change the configuration to this (ie removing the pattern hyphenator:

./configure --enable-fst-hyphenator

then the final target suddenly builds:

Making all in hyphenators
Making all in filters
make[3]: Nothing to be done for `all'.
Making all in .
  GEN      hyphenator-gt-desc.hfst
  HFST2FST hyphenator-gt-desc.hfstol

The timestamps are updated:

ll tools/hyphenators/                  
total 174664
-rw-r--r--   1 smo036  staff     47842 Jan 17 13:59 Makefile
-rw-r--r--   1 smo036  staff       824 Jan  7 09:07 all_tags.txt
-rw-r--r--   1 smo036  staff    153292 Jan 16 15:03 cleaned-hyphenated-fst-wordlist.txt
-rw-r--r--   1 smo036  staff     10581 Jan  7 09:07 downcase-derived_proper-strings.compose.hfst
drwxr-xr-x  12 smo036  staff       384 Jan 17 13:59 filters
-rw-r--r--   1 smo036  staff    188701 Jan 16 15:03 hyphenated-fst-wordlist.txt
-rw-r--r--   1 smo036  staff   7021024 Jan 16 15:03 hyphenator-gt-desc-input.hfst
-rw-r--r--   1 smo036  staff   9452766 Jan 16 15:03 hyphenator-gt-desc-no_fallback.hfst
-rw-r--r--   1 smo036  staff   8400132 Jan 16 15:03 hyphenator-gt-desc-output.hfst
-rw-r--r--   1 smo036  staff   9556099 Jan 17 13:59 hyphenator-gt-desc.hfst
-rw-r--r--   1 smo036  staff  10362498 Jan 17 13:59 hyphenator-gt-desc.hfstol
-rw-r--r--   1 smo036  staff   7016610 Jan 16 15:02 hyphenator-raw-gt-desc.hfst
-rw-r--r--   1 smo036  staff   7016758 Jan 16 15:02 hyphenator-raw-gt-desc.tmp.hfst
-rw-r--r--   1 smo036  staff    103333 Jan  7 09:07 hyphenator-rules-desc-weighted.hfst
-rw-r--r--   1 smo036  staff   7287711 Jan 16 15:02 lexicon-gt-desc-clean.hfst
-rw-r--r--   1 smo036  staff   7286118 Jan 16 15:02 lexicon-gt-desc-tag_weighted.hfst
-rw-r--r--   1 smo036  staff   7286134 Jan 16 15:02 lexicon-gt-desc-tag_weighted_no_analysis.hfst
-rw-r--r--   1 smo036  staff   7424786 Jan 16 15:02 lexicon-gt-desc.hfst
-rw-r--r--   1 smo036  staff    151246 Jan 16 16:13 pattmp.2
-rw-r--r--   1 smo036  staff     31273 Jan 16 16:13 sma.pat
drwxr-xr-x   5 smo036  staff       160 Jan 17 13:59 test

There are no errors, or no indication AFAICS that there are problems - it just doesn't do it.

@flammie any suggestions?

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions