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

Bug#1018203: marked as done (kodi-inputstream-adaptive: FTBFS on ppc64el (regression in endian detection))



Your message dated Tue, 15 Nov 2022 19:54:25 +0000
with message-id <E1ov20n-00HZ0T-In@fasolo.debian.org>
and subject line Bug#1018203: fixed in kodi-inputstream-adaptive 20.3.1+ds1-1
has caused the Debian Bug report #1018203,
regarding kodi-inputstream-adaptive: FTBFS on ppc64el (regression in endian detection)
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.)


-- 
1018203: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1018203
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: kodi-inputstream-adaptive
Version: 20.2.0+ds1-1
Severity: serious
Tags: patch
Justification: ftbfs
User: ubuntu-devel@lists.ubuntu.com
Usertags: origin-ubuntu kinetic ubuntu-patch

Hi Vasyl,

The kodi-inputstream-adaptive package is failing to build on ppc64el in
Debian because it fails to detect the endianness of the platform.

The attached patch fixes this build failure by making use of the
general-purpose macros that are exported by default by gcc.  (This also
fixes the build on riscv64, which is not a release architecture in Debian
but is in Ubuntu.)

Please consider applying this patch in Debian.

-- 
Steve Langasek                   Give me a lever long enough and a Free OS
Debian Developer                   to set it on, and I can move the world.
Ubuntu Developer                                   https://www.debian.org/
slangasek@ubuntu.com                                     vorlon@debian.org
diff -Nru kodi-inputstream-adaptive-20.2.0+ds1/debian/patches/byte-order-all-archs kodi-inputstream-adaptive-20.2.0+ds1/debian/patches/byte-order-all-archs
--- kodi-inputstream-adaptive-20.2.0+ds1/debian/patches/byte-order-all-archs	1969-12-31 16:00:00.000000000 -0800
+++ kodi-inputstream-adaptive-20.2.0+ds1/debian/patches/byte-order-all-archs	2022-08-26 14:04:30.000000000 -0700
@@ -0,0 +1,18 @@
+Description: fix endian detection to be portable to all gcc archs
+Author: Steve Langasek <steve.langasek@ubuntu.com>
+Last-Update: 2022-08-26
+Forwarded: no
+
+Index: kodi-inputstream-adaptive-20.2.0+ds1/bento4-embedded/Source/C++/Core/Ap4Config.h
+===================================================================
+--- kodi-inputstream-adaptive-20.2.0+ds1.orig/bento4-embedded/Source/C++/Core/Ap4Config.h
++++ kodi-inputstream-adaptive-20.2.0+ds1/bento4-embedded/Source/C++/Core/Ap4Config.h
+@@ -56,7 +56,7 @@
+ #if defined(_M_IX86) || defined(_M_X64) || defined(_M_ARM) || defined(_M_ARM64)
+ #define AP4_PLATFORM_BYTE_ORDER AP4_PLATFORM_BYTE_ORDER_LITTLE_ENDIAN
+ #endif
+-#elif defined(__i386__) || defined(__x86_64__) || defined(__arm__) || defined(__arm64__) || defined(__aarch64__)
++#elif defined(__i386__) || defined(__x86_64__) || defined(__arm__) || defined(__arm64__) || defined(__aarch64__) || (__BYTE_ORDER__ == __ORDER_LITTLE_ENDIAN__)
+ #define AP4_PLATFORM_BYTE_ORDER AP4_PLATFORM_BYTE_ORDER_LITTLE_ENDIAN
+ #endif
+ #endif
diff -Nru kodi-inputstream-adaptive-20.2.0+ds1/debian/patches/series kodi-inputstream-adaptive-20.2.0+ds1/debian/patches/series
--- kodi-inputstream-adaptive-20.2.0+ds1/debian/patches/series	2022-08-04 00:19:38.000000000 -0700
+++ kodi-inputstream-adaptive-20.2.0+ds1/debian/patches/series	2022-08-26 13:54:03.000000000 -0700
@@ -1,2 +1,3 @@
 0001-Use-packaged-libwebm.patch
 0002-CVE-2019-17452-2021-32265-etc.patch
+byte-order-all-archs

--- End Message ---
--- Begin Message ---
Source: kodi-inputstream-adaptive
Source-Version: 20.3.1+ds1-1
Done: Vasyl Gello <vasek.gello@gmail.com>

