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

Bug#1124709: marked as done (lsp-plugins FTCBFS for some architectures)



Your message dated Wed, 07 Jan 2026 19:21:12 +0000
with message-id <E1vdZ5k-00000007Vcp-0M5Z@fasolo.debian.org>
and subject line Bug#1124709: fixed in lsp-plugins 1.2.26-2
has caused the Debian Bug report #1124709,
regarding lsp-plugins FTCBFS for some architectures
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.)


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

Thanks for applying my earlier cross build patch. This made lsp-plugins
cross build for some architectures such as armhf and arm64. It still
fails e.g. for ppc64el, riscv64 and s390x. The reason is that
debian/rules only assigns an ARCHITECTURE value for some architectures
and for the other ones the autodetection selects the build architecture.
Initializing ARCHITECTURE (which defaults to uname -m) with
DEB_HOST_GNU_CPU is a relatively good approximation given the matching
in the upstream build system and the special cases in debian/rules.

While at it, I also fixed a bit of host vs target confusion and removed
a bit of unnecessary shell usage. You'll find it all in the attached
patch. I tested the cross build for all release architectures now.

Helmut
diff -Nru lsp-plugins-1.2.26/debian/changelog lsp-plugins-1.2.26/debian/changelog
--- lsp-plugins-1.2.26/debian/changelog	2025-12-26 14:52:18.000000000 +0100
+++ lsp-plugins-1.2.26/debian/changelog	2026-01-03 09:39:52.000000000 +0100
@@ -1,3 +1,12 @@
+lsp-plugins (1.2.26-1.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix FTCBFS: Always export ARCHITECTURE. (Closes: #-1)
+  * Fix host vs target confusion.
+  * Avoid use of shell in d/rules.
+
+ -- Helmut Grohne <helmut@subdivi.de>  Sat, 03 Jan 2026 09:39:52 +0100
+
 lsp-plugins (1.2.26-1) unstable; urgency=medium
 
   * Team upload
diff -Nru lsp-plugins-1.2.26/debian/rules lsp-plugins-1.2.26/debian/rules
--- lsp-plugins-1.2.26/debian/rules	2025-12-26 13:25:12.000000000 +0100
+++ lsp-plugins-1.2.26/debian/rules	2026-01-03 09:39:52.000000000 +0100
@@ -6,34 +6,34 @@
 
 export VERBOSE=1
 
-noatomicarch = $(shell dpkg-architecture -qDEB_HOST_ARCH | egrep -x "(armel|powerpc|powerpcspe|m68k|mips|mipsel|sh4|riscv64)")
 # link with libatomic on architectures without built-in atomic
-ifeq ($(if $(noatomicarch),atomic), atomic)
+ifneq (,$(filter $(DEB_HOST_ARCH),armel powerpc powerpcspe m68k mips mipsel sh4 riscv64))
         LIBS += -latomic
 endif
 
-ifeq ($(DEB_TARGET_ARCH),armel)
+ARCHITECTURE=$(DEB_HOST_GNU_CPU)
+
+ifeq ($(DEB_HOST_ARCH),armel)
 	ARCHITECTURE=arm32
-	ARCHITECTURE_FAMILY=generic
 	ARCHITECTURE_CFLAGS='-march=armv5t -marm'
 endif
 
-ifeq ($(DEB_TARGET_ARCH),armhf)
+ifeq ($(DEB_HOST_ARCH),armhf)
 	ARCHITECTURE=armhf
 	ARCHITECTURE_CFLAGS='-march=armv7-a+fp -marm'
 endif
 
-ifeq ($(DEB_TARGET_ARCH),arm64)
+ifeq ($(DEB_HOST_ARCH),arm64)
 	ARCHITECTURE=aarch64
 	ARCHITECTURE_CFLAGS='-march=armv8-a'
 endif
 
-ifeq ($(DEB_TARGET_ARCH),i386)
+ifeq ($(DEB_HOST_ARCH),i386)
 	ARCHITECTURE=i586
 	ARCHITECTURE_CFLAGS='-march=i586 -m32'
 endif
 
-ifeq ($(DEB_TARGET_ARCH),x32)
+ifeq ($(DEB_HOST_ARCH),x32)
 	ARCHITECTURE=i586
 	ARCHITECTURE_CFLAGS='-march=i586 -m32'
 endif

--- End Message ---
--- Begin Message ---
Source: lsp-plugins
Source-Version: 1.2.26-2
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 1124709@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: Wed, 07 Jan 2026 19:51:27 +0100
Source: lsp-plugins
Architecture: source
Version: 1.2.26-2
Distribution: unstable
Urgency: medium
Maintainer: Debian Multimedia Maintainers <debian-multimedia@lists.debian.org>
Changed-By: Dennis Braun <snd@debian.org>
Closes: 1124709
Changes:
 lsp-plugins (1.2.26-2) unstable; urgency=medium
 .
   [ Helmut Grohne ]
   * Fix FTCBFS: Always export ARCHITECTURE. (Closes: #1124709)
   * Fix host vs target confusion.
   * Avoid use of shell in d/rules.
 .
   [ Dennis Braun ]
   * d/rules: Remove unsupported architectures
Checksums-Sha1:
 7dd593fd33d59aaa091db0663676ccedaa667f15 2782 lsp-plugins_1.2.26-2.dsc
 9760a428fadbd0e291024181ea66188e7c908334 15932 lsp-plugins_1.2.26-2.debian.tar.xz
 18d0c24d0047fa40e608c1e79718a674225aa0a3 7887 lsp-plugins_1.2.26-2_source.buildinfo
Checksums-Sha256:
 a4a4f6a49ff1488964a5be615bdc2573662d25a252098639da994cf16af10259 2782 lsp-plugins_1.2.26-2.dsc
 c9f315b40a7bd04e721929744d984a29e26343282e7d1171691b200732d64da3 15932 lsp-plugins_1.2.26-2.debian.tar.xz
 6062ffb941c579db92322290d405a174733355a5f8d601a39a4856c802edd664 7887 lsp-plugins_1.2.26-2_source.buildinfo
Files:
 69de3e267f18196be5df41861369ef59 2782 sound optional lsp-plugins_1.2.26-2.dsc
 64f1a74610134dad3a25eae399708db9 15932 sound optional lsp-plugins_1.2.26-2.debian.tar.xz
 62c74bb53c13574afadafbc5dfa85be0 7887 sound optional lsp-plugins_1.2.26-2_source.buildinfo

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

wsG7BAEBCgBvBYJpXqxsCRBjTqVdkCuYNkcUAAAAAAAeACBzYWx0QG5vdGF0aW9u
cy5zZXF1b2lhLXBncC5vcmdjkE2pej4Zh10XoRHlpG9xMjuShg5yQqvruNl1R3oL
ZBYhBDy3wwKvtX5hqMYX3WNOpV2QK5g2AACoXQ//co4imJxaDO5luCmuessIrUTs
QYcOmlaHdI026lEIZsVNRLJdslr2TccRvmOzXrjxNUmSGriEKbSOyWz6+4n+rlwA
AeY/QcWwjETVA0WafkHqFygqsmaaCZKhFGcgKktj++dHZ2MqG3XKkKYMdsjXDsfG
5LY6c3ef8A1brAMqRdNeFWjTOzXpQoJ4tjbDXQ1syN72VPSABy8UAYGBfL2KW0Z/
LU1/70Hnd0x6N0vwViW1FPCqqCnysS5S1pliFArICtyGKwB7BXs6Y4lVdkRbzg+i
W/YUi+YC1EdhtTFkFKOYUQRy3NYCvEoo2sCjy9pj8aAIGo2tQl2nc9utuvuI4K4o
aR1eASs7tbkMZ/6M4o5JzyVlnD8GoDIHdBHgImdbT5Eo856tdlw64q2MQ9T+hN5P
ZOdp2WcsieC+lRKSpbjFw0W3csYSpdw2+pS295MuOFXGZX3vEqMjsuFoMZS1GtXi
lCvCzrPMPzO6s7Vb36pdOvqwAwCIz+8wjamWjoXrVSTU62uLuzgcRVhMopb+pTH8
Asz8iKF+4U9OyCpyJp2AlHIZLb6QJ7jGiKHz3cAHrHcK5CDCGWCcqFCs+bAHD5fc
BPprb0hdNSrphsvii4nzwUG/PMWVL88qOdaTqmObUGuKtDMoZMeR49n6MCtW6DlU
aMZA0vdoAtBUNodH79E=
=sR4H
-----END PGP SIGNATURE-----

Attachment: pgpFP4QEyGsUR.pgp
Description: PGP signature


--- End Message ---

Reply to: