Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 902997 - games-fps/quakeforge-0.7.2_p20210722-r1 - emake failed
Summary: games-fps/quakeforge-0.7.2_p20210722-r1 - emake failed
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Games
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-03-24 22:46 UTC by Toralf Förster
Modified: 2023-03-25 00:02 UTC (History)
1 user (show)

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


Attachments
emerge-info.txt (emerge-info.txt,19.29 KB, text/plain)
2023-03-24 22:46 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,222.30 KB, text/plain)
2023-03-24 22:46 UTC, Toralf Förster
Details
environment (environment,96.42 KB, text/plain)
2023-03-24 22:46 UTC, Toralf Förster
Details
etc.clang.tar.bz2 (etc.clang.tar.bz2,723 bytes, application/x-bzip)
2023-03-24 22:46 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,36.93 KB, application/x-bzip)
2023-03-24 22:46 UTC, Toralf Förster
Details
games-fps:quakeforge-0.7.2_p20210722-r1:20230324-224444.log (games-fps:quakeforge-0.7.2_p20210722-r1:20230324-224444.log,71.54 KB, text/plain)
2023-03-24 22:46 UTC, Toralf Förster
Details
logs.tar.bz2 (logs.tar.bz2,19.88 KB, application/x-bzip)
2023-03-24 22:46 UTC, Toralf Förster
Details
temp.tar.bz2 (temp.tar.bz2,35.15 KB, application/x-bzip)
2023-03-24 22:46 UTC, Toralf Förster
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2023-03-24 22:46:39 UTC
"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"
Comment 1 Toralf Förster gentoo-dev 2023-03-24 22:46:40 UTC
Created attachment 858913 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2023-03-24 22:46:42 UTC
Created attachment 858915 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2023-03-24 22:46:43 UTC
Created attachment 858917 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2023-03-24 22:46:44 UTC
Created attachment 858919 [details]
etc.clang.tar.bz2
Comment 5 Toralf Förster gentoo-dev 2023-03-24 22:46:45 UTC
Created attachment 858921 [details]
etc.portage.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2023-03-24 22:46:47 UTC
Created attachment 858923 [details]
games-fps:quakeforge-0.7.2_p20210722-r1:20230324-224444.log
Comment 7 Toralf Förster gentoo-dev 2023-03-24 22:46:48 UTC
Created attachment 858925 [details]
logs.tar.bz2
Comment 8 Toralf Förster gentoo-dev 2023-03-24 22:46:49 UTC
Created attachment 858927 [details]
temp.tar.bz2
Comment 9 CFuga 2023-03-24 23:20:28 UTC
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?
Comment 10 Ionen Wolkens gentoo-dev 2023-03-25 00:01:48 UTC
(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.
Comment 11 Larry the Git Cow gentoo-dev 2023-03-25 00:02:34 UTC
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(-)