From de9b3ee24b53db09e977c5a211a40d615e364c0e Mon Sep 17 00:00:00 2001 From: Jacob Heider Date: Wed, 12 Aug 2026 20:32:00 -0400 Subject: [PATCH] fix(procps) closes #14038 --- projects/gitlab.com/procps-ng/procps/package.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/projects/gitlab.com/procps-ng/procps/package.yml b/projects/gitlab.com/procps-ng/procps/package.yml index 39fa874d47..1b4773c3ff 100644 --- a/projects/gitlab.com/procps-ng/procps/package.yml +++ b/projects/gitlab.com/procps-ng/procps/package.yml @@ -31,6 +31,12 @@ build: - --prefix={{ prefix }} - --disable-nls - --disable-pidwait + # 4.0.7's top calls pthread_sigmask without linking -lpthread, assuming + # glibc >=2.34 where libpthread is merged into libc. The linux builder is + # glibc 2.28 (buster), where it still lives in libpthread.so. Harmless on + # newer glibc, where libpthread is an empty compat stub. Same pattern as + # openldap's -ldl. + LDFLAGS: $LDFLAGS -lpthread provides: - bin/free