Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] glibc: depend on libxcrypt to ensure partial upgrades work
@ 2023-12-27 21:01 classabbyamp
  2023-12-27 21:04 ` [PR PATCH] [Updated] " classabbyamp
                   ` (7 more replies)
  0 siblings, 8 replies; 9+ messages in thread
From: classabbyamp @ 2023-12-27 21:01 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 779 bytes --]

There is a new pull request by classabbyamp against master on the void-packages repository

https://github.com/classabbyamp/void-packages glibc-partial
https://github.com/void-linux/void-packages/pull/47931

glibc: depend on libxcrypt 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.

<!-- Uncomment relevant sections and delete options which are not applicable -->

#### Testing the changes
- I tested the changes in this PR: **NO** (currently away from other systems I can test on)


A patch file from https://github.com/void-linux/void-packages/pull/47931.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-glibc-partial-47931.patch --]
[-- Type: text/x-diff, Size: 1198 bytes --]

From 7f91e1d4b743797829eba963f7b88392d5ed3acd Mon Sep 17 00:00:00 2001
From: classabbyamp <void@placeviolette.net>
Date: Wed, 27 Dec 2023 15:58:09 -0500
Subject: [PATCH] glibc: depend on libxcrypt 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.
---
 srcpkgs/glibc/template | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/glibc/template b/srcpkgs/glibc/template
index cf7cd073a9500..841856a5de993 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 <gottox@voidlinux.org>"
@@ -50,6 +50,8 @@ if [ "$CHROOT_READY" ]; then
 	hostmakedepends="bison gettext perl python3 texinfo"
 fi
 makedepends="kernel-libc-headers"
+# to ensure partial upgrades don't break things like PAM
+depends="libxcrypt"
 lib32files="/usr/lib/gconv/gconv-modules"
 lib32symlinks="ld-linux.so.2"
 archs="~*-musl"

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2024-01-03 21:08 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-12-27 21:01 [PR PATCH] glibc: depend on libxcrypt to ensure partial upgrades work classabbyamp
2023-12-27 21:04 ` [PR PATCH] [Updated] " classabbyamp
2023-12-27 22:42 ` oreo639
2023-12-27 22:42 ` oreo639
2023-12-27 22:45 ` oreo639
2023-12-27 22:56 ` oreo639
2023-12-28  1:12 ` oreo639
2024-01-03 20:37 ` [PR PATCH] [Updated] " classabbyamp
2024-01-03 21:08 ` [PR PATCH] [Merged]: " classabbyamp

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).