Package: graphviz
Version: 2.38.0-15
Severity: important

Hi,

graphviz FTBFS on kfreebsd, possibly since the switch of the default
compiler to gcc-6:

https://buildd.debian.org/status/fetch.php?pkg=graphviz&arch=kfreebsd-amd64&ver=2.38.0-15&stamp=1472391323
https://buildd.debian.org/status/fetch.php?pkg=graphviz&arch=kfreebsd-i386&ver=2.38.0-15&stamp=1472391315

/bin/bash ../../libtool  --tag=CC   --mode=compile i686-kfreebsd-gnu-gcc 
-DHAVE_CONFIG_H -I. -I../.. -I../../lib/common  -I../.. -I../../lib/cdt 
-Wdate-time -D_FORTIFY_SOURCE=2  -g -O2 -fdebug-prefix-map=/«PKGBUILDDIR»=. 
-fstack-protector-strong -Wformat -Werror=format-security  -Wno-unknown-pragmas 
-Wstrict-prototypes -Wpointer-arith -Wall -ffast-math -MT write.lo -MD -MP -MF 
.deps/write.Tpo -c -o write.lo write.c
libtool: compile:  i686-kfreebsd-gnu-gcc -DHAVE_CONFIG_H -I. -I../.. 
-I../../lib/common -I../.. -I../../lib/cdt -Wdate-time -D_FORTIFY_SOURCE=2 -g 
-O2 -fdebug-prefix-map=/«PKGBUILDDIR»=. -fstack-protector-strong -Wformat 
-Werror=format-security -Wno-unknown-pragmas -Wstrict-prototypes 
-Wpointer-arith -Wall -ffast-math -MT write.lo -MD -MP -MF .deps/write.Tpo -c 
write.c  -fPIC -DPIC -o .libs/write.o
write.c:50:12: error: static declaration of 'strcasecmp' follows non-static 
declaration
 static int strcasecmp(const char *s1, const char *s2)
            ^~~~~~~~~~
In file included from ../../lib/cdt/cdt.h:20:0,
                 from ./cgraph.h:17,
                 from cghdr.h:26,
                 from write.c:16:
/usr/include/string.h:529:12: note: previous declaration of 'strcasecmp' was 
here
 extern int strcasecmp (const char *__s1, const char *__s2)
            ^~~~~~~~~~
Makefile:760: recipe for target 'write.lo' failed
make[4]: *** [write.lo] Error 1

Reply via email to