Created attachment 591496 [details] build.log Build log is attached. Some dependencies seem to have changed and now require sys-libs/pam, which fails to build on prefix.
Relevant error from build.log: make[2]: Entering directory '/cvmfs/portage/sys-libs/pam-1.3.1-r1/work/linux-pam-1.3.1-abi_x86_64.amd64/modules' Making all in pam_access make[3]: Entering directory '/cvmfs/portage/sys-libs/pam-1.3.1-r1/work/linux-pam-1.3.1-abi_x86_64.amd64/modules/pam_access' /cvmfs/sft.cern.ch/lcg/contrib/gentoo/linux/x86_64/bin/bash ../../libtool --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I/cvmfs/portage/sys-libs/pam-1.3.1-r1/work/linux-pam-1.3.1/modules/pam_access -I../.. -I/cvmfs/portage/sys-libs/pam-1.3.1-r1/work/linux-pam-1.3.1/libpam/include -I/cvmfs/portage/sys-libs/pam-1.3.1-r1/work/linux-pam-1.3.1/libpamc/include -DPAM_ACCESS_CONFIG=\"/cvmfs/sft.cern.ch/lcg/contrib/gentoo/linux/x86_64/etc/security/access.conf\" -DACCESS_CONF_GLOB=\"/cvmfs/sft.cern.ch/lcg/contrib/gentoo/linux/x86_64/etc/security/access.d/*.conf\" -O2 -pipe -O2 -pipe -W -Wall -Wbad-function-cast -Wcast-align -Wcast-qual -Wmissing-declarations -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wstrict-prototypes -Wwrite-strings -Winline -Wshadow -c -o pam_access.lo /cvmfs/portage/sys-libs/pam-1.3.1-r1/work/linux-pam-1.3.1/modules/pam_access/pam_access.c make[3]: *** No rule to make target 'access.conf.5', needed by 'all-am'. Stop. make[3]: *** Waiting for unfinished jobs....
Interesting for what reason prefix installation may need using pam.... (I have not checked this prior commenting). Actually, I know what problem you caught, but I do not know why you caught it. By default pam developers do not ship pre-built manpages (well, they have an archive with them separately, but these ones are still broken), so the build system either tries to go to the internet or use system installed doocbook as declared in [1]. That said, with these dependencies installed you must not catch the problem, were not dependencies broken somehow? [1] - https://gitweb.gentoo.org/repo/gentoo.git/tree/sys-libs/pam/pam-1.3.1-r1.ebuild#n17
It got pulled as a dependency, likely due to changes to defaults somewhere. I didn't use to have it before.
Could you please provide the config.log also? Maybe somewhat wrong there, otherwise it looks unclear now.
Have been hit by the same bug. If you try to bootstrap new prefix install, it will try and fail to install pam as a part of stage3
This probably happens due to commit b006a6fc53f2e545778f5ed516914bf07cacce5a Prefix profile exp to dev migration. 1. eudev, elogind and pam are available. 2. Move rpath masks into features/prefix/rpath. 3. Mask systemd and its reverse dependencies. Closes: https://github.com/gentoo/gentoo/pull/12555 Closes: https://github.com/gentoo/gentoo/pull/12678 Signed-off-by: Benda Xu <heroxbd@gentoo.org> https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b006a6fc53f2e545778f5ed516914bf07cacce5a The pam masks are moved from 'profiles/features/prefix/package.mask' to 'profiles/features/prefix/rpath/package.mask' and 'profiles/features/prefix/use.mask' to 'profiles/features/prefix/rpath/use.mask' For my prefix installation there is currently only the profile 'default/linux/arm64/17.0/prefix/kernel-3.2+ (exp)' available which does not include the rpath dir. Therefore pam becomes a global use flag.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a49d20a1735cf5816c0e18a14e4aa9647b662fe7 commit a49d20a1735cf5816c0e18a14e4aa9647b662fe7 Author: Benda Xu <heroxbd@gentoo.org> AuthorDate: 2019-10-09 10:47:46 +0000 Commit: Benda Xu <heroxbd@gentoo.org> CommitDate: 2019-10-09 10:54:33 +0000 p/f/prefix/standalone/package.use.mask: mask sys-apps/util-linux[pam] sys-libs/pam is not essential in a Prefix system. We would rather defer prefixifying it. This commit just removes sys-libs/pam reverse dependency by @system. Closes: https://bugs.gentoo.org/695966 Signed-off-by: Benda Xu <heroxbd@gentoo.org> profiles/features/prefix/standalone/package.use.mask | 5 +++++ 1 file changed, 5 insertions(+)
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=050cc8275578ea0422d6c1044a292efc55111e03 commit 050cc8275578ea0422d6c1044a292efc55111e03 Author: Benda Xu <heroxbd@gentoo.org> AuthorDate: 2019-10-09 11:31:34 +0000 Commit: Benda Xu <heroxbd@gentoo.org> CommitDate: 2019-10-09 11:33:20 +0000 p/f/prefix/standalone/package.use.mask: mask net-misc/openssh[pam] pam is not necessary in the @system set of Prefix. Bug: https://bugs.gentoo.org/695966 Signed-off-by: Benda Xu <heroxbd@gentoo.org> profiles/features/prefix/standalone/package.use.mask | 1 + 1 file changed, 1 insertion(+)
These commits do not fix the issue. Pam is still pulled in as a dependency by every package with a pam use flag (except util-linux and openssh). Setting USE="-pam" in make.conf is a workaround to prevent this.
Just FYI, I had deployed ~amd64-linux on ubuntu last week and had no problem building pam "as is".
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e4fee95b96c9d684c3b992f7e154c9d12e6636ab commit e4fee95b96c9d684c3b992f7e154c9d12e6636ab Author: Mikle Kolyada <zlogene@gentoo.org> AuthorDate: 2020-03-12 16:07:51 +0000 Commit: Mikle Kolyada <zlogene@gentoo.org> CommitDate: 2020-03-12 16:12:16 +0000 sys-libs/pam: Add prefix support Closes: https://bugs.gentoo.org/709924 Closes: https://bugs.gentoo.org/699188 Closes: https://bugs.gentoo.org/699526 Bug: https://bugs.gentoo.org/695966 Thanks-to: Benda Xu <heroxbd@gentoo.org> Package-Manager: Portage-2.3.89, Repoman-2.3.20 Signed-off-by: Mikle Kolyada <zlogene@gentoo.org> sys-libs/pam/pam-1.3.1_p20200128.ebuild | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-)
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a0d4d015b1ad0bde56e3ca91deec3636d2025944 commit a0d4d015b1ad0bde56e3ca91deec3636d2025944 Author: Atharva <atharvaamritkar@protonmail.com> AuthorDate: 2022-06-11 08:18:22 +0000 Commit: Guilherme Amadio <amadio@gentoo.org> CommitDate: 2022-06-27 15:00:00 +0000 sys-libs/pam: add back prefix support Bug: https://bugs.gentoo.org/695966 Closes: https://bugs.gentoo.org/799803 Fixes: 0c59c9cbfc8f371bc2efa2835c3977cc39f59be3 Signed-off-by: Atharva <atharvaamritkar@protonmail.com> Signed-off-by: Guilherme Amadio <amadio@gentoo.org> sys-libs/pam/pam-1.5.2-r1.ebuild | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-)