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

Bug#1095180: marked as done (kodi FTCBFS: passes host flags to the build compiler)



Your message dated Tue, 18 Mar 2025 06:49:59 +0000
with message-id <E1tuQlz-002A6G-Jt@fasolo.debian.org>
and subject line Bug#1095180: fixed in kodi 2:21.2+dfsg-2
has caused the Debian Bug report #1095180,
regarding kodi FTCBFS: passes host flags to the build compiler
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.)


-- 
1095180: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1095180
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Source: kodi
Version: 2:21.2+dfsg-1
Tags: patch
User: debian-cross@lists.debian.org
Usertags: ftcbfs

kodi fails to cross build from source, because it passes host compiler
flags to the build compiler during its native pass. Those flags are set
up by dh when entering the override and inherited into the cmake
invocation. What is needed here is recomputing the flags for the build
architecture. I'm attaching a patch for your convenience.

Helmut
diff --minimal -Nru kodi-21.2+dfsg/debian/changelog kodi-21.2+dfsg/debian/changelog
--- kodi-21.2+dfsg/debian/changelog	2025-01-16 00:24:00.000000000 +0100
+++ kodi-21.2+dfsg/debian/changelog	2025-02-04 20:02:29.000000000 +0100
@@ -1,3 +1,11 @@
+kodi (2:21.2+dfsg-1.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix FTCBFS: Correctly compute compiler flags for the native pass.
+    (Closes: #-1)
+
+ -- Helmut Grohne <helmut@subdivi.de>  Tue, 04 Feb 2025 20:02:29 +0100
+
 kodi (2:21.2+dfsg-1) unstable; urgency=high
 
   * New upstream version 21.2+dfsg
diff --minimal -Nru kodi-21.2+dfsg/debian/rules kodi-21.2+dfsg/debian/rules
--- kodi-21.2+dfsg/debian/rules	2025-01-16 00:24:00.000000000 +0100
+++ kodi-21.2+dfsg/debian/rules	2025-02-04 20:02:29.000000000 +0100
@@ -213,13 +213,15 @@
 	# We are cross-compiling!
 	# Produce the JsonSchemaBuilder and TexturePacker
 	# prerequisites for the build architecture
-	cmake \
+	eval `dpkg-architecture -a$(DEB_BUILD_ARCH) -f -c dpkg-buildflags --export=sh`; \
+		cmake \
 		-G"Unix Makefiles" \
 		-Stools/depends/native/JsonSchemaBuilder/src \
 		-B$(CURDIR)/native-tools/JsonSchemaBuilder \
 		-DCMAKE_INSTALL_PREFIX=$(CURDIR)/native-tools
 	cd $(CURDIR)/native-tools/JsonSchemaBuilder && make -j install
-	cmake \
+	eval `dpkg-architecture -a$(DEB_BUILD_ARCH) -f -c dpkg-buildflags --export=sh`; \
+		cmake \
 		-G"Unix Makefiles" \
 		-Stools/depends/native/TexturePacker/src \
 		-B$(CURDIR)/native-tools/TexturePacker \

--- End Message ---
--- Begin Message ---
Source: kodi
Source-Version: 2:21.2+dfsg-2
Done: Vasyl Gello <vasek.gello@gmail.com>

We believe that the bug you reported is fixed in the latest version of
kodi, 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 1095180@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Vasyl Gello <vasek.gello@gmail.com> (supplier of updated kodi 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: SHA256

Format: 1.8
Date: Tue, 18 Mar 2025 06:14:05 +0000
Source: kodi
Architecture: source
Version: 2:21.2+dfsg-2
Distribution: unstable
Urgency: high
Maintainer: Debian Multimedia Maintainers <debian-multimedia@lists.debian.org>
Changed-By: Vasyl Gello <vasek.gello@gmail.com>
Closes: 1095180 1100094 1100691 1100726
Changes:
 kodi (2:21.2+dfsg-2) unstable; urgency=high
 .
   * Add workaround for pipewire 1.4.0 (Closes: #1100094, #1100691)
   * Restrict tinyxml2 to 10.x for now (Closes: #1100726)
   * Apply patch to fix FTCBFS (Closes: #1095180)
Checksums-Sha1:
 4ab279ea0184a900bf2e5770cf7bc0f4bb0ad67b 5905 kodi_21.2+dfsg-2.dsc
 58048fa9b774d8f662994dd3f18162a162b55756 2635336 kodi_21.2+dfsg-2.debian.tar.xz
 a69d92fb5f7990a6cfe589a3d0032833ba65af0b 7035 kodi_21.2+dfsg-2_source.buildinfo
Checksums-Sha256:
 fb85b5ebedcfadd74942fb866009089277a2c92b86d6be9f1484f54b32172b5a 5905 kodi_21.2+dfsg-2.dsc
 6c43b2ec1ece1ac9c61d8c90c2bf58700635d56e1753eddbb16afc2e63194ee7 2635336 kodi_21.2+dfsg-2.debian.tar.xz
 c4c7f0eba2694faff3b6d01f90ce5ba1e3708c606d241c95a0f064eab2efa2cb 7035 kodi_21.2+dfsg-2_source.buildinfo
Files:
 a0ea6dc77b4d521303729f6bbfb259cc 5905 video optional kodi_21.2+dfsg-2.dsc
 931eace4d2110e8999d1e42dd46a653e 2635336 video optional kodi_21.2+dfsg-2.debian.tar.xz
 486281cb51c60e3ed4d90dbdd2f4daeb 7035 video optional kodi_21.2+dfsg-2_source.buildinfo

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

iQJKBAEBCAA0FiEEKG46uNMbcWWMwf6pRcPahUxsbF4FAmfZETcWHHZhc2VrLmdl
bGxvQGdtYWlsLmNvbQAKCRBFw9qFTGxsXkXQD/oCll3FIcA8oZEk/KM7ZB/AS7pQ
eJ4N2SyRjHuD/SiW1en/UCfK6MYYYLpQSPaHGqtlh14JUsXNnKwgnyMGIwNFuH3I
QsqyoDrKyc2qw6v3a6snWo3aLUaysEqy8piSmd2WfsQJQ2V+5HFrrBKUSt5PTD6+
WrFmsOoiMkdH3JtFPuviEnmhLLzAoD2MUudypdFkGMML4vaAKaW3orerTd2bpe+i
Lioct5mwxkMdPd64NIUW7+zELCg650k+lDpI8tguKz0gvdNLaIFHGGrBmyHxz8tV
3lFqHgtzw/a/I0K1I+ke6ElCLJP02ftBkuAaTUxDBnrvLc+OmFLTOIiyFHXOvWrF
73s5lKs0yNB8SiRq934PYGTj3BaYzk9Jzr7yb4Rcw8xVil6mlcwHD7T790HckyTs
cImlHjx+E4PwOFiamgQ5K2wUXgOfVON99vgojWYbkpw2W3iMhNGKYY54G653jute
7K95mo3H9XPRprQWX6D48Ks2XsTSAnD0MfVFHZaq+v7BYbh5oBrvTrda2/JdNRvw
6xSZlPmq6urdZuY95uKhT83w099zU4IH9hbLsLcAhfBydIWajc01hGkxxZPBXZil
FNyHdpZiZA4K+1pywULG3CnH/WVnr81EMGD8s9+iNzqTgOuTyYLVity6skyyDk2s
dvuygZXXZOUXdKCEIg==
=kF/W
-----END PGP SIGNATURE-----

Attachment: pgpTWYNsvTrje.pgp
Description: PGP signature


--- End Message ---

Reply to: