Closed berney closed 1 year ago
util-linux has seemed to have had this USE su->pam dependency for a long time, see https://gitweb.gentoo.org/repo/gentoo.git/commit/sys-apps/util-linux?id=fe07c3e46ee67b99c88c249cacaab79336e68682. So I'm not sure why bob-musl is breaking just now, nor why the stage3 (bob-musl-core) has USE -pam
. The stage3 has shadow
, but equery b /usr/bin/su
says it belongs to util-linux and lddtree shows it uses libpam.
shadow was going to remove their su
, which doesn't need pam, but because util-linux needs pam, they have for now stated they won't remove it just yet. See https://github.com/shadow-maint/shadow/issues/464#issuecomment-1006649952.
I am still waiting for Gentoo to figure out what to do with libpam and for now i am trying to avoid it. I am having this in my custom builders:
update_use 'sys-apps/util-linux' '-su'
update_use 'sys-apps/shadow' '+su'
But thanks for the link. I haven't seen that issue and maybe it's a good idea to raise objections agains removing the option without libpam.
Couldn't reproduce this with a fresh install (no binary packages). Maybe resolved by upstream?
I did a clean build with no binary packages and this problem went away. So it appears it is an artifact of the binary packages I had cached. Closing this issue and the PR.
The
kubler/bob-musl
builder'sconfigure_bob()
re-emerges openssh and openssl to remove thebindist
use-flag, this causesutil-linux
to be re-emerged, but it gets an unmet requirements error because it'ssu
use-flag is enabled and this requires thepam
use-flag, which is disabled.Full `kubler build -v kubler/busybox` output
``` berne@LAPTOP-RSH1JKF0 2022-09-11 22:43:25 berney (main)[1] % kubler build -v kubler/busybox »»»»»[init]» generate build graph »»» required engines: docker »»» required stage3: stage3-amd64-musl-hardened »»» required builders: kubler/bob-musl »»» build sequence: kubler/busybox »[✔]»[init]» done. »»»»»[kubler/bob-musl]» bootstrap builder environment switching portage profile to: /var/db/repos/gentoo/profiles/default/linux/amd64/17.0/musl/hardened Performing Global Updates (Could take a couple of minutes if you have a lot of binary packages.) .='update pass' *='binary update' #='/var/db update' @='/var/db move' s='/var/db SLOT move' %='binary move' S='binary SLOT move' p='update /etc/portage/package.*' /var/db/repos/gentoo/profiles/updates/3Q-2022................ Calculating dependencies... done! >>> Emerging binary (1 of 5) app-shells/push-3.4::gentoo >>> Installing (1 of 5) app-shells/push-3.4::gentoo >>> Emerging binary (2 of 5) app-shells/quoter-4.2::gentoo >>> Installing (2 of 5) app-shells/quoter-4.2::gentoo >>> Emerging binary (3 of 5) app-portage/flaggie-0.2.1-r2::gentoo >>> Installing (3 of 5) app-portage/flaggie-0.2.1-r2::gentoo >>> Recording app-portage/flaggie in "world" favorites file... >>> Emerging binary (4 of 5) app-portage/eix-0.36.5::gentoo >>> Installing (4 of 5) app-portage/eix-0.36.5::gentoo >>> Recording app-portage/eix in "world" favorites file... >>> Emerging binary (5 of 5) app-portage/gentoolkit-0.5.1-r1::gentoo >>> Installing (5 of 5) app-portage/gentoolkit-0.5.1-r1::gentoo >>> Recording app-portage/gentoolkit in "world" favorites file... >>> Jobs: 5 of 5 complete Load avg: 0.60, 0.40, 0.26 * Messages for package app-portage/flaggie-0.2.1-r2: * Please note that flaggie creates backups of your package.* files * before performing each change through appending a single '~'. * If you'd like to keep your own backup of them, please use another * naming scheme (or even better some VCS). * * If you want to use bash-completion, you need to install: * app-shells/gentoo-bashcomp * Messages for package app-portage/gentoolkit-0.5.1-r1: * * For further information on gentoolkit, please read the gentoolkit * guide: https://wiki.gentoo.org/wiki/Gentoolkit * * Another alternative to equery is app-portage/portage-utils * * Additional tools that may be of interest: * * app-admin/eclean-kernel * app-portage/diffmask * app-portage/flaggie * app-portage/portpeek * app-portage/smart-live-rebuild >>> Auto-cleaning packages... >>> No outdated packages were found on your system. Reading Portage settings... Building database (/var/cache/eix/portage.eix)... [0] "gentoo" /var/db/repos/gentoo/ (cache: metadata-md5-or-flat) Reading category 169|169 (100) Finished Applying masks... Calculating hash tables... Writing database file /var/cache/eix/portage.eix... Database contains 19621 packages in 169 categories >>> Regenerating /etc/ld.so.cache... XXX Berney, about to remove openssh and openssl * This action can remove important packages! In order to be safer, use * `emerge -pv --depcleanIn kubler-bob-musl-core before building bob-musl, this is the state of
util-linux
:After adding
update_use 'sys-apps/util-linux' '+pam'
to theconfigure_bob()
this is theemerge -vt openssh
: