Bug#842675: [Pkg-xfce-devel] Bug#842675: Bug#842675: Bug#842675: lightdm FTBFS on mips, mipsel and mips64el: error: symbols mismatch

2016-11-20 Thread Yves-Alexis Perez
control: tag -1 help
On Sat, 2016-11-19 at 15:15 +0100, Yves-Alexis Perez wrote:
> On Mon, 2016-10-31 at 14:00 +0100, Yves-Alexis Perez wrote:
> > On Mon, 2016-10-31 at 10:34 +, Radovan Birdic wrote:
> > > The problem is in liblightdm-qt-3-0.symbols where these symbols are
> > > missing.
> > > 
> > > I have created and attached a patch that adds missing symbols into this
> > > file
> > > and resolves this issue.
> > > With this patch package builds successfully on mips*, i386 and amd64
> > > architectures.
> > 
> > I have to admit I'm not really comfortable *removing* symbols from a file
> > just
> > for some architectures. It looks weird to me that it would only happen on
> > those arches. Maybe something changed in Qt but I'm highly puzzled here.
> > 
> 
> Well, as assumed, the build fails on i386/amd64 with the updated symbols
> file.
> I might be able to provide multiple symbols file but it does look weird in
> any
> case.

So, I've tried to build 1.18.2-2 on arm64 (which suceeded in the past), and it
now fails, indicating it's indeed a problem somewhere else.

I've tried to build using g++5 and it now works fine.

So the symbol changes is due to the upgrade to gcc/g++6. I'm not sure it's
really expected, so any help appreciated.

I'm adding Matthias to CC: in case he has any idea.

Matthias: I'm experiencing a build failure in lightdm due to symbol changes in
a C++ library only on non intel arches, following upgrade to gcc6. Does that
ring you a bell or something? The changed symbols are only destructors:

QDBusError::~QDBusError()
QByteArray::~QByteArray()
QHash::~QHash()
QString::~QString()

Regards,
-- 
Yves-Alexis

signature.asc
Description: This is a digitally signed message part


Bug#842675: [Pkg-xfce-devel] Bug#842675: Bug#842675: lightdm FTBFS on mips, mipsel and mips64el: error: symbols mismatch

2016-11-19 Thread Yves-Alexis Perez
On Mon, 2016-10-31 at 14:00 +0100, Yves-Alexis Perez wrote:
> On Mon, 2016-10-31 at 10:34 +, Radovan Birdic wrote:
> > The problem is in liblightdm-qt-3-0.symbols where these symbols are
> > missing.
> > 
> > I have created and attached a patch that adds missing symbols into this
> > file
> > and resolves this issue.
> > With this patch package builds successfully on mips*, i386 and amd64
> > architectures.
> 
> I have to admit I'm not really comfortable *removing* symbols from a file
> just
> for some architectures. It looks weird to me that it would only happen on
> those arches. Maybe something changed in Qt but I'm highly puzzled here.
> 
Well, as assumed, the build fails on i386/amd64 with the updated symbols file.
I might be able to provide multiple symbols file but it does look weird in any
case.

Regards,
-- 
Yves-Alexis

signature.asc
Description: This is a digitally signed message part


Bug#842675: [Pkg-xfce-devel] Bug#842675: lightdm FTBFS on mips, mipsel and mips64el: error: symbols mismatch

2016-10-31 Thread Yves-Alexis Perez
On Mon, 2016-10-31 at 10:34 +, Radovan Birdic wrote:
> The problem is in liblightdm-qt-3-0.symbols where these symbols are missing.
> 
> I have created and attached a patch that adds missing symbols into this file
> and resolves this issue.
> With this patch package builds successfully on mips*, i386 and amd64
> architectures.

I have to admit I'm not really comfortable *removing* symbols from a file just
for some architectures. It looks weird to me that it would only happen on
those arches. Maybe something changed in Qt but I'm highly puzzled here.

Regards,
-- 
Yves-Alexis

signature.asc
Description: This is a digitally signed message part


Bug#842675: lightdm FTBFS on mips, mipsel and mips64el: error: symbols mismatch

2016-10-31 Thread Radovan Birdic
Package: lightdm
Version: 1.18.2-3
Severity: important
Tags: sid + patch
Justification: FTBFS
User: debian-m...@lists.debian.org
Usertags: mips-patch


Package lightdm_1.18.2-3 FTBFS on mips, mipsel and mips64el with following 
error:

