Package: httpfs2 Version: 0.1.4-1 Severity: important User: [email protected] 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 ... > gcc -g -Wall -DUSE_AUTH -D_XOPEN_SOURCE=500 -D_ISOC99_SOURCE -Os -Wall > -D_FILE_OFFSET_BITS=64 -I/usr/include/fuse -lfuse -pthread httpfs2.c -o > httpfs2 > httpfs2.c:367:15: warning: conflicting types for built-in function 'strndup' > static char * strndup(const char * str, int n){ > ^~~~~~~ > > httpfs2.c: In function 'init_url': > httpfs2.c:399:26: warning: argument to 'sizeof' in 'memset' call is the same > expression as the destination; did you mean to dereference it? > [-Wsizeof-pointer-memaccess] > memset(url, 0, sizeof(url)); > ^ > > httpfs2.c: In function 'open_client_socket': > httpfs2.c:796:21: error: storage size of 'hints' isn't known > struct addrinfo hints; > ^~~~~ > > httpfs2.c:819:19: warning: implicit declaration of function 'getaddrinfo' > [-Wimplicit-function-declaration] > if ((gaierr = getaddrinfo(url->host, portstr, &hints, &ai)) != 0) { > ^~~~~~~~~~~ > > httpfs2.c:821:35: warning: implicit declaration of function 'gai_strerror' > [-Wimplicit-function-declaration] > argv0, url->host, gai_strerror(gaierr)); > ^~~~~~~~~~~~ > > httpfs2.c:820:55: warning: format '%s' expects argument of type 'char *', but > argument 5 has type 'int' [-Wformat=] > (void) fprintf(stderr, "%s: getaddrinfo %s - %s\n", > ^ > > httpfs2.c:826:46: error: dereferencing pointer to incomplete type 'struct > addrinfo' > for (aiv4 = ai; aiv4 != NULL; aiv4 = aiv4->ai_next) { > ^~ > > httpfs2.c:854:5: warning: implicit declaration of function 'freeaddrinfo' > [-Wimplicit-function-declaration] > freeaddrinfo(ai); > ^~~~~~~~~~~~ > > httpfs2.c:796:21: warning: unused variable 'hints' [-Wunused-variable] > struct addrinfo hints; > ^~~~~ > > httpfs2.c: In function 'parse_header': > httpfs2.c:969:58: warning: field precision specifier '.*' expects argument of > type 'int', but argument 6 has type 'long int' [-Wformat=] > fprintf(stderr, "%s: %s: failed with status: %d%.*s.\n", > ^ > > At top level: > httpfs2.c:405:12: warning: 'free_url' defined but not used [-Wunused-function] > static int free_url(struct_url* url) > ^~~~~~~~ > > Makefile:23: recipe for target 'httpfs2' failed > make[1]: *** [httpfs2] Error 1 -- Martin Michlmayr Linux for HPE Helion, Hewlett Packard Enterprise

