• Bug#1100236: libsdl2: FTBFS: src/audio/pipewire/SDL_pipewire.c:593:37:

    From Santiago Vila@21:1/5 to All on Wed Mar 12 17:40:15 2025
    Package: src:libsdl2
    Version: 2.32.2+dfsg-1
    Severity: serious
    Tags: ftbfs trixie sid

    Dear maintainer:

    During a rebuild of all packages in unstable, your package failed to build:

    --------------------------------------------------------------------------------
    [...]
    /bin/bash ./libtool --tag=CC --mode=compile gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_
    SOURCE=2 -DUSING_GENERATED_CONFIG_H -Iinclude -I/<<PKGBUILDDIR>>/include -idirafter /<<PKGBUILDDIR>>/src/video/khronos -DSDL_BUILD_MAJOR_VERSION=2 -DSDL_BUILD_MINOR_VERSION=32 -DSDL_BUILD_MICRO_VERSION=2 -mmmx -msse -msse2 -msse3 -Wall -Wno-unused-local-
    typedefs -fno-strict-aliasing -fvisibility=hidden -Wdeclaration-after-statement -Werror=declaration-after-statement -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -D_REENTRANT -D_REENTRANT -I/usr/include/libdrm -Igen -I/usr/include/libdecor-0
    -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -I/usr/include/ibus-1.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -p
    thread -D_REENTRANT -DHAVE_LINUX_VERSION_H -c /<<PKGBUILDDIR>>/src/audio/pipewire/SDL_pipewire.c -o build/SDL_pipewire.lo
    libtool: compile: gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -DUSING_GENERATED_
    CONFIG_H -Iinclude -I/<<PKGBUILDDIR>>/include -idirafter /<<PKGBUILDDIR>>/src/video/khronos -DSDL_BUILD_MAJOR_VERSION=2 -DSDL_BUILD_MINOR_VERSION=32 -DSDL_BUILD_MICRO_VERSION=2 -mmmx -msse -msse2 -msse3 -Wall -Wno-unused-local-typedefs -fno-strict-
    aliasing -fvisibility=hidden -Wdeclaration-after-statement -Werror=declaration-after-statement -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -D_REENTRANT -D_REENTRANT -I/usr/include/libdrm -Igen -I/usr/include/libdecor-0 -I/usr/include/dbus-1.0 -I/
    usr/lib/x86_64-linux-gnu/dbus-1.0/include -I/usr/include/ibus-1.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -pthread -D_REENTRANT -DHAVE_LINUX_VER
    SION_H -c /<<PKGBUILDDIR>>/src/audio/pipewire/SDL_pipewire.c -fPIC -DPIC -o build/.libs/SDL_pipewire.o
    /<<PKGBUILDDIR>>/src/audio/pipewire/SDL_pipewire.c: In function 'node_event_info':
    /<<PKGBUILDDIR>>/src/audio/pipewire/SDL_pipewire.c:593:37: error: passing argument 1 of 'pw_node_enum_params' from incompatible pointer type [-Wincompatible-pointer-types]
    593 | pw_node_enum_params(node->proxy, 0, info->params[i].id, 0, 0, NULL);
    | ~~~~^~~~~~~
    | |
    | struct pw_proxy *
    In file included from /usr/include/pipewire-0.3/pipewire/pipewire.h:30,
    from /<<PKGBUILDDIR>>/src/audio/pipewire/SDL_pipewire.h:28,
    from /<<PKGBUILDDIR>>/src/audio/pipewire/SDL_pipewire.c:29: /usr/include/pipewire-0.3/pipewire/node.h:208:58: note: expected 'struct pw_node *' but argument is of type 'struct pw_proxy *'
    208 | PW_API_NODE_IMPL int pw_node_enum_params(struct pw_node *object,
    | ~~~~~~~~~~~~~~~~^~~~~~ make[2]: *** [Makefile:689: build/SDL_pipewire.lo] Error 1
    make[2]: Leaving directory '/<<PKGBUILDDIR>>'
    dh_auto_build: error: make -j1 V=1 returned exit code 2
    make[1]: *** [debian/rules:133: build-library] Error 25
    make[1]: Leaving directory '/<<PKGBUILDDIR>>'
    make: *** [debian/rules:90: binary] Error 2
    dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2 --------------------------------------------------------------------------------

    The above is just how the build ends and not necessarily the most relevant part.
    If required, the full build log is available here:

    https://people.debian.org/~sanvila/build-logs/202503/

    About the archive rebuild: The build was made on virtual machines from AWS, using sbuild and a reduced chroot with only build-essential packages.

    If you could not reproduce the bug please contact me privately, as I
    am willing to provide ssh access to a virtual machine where the bug is
    fully reproducible.

    If this is really a bug in one of the build-depends, please use
    reassign and add an affects on src:libsdl2, so that this is still
    visible in the BTS web page for this package.

    Thanks.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Debian Bug Tracking System@21:1/5 to All on Wed Mar 12 20:40:01 2025
    This is a multi-part message in MIME format...

    Your message dated Wed, 12 Mar 2025 19:35:08 +0000
    with message-id <E1tsRrA-00B8Eo-JF@fasolo.debian.org>
    and subject line Bug#1100236: fixed in libsdl2 2.32.2+dfsg-2
    has caused the Debian Bug report #1100236,
    regarding libsdl2: FTBFS: src/audio/pipewire/SDL_pipewire.c:593:37: error: passing argument 1 of 'pw_node_enum_params' from incompatible pointer type
    to be marked as done.

    This means that you claim that the problem has been dealt with.
    If this is not the case it is now your responsibility to reopen the
    Bug report if necessary, and/or fix the problem forthwith.

    (NB: If you are a system administrator and have no idea what this
    message is talking about, this may indicate a serious mail system misconfiguration somewhere. Please contact owner@bugs.debian.org
    immediately.)


    --
    1100236: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1100236
    Debian Bug Tracking System
    Contact owner@bugs.debian.org with problems

    Received: (at submit) by bugs.debian.org; 12 Mar 2025 16:31:38 +0000 X-Spam-Checker-Version: SpamAssassin 3.4.6-bugs.debian.org_2005_01_02
    (2021-04-09) on buxtehude.debian.org
    X-Spam-Level:
    X-Spam-Status: No, score=-121.1 required=4.0 tests=ALL_TRUSTED,BAYES_00,
    BODY_INCLUDES_PACKAGE,DKIMWL_WL_HIGH,DKIM_SIGNED,DKIM_VALID,
    DKIM_VALID_AU,DKIM_VALID_EF,FOURLA,FROMDEVELOPER,HAS_PACKAGE,
    USER_IN_DKIM_WELCOMELIST,USER_IN_DKIM_WHITELIST,X_DEBBUGS_CC
    autolearn=ham autolearn_force=no
    version=3.4.6-bugs.debian.org_2005_01_02
    X-Spam-Bayes: score:0.0000 Tokens: new, 38; hammy, 150; neutral, 158; spammy,
    0. spammytokens: hammytokens:0.000-+--trixie, 0.000-+--pkgbuilddir,
    0.000-+--PKGBUILDDIR, 0.000-+--H*F:U*sanvila, 0.000-+--H*rp:U*sanvila Return-path: <sanvila@debian.org>
    Received: from muffat.debian.org ([2607:f8f0:614:1::1274:33]:47202)
    from C=NA,ST=