Debian Bug report logs - #791236
pcre3: library transition may be needed when GCC 5 is the default

Package: release.debian.org; Maintainer for release.debian.org is Debian Release Team <debian-release@lists.debian.org>;

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

Date: Fri, 3 Jul 2015 13:30:19 UTC

Severity: normal

Tags: confirmed, patch, sid, stretch

Done: Niels Thykier <niels@thykier.net>

Bug is archived. No further changes may be made.

Forwarded to https://release.debian.org/transitions/html/auto-pcre3.html

Toggle useless messages

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


Report forwarded to Matthew Vernon <matthew@debian.org>:
Bug#791236; Package src:pcre3. (Fri, 03 Jul 2015 13:30:23 GMT) (full text, mbox, link).


Acknowledgement sent to Matthias Klose <doko@debian.org>:
New Bug report received and forwarded. Copy sent to Matthew Vernon <matthew@debian.org>. (Fri, 03 Jul 2015 13:30:23 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: pcre3: library transition may be needed when GCC 5 is the default
Date: Fri, 03 Jul 2015 13:13:26 +0000
Package: src:pcre3
Version: 8.35-7
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 Matthew Vernon <matthew@debian.org>:
Bug#791236; Package src:pcre3. (Fri, 10 Jul 2015 11:39:11 GMT) (full text, mbox, link).


Acknowledgement sent to Iain Lane <laney@debian.org>:
Extra info received and forwarded to maintainer. Copy sent to Matthew Vernon <matthew@debian.org>. (Fri, 10 Jul 2015 11:39:11 GMT) (full text, mbox, link).


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

From: Iain Lane <laney@debian.org>
To: Matthias Klose <doko@debian.org>, 791236-maintonly@bugs.debian.org
Subject: Re: Bug#791236: pcre3: library transition may be needed when GCC 5 is the default
Date: Fri, 10 Jul 2015 12:33:58 +0100
[Message part 1 (text/plain, inline)]
Hi,

On Fri, Jul 03, 2015 at 01:13:26PM +0000, Matthias Klose wrote:
> […]
>  - 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 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:

I looked, seems like a transition is required here, assuming that
upstream isn't supporting both ABIs in a newer version (from a quick
look at their VCS it seems not but I might be wrong).

