Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 890158 - dev-libs/link-grammar-5.11.0 - 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
Summary: dev-libs/link-grammar-5.11.0 - reflex "/var/tmp/portage/dev-libs/link-grammar...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: David Seifert
URL:
Whiteboard:
Keywords: REGRESSION
Depends on:
Blocks:
 
Reported: 2023-01-07 19:47 UTC by ernsteiswuerfel
Modified: 2024-06-03 07:51 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
build.log (link-grammar-5.11.0:20230107-194153.log,262.63 KB, text/plain)
2023-01-07 19:47 UTC, ernsteiswuerfel
Details
emerge --info (file_890158.txt,6.61 KB, text/plain)
2023-01-07 19:48 UTC, ernsteiswuerfel
Details
build.log (5.12.4) (link-grammar-5.12.4:20240531-111152.log,257.44 KB, text/plain)
2024-05-31 12:25 UTC, ernsteiswuerfel
Details

Note You need to log in before you can comment on or make changes to this bug.
Description ernsteiswuerfel archtester 2023-01-07 19:47:23 UTC
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
Comment 1 ernsteiswuerfel archtester 2023-01-07 19:48:02 UTC
Created attachment 847864 [details]
emerge --info
Comment 2 ernsteiswuerfel archtester 2023-01-07 20:09:54 UTC
Builds fine with LEX="flex".

Get this failure only when reflex is forced via app-alternatives/lex.
Comment 3 David Seifert gentoo-dev 2023-02-06 12:32:18 UTC
Please recheck on 5.12.0, I can only reproduce this on 5.11
Comment 4 ernsteiswuerfel archtester 2023-02-10 12:33:54 UTC
(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.
Comment 5 ernsteiswuerfel archtester 2024-05-31 12:25:00 UTC
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.
Comment 6 ernsteiswuerfel archtester 2024-05-31 12:25:32 UTC
Created attachment 894715 [details]
build.log (5.12.4)
Comment 7 Larry the Git Cow gentoo-dev 2024-06-03 07:51:17 UTC
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(+)