Pipewire fails to compile if the option wireplumber is set to auto/enabled in meson_options.txt
Version, Distribution, Desktop Environment:git, Debian Sid, Xfce
Description of Problem: Pipewire fails to compile if the option wireplumber is set to auto/enabled in meson_options.txt
How Reproducible: Always
Steps to Reproduce:
1.git clone https://gitlab.freedesktop.org/pipewire/pipewire.git
-
copy the debian folder from Debian pipewire sources to the pipewire folder: http://deb.debian.org/debian/pool/main/p/pipewire/pipewire_0.3.30-1.debian.tar.xz
-
Run cd pipewire and debuild -us -uc -b
Actual Results:
../src/daemon/meson.build:35:2: ERROR: Automatic wrap-based subproject downloading is disabled
dh_auto_configure: error: cd obj-x86_64-linux-gnu && LC_ALL=C.UTF-8 meson .. --wrap-mode=nodownload --buildtype=plain --prefix=/usr --sysconfdir=/etc --localstatedir=/var --libdir=lib/x86_64-linux-gnu -Daudiotestsrc=disabled -Dauto_features=enabled -Davahi=disabled -Dbluez5-codec-aac=disabled -Dbluez5-codec-ldac=enabled -Dlibcamera=disabled -Ddocs=enabled -Dffmpeg=disabled -Dinstalled_tests=disabled -Dman=enabled -Dtest=disabled -Dvideotestsrc=disabled -Dvolume=enabled -Dvulkan=disabled returned exit code 1
Expected Results: Pipewire compilation succeeds. Compilation succeeds if the option wireplumber is set to disabled. @wtaymans: set it disabled as default.
Compilation proceeds if adding --wrap-mode=default in debian/rules:
override_dh_auto_configure:
dh_auto_configure -- \
--wrap-mode=default \
and set option('doc', type : 'feature', value : 'disabled', in subprojects/wireplumber/meson_options.txt
Then it fails to wireplumber tests:
Ok: 21
Expected Fail: 0
Fail: 6
Unexpected Pass: 0
Skipped: 0
Timeout: 0
dh_auto_test: error: cd obj-x86_64-linux-gnu && LC_ALL=C.UTF-8 MESON_TESTTHREADS=12 meson test --timeout-multiplier 1 returned exit code 6
make[1]: *** [debian/rules:53: override_dh_auto_test] Error 25
I can not find a configuration file where wireplumber tests can be disabled.