Source: libspf2
Version: 1.2.10-8.1
Severity: serious
Tags: ftbfs
Justification: fails to build from source (but built successfully in the past)
X-Debbugs-Cc: sramac...@debian.org

https://buildd.debian.org/status/fetch.php?pkg=libspf2&arch=armhf&ver=1.2.10-8.1&stamp=1709162644&raw=0

/bin/bash ../../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. 
-I../.. -I../../src/include -I../../src  -D_LARGEFILE_SOURCE 
-D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2  -g -O2 
-Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. 
-fstack-protector-strong -fstack-clash-protection -Wformat 
-Werror=format-security -Wall -MT spf_utils.lo -MD -MP -MF .deps/spf_utils.Tpo 
-c -o spf_utils.lo spf_utils.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src/include 
-I../../src -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 
-Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration 
-ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong 
-fstack-clash-protection -Wformat -Werror=format-security -Wall -MT 
spf_utils.lo -MD -MP -MF .deps/spf_utils.Tpo -c spf_utils.c  -fPIC -DPIC -o 
.libs/spf_utils.o
spf_utils.c: In function ‘SPF_recalloc’:
spf_utils.c:207:9: error: implicit declaration of function ‘memset’ 
[-Werror=implicit-function-declaration]
  207 |         memset(*bufp, '\0', *buflenp);
      |         ^~~~~~
spf_utils.c:32:1: note: include ‘<string.h>’ or provide a declaration of 
‘memset’
   31 | #include "spf_internal.h"
  +++ |+#include <string.h>
   32 | 
spf_utils.c:207:9: warning: incompatible implicit declaration of built-in 
function ‘memset’ [-Wbuiltin-declaration-mismatch]
  207 |         memset(*bufp, '\0', *buflenp);
      |         ^~~~~~
spf_utils.c:207:9: note: include ‘<string.h>’ or provide a declaration of 
‘memset’
cc1: some warnings being treated as errors
make[5]: *** [Makefile:549: spf_utils.lo] Error 1

Cheers
-- 
Sebastian Ramacher

Reply via email to