Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 922823 - sys-kernel/gentoo-sources: build failure with app-alternatives/yacc[byacc]
Summary: sys-kernel/gentoo-sources: build failure with app-alternatives/yacc[byacc]
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Kernel Bug Wranglers and Kernel Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-01-24 15:29 UTC by gentoo
Modified: 2024-02-01 23:52 UTC (History)
1 user (show)

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


Attachments
System with YACC="byacc" (emerge--info.txt,7.83 KB, text/plain)
2024-01-24 15:29 UTC, gentoo
Details

Note You need to log in before you can comment on or make changes to this bug.
Description gentoo 2024-01-24 15:29:53 UTC
Created attachment 883034 [details]
System with YACC="byacc"

/bin/sh: 1: bison: not found
make[2]: *** [scripts/Makefile.host:17: scripts/kconfig/parser.tab.h] Error 127
make[1]: *** [Makefile:705: syncconfig] Error 2
Makefile:749: include/config/auto.conf: No such file or directory
make: *** [Makefile:806: include/config/auto.conf] Error 2
Comment 1 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2024-01-24 15:30:10 UTC
I'll handle this later.
Comment 2 Larry the Git Cow gentoo-dev 2024-02-01 23:52:51 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5f3f5035fe716de45c0e0c42e26e2df5528a5b05

commit 5f3f5035fe716de45c0e0c42e26e2df5528a5b05
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2024-02-01 23:49:50 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2024-02-01 23:52:31 +0000

    kernel-build.eclass: require real bison & flex
    
    This reverts commit 486f12612d840bf4efbd324afdab59a98dd27fce. Note that
    it appears to have been wrong for yacc for quite a while, as we previously
    depended on virtual/yacc, even though the kernel looks for bison...
    
    GNU Bison is at least needed, unclear about flex vs reflex, but let's
    say flex for now as the kernel docs say it (most of the time, reflex does
    work in place of flex, but not checked so let's be safe).
    
    Closes: https://bugs.gentoo.org/922823
    Signed-off-by: Sam James <sam@gentoo.org>

 eclass/kernel-build.eclass | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1e5d35a2df840f3e381108277ea192c6bd9363db

commit 1e5d35a2df840f3e381108277ea192c6bd9363db
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2024-02-01 23:48:50 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2024-02-01 23:52:30 +0000

    kernel-2.eclass: require real bison & flex
    
    This reverts commit 57a9b506597e766521a5633898d33fef125ecd5b and
    commit bd3dc0379262bedb0bb301df1b9c82442835be3e.
    
    GNU Bison is at least needed, unclear about flex vs reflex, but let's
    say flex for now as the kernel docs say it (most of the time, reflex does
    work in place of flex, but not checked so let's be safe).
    
    Closes: https://bugs.gentoo.org/922823
    Signed-off-by: Sam James <sam@gentoo.org>

 eclass/kernel-2.eclass | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)