Your message dated Mon, 30 Jul 2018 08:37:34 +0000
with message-id <[email protected]>
and subject line Bug#895711: fixed in gstreamer1.0 1.14.2-2
has caused the Debian Bug report #895711,
regarding gstreamer1.0: please add support for riscv64
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 [email protected]
immediately.)
--
895711: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=895711
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: gstreamer1.0
Version: 1.14.0-1
Severity: normal
Tags: upstream patch
User: [email protected]
Usertags: riscv64
Forwarded: https://bugzilla.gnome.org/show_bug.cgi?id=795271
Hi,
We are in the process of bootstrapping a Debian port for the
riscv64 architecture (https://wiki.debian.org/RISC-V). It happens that
gstreamer needs an architecture specific defined about aligned accesses,
otherwise it fails to build with:
| In file included from ../gst_private.h:42:0,
| from parse.l:2:
| ../../gst/gstconfig.h:112:4: error: #error "Could not detect architecture;
don't know whether it supports unaligned access! Please file a bug."
| # error "Could not detect architecture; don't know whether it supports
unaligned access! Please file a bug."
Full build log is available here:
https://buildd.debian.org/status/fetch.php?pkg=gstreamer1.0&arch=riscv64&ver=1.14.0-1&stamp=1522656689&raw=0
As requested in the error message, I have filed a bug with at patch
upstream:
https://bugzilla.gnome.org/show_bug.cgi?id=795271
I have also prepared the corresponding patch for the debian package,
please find it attached. Would it be possible to include it to the next
upload?
Thanks,
Aurelien
-- System Information:
Debian Release: buster/sid
APT prefers unreleased
APT policy: (500, 'unreleased'), (500, 'unstable')
Architecture: riscv64
Kernel: Linux 4.15.0_riscv-linux-4.15_2b0aa1de4+ (SMP w/1 CPU core)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8),
LANGUAGE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
diff -Nru gstreamer1.0-1.14.0/debian/patches/0002-riscv64.patch
gstreamer1.0-1.14.0/debian/patches/0002-riscv64.patch
--- gstreamer1.0-1.14.0/debian/patches/0002-riscv64.patch 1970-01-01
01:00:00.000000000 +0100
+++ gstreamer1.0-1.14.0/debian/patches/0002-riscv64.patch 2018-04-13
23:55:26.000000000 +0200
@@ -0,0 +1,11 @@
+--- a/gst/gstconfig.h.in
++++ b/gst/gstconfig.h.in
+@@ -104,7 +104,7 @@
+ * http://docs.oracle.com/cd/E19205-01/820-4155/c++_faq.html#Vers6
+ * https://software.intel.com/en-us/node/583402
+ */
+-#if defined(__alpha__) || defined(__arc__) || defined(__arm__) ||
defined(__aarch64__) || defined(__bfin) || defined(__hppa__) ||
defined(__nios2__) || defined(__MICROBLAZE__) || defined(__mips__) ||
defined(__or1k__) || defined(__sh__) || defined(__SH4__) || defined(__sparc__)
|| defined(__sparc) || defined(__ia64__) || defined(_M_ALPHA) ||
defined(_M_ARM) || defined(_M_IA64) || defined(__xtensa__) || defined(__e2k__)
++#if defined(__alpha__) || defined(__arc__) || defined(__arm__) ||
defined(__aarch64__) || defined(__bfin) || defined(__hppa__) ||
defined(__nios2__) || defined(__MICROBLAZE__) || defined(__mips__) ||
defined(__or1k__) || defined(__sh__) || defined(__SH4__) || defined(__sparc__)
|| defined(__sparc) || defined(__ia64__) || defined(_M_ALPHA) ||
defined(_M_ARM) || defined(_M_IA64) || defined(__xtensa__) || defined(__e2k__)
|| defined(__riscv)
+ # define GST_HAVE_UNALIGNED_ACCESS 0
+ #elif defined(__i386__) || defined(__i386) || defined(__amd64__) ||
defined(__amd64) || defined(__x86_64__) || defined(__ppc__) ||
defined(__ppc64__) || defined(__powerpc__) || defined(__powerpc64__) ||
defined(__m68k__) || defined(_M_IX86) || defined(_M_AMD64) || defined(_M_X64)
|| defined(__s390__) || defined(__s390x__) || defined(__zarch__)
+ # define GST_HAVE_UNALIGNED_ACCESS 1
diff -Nru gstreamer1.0-1.14.0/debian/patches/series
gstreamer1.0-1.14.0/debian/patches/series
--- gstreamer1.0-1.14.0/debian/patches/series 2018-03-20 08:41:52.000000000
+0100
+++ gstreamer1.0-1.14.0/debian/patches/series 2018-04-13 23:55:34.000000000
+0200
@@ -1 +1,2 @@
0001-registrybinary-Update-magic-version-string.patch
+0002-riscv64.patch
--- End Message ---
--- Begin Message ---
Source: gstreamer1.0
Source-Version: 1.14.2-2
We believe that the bug you reported is fixed in the latest version of
gstreamer1.0, 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 [email protected],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Sebastian Dröge <[email protected]> (supplier of updated gstreamer1.0 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 [email protected])
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
Format: 1.8
Date: Mon, 30 Jul 2018 09:36:35 +0300
Source: gstreamer1.0
Binary: libgstreamer1.0-0 libgstreamer1.0-0-dbg libgstreamer1.0-dev
gstreamer1.0-doc gstreamer1.0-tools gir1.2-gstreamer-1.0
Architecture: source amd64 all
Version: 1.14.2-2
Distribution: unstable
Urgency: medium
Maintainer: Maintainers of GStreamer packages <[email protected]>
Changed-By: Sebastian Dröge <[email protected]>
Description:
gir1.2-gstreamer-1.0 - GObject introspection data for the GStreamer library
gstreamer1.0-doc - GStreamer core documentation and manuals
gstreamer1.0-tools - Tools for use with GStreamer
libgstreamer1.0-0 - Core GStreamer libraries and elements
libgstreamer1.0-0-dbg - Core GStreamer libraries and elements
libgstreamer1.0-dev - GStreamer core development files
Closes: 862257 895711
Changes:
gstreamer1.0 (1.14.2-2) unstable; urgency=medium
.
* debian/patches/0002-gstconfig.h.in-initial-RISC-V-support.patch:
+ Add support for RISC-V (Closes: #895711).
* debian/control.in:
+ Build-depend on libgmp-dev | libgmp3-dev (Closes: #862257).
Checksums-Sha1:
d3a5e69a838f0e3731908146dde27c77d754688b 3147 gstreamer1.0_1.14.2-2.dsc
8d37820748a4fbe7bf127055e13f64ac7dbeaf49 44356
gstreamer1.0_1.14.2-2.debian.tar.xz
d18d8488f6c21063fabdd250dedac98e3fbed226 1137852
gir1.2-gstreamer-1.0_1.14.2-2_amd64.deb
48eecd970c6c43d592029dd6399d836f0574818f 1631192
gstreamer1.0-doc_1.14.2-2_all.deb
3cde2779e2ad337118f50979f2ea58a45d7a85f8 1107276
gstreamer1.0-tools_1.14.2-2_amd64.deb
9a6c7ee28c08e32d9c3ffc01f0b1abdd2ef56c72 10003
gstreamer1.0_1.14.2-2_amd64.buildinfo
79f249254931a96e3ac538aa9be7d176c0f88cab 4302900
libgstreamer1.0-0-dbg_1.14.2-2_amd64.deb
d2125b864a4bab064b669e01ec9525a856be021c 2097252
libgstreamer1.0-0_1.14.2-2_amd64.deb
4785d49d317e2b39d69d30cb5dd9de5c1898a6a0 1464700
libgstreamer1.0-dev_1.14.2-2_amd64.deb
Checksums-Sha256:
a4f5d4841c76a87a3f40c52dad544eaaf57b7e5cbd5a491af52f49c2e94bc3c4 3147
gstreamer1.0_1.14.2-2.dsc
9d0cc2429a2e6688aacb0b8bb1ea941e83ffb54e514aff28f73dea6faedc3287 44356
gstreamer1.0_1.14.2-2.debian.tar.xz
f5cea36bb9eea7944b569fd064564478c2bcb9e96bcf47165fc2730b7872e628 1137852
gir1.2-gstreamer-1.0_1.14.2-2_amd64.deb
8231a3244715d95f749465f239095bae13234012da0682ad0fb0f493518bff81 1631192
gstreamer1.0-doc_1.14.2-2_all.deb
7f9fd52c076a75dea3da5741066fa1e64f23a4f59f72283839f4fb35c9b65882 1107276
gstreamer1.0-tools_1.14.2-2_amd64.deb
a3681021b1124490c6543314b949fa54a374d7d5cba8e84a2c83f9824df73309 10003
gstreamer1.0_1.14.2-2_amd64.buildinfo
2c2899148cc3d692138699c506ad64c474c1ce2a6b96e38b9664b87d9494d817 4302900
libgstreamer1.0-0-dbg_1.14.2-2_amd64.deb
8f42aef4c036561ad03f0cff08bdedac75be33e0d2f99e33e57611843bfae5f9 2097252
libgstreamer1.0-0_1.14.2-2_amd64.deb
47532f9cc7ec1a95287f67663635f3e6cbc2144cd6dfa92bbad5b603efc6dabb 1464700
libgstreamer1.0-dev_1.14.2-2_amd64.deb
Files:
b498be853e1ff354760ff73d2c1eb4dc 3147 libs optional gstreamer1.0_1.14.2-2.dsc
baa28aa288d8d6cbc365e5b5cd1ab1f5 44356 libs optional
gstreamer1.0_1.14.2-2.debian.tar.xz
f70ac3163f0bba86556312552a1c3e69 1137852 introspection optional
gir1.2-gstreamer-1.0_1.14.2-2_amd64.deb
1d8118c1352d8adbee1b48252098592a 1631192 doc optional
gstreamer1.0-doc_1.14.2-2_all.deb
6656607201e5ab875cfcdb47bacbaf01 1107276 utils optional
gstreamer1.0-tools_1.14.2-2_amd64.deb
b98107f67486099227fcd0293f0243b4 10003 libs optional
gstreamer1.0_1.14.2-2_amd64.buildinfo
d87d474cf54fef8c5812936ba54b1d6d 4302900 debug extra
libgstreamer1.0-0-dbg_1.14.2-2_amd64.deb
bd281d06b6c89c40f2b49a0a4c6b0af6 2097252 libs optional
libgstreamer1.0-0_1.14.2-2_amd64.deb
bd7e59e518e5c4bf999daae7ecbd3433 1464700 libdevel optional
libgstreamer1.0-dev_1.14.2-2_amd64.deb
-----BEGIN PGP SIGNATURE-----
iQKmBAEBCgCQFiEEf0vHzDygb5cza7/rBmjMFIbC17UFAltevRJfFIAAAAAALgAo
aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldDdG
NEJDN0NDM0NBMDZGOTczMzZCQkZFQjA2NjhDQzE0ODZDMkQ3QjUSHHNsb21vQGNv
YXhpb24ubmV0AAoJEAZozBSGwte1e94QANpnNVc9IZYIj+dgGB4YjE77P0VlgWE3
/If6bkWFae+u0HuP7tsuyq96zPrJqHGDxENVmzCrCJmsxt7QQPYYuvaYfb4R50XX
4LLwyLU9SzgpGt86M1JlEP7mupEz0iGiLVOEApBkOxfT6iXyG/fPXGIF6I2fZF5X
/LwTinSScpBswhUblo2IGGL3OkNajr8gyPS/4CNbL7FKuFHfTZ1nmaT5RXqeH2ZJ
H0K3g0FPnpd3mHzuDvjfVPGftKfFcx5dJ3jj8xgU0M2QjyvVmtain0hOQnzANIu3
Qwypx+K5N9RBBvVlJm2ibRulD8G4Ekeo/Pfk0bg+juqSAMQm9lLc2/blvt25TN6w
Q02PweitfuRFjpsozMuZGHDZ8C/zI7m82uxtjojytaE8pYgMvetG4V3+Y9lc5GnT
18eq2L0NWHlKnYMTp5dNK6GiApSHVf151vMrB+rsqR6dwdgVrE5RcY9bEeGpFNCp
A96NoQlYIRyIP7JlpG8CO8PsOT6YRQ0O9hJyyAM5c8wjMXgWu2a2PHPBVSlFDTFg
8mRJPYjQkiZ/qzg2N4VkiukUSPsLXurdBPWHPFh/1r9oxUcJGEbkKSqdTZ1BbTJa
hM+/w2hos6/MU03p3SEyvIvg7XhjDL5ETEaWK/14n2iUHnjB4lGp1h1Y6G/ckE7j
72ni/icg8bow
=pNkC
-----END PGP SIGNATURE-----
--- End Message ---