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

Bug#1120808: marked as done (lsp-plugins FTCBFS: multiple reasons)



Your message dated Fri, 26 Dec 2025 14:52:36 +0000
with message-id <E1vZ9BE-00156l-0F@fasolo.debian.org>
and subject line Bug#1120808: fixed in lsp-plugins 1.2.26-1
has caused the Debian Bug report #1120808,
regarding lsp-plugins FTCBFS: multiple reasons
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.)


-- 
1120808: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1120808
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Source: lsp-plugins
Version: 1.2.25-1
Tags: patch
User: debian-cross@lists.debian.org
Usertags: ftcbfs

lsp-plugins fails to cross build from source for a number of reasons.

An early sign is a failure to find freetype. This is due to the 
configure target not being passed a triplet-prefixed pkg-config. It also 
happens to need a suitable LD and CROSS_COMPILE variable.

After fixing that, the native (lsp calls this host, dpkg calls this 
build) build pass misses freetype and later sndfile. These packages are 
needed for both the build architecture and host architecture (in dpkg 
terms), so :native dependencies are needed.

Last but not least, make install relinks some files. It should not do 
that, but it does. Unfortunately, dh_auto_install does not pass cross 
tools to make install, so this relinking happens with the build 
architecture compiler (in dpkg terms) and it doesn't like the host's 
objects (in dpkg terms, lsp calls this target). Explicitly passing CXX 
works around this.

With all of these changes, lsp-plugins can be made to cross build. 
Please consider applying the attached patch.