I attach a symbols diff so you can see the changes (that's on top of the
symbols file from #767374 - sorry about the Consume noise, apparently
wasn't sorted correctly before).

Cheers,

-- 
Iain Lane                                  [ iain@orangesquash.org.uk ]
Debian Developer                                   [ laney@debian.org ]
Ubuntu Developer                                   [ laney@ubuntu.com ]
[gcc5-symbols.diff (text/x-diff, attachment)]
[signature.asc (application/pgp-signature, inline)]

Added tag(s) confirmed. Request was from Matthias Klose <doko@debian.org> to control@bugs.debian.org. (Wed, 22 Jul 2015 11:21:03 GMT) (full text, mbox, link).


Information forwarded to debian-bugs-dist@lists.debian.org, Matthew Vernon <matthew@debian.org>:
Bug#791236; Package src:pcre3. (Tue, 28 Jul 2015 17:57:16 GMT) (full text, mbox, link).


Acknowledgement sent to Matthias Klose <doko@debian.org>:
Extra info received and forwarded to list. Copy sent to Matthew Vernon <matthew@debian.org>. (Tue, 28 Jul 2015 17:57:16 GMT) (full text, mbox, link).


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

From: Matthias Klose <doko@debian.org>
To: 791236@bugs.debian.org
Subject: add transition patch
Date: Tue, 28 Jul 2015 19:53:54 +0200
[Message part 1 (text/plain, inline)]
Control: tags -1 + patch

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

Added tag(s) patch. Request was from Matthias Klose <doko@debian.org> to 791236-submit@bugs.debian.org. (Tue, 28 Jul 2015 17:57:16 GMT) (full text, mbox, link).


Information forwarded to debian-bugs-dist@lists.debian.org:
Bug#791236; Package src:pcre3. (Wed, 29 Jul 2015 09:21:06 GMT) (full text, mbox, link).


Acknowledgement sent to Matthew Vernon <matthew@debian.org>:
Extra info received and forwarded to list. (Wed, 29 Jul 2015 09:21:06 GMT) (full text, mbox, link).


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

From: Matthew Vernon <matthew@debian.org>
To: Matthias Klose <doko@debian.org>, 791236@bugs.debian.org
Subject: Re: Bug#791236: add transition patch
Date: Wed, 29 Jul 2015 09:39:08 +0100
On 28/07/15 18:53, Matthias Klose wrote:
> Control: tags -1 + patch

Thanks, much appreciated!

AIUI, I shouldn't upload anything now, but a package with this patch 
applied will be NMUd as the transition progresses?

Regards,

Matthew





Information forwarded to debian-bugs-dist@lists.debian.org, Matthew Vernon <matthew@debian.org>:
Bug#791236; Package src:pcre3. (Mon, 03 Aug 2015 16:00:08 GMT) (full text, mbox, link).


Acknowledgement sent to Matthias Klose <doko@debian.org>:
Extra info received and forwarded to list. Copy sent to Matthew Vernon <matthew@debian.org>. (Mon, 03 Aug 2015 16:00:08 GMT) (full text, mbox, link).


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

From: Matthias Klose <doko@debian.org>
To: Matthew Vernon <matthew@debian.org>, 791236@bugs.debian.org
Subject: Re: Bug#791236: add transition patch
Date: Mon, 03 Aug 2015 17:58:22 +0200
> AIUI, I shouldn't upload anything now, but a package with this patch
> applied will be NMUd as the transition progresses?

you can upload this now, maybe adding an explicit b-d on g++ (>= 4:5.2).



Information forwarded to debian-bugs-dist@lists.debian.org, Matthew Vernon <matthew@debian.org>:
Bug#791236; Package src:pcre3. (Tue, 04 Aug 2015 18:33:04 GMT) (full text, mbox, link).


Acknowledgement sent to Matthias Klose <doko@debian.org>:
Extra info received and forwarded to list. Copy sent to Matthew Vernon <matthew@debian.org>. (Tue, 04 Aug 2015 18:33:04 GMT) (full text, mbox, link).


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

From: Matthias Klose <doko@debian.org>
To: 791236@bugs.debian.org
Subject: nmu uploaded to delayed
Date: Tue, 04 Aug 2015 20:30:21 +0200
Control: tags -1 + pending



Added tag(s) pending. Request was from Matthias Klose <doko@debian.org> to 791236-submit@bugs.debian.org. (Tue, 04 Aug 2015 18:33:04 GMT) (full text, mbox, link).


Added blocking bug(s) of 791236: 790756 Request was from Matthias Klose <doko@debian.org> to control@bugs.debian.org. (Thu, 06 Aug 2015 06:57:09 GMT) (full text, mbox, link).


Bug reassigned from package 'src:pcre3' to 'release.debian.org'. Request was from Matthias Klose <doko@debian.org> to control@bugs.debian.org. (Thu, 06 Aug 2015 06:57:11 GMT) (full text, mbox, link).


No longer marked as found in versions pcre3/8.35-7. Request was from Matthias Klose <doko@debian.org> to control@bugs.debian.org. (Thu, 06 Aug 2015 06:57:11 GMT) (full text, mbox, link).


Severity set to 'normal' from 'important' Request was from Matthias Klose <doko@debian.org> to control@bugs.debian.org. (Thu, 06 Aug 2015 06:57:12 GMT) (full text, mbox, link).


Removed tag(s) pending. Request was from Matthias Klose <doko@debian.org> to control@bugs.debian.org. (Thu, 06 Aug 2015 06:57:13 GMT) (full text, mbox, link).


Set Bug forwarded-to-address to 'https://release.debian.org/transitions/html/auto-pcre3.html'. Request was from Bas Couwenberg <sebastic@debian.org> to control@bugs.debian.org. (Fri, 21 Aug 2015 14:03:24 GMT) (full text, mbox, link).


Added tag(s) pending. Request was from Julien Cristau <jcristau@debian.org> to control@bugs.debian.org. (Sun, 06 Sep 2015 14:15:11 GMT) (full text, mbox, link).


Reply sent to Niels Thykier <niels@thykier.net>:
You have taken responsibility. (Mon, 21 Sep 2015 06:42:04 GMT) (full text, mbox, link).


Notification sent to Matthias Klose <doko@debian.org>:
Bug acknowledged by developer. (Mon, 21 Sep 2015 06:42:04 GMT) (full text, mbox, link).


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

From: Niels Thykier <niels@thykier.net>
To: 791236-done@bugs.debian.org
Subject: Re: pcre3: library transition may be needed when GCC 5 is the default
Date: Mon, 21 Sep 2015 08:38:35 +0200
On Fri, 03 Jul 2015 13:13:26 +0000 Matthias Klose <doko@debian.org> wrote:
> Package: src:pcre3
> Version: 8.35-7
> 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:
> 
> [...]
> 
> 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

This gcc-5 related transition is now complete.

Thanks,
~Niels




Bug archived. Request was from Debbugs Internal Request <owner@bugs.debian.org> to internal_control@bugs.debian.org. (Mon, 19 Oct 2015 07:29:11 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: Fri Jan 5 00:43:57 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.