• Bug#1105137: libcap2: update symbols for non-glibc architectures

    From Helmut Grohne@21:1/5 to All on Mon May 12 07:00:01 2025
    Source: libcap2
    Version: 1:2.75-7
    Tags: patch
    User: helmutg@debian.org
    Usertags: rebootstrap

    Hi,

    the symbol _IO_stdin_used was recently added in support of glibc-builds.
    Its definition is guarded by #ifdef __GLIBC__ and therefore it is
    unavailable on non-glibc architectures such as musl. Please mark it as a glibc-only symbol in the symbols file. I'm attaching a patch for your convenience.

    Helmut

    diff --minimal -Nru libcap2-2.75/debian/changelog libcap2-2.75/debian/changelog --- libcap2-2.75/debian/changelog 2025-04-21 20:42:52.000000000 +0200
    +++ libcap2-2.75/debian/changelog 2025-05-11 12:47:25.000000000 +0200
    @@ -1,3 +1,10 @@
    +libcap2 (1:2.75-7.1) UNRELEASED; urgency=medium
    +
    + * Non-maintainer upload.
    + * Mark _IO_stdin_used as glibc-only symbol. (Closes: #-1)
    +
    + -- Helmut Grohne <helmut@subdivi.de> Sun, 11 May 2025 12:47:25 +0200
    +
    libcap2 (1:2.75-7) unstable; urgency=medium

    [ Helmut Grohne ]
    diff --minimal -Nru libcap2-2.75/debian/libcap2.symbols libcap2-2.75/debian/libcap2.symbols
    --- libcap2-2.75/debian/libcap2.symbols 2025-04-21 20:42:52.000000000 +0200
    +++ libcap2-2.75/debian/libcap2.symbols 2025-05-11 12:47:24.000000000 +0200
    @@ -1,6 +1,6 @@
    libcap.so.2 libcap2 #MINVER#
    * Build-Depends-Package: libcap-dev
    - _IO_stdin_used@Base 1:2.75
    + (arch=gnu-any-any)_IO_stdin_used@Base 1:2.75
    __execable_dl_loader@Base 1:2.63
    cap_clear@Base 1:2.10
    cap_clear_flag@Base 1:2.10

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Helmut Grohne@21:1/5 to Christian Kastner on Mon May 19 18:20:02 2025
    Hi Christian,

    On Tue, May 13, 2025 at 10:21:18PM +0200, Christian Kastner wrote:
    Judging by severity of 'normal', I guess this is not something that absolutely must enter trixie? Just asking in case I need to look for an unblock.

    This is not needed urgently. musl still faces problems with systemd, so
    the practical use is limited. Working around it also is trivial by
    export DPKG_GENSYMBOLS_CHECK_LEVEL=0.

    Helmut

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)