Package: sushi Version: 1.4.0+dfsg-1.1 Severity: important User: debian-...@lists.debian.org Usertags: ftbfs-gcc-6 gcc-6-storage-size
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 ... > [14/48] c: source/sashimi.c -> build/source/sashimi.c.1.o > ../source/ilib.c: In function 'i_io_channel_unix_new_address': > ../source/ilib.c:164:18: error: storage size of 'hints' isn't known > struct addrinfo hints; > ^~~~~ > > ../source/ilib.c:173:19: error: 'AI_V4MAPPED' undeclared (first use in this > function) > hints.ai_flags = AI_V4MAPPED | AI_ADDRCONFIG; > ^~~~~~~~~~~ > > ../source/ilib.c:173:19: note: each undeclared identifier is reported only > once for each function it appears in > ../source/ilib.c:173:33: error: 'AI_ADDRCONFIG' undeclared (first use in this > function) > hints.ai_flags = AI_V4MAPPED | AI_ADDRCONFIG; > ^~~~~~~~~~~~~ > > ../source/ilib.c:177:6: warning: implicit declaration of function > 'getaddrinfo' [-Wimplicit-function-declaration] > if (getaddrinfo(address, port_str, &hints, &ai) != 0) > ^~~~~~~~~~~ > > ../source/ilib.c:185:31: error: dereferencing pointer to incomplete type > 'struct addrinfo' > for (p = ai; p != NULL; p = p->ai_next) > ^~ > > ../source/ilib.c:210:2: warning: implicit declaration of function > 'freeaddrinfo' [-Wimplicit-function-declaration] > freeaddrinfo(ai); > ^~~~~~~~~~~~ > > ../source/ilib.c: In function 'i_io_channel_unix_new_listen': > ../source/ilib.c:235:18: error: storage size of 'hints' isn't known > struct addrinfo hints; > ^~~~~ > > ../source/ilib.c:243:19: error: 'AI_V4MAPPED' undeclared (first use in this > function) > hints.ai_flags = AI_V4MAPPED | AI_ADDRCONFIG | AI_PASSIVE; > ^~~~~~~~~~~ > > ../source/ilib.c:243:33: error: 'AI_ADDRCONFIG' undeclared (first use in this > function) > hints.ai_flags = AI_V4MAPPED | AI_ADDRCONFIG | AI_PASSIVE; > ^~~~~~~~~~~~~ > > ../source/ilib.c:243:49: error: 'AI_PASSIVE' undeclared (first use in this > function) > hints.ai_flags = AI_V4MAPPED | AI_ADDRCONFIG | AI_PASSIVE; > ^~~~~~~~~~ > > ../source/ilib.c:255:31: error: dereferencing pointer to incomplete type > 'struct addrinfo' > for (p = ai; p != NULL; p = p->ai_next) > ^~ -- Martin Michlmayr Linux for HPE Helion, Hewlett Packard Enterprise