Created attachment 847862 [details] build.log [...] test -f post-process/pp_lexer.c || /bin/sh /var/tmp/portage/dev-libs/link-grammar-5.11.0/work/link-grammar-5.11.0/ylwrap /var/tmp/portage/dev-libs/link-grammar-5.11.0/work/link-grammar-5.11.0/link-grammar/post-process/pp_lexer.l lex.yy.c post-process/pp_lexer.c -- reflex "/var/tmp/portage/dev-libs/link-grammar-5.11.0/work/link-grammar-5.11.0/link-grammar/post-process/pp_lexer.l", line 32: unrecognized %option: reentrant make[2]: *** [Makefile:1125: post-process/pp_lexer.c] Error 1 make[2]: Leaving directory '/var/tmp/portage/dev-libs/link-grammar-5.11.0/work/link-grammar-5.11.0_build/link-grammar' make[1]: *** [Makefile:1172: all-recursive] Error 1 make[1]: Leaving directory '/var/tmp/portage/dev-libs/link-grammar-5.11.0/work/link-grammar-5.11.0_build/link-grammar' make: *** [Makefile:575: all-recursive] Error 1 * ERROR: dev-libs/link-grammar-5.11.0::gentoo failed (compile phase): * emake failed
Created attachment 847864 [details] emerge --info
Builds fine with LEX="flex". Get this failure only when reflex is forced via app-alternatives/lex.
Please recheck on 5.12.0, I can only reproduce this on 5.11
(In reply to David Seifert from comment #3) > Please recheck on 5.12.0, I can only reproduce this on 5.11 Thanks for the hint! Yes, 5.12.0 works for me too.
Seems to be back on link-grammar-5.12.4. [...] test -f post-process/pp_lexer.c || /bin/sh /var/tmp/portage/dev-libs/link-grammar-5.12.4/work/link-grammar-5.12.4/ylwrap /var/tmp/portage/dev-libs/link-grammar-5.12.4/work/link-grammar-5.12.4/link-grammar/post-process/pp_lexer.l lex.yy.c post-process/pp_lexer.c -- reflex "/var/tmp/portage/dev-libs/link-grammar-5.12.4/work/link-grammar-5.12.4/link-grammar/post-process/pp_lexer.l", line 32: unrecognized %option: reentrant make[2]: *** [Makefile:1179: post-process/pp_lexer.c] Error 1 make[2]: Leaving directory '/var/tmp/portage/dev-libs/link-grammar-5.12.4/work/link-grammar-5.12.4_build/link-grammar' make[1]: *** [Makefile:1226: all-recursive] Error 1 make[1]: Leaving directory '/var/tmp/portage/dev-libs/link-grammar-5.12.4/work/link-grammar-5.12.4_build/link-grammar' make: *** [Makefile:575: all-recursive] Error 1 * ERROR: dev-libs/link-grammar-5.12.4::gentoo failed (compile phase): * emake failed 5.12.3 builds ok with reflex.
Created attachment 894715 [details] build.log (5.12.4)
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1edb34c42fe079ac278c18f6944c2a373819dd69 commit 1edb34c42fe079ac278c18f6944c2a373819dd69 Author: David Seifert <soap@gentoo.org> AuthorDate: 2024-06-03 07:50:53 +0000 Commit: David Seifert <soap@gentoo.org> CommitDate: 2024-06-03 07:50:53 +0000 dev-libs/link-grammar: force LEX="sys-devel/flex" Closes: https://bugs.gentoo.org/890158 Signed-off-by: David Seifert <soap@gentoo.org> dev-libs/link-grammar/link-grammar-5.12.4.ebuild | 3 +++ 1 file changed, 3 insertions(+)