The meaningful piece of log: 2020-03-13T05:03:56.7661452Z /tmp/gentoo/bin/bash /tmp/gentoo/var/tmp/portage/sys-libs/pam-1.3.1_p20200128/work/linux-pam-4dd9b97b762cc73816cb867d49c9d0d0b91d642c/build-aux/ylwrap /tmp/gentoo/var/tmp/portage/sys-libs/pam-1.3.1_p20200128/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 2020-03-13T05:03:56.8024138Z /tmp/gentoo/var/tmp/portage/sys-libs/pam-1.3.1_p20200128/work/linux-pam-4dd9b97b762cc73816cb867d49c9d0d0b91d642c/build-aux/ylwrap: line 176: yacc: command not found 2020-03-13T05:03:56.8046798Z make[3]: *** [Makefile:521: pam_conv_y.c] Error 127 2020-03-13T05:03:56.8048230Z make[3]: Leaving directory '/tmp/gentoo/var/tmp/portage/sys-libs/pam-1.3.1_p20200128/work/linux-pam-4dd9b97b762cc73816cb867d49c9d0d0b91d642c-abi_x86_64.amd64/conf/pam_conv1' 2020-03-13T05:03:56.8058425Z make[2]: *** [Makefile:425: all-recursive] Error 1 2020-03-13T05:03:56.8059550Z make[2]: Leaving directory '/tmp/gentoo/var/tmp/portage/sys-libs/pam-1.3.1_p20200128/work/linux-pam-4dd9b97b762cc73816cb867d49c9d0d0b91d642c-abi_x86_64.amd64/conf' 2020-03-13T05:03:56.8066392Z make[1]: *** [Makefile:490: all-recursive] Error 1 2020-03-13T05:03:56.8067466Z make[1]: Leaving directory '/tmp/gentoo/var/tmp/portage/sys-libs/pam-1.3.1_p20200128/work/linux-pam-4dd9b97b762cc73816cb867d49c9d0d0b91d642c-abi_x86_64.amd64' 2020-03-13T05:03:56.8078511Z make: *** [Makefile:422: all] Error 2 2020-03-13T05:03:56.8098505Z * ERROR: sys-libs/pam-1.3.1_p20200128::gentoo failed (compile phase): 2020-03-13T05:03:56.8119477Z * emake failed 2020-03-13T05:03:56.8143449Z * 2020-03-13T05:03:56.8174368Z * If you need support, post the output of `emerge --info '=sys-libs/pam-1.3.1_p20200128::gentoo'`, 2020-03-13T05:03:56.8196323Z * the complete build log and the output of `emerge -pqv '=sys-libs/pam-1.3.1_p20200128::gentoo'`. 2020-03-13T05:03:56.8225426Z * The complete build log is located at '/tmp/gentoo/var/tmp/portage/sys-libs/pam-1.3.1_p20200128/temp/build.log'. 2020-03-13T05:03:56.8246374Z * The ebuild environment file is located at '/tmp/gentoo/var/tmp/portage/sys-libs/pam-1.3.1_p20200128/temp/environment'. 2020-03-13T05:03:56.8277582Z * Working directory: '/tmp/gentoo/var/tmp/portage/sys-libs/pam-1.3.1_p20200128/work/linux-pam-4dd9b97b762cc73816cb867d49c9d0d0b91d642c-abi_x86_64.amd64' 2020-03-13T05:03:56.8302483Z * S: '/tmp/gentoo/var/tmp/portage/sys-libs/pam-1.3.1_p20200128/work/linux-pam-4dd9b97b762cc73816cb867d49c9d0d0b91d642c' 2020-03-13T05:03:57.1942795Z 2020-03-13T05:03:57.1944853Z >>> Failed to emerge sys-libs/pam-1.3.1_p20200128, Log file: 2020-03-13T05:03:57.1945515Z 2020-03-13T05:03:57.1946472Z >>> '/tmp/gentoo/var/tmp/portage/sys-libs/pam-1.3.1_p20200128/temp/build.log' 2020-03-13T05:03:57.1954583Z * Messages for package acct-group/sshd-0: 2020-03-13T05:03:57.1955248Z * Insufficient privileges to execute enewgroup 2020-03-13T05:03:57.1956015Z * Messages for package acct-user/sshd-0: 2020-03-13T05:03:57.1956540Z * Insufficient privileges to execute enewuser 2020-03-13T05:03:57.1962818Z * chown failure ignored with unprivileged user: 2020-03-13T05:03:57.1963450Z * chown root:root ${D}${EPREFIX}/var/empty 2020-03-13T05:03:57.1964445Z * ${EPREFIX}/bin/chown: changing ownership of '${D}${EPREFIX}/var/empty': Operation not permitted 2020-03-13T05:03:57.1965397Z * Messages for package sys-libs/pam-1.3.1_p20200128: 2020-03-13T05:03:57.1966253Z * ERROR: sys-libs/pam-1.3.1_p20200128::gentoo failed (compile phase): 2020-03-13T05:03:57.1966808Z * emake failed The full Stage 3 bootstrap log: https://dev.azure.com/12719821/e566c963-8f77-4f01-b7bc-ae2d91b1334f/_apis/build/builds/1418/logs/41 A docker image in exactly that state: docker pull awesomebytes/gentoo_prefix_ci_stage3:1418 docker run -it awesomebytes/gentoo_prefix_ci_stage3:1418 /bin/bash (EPREFIX is /tmp/gentoo)
Gentoo Prefix is bootstrapping again (2 successful daily builds worked in both amd64 and x86). The bug is gone, closing.