Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 894634 - x11-misc/rofi-1.7.5 - configure: error: Failed to find bison
Summary: x11-misc/rofi-1.7.5 - configure: error: Failed to find bison
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Petrus Zhao
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-02-15 18:32 UTC by Toralf Förster
Modified: 2023-02-16 08:12 UTC (History)
2 users (show)

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


Attachments
emerge-info.txt (emerge-info.txt,18.51 KB, text/plain)
2023-02-15 18:32 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,100.35 KB, text/plain)
2023-02-15 18:32 UTC, Toralf Förster
Details
environment (environment,76.31 KB, text/plain)
2023-02-15 18:32 UTC, Toralf Förster
Details
etc.clang.tar.bz2 (etc.clang.tar.bz2,708 bytes, application/x-bzip)
2023-02-15 18:32 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,22.44 KB, application/x-bzip)
2023-02-15 18:32 UTC, Toralf Förster
Details
logs.tar.bz2 (logs.tar.bz2,5.20 KB, application/x-bzip)
2023-02-15 18:32 UTC, Toralf Förster
Details
temp.tar.bz2 (temp.tar.bz2,20.99 KB, application/x-bzip)
2023-02-15 18:32 UTC, Toralf Förster
Details
x11-misc:rofi-1.7.5:20230215-180033.log (x11-misc:rofi-1.7.5:20230215-180033.log,3.82 KB, text/plain)
2023-02-15 18:32 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-02-15 18:32:09 UTC
checking for library containing yywrap... -lfl
checking whether yytext is a pointer... yes
checking for bison... byacc
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking if bison is the parser generator... no
configure: error: "Failed to find bison"

!!! Please attach the following file when seeking support:

  -------------------------------------------------------------------

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_desktop_plasma_systemd-j4-20230214-230019

  -------------------------------------------------------------------

GNUMAKEFLAGS="$GNUMAKEFLAGS --shuffle"
gcc-config -l:
 [1] x86_64-pc-linux-gnu-13 *
clang/llvm (if any):
clang version 15.0.7
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.7
Python 3.10.10
Available Ruby profiles:
  [1]   ruby27 (with Rubygems)
  [2]   ruby30 (with Rubygems) *
Available Rust versions:
  [1]   rust-1.67.1 *
The following VMs are available for generation-2:
*)	Eclipse Temurin JDK 17.0.6_p10 [openjdk-bin-17]
2)	Eclipse Temurin JDK 8.362_p09 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8 
  [2]   openjdk-bin-17  system-vm

The Glorious Glasgow Haskell Compilation System, version 9.0.2
php cli (if any):
  [1]   php7.4
  [2]   php8.0
  [3]   php8.2 *

  HEAD of ::gentoo
commit e3b1c7a55feb1f91f41b9b0220694f7a1d50c583
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Wed Feb 15 17:31:52 2023 +0000

    2023-02-15 17:31:52 UTC

emerge -qpvO x11-misc/rofi
[ebuild  N    ] x11-misc/rofi-1.7.5  USE="windowmode -drun -test"
Comment 1 Toralf Förster gentoo-dev 2023-02-15 18:32:11 UTC
Created attachment 851444 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2023-02-15 18:32:13 UTC
Created attachment 851446 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2023-02-15 18:32:15 UTC
Created attachment 851448 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2023-02-15 18:32:16 UTC
Created attachment 851450 [details]
etc.clang.tar.bz2
Comment 5 Toralf Förster gentoo-dev 2023-02-15 18:32:17 UTC
Created attachment 851452 [details]
etc.portage.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2023-02-15 18:32:19 UTC
Created attachment 851454 [details]
logs.tar.bz2
Comment 7 Toralf Förster gentoo-dev 2023-02-15 18:32:20 UTC
Created attachment 851456 [details]
temp.tar.bz2
Comment 8 Toralf Förster gentoo-dev 2023-02-15 18:32:21 UTC
Created attachment 851458 [details]
x11-misc:rofi-1.7.5:20230215-180033.log
Comment 9 Petrus Zhao 2023-02-16 04:43:29 UTC
Hi, why you added -O to the emerge? Rofi is dependent on bison, by added -O, you will not install bison.
Comment 10 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2023-02-16 04:46:09 UTC
(In reply to Petrus Zhao from comment #9)
> Hi, why you added -O to the emerge? Rofi is dependent on bison, by added -O,
> you will not install bison.

They didn't. They have app-alternatives/yacc[byacc]:
>checking for bison... byacc

If this package truly needs Bison, it should unset YACC in the ebuild.
Comment 11 Larry the Git Cow gentoo-dev 2023-02-16 08:12:57 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=637be59d1c1060d9ad864931934af850a0167042

commit 637be59d1c1060d9ad864931934af850a0167042
Author:     Florian Schmaus <flow@gentoo.org>
AuthorDate: 2023-02-16 07:56:10 +0000
Commit:     Florian Schmaus <flow@gentoo.org>
CommitDate: 2023-02-16 08:12:49 +0000

    x11-misc/rofi: remove log message and unset YACC
    
    Closes: https://bugs.gentoo.org/894634
    Signed-off-by: Florian Schmaus <flow@gentoo.org>

 x11-misc/rofi/rofi-1.7.5.ebuild | 14 ++++----------
 1 file changed, 4 insertions(+), 10 deletions(-)