Package: ion
Version: 3.2.1+dfsg-1
Severity: important
User: debian-...@lists.debian.org
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
...
> libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time 
> -D_FORTIFY_SOURCE=2 -I./dtnperf/al_bp/src/bp_implementations 
> -I./../ici/include -I./../bp/include -I./../bp/library -I./dtnperf/al_bp/src 
> -DION_IMPLEMENTATION -Dlinux -DSPACE_ORDER=3 -fno-strict-aliasing 
> -DENABLE_BPACS -DENABLE_IMC -Wall -Werror -g -include ./../config.h -g -O2 
> -fstack-protector-strong -Wformat -Werror=format-security -DNOEXPAT -c 
> dtnperf/al_bp/src/bp_implementations/al_bp_dtn_conversions.c -o 
> dtnperf/al_bp/src/bp_implementations/libal_bp_vION_la-al_bp_dtn_conversions.o 
> >/dev/null 2>&1
> dtnperf/dtnperf/src/dtnperf_modes/dtnperf_client.c: In function 
> 'run_dtnperf_client':
> dtnperf/dtnperf/src/dtnperf_modes/dtnperf_client.c:674:3: error: statement is 
> indented as if it were guarded by... [-Werror=misleading-indentation]
>    prepare_stop_bundle(&bundle_stop, mon_eid, conn_opt->expiration, 
> conn_opt->priority, sent_bundles);
>    ^~~~~~~~~~~~~~~~~~~
> 
> dtnperf/dtnperf/src/dtnperf_modes/dtnperf_client.c:670:2: note: ...this 'if' 
> clause, but it is not
>   if(perf_opt->create_log)
>   ^~
> 
> dtnperf/dtnperf/src/dtnperf_modes/dtnperf_client.c:721:5: error: statement is 
> indented as if it were guarded by... [-Werror=misleading-indentation]
>      client_clean_exit(1);
>      ^~~~~~~~~~~~~~~~~
> 
> dtnperf/dtnperf/src/dtnperf_modes/dtnperf_client.c:719:4: note: ...this 'if' 
> clause, but it is not
>     if (create_log)
>     ^~

-- 
Martin Michlmayr
Linux for HPE Helion, Hewlett Packard Enterprise

Reply via email to