> dpkg-gensymbols: warning: some new symbols appeared in the symbols file: see 
> diff output below
> dpkg-gensymbols: warning: some symbols or patterns disappeared in the symbols 
> file: see diff output below
> dpkg-gensymbols: warning: debian/liblightdm-qt-3-0/DEBIAN/symbols doesn't 
> match completely debian/liblightdm-qt-3-0.symbols
> --- debian/liblightdm-qt-3-0.symbols (liblightdm-qt-3-0_1.18.2-3_mips)
> +++ dpkg-gensymbolsDuEcki 2016-10-19 21:43:07.131957422 +
> @@ -1,6 +1,8 @@
>  liblightdm-qt-3.so.0 liblightdm-qt-3-0 #MINVER#
> - _ZN10QDBusErrorD1Ev@Base 1.8.7
> - _ZN10QDBusErrorD2Ev@Base 1.8.7
> + _ZN10QByteArrayD1Ev@Base 1.18.2-3
> + _ZN10QByteArrayD2Ev@Base 1.18.2-3
> +#MISSING: 1.18.2-3# _ZN10QDBusErrorD1Ev@Base 1.8.7
> +#MISSING: 1.18.2-3# _ZN10QDBusErrorD2Ev@Base 1.8.7
>   _ZN10QDBusReplyI7QStringED1Ev@Base 1.8.7
>   _ZN10QDBusReplyI7QStringED2Ev@Base 1.8.7
>   _ZN11SessionItemD1Ev@Base 1.8.7
> @@ -11,6 +13,8 @@
>   _ZN5QHashIi10QByteArrayE11deleteNode2EPN9QHashData4NodeE@Base 1.8.7
>   _ZN5QHashIi10QByteArrayE13detach_helperEv@Base 1.8.7
>   _ZN5QHashIi10QByteArrayE13duplicateNodeEPN9QHashData4NodeEPv@Base 1.8.7
> + _ZN5QHashIi10QByteArrayED1Ev@Base 1.18.2-3
> + _ZN5QHashIi10QByteArrayED2Ev@Base 1.18.2-3
>   _ZN5QListI11SessionItemE18detach_helper_growEii@Base 1.8.7
>   _ZN5QListI11SessionItemE6appendERKS0_@Base 1.8.7
>   _ZN5QListI8UserItemE13detach_helperEi@Base 1.8.7
> @@ -18,6 +22,8 @@
>   _ZN5QListI8UserItemE6appendERKS0_@Base 1.8.7
>   _ZN6QDebugD1Ev@Base 1.8.7
>   _ZN6QDebugD2Ev@Base 1.8.7
> + _ZN7QStringD1Ev@Base 1.18.2-3
> + _ZN7QStringD2Ev@Base 1.18.2-3
>   _ZN8QLightDM10UsersModel11qt_metacallEN11QMetaObject4CallEiPPv@Base 1.8.7
>   _ZN8QLightDM10UsersModel11qt_metacastEPKc@Base 1.8.7
>   _ZN8QLightDM10UsersModel16staticMetaObjectE@Base 1.8.7
> dh_makeshlibs: failing due to earlier errors
> debian/rules:24: recipe for target 'binary-arch' failed
> make: *** [binary-arch] Error 2
> dpkg-buildpackage: error: fakeroot debian/rules binary-arch gave error exit 
> status 2

Full build log:
https://buildd.debian.org/status/fetch.php?pkg=lightdm=mips=1.18.2-3=1476913394

The problem is in liblightdm-qt-3-0.symbols where these symbols are missing.

I have created and attached a patch that adds missing symbols into this file 
and resolves this issue.
With this patch package builds successfully on mips*, i386 and amd64 
architectures.

Regards,
Radovan--- lightdm_orig/lightdm-1.18.2/debian/liblightdm-qt-3-0.symbols	2015-08-24 15:17:18.0 +
+++ lightdm-1.18.2/debian/liblightdm-qt-3-0.symbols	2016-10-31 10:48:04.819074394 +
@@ -1,6 +1,6 @@
 liblightdm-qt-3.so.0 liblightdm-qt-3-0 #MINVER#
- _ZN10QDBusErrorD1Ev@Base 1.8.7
- _ZN10QDBusErrorD2Ev@Base 1.8.7
+ _ZN10QByteArrayD1Ev@Base 1.18.2-3
+ _ZN10QByteArrayD2Ev@Base 1.18.2-3
  _ZN10QDBusReplyI7QStringED1Ev@Base 1.8.7
  _ZN10QDBusReplyI7QStringED2Ev@Base 1.8.7
  _ZN11SessionItemD1Ev@Base 1.8.7
@@ -11,6 +11,8 @@ liblightdm-qt-3.so.0 liblightdm-qt-3-0 #
  _ZN5QHashIi10QByteArrayE11deleteNode2EPN9QHashData4NodeE@Base 1.8.7
  _ZN5QHashIi10QByteArrayE13detach_helperEv@Base 1.8.7
  _ZN5QHashIi10QByteArrayE13duplicateNodeEPN9QHashData4NodeEPv@Base 1.8.7
+ _ZN5QHashIi10QByteArrayED1Ev@Base 1.18.2-3
+ _ZN5QHashIi10QByteArrayED2Ev@Base 1.18.2-3
  _ZN5QListI11SessionItemE18detach_helper_growEii@Base 1.8.7
  _ZN5QListI11SessionItemE6appendERKS0_@Base 1.8.7
  _ZN5QListI8UserItemE13detach_helperEi@Base 1.8.7
@@ -18,6 +20,8 @@ liblightdm-qt-3.so.0 liblightdm-qt-3-0 #
  _ZN5QListI8UserItemE6appendERKS0_@Base 1.8.7
  _ZN6QDebugD1Ev@Base 1.8.7
  _ZN6QDebugD2Ev@Base 1.8.7
+ _ZN7QStringD1Ev@Base 1.18.2-3
+ _ZN7QStringD2Ev@Base 1.18.2-3
  _ZN8QLightDM10UsersModel11qt_metacallEN11QMetaObject4CallEiPPv@Base 1.8.7
  _ZN8QLightDM10UsersModel11qt_metacastEPKc@Base 1.8.7
  _ZN8QLightDM10UsersModel16staticMetaObjectE@Base 1.8.7