Summary: | dev-util/cdecl: build failure with FLEX="reflex" (sys-devel/reflex) | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Sam James <sam> |
Component: | Current packages | Assignee: | Florian Schmaus <flow> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
See Also: |
https://bugs.gentoo.org/show_bug.cgi?id=879231 https://github.com/paul-j-lucas/cdecl/issues/27 |
||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
build.log
config.log |
Description
Sam James
![]() ![]() ![]() ![]() Created attachment 826753 [details]
config.log
It's because configure.ac is aggressively checking for flex specifically rather than a POSIX lex: https://github.com/paul-j-lucas/cdecl/blob/ae9841f2ce4d9b924b834d806590351a54057f6c/configure.ac#L55. I wonder if that's really needed. I feel like AC_PROG_LEX should be enough most of the time, rather than the used AX_PROG_FLEX. If you have a better idea for how I should be setting reflex, let me know though. Similar issue with YACC="byacc" in make.conf :( The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c583782bc9f285b926f52cf28c16fc8935258171 commit c583782bc9f285b926f52cf28c16fc8935258171 Author: Sam James <sam@gentoo.org> AuthorDate: 2025-03-19 00:39:26 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2025-03-19 00:40:30 +0000 dev-util/cdecl: add 18.4.1 * Lots of gnulib updates, so may fix bug #835511 * Tests now pass with /bin/sh as dash (bug #889144) * configure check now only looks for bison/flex if parser is missing (bug #879233) Bug: https://bugs.gentoo.org/835511 Closes: https://bugs.gentoo.org/889144 Closes: https://bugs.gentoo.org/879233 Closes: https://bugs.gentoo.org/919153 Signed-off-by: Sam James <sam@gentoo.org> dev-util/cdecl/Manifest | 1 + dev-util/cdecl/cdecl-18.4.1.ebuild | 27 +++++++++++++++++++++++++++ 2 files changed, 28 insertions(+) |