Package: systemtap
Version: 2.9-2
Severity: important
User: [email protected]
Usertags: ftbfs-gcc-6 gcc-6-misleading-indentation
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
stretch.
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.
> sbuild (Debian sbuild) 0.67.0 (26 Dec 2015) on dl580gen9-02.hlinux
...
> g++ -DHAVE_CONFIG_H -I. -DBINDIR='"/usr/bin"' -DSYSCONFDIR='"/etc"'
> -DPKGDATADIR='"/usr/share/systemtap"' -DPKGLIBDIR='"/usr/lib/systemtap"'
> -DLOCALEDIR='"/usr/share/locale"' -I./includes -I./includes/sys -DSTAP_SDT_V2
> -D_REENTRANT -I/usr/include/nss -I/usr/include/nspr -Wdate-time
> -D_FORTIFY_SOURCE=2 -Wall -Werror -std=c++11 -D_REENTRANT -I/usr/include/nss
> -I/usr/include/nspr -g -O2 -fstack-protector-strong -Wformat
> -Werror=format-security -fstack-protector-all -D_FORTIFY_SOURCE=2 -c -o
> stap-stringtable.o `test -f 'stringtable.cxx' || echo './'`stringtable.cxx
> tapsets.cxx: In constructor
> 'dwarf_derived_probe::dwarf_derived_probe(interned_string, interned_string,
> int, interned_string, interned_string, Dwarf_Addr, Dwarf_Addr, dwarf_query&,
> Dwarf_Die*)':
> tapsets.cxx:5015:5: error: statement is indented as if it were guarded by...
> [-Werror=misleading-indentation]
> {
> ^
>
> tapsets.cxx:5007:3: note: ...this 'if' clause, but it is not
> if (has_maxactive && (maxactive_val < 0 || maxactive_val > USHRT_MAX))
> ^~
>
--
Martin Michlmayr
Linux for HPE Helion, Hewlett Packard Enterprise