Package: ipsec-tools Version: 1:0.8.2+20140711-5 Severity: important User: [email protected] Usertags: ftbfs-gcc-6
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. You may be able to find out more about this issue at https://gcc.gnu.org/gcc-6/changes.html > sbuild (Debian sbuild) 0.67.0 (26 Dec 2015) on dl580gen9-02.hlinux ... > x86_64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../.. -I./../libipsec > -D_GNU_SOURCE -include ./src/include-glibc/glibc-bugs.h -I./src/include-glibc > -I./src/include-glibc -Wdate-time -D_FORTIFY_SOURCE=2 -isystem > /usr/include/mit-krb5 -I../../src/racoon/missing -D_GNU_SOURCE -include > ../../src/include-glibc/glibc-bugs.h -I../../src/include-glibc > -I../../src/include-glibc -DSYSCONFDIR=\"/etc/racoon\" > -DADMINPORTDIR=\"/var/run/racoon\" -g -O2 -fstack-protector-strong -Wformat > -Werror=format-security -Wall -Werror -Wno-unused -MT isakmp_quick.o -MD -MP > -MF .deps/isakmp_quick.Tpo -c -o isakmp_quick.o isakmp_quick.c > isakmp_quick.c: In function 'get_sainfo_r': > isakmp_quick.c:2182:13: error: dereferencing type-punned pointer will break > strict-aliasing rules [-Werror=strict-aliasing] > ((struct sockaddr_in *)&saddr)->sin_port = IPSEC_PORT_ANY; > ^~~~~~~~~~~ > > isakmp_quick.c:2183:21: error: dereferencing type-punned pointer will break > strict-aliasing rules [-Werror=strict-aliasing] > memcpy(&((struct sockaddr_in *)&saddr)->sin_addr, > ^~~~~~~~~~~ > > cc1: all warnings being treated as errors > Makefile:748: recipe for target 'isakmp_quick.o' failed -- Martin Michlmayr Linux for HPE Helion, Hewlett Packard Enterprise

