[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#1121309: audacity FTCBFS: multiple reasons



Source: audacity
Version: 3.7.5+dfsg-2
Tags: patch
User: debian-cross@lists.debian.org
Usertags: ftcbfs

audacity fails to cross build from source for two distinct reasons.

There is a native build pass where we disable just about everything we
can disable. It turns out that portmidi can no longer be disabled. Doing
so results in an error from CMake. The simple solution here is to just
make it available.

In addition to that, the location of the image-compiler changed
upstream.

I'm attaching a patch fixing both aspects. Please consider applying it.

Helmut
diff -Nru audacity-3.7.5+dfsg/debian/changelog audacity-3.7.5+dfsg/debian/changelog
--- audacity-3.7.5+dfsg/debian/changelog	2025-09-28 19:59:03.000000000 +0200
+++ audacity-3.7.5+dfsg/debian/changelog	2025-11-24 12:08:22.000000000 +0100
@@ -1,3 +1,12 @@
+audacity (3.7.5+dfsg-2.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix FTCBFS: (Closes: #-1)
+    + Enable portmidi in native build pass.
+    + Update location of native image-compiler.
+
+ -- Helmut Grohne <helmut@subdivi.de>  Mon, 24 Nov 2025 12:08:22 +0100
+
 audacity (3.7.5+dfsg-2) unstable; urgency=medium
 
   * Build with vst3sdk support. Thanks to Andrius Merkys (Closes: #1094467)
diff -Nru audacity-3.7.5+dfsg/debian/control audacity-3.7.5+dfsg/debian/control
--- audacity-3.7.5+dfsg/debian/control	2025-09-18 18:54:23.000000000 +0200
+++ audacity-3.7.5+dfsg/debian/control	2025-11-24 12:08:22.000000000 +0100
@@ -29,6 +29,7 @@
                libogg-dev,
 	       libopusfile-dev,
                libportmidi-dev,
+               libportmidi-dev:native,
                libportsmf-dev,
                libsbsms-dev (>= 2.2.0~),
                libsndfile1-dev,
diff -Nru audacity-3.7.5+dfsg/debian/rules audacity-3.7.5+dfsg/debian/rules
--- audacity-3.7.5+dfsg/debian/rules	2025-09-18 18:53:44.000000000 +0200
+++ audacity-3.7.5+dfsg/debian/rules	2025-11-24 12:08:22.000000000 +0100
@@ -24,7 +24,7 @@
 endif
 
 ifneq ($(DEB_BUILD_GNU_TYPE),$(DEB_HOST_GNU_TYPE))
-CROSS_CMAKE_FLAGS = -DIMAGE_COMPILER_EXECUTABLE=$(CURDIR)/obj-$(DEB_BUILD_GNU_TYPE)/utils/image-compiler
+CROSS_CMAKE_FLAGS = -DIMAGE_COMPILER_EXECUTABLE=$(CURDIR)/obj-$(DEB_BUILD_GNU_TYPE)/RelWithDebInfo/bin/image-compiler
 endif
 
 ifeq ($(DEB_HOST_ARCH),i386)
@@ -41,7 +41,6 @@
 	-Daudacity_use_libopus=off \
 	-Daudacity_use_libvorbis=off \
 	-Daudacity_use_lv2=off \
-	-Daudacity_use_midi=off \
 	-Daudacity_use_portsmf=off \
 	-Daudacity_use_sbsms=off \
 	-Daudacity_use_soundtouch=off \

Reply to: