Source: libneo4j-client
Version: 2.1.2-1
Severity: serious
Justification: fails to build from source (but built successfully in the past)

Hi,

libneo4j-client/experimental FTBFS with GCC 7:

libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../.. -Wdate-time 
-D_FORTIFY_SOURCE=2 -pthread -Wpedantic -Wvla -g -O2 
-fdebug-prefix-map=/build/libneo4j-client-2.1.2=. -fstack-protector-strong 
-Wformat -Werror=format-security -
std=gnu11 -fvisibility=hidden -pipe -Wall -W -Werror -Wno-unused-parameter 
-Wno-missing-field-initializers -Wpointer-arith -Wstrict-prototypes -Wcast-qual 
-Wcast-align -Wno-error=unused-function -Wno-error=unused-variable -Wn
o-error=deprecated-declarations -c render.c  -fPIC -DPIC -o 
.libs/libneo4j_client_la-render.o
render.c: In function 'render_field':
render.c:610:17: error: '__builtin___snprintf_chk' output truncated before the 
last format character [-Werror=format-truncation=]
             if (snprintf(buf, sizeof(buf), "\\U%08X", codepoint) < 0)
                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/stdio.h:938:0,
                 from neo4j-client.h:27,
                 from render.h:20,
                 from render.c:18:
/usr/include/x86_64-linux-gnu/bits/stdio2.h:64:10: note: 
'__builtin___snprintf_chk' output 11 bytes into a destination of size 10
   return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
        __bos (__s), __fmt, __va_arg_pack ());
        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
Makefile:688: recipe for target 'libneo4j_client_la-render.lo' failed
make[4]: *** [libneo4j_client_la-render.lo] Error 1


Full log attached.


Andreas

Attachment: libneo4j-client_2.1.2-1.log.gz
Description: application/gzip

Reply via email to