Source: pulseaudio
Version: 15.0+dfsg1-2
Tags: ftbfs patch

pulseaudio fails to build from source when built with the nocheck build
profile+option, because meson insists on requiring check. Please
consider applying the attached patch to disable tests on nocheck builds.

Helmut
diff --minimal -Nru pulseaudio-15.0+dfsg1/debian/changelog 
pulseaudio-15.0+dfsg1/debian/changelog
--- pulseaudio-15.0+dfsg1/debian/changelog      2021-08-18 01:16:03.000000000 
+0200
+++ pulseaudio-15.0+dfsg1/debian/changelog      2021-08-26 17:36:23.000000000 
+0200
@@ -1,3 +1,10 @@
+pulseaudio (15.0+dfsg1-2.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix nocheck FTBFS: Disable tests. (Closes: #-1)
+
+ -- Helmut Grohne <[email protected]>  Thu, 26 Aug 2021 17:36:23 +0200
+
 pulseaudio (15.0+dfsg1-2) unstable; urgency=medium
 
   * Release to unstable
diff --minimal -Nru pulseaudio-15.0+dfsg1/debian/rules 
pulseaudio-15.0+dfsg1/debian/rules
--- pulseaudio-15.0+dfsg1/debian/rules  2021-08-18 01:16:03.000000000 +0200
+++ pulseaudio-15.0+dfsg1/debian/rules  2021-08-26 17:36:23.000000000 +0200
@@ -49,6 +49,7 @@
   -Dsystemd=$(systemd) \
   -Dudev=$(systemd) \
   -Dstream-restore-clear-old-devices=true \
+  -Dtests=$(if $(filter nocheck,$(DEB_BUILD_OPTIONS)),false,true) \
 
 
 PA_MAJORMINOR = $(shell echo $(DEB_VERSION_UPSTREAM) | sed -r -e 
's/^([0-9]+\.[0-9]+).*/\1/')
_______________________________________________
pkg-pulseaudio-devel mailing list
[email protected]
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-pulseaudio-devel

Reply via email to