[Pkg-deepin-devel] Bug#970581: qtmpris: Please make symbols file compatible with -O3

Steve Langasek steve.langasek at canonical.com
Sat Sep 19 09:42:56 BST 2020


Package: qtmpris
Version: 1.0.3-1
Severity: minor
Tags: patch
User: ubuntu-devel at lists.ubuntu.com
Usertags: origin-ubuntu groovy ubuntu-patch

Dear maintainers,

The qtmpris package fails to build on ppc64el in Ubuntu, because this
architecture uses -O3 optimization by default, resulting in some differences
in the C++ symbols exported by the library.

Attached is a patch to mark certain symbols as optional, allowing qtmpris to
build on this architecture.

Thanks for considering,
-- 
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 at ubuntu.com                                     vorlon at debian.org
-------------- next part --------------
diff -Nru qtmpris-1.0.3/debian/libmpris-qt5-1.symbols qtmpris-1.0.3/debian/libmpris-qt5-1.symbols
--- qtmpris-1.0.3/debian/libmpris-qt5-1.symbols	2020-07-27 07:14:29.000000000 -0700
+++ qtmpris-1.0.3/debian/libmpris-qt5-1.symbols	2020-09-19 01:38:30.000000000 -0700
@@ -2,6 +2,8 @@
 libmpris-qt5.so.1 libmpris-qt5-1 #MINVER#
  _ZN10QByteArrayD1Ev at Base 1.0.3
  _ZN10QByteArrayD2Ev at Base 1.0.3
+ (optional=templinst)_ZN10QDBusReplyI11QStringListED1Ev at Base 1.0.3-1
+ (optional=templinst)_ZN10QDBusReplyI11QStringListED2Ev at Base 1.0.3-1
  _ZN11MprisPlayer10setCanPlayEb at Base 1.0.3
  _ZN11MprisPlayer10setCanQuitEb at Base 1.0.3
  _ZN11MprisPlayer10setCanSeekEb at Base 1.0.3
@@ -260,7 +262,7 @@
  _ZN18MprisRootInterfaceD0Ev at Base 1.0.3
  _ZN18MprisRootInterfaceD1Ev at Base 1.0.3
  _ZN18MprisRootInterfaceD2Ev at Base 1.0.3
- _ZN20MprisPlayerInterface11SetPositionERK15QDBusObjectPathx at Base 1.0.3
+ (optional=inline)_ZN20MprisPlayerInterface11SetPositionERK15QDBusObjectPathx at Base 1.0.3
  _ZN20MprisPlayerInterface11qt_metacallEN11QMetaObject4CallEiPPv at Base 1.0.3
  _ZN20MprisPlayerInterface11qt_metacastEPKc at Base 1.0.3
  _ZN20MprisPlayerInterface11rateChangedEd at Base 1.0.3


More information about the Pkg-deepin-devel mailing list