Your message dated Fri, 19 Jun 2015 13:49:26 +0000
with message-id <e1z5wfe-0001iq...@franck.debian.org>
and subject line Bug#789111: fixed in x265 1.7-3
has caused the Debian Bug report #789111,
regarding libx265-59: does not support requested bitDepth 10 due to
-Bsymbolic-functions in Ubuntu
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 ow...@bugs.debian.org
immediately.)
--
789111: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=789111
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: libx265-59
Version: 1.7-2
Tags: patch
Dear Maintainer,
The 8-bit variant of libx265-59 can dlopen the 10-bit variant,
so that it can be used by programs linked against the 8-bit library.
ffmpeg 2.7 uses this functionality, which works fine in Debian.
However, it doesn't work in Ubuntu, which causes ffmpeg's autopkgtest
to fail, thus preventing it's migration from wily-proposed to wily.
The problem is the following x265 warning on stderr:
$ ffmpeg -version
x265 [warning]: /usr/lib/x86_64-linux-gnu/x265-10bit/libx265.so.59 does not
support requested bitDepth 10
ffmpeg version 2.7-1 Copyright (c) 2000-2015 the FFmpeg developers
built with gcc 4.9.2 (Ubuntu 4.9.2-20ubuntu1)
[...]
The reason for this problem is that Ubuntu defaults to using
-Bsymbolic-functions, which causes the max_bit_depth symbol to always
refer to the one from the linked library, even in the api structure
from the dlopened library.
(Weird, I know. I suspected -Bsymbolic-functions, because it already
caused ffmpeg to FTBFS in Ubuntu.)
The solution is thus to filter out -Bsymbolic-functions from LDFLAGS,
as is done in attached patch. I tested it and it fixes this problem.
Best regards,
Andreas
--- a/debian/rules
+++ b/debian/rules
@@ -2,7 +2,7 @@
DEB_HOST_MULTIARCH=$(shell dpkg-architecture -qDEB_HOST_MULTIARCH)
-export DEB_LDFLAGS_MAINT_APPEND=-Wl,--as-needed
+LDFLAGS := $(filter-out %-Bsymbolic-functions,$(shell dpkg-buildflags --get LDFLAGS) -Wl,--as-needed)
# LFS support and multiarch path to look up 10bit library
export DEB_CPPFLAGS_MAINT_APPEND=$(shell getconf LFS_CFLAGS) \
-DDEB_HOST_MULTIARCH=\"/usr/lib/$(DEB_HOST_MULTIARCH)/\"
--- End Message ---
--- Begin Message ---
Source: x265
Source-Version: 1.7-3
We believe that the bug you reported is fixed in the latest version of
x265, 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 789...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Sebastian Ramacher <sramac...@debian.org> (supplier of updated x265 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 ftpmas...@ftp-master.debian.org)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
Format: 1.8
Date: Fri, 19 Jun 2015 15:36:04 +0200
Source: x265
Binary: x265 libx265-dev libx265-59 libx265-59-dbg libx265-doc
Architecture: source all
Version: 1.7-3
Distribution: unstable
Urgency: medium
Maintainer: Debian Multimedia Maintainers
<pkg-multimedia-maintainers@lists.alioth.debian.org>
Changed-By: Sebastian Ramacher <sramac...@debian.org>
Description:
libx265-59 - H.265/HEVC video stream encoder (shared library)
libx265-59-dbg - H.265/HEVC video stream encoder (debugging symbols)
libx265-dev - H.265/HEVC video stream encoder (development files)
libx265-doc - H.265/HEVC video stream encoder (documentation)
x265 - H.265/HEVC video stream encoder
Closes: 789111
Changes:
x265 (1.7-3) unstable; urgency=medium
.
* debian/rules: Filter -Wl,-Bsymbolic-functions. (Closes: #789111)
* debian/patches/gcc-check.patch: Apply upstream fix to gcc feature
detection.
Checksums-Sha1:
de893774b57d98e1cf5ee46a6007082a8f49725b 2207 x265_1.7-3.dsc
a570906e212f707709b755f2370081d6c271bbe2 9232 x265_1.7-3.debian.tar.xz
fa735d0b3ddf8dafd2208d6b679b1a0b06275f24 75134 libx265-doc_1.7-3_all.deb
Checksums-Sha256:
2a43dc70c80bb1cea008caa913cd781bbf83e499f3c306be2fe0890d91b747e1 2207
x265_1.7-3.dsc
0d9d8e2057ec51f0a229b75b1728bc55543adefa0febd9b1ffab9bd8ebc864a4 9232
x265_1.7-3.debian.tar.xz
ec898868f436adf17cfbb409c7e65a8fdbd55f66d44d36a5681512a154b7f4ed 75134
libx265-doc_1.7-3_all.deb
Files:
4970ad4348eaf687e6042eb9728294e4 2207 video optional x265_1.7-3.dsc
fe8daafda819eab2947e6a138e40459b 9232 video optional x265_1.7-3.debian.tar.xz
f684bb1e156b45895af655a00ae5d5a9 75134 doc optional libx265-doc_1.7-3_all.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1
iQIcBAEBCAAGBQJVhBuSAAoJEGny/FFupxmTUiEP/05AkK9+PQggCAk+xY6VJlKh
9g2l8DY0G8m2DDnL9Vycdcx+L7fQmLn5Mxg4CCiR0BwSXv4rHIWO6KFuI/KO9wgE
YC+RtyLjFTTXZTsdweH6gpAhSv9DNJ+O9QKHvk8EIViD7Wbzgyw1VQ6x8P6Kj1V6
Uy3R7JBJbeE8jGc2bioO4l3XGZNsne67GHhQylf9Zb7bbEQiz5IpSlFhw9S0PcNb
K2SfHKO4VC/gK7F6coAwNF1qgHlEqr1XzOrJHi3gLUQmfrakz+lZe+2neNLfptw4
np0Da2pg2LYVdwZnw7R17xi1fOW4MK8fVOR3XXuP1is/iVUwu5XkkKSmpsh7TpgM
QsFumz7BhGNcYuyWpB6P1AbPG/iEPHYSn4m6qX0nYgzQxJ+f1Km0qMO6MbvtqZzz
hU3Mrlip9BgnaQS4V60OdkHN5dkM0Ib1Wl+yZ8UNfQYqDw8XeuVBSLfTU5JvscHq
Y/gdFfqEG6lkOi27gZZUgPiUfgKQIML4Ba8EgeiTEInDbY3zoVfP6EzMn9uD+rVU
RoouQn4/E+4ThKHWttclo0VCoSrPcJB2WGvt4zGgGIWxy4VNBFdKRj9/fiyaSAM/
yjKeyROYm+/3tL11HZ9Ky2jPBylDizX+AoTzre/A3wlEeUx9tbakIiMi2oTx6/QC
yEQy5dkDemdVT3us2h4l
=ZoAA
-----END PGP SIGNATURE-----
--- End Message ---
_______________________________________________
pkg-multimedia-maintainers mailing list
pkg-multimedia-maintainers@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-multimedia-maintainers