From e8e16c42d632af399c2f431916b0bbb2c9992474 Mon Sep 17 00:00:00 2001 From: classabbyamp Date: Wed, 27 Dec 2023 15:58:09 -0500 Subject: [PATCH] glibc: depend on libxcrypt-compat to ensure partial upgrades work if a partial upgrade occurs that includes glibc but not libxcrypt, libcrypt.so.1 will disappear and things like PAM will fail to work. This is only solvable by chrooting in and downgrading glibc or installing libxcrypt-compat. --- srcpkgs/glibc/template | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/srcpkgs/glibc/template b/srcpkgs/glibc/template index cf7cd073a95..3272a1df265 100644 --- a/srcpkgs/glibc/template +++ b/srcpkgs/glibc/template @@ -1,7 +1,7 @@ # Template file for 'glibc' pkgname=glibc version=2.38 -revision=2 +revision=3 bootstrap=yes short_desc="GNU C library" maintainer="Enno Boland " @@ -48,6 +48,9 @@ conf_files=" /etc/ld.so.conf" if [ "$CHROOT_READY" ]; then hostmakedepends="bison gettext perl python3 texinfo" + # XXX: remove this on the next update + # ensures partial upgrades don't break things like PAM + depends="libxcrypt-compat" fi makedepends="kernel-libc-headers" lib32files="/usr/lib/gconv/gconv-modules"