Created attachment 659564 [details] build.log + einfo Install plan on a minimal system with a recent depclean: [ebuild R ] sys-libs/pam-1.3.1_p20200128-r1::gentoo USE="berkdb cracklib filecaps pie (split-usr) (-audit) -debug -nis (-selinux) -static-libs" 0 KiB [ebuild N ] sys-devel/libtool-2.4.6-r6:2::gentoo USE="-vanilla" 0 KiB [ebuild N ] sys-devel/automake-1.16.1-r1:1.16::gentoo USE="-test" 0 KiB [ebuild N ] sys-apps/help2man-1.47.16::gentoo USE="nls" 0 KiB [ebuild N ] dev-perl/Locale-gettext-1.70.0::gentoo 0 KiB [ebuild N ] virtual/perl-ExtUtils-MakeMaker-7.340.0-r2::gentoo 0 KiB [ebuild N ] dev-libs/libxslt-1.1.34-r1::gentoo USE="crypt -debug -examples -static-libs" 0 KiB [ebuild N ] virtual/pkgconfig-2::gentoo 0 KiB [ebuild N ] dev-util/pkgconf-1.6.3:0/3::gentoo USE="pkg-config -test" 0 KiB [ebuild N ] sys-devel/flex-2.6.4-r1::gentoo USE="nls -static -test" 0 KiB [ebuild N ] app-portage/elt-patches-20170815::gentoo 0 KiB [ebuild N ] sys-devel/autoconf-2.69-r5:2.69::gentoo USE="-emacs" 0 KiB [ebuild N ] sys-devel/autoconf-wrapper-13-r1::gentoo 0 KiB [nomerge ] sys-libs/pam-1.3.1_p20200128-r1::gentoo USE="berkdb cracklib filecaps pie (split-usr) (-audit) -debug -nis (-selinux) -static-libs" [nomerge ] sys-devel/automake-1.16.1-r1:1.16::gentoo USE="-test" [ebuild N ] sys-devel/automake-wrapper-11::gentoo 0 KiB [nomerge ] sys-devel/libtool-2.4.6-r6:2::gentoo USE="-vanilla" [ebuild N ] dev-libs/libltdl-2.4.6::gentoo USE="-static-libs" 0 KiB [nomerge ] sys-libs/pam-1.3.1_p20200128-r1::gentoo USE="berkdb cracklib filecaps pie (split-usr) (-audit) -debug -nis (-selinux) -static-libs" [ebuild N ] app-text/docbook-xml-dtd-4.1.2-r7:4.1.2::gentoo 0 KiB [ebuild N ] app-text/docbook-xml-dtd-4.3-r2:4.3::gentoo 0 KiB [ebuild N ] app-text/docbook-xml-dtd-4.5-r2:4.5::gentoo 0 KiB [ebuild N ] app-text/docbook-xml-dtd-4.4-r3:4.4::gentoo 0 KiB [ebuild N ] app-text/docbook-xsl-stylesheets-1.79.1-r2::gentoo USE="-ruby" 0 KiB [ebuild N ] app-text/build-docbook-catalog-1.21::gentoo 0 KiB [nomerge ] sys-devel/libtool-2.4.6-r6:2::gentoo USE="-vanilla" [nomerge ] sys-devel/autoconf-2.69-r5:2.69::gentoo USE="-emacs" [ebuild N ] sys-devel/m4-1.4.18-r1::gentoo USE="-examples" 0 KiB [nomerge ] app-text/docbook-xml-dtd-4.1.2-r7:4.1.2::gentoo [ebuild N ] app-arch/unzip-6.0_p25-r1::gentoo USE="bzip2 unicode -natspec" 0 KiB [ebuild N ] app-text/sgml-common-0.6.3-r7::gentoo 0 KiB Excerpted failure from build.log: make[3]: Leaving directory '/var/tmp/portage/sys-libs/pam-1.3.1_p20200128-r1/work/linux-pam-4dd9b97b762cc73816cb867d49c9d0d0b91d642c-.arm64/po' touch stamp-po make[2]: Leaving directory '/var/tmp/portage/sys-libs/pam-1.3.1_p20200128-r1/work/linux-pam-4dd9b97b762cc73816cb867d49c9d0d0b91d642c-.arm64/po' Making all in conf make[2]: Entering directory '/var/tmp/portage/sys-libs/pam-1.3.1_p20200128-r1/work/linux-pam-4dd9b97b762cc73816cb867d49c9d0d0b91d642c-.arm64/conf' Making all in pam_conv1 make[3]: Entering directory '/var/tmp/portage/sys-libs/pam-1.3.1_p20200128-r1/work/linux-pam-4dd9b97b762cc73816cb867d49c9d0d0b91d642c-.arm64/conf/pam_conv1' /bin/sh /var/tmp/portage/sys-libs/pam-1.3.1_p20200128-r1/work/linux-pam-4dd9b97b762cc73816cb867d49c9d0d0b91d642c/build-aux/ylwrap /var/tmp/portage/sys-libs/pam-1.3.1_p20200128-r1/work/linux-pam-4dd9b97b762cc73816cb867d49c9d0d0b91d642c/conf/pam_conv1/pam_conv_y.y y.tab.c pam_conv_y.c y.tab.h `echo pam_conv_y.c | sed -e s/cc$/hh/ -e s/cpp$/hpp/ -e s/cxx$/hxx/ -e s/c++$/h++/ -e s/c$/h/` y.output pam_conv_y.output -- yacc -d /var/tmp/portage/sys-libs/pam-1.3.1_p20200128-r1/work/linux-pam-4dd9b97b762cc73816cb867d49c9d0d0b91d642c/build-aux/ylwrap: line 176: yacc: command not found make[3]: *** [Makefile:521: pam_conv_y.c] Error 127 make[3]: Leaving directory '/var/tmp/portage/sys-libs/pam-1.3.1_p20200128-r1/work/linux-pam-4dd9b97b762cc73816cb867d49c9d0d0b91d642c-.arm64/conf/pam_conv1' make[2]: *** [Makefile:425: all-recursive] Error 1 make[2]: Leaving directory '/var/tmp/portage/sys-libs/pam-1.3.1_p20200128-r1/work/linux-pam-4dd9b97b762cc73816cb867d49c9d0d0b91d642c-.arm64/conf' make[1]: *** [Makefile:490: all-recursive] Error 1 make[1]: Leaving directory '/var/tmp/portage/sys-libs/pam-1.3.1_p20200128-r1/work/linux-pam-4dd9b97b762cc73816cb867d49c9d0d0b91d642c-.arm64' make: *** [Makefile:422: all] Error 2 * ERROR: sys-libs/pam-1.3.1_p20200128-r1::gentoo failed (compile phase): * emake failed Looks a lot like bug #712296 except I'm not using any prefix/alt stuff, and I'm not doing a system bootstrap or creating a stage image. And indeed, bison is not installed, nor did anything demand it be installed: * sys-devel/bison Available versions: 3.1^t ~3.6.4^t 3.7.1-r1^t ~3.7.2^t {examples nls static test} Homepage: https://www.gnu.org/software/bison/ Description: A general-purpose (yacc-compatible) parser generator
Hmm, very nice catch! Wonderful how it had not been noticed. According to my search AC_PROG_YACC has been required for almost twenty years now :/
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d200ae6a5ad300b62f3fb874705fb88be1201456 commit d200ae6a5ad300b62f3fb874705fb88be1201456 Author: Mikle Kolyada <zlogene@gentoo.org> AuthorDate: 2020-09-12 10:17:05 +0000 Commit: Mikle Kolyada <zlogene@gentoo.org> CommitDate: 2020-09-12 10:18:08 +0000 sys-libs/pam: Add missing yacc dependency Closes: https://bugs.gentoo.org/741726 Package-Manager: Portage-3.0.4, Repoman-3.0.1 Signed-off-by: Mikle Kolyada <zlogene@gentoo.org> sys-libs/pam/pam-1.3.1_p20200128-r1.ebuild | 1 + sys-libs/pam/pam-1.4.0_p20200829.ebuild | 1 + 2 files changed, 2 insertions(+)
The commit looks wrong. A native tool dependency needs to be in BDEPEND in those EAPI 7 ebuilds.
I noticed this too, on binary installs, it wants to pull in the build-time deps (m4, bison, virtual/yacc)
After re-syncing I see this was fixed in the very next commit. Sorry for the noise.