Control: severity -1 normal On Mon, 19 Oct 2015 18:43:24 +0100 "Chris West (Faux)" <solo-debianb...@goeswhere.com> wrote: > Source: libpar2 > Version: 0.4-4 > Severity: serious > Justification: fails to build from source > Tags: sid stretch > User: reproducible-bui...@lists.alioth.debian.org > Usertags: ftbfs > X-Debbugs-CC: reproducible-bui...@lists.alioth.debian.org > > Dear Maintainer, > > The package fails to build: > > make all-am > make[2]: Entering directory '/libpar2-0.4' > /bin/bash ./libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. > -I/usr/include/sigc++-2.0 -I/usr/lib/x86_64-linux-gnu/sigc++-2.0/include > -D_FORTIFY_SOURCE=2 -Wall -g -O2 -fstack-protector-strong -Wformat > -Werror=format-security -c -o libpar2.lo libpar2.cpp > libtool: compile: g++ -DHAVE_CONFIG_H -I. -I/usr/include/sigc++-2.0 > -I/usr/lib/x86_64-linux-gnu/sigc++-2.0/include -D_FORTIFY_SOURCE=2 -Wall -g > -O2 -fstack-protector-strong -Wformat -Werror=format-security -c libpar2.cpp > -fPIC -DPIC -o .libs/libpar2.o > 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 libpar2.h:23, > from libpar2.cpp:21: > /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 libpar2.h:23, > from libpar2.cpp:21: > /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 \ > ^ > In file included from > /usr/include/sigc++-2.0/sigc++/adaptors/adaptor_trait.h:7:0, > from /usr/include/sigc++-2.0/sigc++/functors/slot.h:7, > 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 libpar2.h:23, > from libpar2.cpp:21: > /usr/include/sigc++-2.0/sigc++/functors/functor_trait.h:92:3: warning: > identifier 'decltype' is a keyword in C++11 [-Wc++0x-compat] > static int check(X_functor* obj, decltype(&X_functor::operator()) p = > nullptr); > ^ > > See also this argument in glibmm2.4, although that doesn't apply to > libpar2 as it's using sigc++-2.0 directly: > https://bugs.debian.org/800371 >
I've applied a workaround to libsigc++-2.0 which sets -std=c++11 via pkg-config. This should allow libpar2 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) or GCC 6 becomes the default compiler, which will switch to -std=gnu++14 Regards, Michael -- Why is it that all of the instruments seeking intelligent life in the universe are pointed away from Earth?
signature.asc
Description: OpenPGP digital signature