Source: libfreefare Version: 0.4.0-2.2 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=libfreefare&arch=armhf&ver=0.4.0-2.2&stamp=1709534952&raw=0 libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -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 -std=c99 -c mifare_desfire_crypto.c -fPIC -DPIC -o .libs/mifare_desfire_crypto.o In file included from /usr/include/arm-linux-gnueabihf/sys/types.h:25, from mifare_desfire_crypto.c:32: /usr/include/features.h:195:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 195 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ mifare_desfire_crypto.c: In function ‘cmac’: mifare_desfire_crypto.c:139:23: error: implicit declaration of function ‘malloc’ [-Werror=implicit-function-declaration] 139 | uint8_t *buffer = malloc (padded_data_length (len, kbs)); | ^~~~~~ mifare_desfire_crypto.c:69:1: note: include ‘<stdlib.h>’ or provide a declaration of ‘malloc’ 68 | #include "freefare_internal.h" +++ |+#include <stdlib.h> 69 | Cheers -- Sebastian Ramacher