[Rsbackup-maint] Bug#811705: FTBFS with GCC 6: throw will always call terminate

Martin Michlmayr tbm at hpe.com
Wed Jan 20 01:13:59 UTC 2016

Package: rsbackup
Version: 3.0-2
Severity: important
User: debian-gcc at lists.debian.org
Usertags: ftbfs-gcc-6 gcc-6-terminate

This package fails to build with GCC 6.  GCC 6 has not been released
yet, but it's expected that GCC 6 will become the default compiler for

Note that only the first error is reported; there might be more.  You
can find a snapshot of GCC 6 in experimental.  To build with GCC 6,
you can set CC=gcc-6 CXX=g++-6 explicitly.

You may be able to find out more about this issue at
> sbuild (Debian sbuild) 0.67.0 (26 Dec 2015) on dl580gen9-02.hlinux
> g++ -DHAVE_CONFIG_H -I. -I..   -Wdate-time -D_FORTIFY_SOURCE=2  -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -std=c++11 -Wall -W -Werror -Wpointer-arith -Wwrite-strings -MT EventLoop.o -MD -MP -MF .deps/EventLoop.Tpo -c -o EventLoop.o EventLoop.cc
> EventLoop.cc: In destructor 'virtual EventLoop::~EventLoop()':
> EventLoop.cc:74:43: error: throw will always call terminate() [-Werror=terminate]
>      throw SystemError("sigprocmask", errno);
>                                            ^
> EventLoop.cc:74:43: note: in C++11 destructors default to noexcept
> cc1plus: all warnings being treated as errors
> Makefile:964: recipe for target 'EventLoop.o' failed
> make[3]: *** [EventLoop.o] Error 1

Martin Michlmayr
Linux for HPE Helion, Hewlett Packard Enterprise

More information about the Rsbackup-maint mailing list