"libs/util/cexpr-lex.l", line 28: unrecognized %option: reentrant make: *** [Makefile:13988: libs/util/cexpr-lex.c] Error 1 make: *** Waiting for unfinished jobs.... updating libs/video/targets/fbset_modes_y.output updating libs/video/targets/fbset_modes_y.h * ERROR: games-fps/quakeforge-0.7.2_p20210722-r1::gentoo failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=games-fps/quakeforge-0.7.2_p20210722-r1::gentoo'`, ------------------------------------------------------------------- This is an unstable amd64 chroot image at a tinderbox (==build bot) name: 17.1_desktop_systemd_merged_usr-j4-20230322-200006 ------------------------------------------------------------------- gcc-config -l: [1] x86_64-pc-linux-gnu-13 * clang/llvm (if any): clang version 16.0.0 Target: x86_64-pc-linux-gnu Thread model: posix InstalledDir: /usr/lib/llvm/16/bin Configuration file: /etc/clang/clang.cfg /usr/lib/llvm/16 16.0.0 Python 3.10.10 Available Rust versions: [1] rust-bin-1.68.1 [2] rust-1.68.1 * The following VMs are available for generation-2: 1) Eclipse Temurin JDK 17.0.6_p10 [openjdk-bin-17] *) Eclipse Temurin JDK 8.362_p09 [openjdk-bin-8] Available Java Virtual Machines: [1] openjdk-bin-8 system-vm [2] openjdk-bin-17 php cli (if any): [1] php8.2 * HEAD of ::gentoo commit 967bb30cb48056c97e7e374ea44158df4f1e1526 Author: Repository mirror & CI <repomirrorci@gentoo.org> Date: Fri Mar 24 21:48:58 2023 +0000 2023-03-24 21:48:57 UTC emerge -qpvO games-fps/quakeforge [ebuild N ] games-fps/quakeforge-0.7.2_p20210722-r1 USE="alsa flac ncurses png sdl vorbis wildmidi zlib -client -debug -doc -jack -oss -vulkan"
Created attachment 858913 [details] emerge-info.txt
Created attachment 858915 [details] emerge-history.txt
Created attachment 858917 [details] environment
Created attachment 858919 [details] etc.clang.tar.bz2
Created attachment 858921 [details] etc.portage.tar.bz2
Created attachment 858923 [details] games-fps:quakeforge-0.7.2_p20210722-r1:20230324-224444.log
Created attachment 858925 [details] logs.tar.bz2
Created attachment 858927 [details] temp.tar.bz2
This automated compilation used sys-devel/reflex instead of sys-devel/flex. But I don't get it: this ebuild already specifies sys-devel/flex in BDEPEND, it doesn't have any reference to app-alternatives/lex nor sys-devel/reflex, and configure checks first for flex before lex. Why does it call reflex at all?
(In reply to CFuga from comment #9) > This automated compilation used sys-devel/reflex instead of sys-devel/flex. > > But I don't get it: this ebuild already specifies sys-devel/flex in BDEPEND, > it doesn't have any reference to app-alternatives/lex nor sys-devel/reflex, > and configure checks first for flex before lex. Why does it call reflex at > all? Because of LEX=reflex in the environment by app-alternatives/lex. If it happens to be respected (isn't always) and reflex doesn't work, then need to override it similarly to bug #884287 and not depend on alternatives. BDEPEND bit is already flex, so just need to handle LEX.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=566f6914104b437b073c896f0c906d430e30a631 commit 566f6914104b437b073c896f0c906d430e30a631 Author: Ionen Wolkens <ionen@gentoo.org> AuthorDate: 2023-03-25 00:00:04 +0000 Commit: Ionen Wolkens <ionen@gentoo.org> CommitDate: 2023-03-25 00:01:33 +0000 games-fps/quakeforge: unset LEX to ensure flex This package is rather fragile, and (any) alternatives have a tendency to not work. Closes: https://bugs.gentoo.org/902997 Signed-off-by: Ionen Wolkens <ionen@gentoo.org> games-fps/quakeforge/quakeforge-0.7.2_p20210722-r1.ebuild | 4 ++-- games-fps/quakeforge/quakeforge-9999.ebuild | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-)