Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
snomos opened this issue Jan 17, 2025 · 1 comment
Open

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

snomos opened this issue Jan 17, 2025 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@snomos
Copy link
Member

snomos commented Jan 17, 2025

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?

@snomos snomos added the bug Something isn't working label Jan 17, 2025
@snomos
Copy link
Member Author

snomos commented Jan 17, 2025

This is no major issue, just strange and inconsistent — and irritating 😆

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants