Debian Bug report logs - #791253
qca2: library transition is needed when GCC 5 is the default

version graph

Package: src:qca2; Maintainer for src:qca2 is Debian Qt/KDE Maintainers <debian-qt-kde@lists.debian.org>;

Reported by: Matthias Klose <doko@debian.org>

Date: Fri, 3 Jul 2015 13:31:31 UTC

Severity: important

Tags: confirmed, patch, sid, stretch

Found in version qca2/2.1.0.3-3

Done: Felix Geyer <fgeyer@debian.org>

Bug is archived. No further changes may be made.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to Debian Qt/KDE Maintainers <debian-qt-kde@lists.debian.org>:
Bug#791253; Package src:qca2. (Fri, 03 Jul 2015 13:31:34 GMT) (full text, mbox, link).


Acknowledgement sent to Matthias Klose <doko@debian.org>:
New Bug report received and forwarded. Copy sent to Debian Qt/KDE Maintainers <debian-qt-kde@lists.debian.org>. (Fri, 03 Jul 2015 13:31:35 GMT) (full text, mbox, link).


Message #5 received at maintonly@bugs.debian.org (full text, mbox, reply):

From: Matthias Klose <doko@debian.org>
To: maintonly@bugs.debian.org
Subject: qca2: library transition may be needed when GCC 5 is the default
Date: Fri, 03 Jul 2015 13:13:45 +0000
Package: src:qca2
Version: 2.1.0.3-3
Severity: important
Tags: sid stretch
User: debian-gcc@lists.debian.org
Usertags: libstdc++-cxx11

Background [1]: libstdc++6 introduces a new ABI to conform to the
C++11 standard, but keeps the old ABI to not break existing binaries.
Packages which are built with g++-5 from experimental (not the one
from testing/unstable) are using the new ABI.  Libraries built from
this source package export some of the new __cxx11 or B5cxx11 symbols,
and dropping other symbols.  If these symbols are part of the API of
the library, then this rebuild with g++-5 will trigger a transition
for the library.

What is needed:

 - Rebuild the library using g++/g++-5 from experimental. Note that
   most likely all C++ libraries within the build dependencies need
   a rebuild too. You can find the log for a rebuild in
     https://people.debian.org/~doko/logs/gcc5-20150701/
   Search for "BEGIN GCC CXX11" in the log.

 - Decide if the symbols matching __cxx11 or B5cxx11 are part of the
   library API, and are used by the reverse dependencies of the
   library.

 - If there are no symbols matching __cxx11 or B5cxx11 in the symbols
   forming the library API, you should close this issue with a short
   explanation.
 
 - If there are no reverse dependencies, it should be the package
   maintainers decision if a transition is needed.  However this might
   break software which is not in the Debian archive, and built
   against these packages.

 - If a library transition is needed, please prepare for the change.
   Rename the library package, append "v5" to the name of the package
   (e.g. libfoo2 -> libfoo2v5). Such a change can be avoided, if you
   have a soversion bump and you upload this version instead of the
   renamed package.  Prepare a patch and attach it to this issue (mark
   this issue with patch), so that it is possible to NMU such a
   package. We'll probably have more than hundred transitions
   triggered. Then reassign the issue to release.debian.org and
   properly tag it as a transition issue, by sending an email to
   control@bugs.debian.org:
   
     user release.debian.org@packages.debian.org
     usertag <this issue> + transition
     block <this issue> by 790756
     reassign <this issue> release.debian.org
   
 - If unsure if a transition is needed, please tag the issue with help
   to ask for feedback from other Debian developers.

The libstdc++6 transition will be a large one, and it will come with a
lot of pain.  Please help it by preparing the follow-up transitions.

[1] https://wiki.debian.org/GCC5#libstdc.2B-.2B-_ABI_transition



Information forwarded to debian-bugs-dist@lists.debian.org, Debian Qt/KDE Maintainers <debian-qt-kde@lists.debian.org>:
Bug#791253; Package src:qca2. (Mon, 03 Aug 2015 13:24:03 GMT) (full text, mbox, link).


Acknowledgement sent to Matthias Klose <doko@debian.org>:
Extra info received and forwarded to list. Copy sent to Debian Qt/KDE Maintainers <debian-qt-kde@lists.debian.org>. (Mon, 03 Aug 2015 13:24:03 GMT) (full text, mbox, link).


Message #10 received at 791253@bugs.debian.org (full text, mbox, reply):

From: Matthias Klose <doko@debian.org>
To: 791253@bugs.debian.org
Subject: Re: qca2: library transition may be needed when GCC 5 is the default
Date: Mon, 03 Aug 2015 15:20:43 +0200
[Message part 1 (text/plain, inline)]
Control: tags -1 + confirmed patch
Control: retitle -1 qca2: library transition is needed when GCC 5 is the default

confirmed, patch attached


[qca2.diff (text/plain, attachment)]

Added tag(s) confirmed and patch. Request was from Matthias Klose <doko@debian.org> to 791253-submit@bugs.debian.org. (Mon, 03 Aug 2015 13:24:03 GMT) (full text, mbox, link).


Changed Bug title to 'qca2: library transition is needed when GCC 5 is the default' from 'qca2: library transition may be needed when GCC 5 is the default' Request was from Matthias Klose <doko@debian.org> to 791253-submit@bugs.debian.org. (Mon, 03 Aug 2015 13:24:04 GMT) (full text, mbox, link).


Reply sent to Felix Geyer <fgeyer@debian.org>:
You have taken responsibility. (Mon, 03 Aug 2015 16:09:15 GMT) (full text, mbox, link).


Notification sent to Matthias Klose <doko@debian.org>:
Bug acknowledged by developer. (Mon, 03 Aug 2015 16:09:15 GMT) (full text, mbox, link).


Message #19 received at 791253-done@bugs.debian.org (full text, mbox, reply):

From: Felix Geyer <fgeyer@debian.org>
To: 791253-done@bugs.debian.org
Subject: Re: qca2: library transition may be needed when GCC 5 is the default
Date: Mon, 3 Aug 2015 18:05:50 +0200
On Mon, 03 Aug 2015 15:20:43 +0200 Matthias Klose <doko@debian.org> wrote:
> Control: tags -1 + confirmed patch
> Control: retitle -1 qca2: library transition is needed when GCC 5 is the default
> 
> confirmed, patch attached

The symbols file of the Ubuntu qca2 package is quite different as it doesn't pass
-fvisibility=hidden -fvisibility-inlines-hidden to the compiler.

I don't see any symbols in the log that need transitioning, so I'm closing this bug.

Felix



Bug archived. Request was from Debbugs Internal Request <owner@bugs.debian.org> to internal_control@bugs.debian.org. (Tue, 01 Sep 2015 07:30:49 GMT) (full text, mbox, link).


Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Thu Jan 4 21:03:00 2018; Machine Name: buxtehude

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.