profiles: Add bison to bootstrap use flags

This is to fix the following error during stage2 SDK build:

  [[ (3/3) Emerging packages ]]

!!! The ebuild selected to satisfy "app-alternatives/yacc" has unmet requirements.
- app-alternatives/yacc-1-r2::portage-stable USE="-bison -byacc -reference"

  The following REQUIRED_USE flag constraints are unsatisfied:
    exactly-one-of ( bison byacc reference )

(dependency required by "sys-devel/binutils-2.39-r4::portage-stable" [ebuild])
(dependency required by "sys-devel/gcc-11.3.1_p20221209::portage-stable" [ebuild])
(dependency required by "sys-libs/glibc-2.36-r5::coreos" [ebuild])
(dependency required by "sys-libs/glibc:2.2" [argument])
This commit is contained in:
Krzesimir Nowak 2023-01-03 09:01:07 +01:00
parent aa53bc2044
commit a43f393643

View File

@ -46,6 +46,11 @@ BOOTSTRAP_USE="${BOOTSTRAP_USE} curl_ssl_openssl ssl"
# Add `xml` USE flag to avoid build failures from sys-apps/portage 3.0.28 # Add `xml` USE flag to avoid build failures from sys-apps/portage 3.0.28
BOOTSTRAP_USE="${BOOTSTRAP_USE} xml" BOOTSTRAP_USE="${BOOTSTRAP_USE} xml"
# Add `bison` USE flag, so we pick a proper yacc alternative from
# app-alternatives/yacc (normally bison is enabled by default, but
# it's disabled during building stage2 for some reason).
BOOTSTRAP_USE="${BOOTSTRAP_USE} bison"
# Set SELinux policy # Set SELinux policy
POLICY_TYPES="targeted mcs mls" POLICY_TYPES="targeted mcs mls"