Bug#791166: libsfml: library transition may be needed when GCC 5 is the default

James Cowgill james410 at cowgill.org.uk
Tue Jul 7 19:43:48 UTC 2015


Control: user release.debian.org at packages.debian.org
Control: usertag -1 + transition
Control: block -1 by 790756
Control: reassign -1 release.debian.org
Control: tags -1 patch

On Fri, 2015-07-03 at 13:12 +0000, Matthias Klose wrote:
> Package: src:libsfml
> Version: 2.1+dfsg2-1
> Severity: important
> Tags: sid stretch
> User: debian-gcc at 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:
[...]
>  - 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 at bugs.debian.org:
>    
>      user release.debian.org at packages.debian.org
>      usertag  + transition
>      block  by 790756
>      reassign  release.debian.org

Done and patch attached. The changes are also available in git here:
https://anonscm.debian.org/cgit/pkg-games/libsfml.git/?h=libstdcxx11-transition

The C++11 symbol changes are part of the public ABI and a number of
functions accept or return std::strings which are definitely broken.

I don't think the ABI for libsfml-window is broken (and there are no
symbol changes) but I'm not entirely sure. Since all the other
libraries are broken and a transition is necessary anyway, I renamed it
as well to be on the safe side.

Thanks,
James
-------------- next part --------------
A non-text attachment was scrubbed...
Name: libsfml-libstdcxx-transition.debdiff
Type: text/x-patch
Size: 109649 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-games-devel/attachments/20150707/1be0b2dc/attachment-0001.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: This is a digitally signed message part
URL: <http://lists.alioth.debian.org/pipermail/pkg-games-devel/attachments/20150707/1be0b2dc/attachment-0001.sig>


More information about the Pkg-games-devel mailing list