[Pkg-utopia-maintainers] Bug#1010151: libpipewire-0.3-dev:amd64: causes FTBFS in packages with -Werror=declaration-after-statement, like libsdl2
Simon McVittie
smcv at debian.org
Mon Apr 25 13:11:24 BST 2022
Package: libpipewire-0.3-dev
Version: 0.3.50-1
Severity: important
Tags: patch fixed-upstream
Forwarded: https://gitlab.freedesktop.org/pipewire/pipewire/-/merge_requests/1211
The pipewire 0.3.50 headers contain mixed declarations and code, which is
valid in C99 but not in C89. This causes FTBFS in dependent projects that
are using gcc -Werror=declaration-after-statement to enforce that they
stay strictly C89 for compatibility with old compilers, such as libsdl2.
Please consider applying the upstream patch that fixes this.
libsdl2/experimental has a workaround for this (patching its
build system to move from -Werror=declaration-after-statement
to -Wdeclaration-after-statement) but at the time of writing,
libsdl2/unstable still fails to build against pipewire 0.3.50-1.
smcv
-- System Information:
Debian Release: bookworm/sid
APT prefers unstable-debug
APT policy: (500, 'unstable-debug'), (500, 'stable-security'), (500, 'oldstable-debug'), (500, 'oldoldstable'), (500, 'buildd-unstable'), (500, 'unstable'), (500, 'testing'), (500, 'stable'), (500, 'oldstable'), (1, 'experimental-debug'), (1, 'buildd-experimental'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 5.17.0-1-amd64 (SMP w/4 CPU threads; PREEMPT)
Locale: LANG=en_GB.utf8, LC_CTYPE=en_GB.utf8 (charmap=UTF-8), LANGUAGE=en_GB:en
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
Versions of packages libpipewire-0.3-dev:amd64 depends on:
ii libpipewire-0.3-0 0.3.50-1
ii libspa-0.2-dev 0.3.50-1
libpipewire-0.3-dev:amd64 recommends no packages.
Versions of packages libpipewire-0.3-dev:amd64 suggests:
ii pipewire-doc 0.3.50-1
-- no debconf information
More information about the Pkg-utopia-maintainers
mailing list