We believe that the bug you reported is fixed in the latest version of
kodi-inputstream-adaptive, 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 1018203@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-inputstream-adaptive 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: Sun, 16 Oct 2022 05:43:00 +0000
Source: kodi-inputstream-adaptive
Architecture: source
Version: 20.3.1+ds1-1
Distribution: unstable
Urgency: medium
Maintainer: Debian Multimedia Maintainers <debian-multimedia@lists.debian.org>
Changed-By: Vasyl Gello <vasek.gello@gmail.com>
Closes: 1018203
Changes:
 kodi-inputstream-adaptive (20.3.1+ds1-1) unstable; urgency=medium
 .
   * New upstream version 20.3.1+ds1
   * d/watch: Switch to git tags
   * Drop merged patches
   * Fix ppc64el regression (Closes: #1018203)
Checksums-Sha1:
 5847a66da0223ae242df0aaed71893f6098ce42a 2644 kodi-inputstream-adaptive_20.3.1+ds1-1.dsc
 950ca65b4ebe31cdf8440ecd8482e765e4b3df99 347720 kodi-inputstream-adaptive_20.3.1+ds1.orig-bento4-embedded.tar.xz
 1b528625bbc0c494c75c4fb15a1bd26bfebd31ee 437456 kodi-inputstream-adaptive_20.3.1+ds1.orig.tar.xz
 37722642d2ff0503a08664ab875b3dfcb0a54c22 6160 kodi-inputstream-adaptive_20.3.1+ds1-1.debian.tar.xz
 06792b8e652a6831a4d524cf27ee24da1273fb04 5763 kodi-inputstream-adaptive_20.3.1+ds1-1_source.buildinfo
Checksums-Sha256:
 a4bcf4646ea20bcad91745802e9de4c6f0873fd0994ddb5f5292655558972c5e 2644 kodi-inputstream-adaptive_20.3.1+ds1-1.dsc
 4b3bb830a59b92146f67721873262bce8055ea5e27c06409ee90b4679d2c4ecc 347720 kodi-inputstream-adaptive_20.3.1+ds1.orig-bento4-embedded.tar.xz
 61240617d433db00fd1218fc4212ffce5db16f64be1e0ef0136185ccdd74f71f 437456 kodi-inputstream-adaptive_20.3.1+ds1.orig.tar.xz
 ba3e62a8d51abdc5c40bda246f9cd281f06ca25b6f78f6eca842acdb5f4f3476 6160 kodi-inputstream-adaptive_20.3.1+ds1-1.debian.tar.xz
 4b7b656a04bd8e7cf19cf01458fca4323d5a073abdf3f3f993d516e73361144d 5763 kodi-inputstream-adaptive_20.3.1+ds1-1_source.buildinfo
Files:
 ed5dbff186ef9788356fb7955c424508 2644 libs optional kodi-inputstream-adaptive_20.3.1+ds1-1.dsc
 4f0f75a9891a9de03b79c7df1bc8f109 347720 libs optional kodi-inputstream-adaptive_20.3.1+ds1.orig-bento4-embedded.tar.xz
 5c88b7c453508ff9803ff076580d9345 437456 libs optional kodi-inputstream-adaptive_20.3.1+ds1.orig.tar.xz
 4b5f98e9ad40e90c522e7734b66816f0 6160 libs optional kodi-inputstream-adaptive_20.3.1+ds1-1.debian.tar.xz
 dc37d7e27c8526a0fb323c13a1cc0e49 5763 libs optional kodi-inputstream-adaptive_20.3.1+ds1-1_source.buildinfo

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

iQIzBAEBCgAdFiEEi3hoeGwz5cZMTQpICBa54Yx2K60FAmNz6Y4ACgkQCBa54Yx2
K62A+A/+LNZMBqd+FkdInfD9dOPxdUioDBF7SB2ZuTJ8EicWVymQFUE0t+GyicNh
/HgpqNg5zx70ctBhcP2FUMPLUCqejIFnov6MfuZtzADRSUtZ38G7V2hAbuWXlGh7
pfcNK5q0QdD4y7P5k7tITvi2uX8ThWXFxoQr9hvSIHIvcG7H4sjD4xAvVMt9WJ6Q
A+yL0Pm+JpubgwG1lfy5xF1IWq42vzfW6CbP9Ypi++r+joqVHof6VdNeYxdd5s3i
SJBMk7obqHNefLv146B9fCc96komvpnkcF3R624fDkOooy9+QU9hi8HjTBeg8Jo5
URgc4hoGIG7p2x2ljGK5oZrqNXaflJqx+MbTFROmTqgOCTgkHyXzyabfBsWZZT/J
JbGCL7bNoeLCdBdHzMpZkHM7406hTuj10MVUkaiumG9x7ZGXERg0AqMb8owZdmPb
vBDNINncdYSx4izmz96dytYYuIwqeNSIcICO4nMLlD/jCcK2aK5PMoTwtV1ygBvy
bzm9bHS1SvbppFSHyGlfDlgjJ1YwopsuIFSbiZMLXCPSLBzGOAuBjEliMsbeWGob
WO6M3TbCurcQ+oIFW+dOF5/deltBspPLaXAyiz6Z9YGqBDm/kxxMgqkkfblqpVpV
8KiKtCSXyRW7YOqDuEK0Qc7NqDOU+HrJfl/p20gfc0/rnnrfCtg=
=j0mT
-----END PGP SIGNATURE-----

--- End Message ---

Reply to: