From b23ceb76a8a7039bb1b04dc620a861cadb7ac799 Mon Sep 17 00:00:00 2001 From: "B. Watson" Date: Mon, 14 Sep 2026 22:29:22 -0400 Subject: sbopkglint: no bad glibc error for packages that bundle their own glibc in /opt. --- NEWS | 8 +++++++- sbopkglint.d/20-arch.t.sh | 7 ++++++- 2 files changed, 13 insertions(+), 2 deletions(-) diff --git a/NEWS b/NEWS index cef817f..dd650f3 100644 --- a/NEWS +++ b/NEWS @@ -1,11 +1,17 @@ The real ChangeLog is the git log. This is just a summary of the user-visible changes between releases. -New in 0.9.x: +New in 0.9.9: ============= sbolint: - Having multiple *.SlackBuild files is now an error. +- doinst.sh must not use chmod. +- doinst.sh must not refer to $PKG (it won't be set when it runs). + +sbopkglint: +- Package which bundle their own glibc in /opt no longer trigger + a bad glibc version error (example: signal-desktop). New in 0.9.8: ============= diff --git a/sbopkglint.d/20-arch.t.sh b/sbopkglint.d/20-arch.t.sh index b2a877c..8997709 100644 --- a/sbopkglint.d/20-arch.t.sh +++ b/sbopkglint.d/20-arch.t.sh @@ -55,7 +55,12 @@ glibc_check() { #echo "===> ver: $ver highver: $highver" if [ "$highver" != "$GLIBC_VER" ]; then - echo "$1" >> .badglibc.$$ + # one last check: we're now allowing packages to bundle their + # own glibc, in /opt/$PRGNAM. don't complain about these. + case "$( patchelf --print-interpreter "$1" )" in + /opt/*) ;; + *) echo "$1" >> .badglibc.$$ ;; + esac fi } -- cgit v1.2.3