checking for lex library... none needed checking for library containing yywrap... -lfl checking whether yytext is a pointer... yes checking for bison... (cached) bison checking whether make sets $(MAKE)... (cached) yes checking whether ln -s works... yes configure: error: flex is too old. GRUB requires 2.5.35 or above !!! Please attach the following file when seeking support: ------------------------------------------------------------------- This is an unstable amd64 chroot image at a tinderbox (==build bot) name: 17.1_desktop-j4-20221217-100005 ------------------------------------------------------------------- gcc-config -l: [1] x86_64-pc-linux-gnu-12 * clang/llvm (if any): clang version 15.0.6 Target: x86_64-pc-linux-gnu Thread model: posix InstalledDir: /usr/lib/llvm/15/bin Configuration file: /etc/clang/clang.cfg /usr/lib/llvm/15 15.0.6 Python 3.10.9 Available Rust versions: [1] rust-bin-1.65.0 * The following VMs are available for generation-2: 1) Eclipse Temurin JDK 11.0.17_p8 [openjdk-bin-11] *) Eclipse Temurin JDK 17.0.5_p8 [openjdk-bin-17] 3) Eclipse Temurin JDK 8.352_p08 [openjdk-bin-8] Available Java Virtual Machines: [1] openjdk-bin-8 [2] openjdk-bin-11 [3] openjdk-bin-17 system-vm The Glorious Glasgow Haskell Compilation System, version 9.0.2 php cli (if any): HEAD of ::gentoo commit 14771adc5bb0ee9ee4c0afe95816b170fe78a2aa Author: Repository mirror & CI <repomirrorci@gentoo.org> Date: Mon Dec 19 11:47:07 2022 +0000 2022-12-19 11:47:06 UTC emerge -qpvO sys-boot/grub [ebuild N ] sys-boot/grub-2.06-r4 USE="fonts nls sdl themes truetype -device-mapper -doc -efiemu -libzfs -mount (-test)" GRUB_PLATFORMS="efi-64 pc -coreboot -efi-32 -emu -ieee1275 (-loongson) -multiboot -qemu (-qemu-mips) -uboot -xen -xen-32 -xen-pvh"
Created attachment 843811 [details] emerge-info.txt
Created attachment 843813 [details] emerge-history.txt.bz2
Created attachment 843815 [details] environment
Created attachment 843817 [details] etc.clang.tar.bz2
Created attachment 843819 [details] etc.portage.tar.bz2
Created attachment 843821 [details] logs.tar.bz2
Created attachment 843823 [details] sys-boot:grub-2.06-r4:20221219-130051.log
Created attachment 843825 [details] temp.tar.bz2
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e93067af16c354c35efd3e674b083c5861456038 commit e93067af16c354c35efd3e674b083c5861456038 Author: Mike Gilbert <floppym@gentoo.org> AuthorDate: 2022-12-20 18:06:50 +0000 Commit: Mike Gilbert <floppym@gentoo.org> CommitDate: 2022-12-20 18:13:02 +0000 sys-boot/grub: force LEX=flex GRUB's configure script checks the version of flex by calling ${LEX} --version. If app-alternatives/lex[reflex] is installed, this version check will fail. Closes: https://bugs.gentoo.org/887211 Signed-off-by: Mike Gilbert <floppym@gentoo.org> sys-boot/grub/grub-2.06-r4.ebuild | 5 ++++- sys-boot/grub/grub-9999.ebuild | 5 ++++- 2 files changed, 8 insertions(+), 2 deletions(-)
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=56e6e30263e56771de876c0e053561a54fd19ed1 commit 56e6e30263e56771de876c0e053561a54fd19ed1 Author: Sam James <sam@gentoo.org> AuthorDate: 2023-01-01 03:04:53 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2023-01-01 03:11:06 +0000 sys-boot/grub: force Bison too Already in BDEPEND, just unset to avoid having to explicitly say bison vs bison -y. Bug: https://bugs.gentoo.org/887211 Signed-off-by: Sam James <sam@gentoo.org> sys-boot/grub/grub-2.06-r4.ebuild | 5 +++-- sys-boot/grub/grub-9999.ebuild | 5 +++-- 2 files changed, 6 insertions(+), 4 deletions(-)