Helmut
diff -Nru lsp-plugins-1.2.25/debian/changelog lsp-plugins-1.2.25/debian/changelog
--- lsp-plugins-1.2.25/debian/changelog	2025-11-09 23:29:12.000000000 +0100
+++ lsp-plugins-1.2.25/debian/changelog	2025-11-15 00:25:14.000000000 +0100
@@ -1,3 +1,13 @@
+lsp-plugins (1.2.25-1.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix FTCBFS: (Closes: #-1)
+    + Pass triplet-prefixed tools and CROSS_COMPILE to configure.
+    + Pass a triplet-prefixed compiler to make install.
+    + Add missing native build dependencies.
+
+ -- Helmut Grohne <helmut@subdivi.de>  Sat, 15 Nov 2025 00:25:14 +0100
+
 lsp-plugins (1.2.25-1) unstable; urgency=medium
 
   * New upstream version 1.2.25
diff -Nru lsp-plugins-1.2.25/debian/control lsp-plugins-1.2.25/debian/control
--- lsp-plugins-1.2.25/debian/control	2025-11-09 23:28:59.000000000 +0100
+++ lsp-plugins-1.2.25/debian/control	2025-11-15 00:25:14.000000000 +0100
@@ -9,10 +9,12 @@
  ladspa-sdk,
  libcairo2-dev,
  libexpat1-dev,
+ libfreetype-dev:native,
  libgl-dev,
  libglu1-mesa-dev,
  libjack-dev | libjack-jackd2-dev,
  libsndfile1-dev,
+ libsndfile1-dev:native,
  libxrandr-dev,
  lv2-dev,
  unsupported-architecture [armel hurd-i386 hurd-amd64],
diff -Nru lsp-plugins-1.2.25/debian/rules lsp-plugins-1.2.25/debian/rules
--- lsp-plugins-1.2.25/debian/rules	2025-04-10 23:16:27.000000000 +0200
+++ lsp-plugins-1.2.25/debian/rules	2025-11-15 00:25:14.000000000 +0100
@@ -47,6 +47,9 @@
 execute_before_dh_auto_configure:
 	find -type f -name Makefile*.d -delete
 	$(MAKE) config FEATURES='clap jack ladspa lv2 ui vst2 vst3 xdg' \
+		$(if $(filter $(DEB_BUILD_ARCH),$(DEB_HOST_ARCH)),,CROSS_COMPILE=1) \
+		LD='$(LD)' \
+		PKG_CONFIG='$(PKG_CONFIG)' \
 		DESTDIR=debian/tmp \
 		PREFIX=/usr \
 		ARCHITECTURE=$(ARCHITECTURE) \
@@ -56,3 +59,6 @@
 override_dh_auto_test:
 	# the test suite requires build options incompatible with what we
 	# ship in the package, so disable until upstream resolves this
+
+override_dh_auto_install:
+	dh_auto_install -- CXX='$(CXX)'

--- End Message ---
--- Begin Message ---
Source: lsp-plugins
Source-Version: 1.2.26-1
Done: Dennis Braun <snd@debian.org>

We believe that the bug you reported is fixed in the latest version of
lsp-plugins, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 1120808@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Dennis Braun <snd@debian.org> (supplier of updated lsp-plugins package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Fri, 26 Dec 2025 14:52:18 +0100
Source: lsp-plugins
Architecture: source
Version: 1.2.26-1
Distribution: unstable
Urgency: medium
Maintainer: Debian Multimedia Maintainers <debian-multimedia@lists.debian.org>
Changed-By: Dennis Braun <snd@debian.org>
Closes: 1120808
Changes:
 lsp-plugins (1.2.26-1) unstable; urgency=medium
 .
   * Team upload
 .
   [ Erich Eickmeyer ]
   * New upstream version 1.2.26
 .
   [ Helmut Grohne ]
   * Fix FTCBFS: (Closes: #1120808)
     + Pass triplet-prefixed tools and CROSS_COMPILE to configure.
     + Pass a triplet-prefixed compiler to make install.
     + Add missing native build dependencies.
 .
   [ Dennis Braun ]
   * Bump Standards-Version to 4.7.3
Checksums-Sha1:
 7b5ff979bd4a05cd46d906d8cb7a5963e6aeaf55 2782 lsp-plugins_1.2.26-1.dsc
 4610395ea1300df46e262d41640b12e9c51cae4b 58532818 lsp-plugins_1.2.26.orig.tar.gz
 6345c766c2ea3681b409944ca8975ee79fdfcda2 15940 lsp-plugins_1.2.26-1.debian.tar.xz
 946a2bae80cbad46dc370ce725bb3f7e475e321b 7887 lsp-plugins_1.2.26-1_source.buildinfo
Checksums-Sha256:
 64280c7399844db4baa8136648659507007e55662a6381f8d3f728c8c748a62b 2782 lsp-plugins_1.2.26-1.dsc
 44832a99226417dd2efa74880990a3de71ab031d667d45ec3d06f795789c09f3 58532818 lsp-plugins_1.2.26.orig.tar.gz
 a230ad52be28e9c05eed731f475cf3739375e07bfe260e783d429b0211e7ff4b 15940 lsp-plugins_1.2.26-1.debian.tar.xz
 52a835de093412afb842be5d2e5657ff0216ba6783c60bb5f6bfc3ad48120517 7887 lsp-plugins_1.2.26-1_source.buildinfo
Files:
 a09787b6bce6d469212df41f3815507a 2782 sound optional lsp-plugins_1.2.26-1.dsc
 2c2e656291c66bf22648e05c1eb9f94c 58532818 sound optional lsp-plugins_1.2.26.orig.tar.gz
 7337ceb973a2af9662f8f2434150fb02 15940 sound optional lsp-plugins_1.2.26-1.debian.tar.xz
 776b7d364a77feb81775c940af1ff07e 7887 sound optional lsp-plugins_1.2.26-1_source.buildinfo

-----BEGIN PGP SIGNATURE-----

wsG7BAEBCgBvBYJpTpOACRBjTqVdkCuYNkcUAAAAAAAeACBzYWx0QG5vdGF0aW9u
cy5zZXF1b2lhLXBncC5vcmfdSlC+uGVFbiPNhFU0OSxhNzmcOgajhjyg6ZbkdFeX
BhYhBDy3wwKvtX5hqMYX3WNOpV2QK5g2AAD5Fw/+JHKZy4ALfooC5KXcUp0xoQbv
4Nvh/COpbL1CcgULn4OerQ6GQEtKrmdZOARrR8EpqOnk+HVy4pyZ1QNqF9U5qxPY
DTR/awKvQ1/IT1Rvk1C8x3BmmOCQ9e6EcMXg52shZ/HjTJBAMrOVqTzZDQIuXxJN
XcFqWRqd7BdNWSWTDBb/v89rLPHaAjCjhJMpl816UTefHZGGsTcoVqXX59MGZnfN
qVIO2w92oX12HwPy/BRAI7ytqiopKMJQg6fSqyOGVGrX2RvzKWgymwovPhucFyeJ
NdfA+u90274g/p1Xx7sXaaZV60BGDRVDF/JgUMYpWTHlJhEsChK1IEpCi456e3eR
i131bmI0ylXKuQ9fH0mfqMlyELj7jW3Ich5l1Zwd5sM7Siu7sRiE7GyL9+O3xTlG
HFjq1AYynCuhE3Je/g7Y37c8QDmuYgWO9LPL4ahHf7F6Zcs3wcA64Uy6+zUghmpv
HT3p2pCjrzlGroWzlPEjq8ABOxfn6Q9YK49IN6BogW3oFOugkVKXLlVFMtX1bZ49
mkEcNETKarleKGYUDxUScndhrUwjbDiBGrNkLe/bm0I82pwdTenlQYYN07r559xL
EcsRr2iwqet8QE34/MrcEzfUFnsM0xzbv2M8mrRSkrctDvZD4UfFWkOpCGnn4wzq
V2rBGeRfAhgBPfJ1cMI=
=H7EQ
-----END PGP SIGNATURE-----

Attachment: pgpuAsdj2qz5R.pgp
Description: PGP signature


--- End Message ---

Reply to: