Bug#802352: pink-pony: FTBFS: libsigc++-2.0 requires -std=c++11

Michael Biebl biebl at debian.org
Fri Oct 23 14:52:25 UTC 2015


Control: severity -1 normal

On Mon, 19 Oct 2015 19:02:47 +0100 "Chris West (Faux)"
<solo-debianbugs at goeswhere.com> wrote:
> Source: pink-pony
> Version: 1.4.1-1
> Severity: serious
> Justification: fails to build from source
> Tags: sid stretch
> User: reproducible-builds at lists.alioth.debian.org
> Usertags: ftbfs
> X-Debbugs-CC: reproducible-builds at lists.alioth.debian.org
> 
> Dear Maintainer,
> 
> The package fails to build:
> 
> .. src/Menu.cc
> In file included from /usr/include/sigc++-2.0/sigc++/signal_base.h:26:0,
>                  from /usr/include/sigc++-2.0/sigc++/signal.h:8,
>                  from /usr/include/sigc++-2.0/sigc++/sigc++.h:86,
>                  from src/Widget.hh:10,
>                  from src/Menu.hh:11,
>                  from src/Menu.cc:1:
> /usr/include/sigc++-2.0/sigc++/trackable.h:115:3: warning: identifier 'noexcept' is a keyword in C++11 [-Wc++0x-compat]
>    trackable(trackable&& src) noexcept;
>    ^
> In file included from /usr/include/c++/5/type_traits:35:0,
>                  from /usr/include/sigc++-2.0/sigc++/visit_each.h:22,
>                  from /usr/include/sigc++-2.0/sigc++/functors/slot.h:6,
>                  from /usr/include/sigc++-2.0/sigc++/signal_base.h:27,
>                  from /usr/include/sigc++-2.0/sigc++/signal.h:8,
>                  from /usr/include/sigc++-2.0/sigc++/sigc++.h:86,
>                  from src/Widget.hh:10,
>                  from src/Menu.hh:11,
>                  from src/Menu.cc:1:
> /usr/include/c++/5/bits/c++0x_warning.h:32:2: error: #error This file requires compiler and library support for the ISO C++ 2011 standard. This support is currently experimental, and must be enabled with the -std=c++11 or -std=gnu++11 compiler options.
>  #error This file requires compiler and library support for the \
>   ^
> 
> Similar bug: http://bugs.debian.org/802343
> 
> Full build log:
> https://reproducible.debian.net/rb-pkg/unstable/amd64/pink-pony.html
> 

I've applied a workaround to libsigc++-2.0 which sets -std=c++11 via
pkg-config. This should allow pink-pony to build again. Thus making this
bug non-RC.
I'll keep this bug open though, since I want to drop that hack from
libsigc++-2.0 again. This can happen once all affected packages either
explicitly specify -std=c++11 (e.g. via CXXFLAGS in debian/rules [1]) or
GCC6 becomes the default compiler, which will switch to -std=gnu++14

Regards,
Michael

[1] as example, see
http://anonscm.debian.org/viewvc/pkg-games/packages/trunk/monster-masher/debian/rules?r1=12687&r2=15538
-- 
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: OpenPGP digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-games-devel/attachments/20151023/67e5ccc7/attachment.sig>


More information about the Pkg-games-devel mailing list