>>> libfreefare 0.4.0 Downloading wget -nd -t 3 -O '/home/autobuild/autobuild/instance-17/output-1/build/.libfreefare-0.4.0.tar.bz2.tIV6yq/output' 'https://github.com/nfc-tools/libfreefare/releases/download/libfreefare-0.4.0/libfreefare-0.4.0.tar.bz2' --2024-07-19 03:03:07-- https://github.com/nfc-tools/libfreefare/releases/download/libfreefare-0.4.0/libfreefare-0.4.0.tar.bz2 Loaded CA certificate '/etc/ssl/certs/ca-certificates.crt' Resolving github.com (github.com)... 140.82.113.3 Connecting to github.com (github.com)|140.82.113.3|:443... connected. HTTP request sent, awaiting response... 302 Found Location: https://objects.githubusercontent.com/github-production-release-asset-2e65be/32210106/bf674cee-f97c-11e4-9a20-08461f533d06?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=releaseassetproduction%2F20240719%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20240719T090308Z&X-Amz-Expires=300&X-Amz-Signature=a791a7f9347284097f85a59d9616a82928ae72828de39d24d705ff4f98605056&X-Amz-SignedHeaders=host&actor_id=0&key_id=0&repo_id=32210106&response-content-disposition=attachment%3B%20filename%3Dlibfreefare-0.4.0.tar.bz2&response-content-type=application%2Foctet-stream [following] --2024-07-19 03:03:08-- https://objects.githubusercontent.com/github-production-release-asset-2e65be/32210106/bf674cee-f97c-11e4-9a20-08461f533d06?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=releaseassetproduction%2F20240719%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20240719T090308Z&X-Amz-Expires=300&X-Amz-Signature=a791a7f9347284097f85a59d9616a82928ae72828de39d24d705ff4f98605056&X-Amz-SignedHeaders=host&actor_id=0&key_id=0&repo_id=32210106&response-content-disposition=attachment%3B%20filename%3Dlibfreefare-0.4.0.tar.bz2&response-content-type=application%2Foctet-stream Resolving objects.githubusercontent.com (objects.githubusercontent.com)... 185.199.109.133, 185.199.111.133, 185.199.108.133, ... Connecting to objects.githubusercontent.com (objects.githubusercontent.com)|185.199.109.133|:443... connected. HTTP request sent, awaiting response... 200 OK Length: 386294 (377K) [application/octet-stream] Saving to: '/home/autobuild/autobuild/instance-17/output-1/build/.libfreefare-0.4.0.tar.bz2.tIV6yq/output' 0K .......... .......... .......... .......... .......... 13% 4.61M 0s 50K .......... .......... .......... .......... .......... 26% 4.87M 0s 100K .......... .......... .......... .......... .......... 39% 25.2M 0s 150K .......... .......... .......... .......... .......... 53% 18.9M 0s 200K .......... .......... .......... .......... .......... 66% 8.42M 0s 250K .......... .......... .......... .......... .......... 79% 60.8M 0s 300K .......... .......... .......... .......... .......... 92% 27.1M 0s 350K .......... .......... ....... 100% 64.5M=0.03s 2024-07-19 03:03:08 (10.8 MB/s) - '/home/autobuild/autobuild/instance-17/output-1/build/.libfreefare-0.4.0.tar.bz2.tIV6yq/output' saved [386294/386294] libfreefare-0.4.0.tar.bz2: OK (sha256: bfa31d14a99a1247f5ed49195d6373de512e3eb75bf1627658b40cf7f876bc64) >>> libfreefare 0.4.0 Extracting bzcat /home/autobuild/autobuild/instance-17/dl/libfreefare/libfreefare-0.4.0.tar.bz2 | tar --strip-components=1 -C /home/autobuild/autobuild/instance-17/output-1/build/libfreefare-0.4.0 -xf - >>> libfreefare 0.4.0 Patching >>> libfreefare 0.4.0 Updating config.sub and config.guess for file in config.guess config.sub; do for i in $(find /home/autobuild/autobuild/instance-17/output-1/build/libfreefare-0.4.0 -name $file); do cp support/gnuconfig/$file $i; done; done >>> libfreefare 0.4.0 Patching libtool patching file /home/autobuild/autobuild/instance-17/output-1/build/libfreefare-0.4.0/ltmain.sh Hunk #7 succeeded at 6699 (offset 3 lines). Hunk #8 succeeded at 9280 (offset 6 lines). >>> libfreefare 0.4.0 Configuring (cd /home/autobuild/autobuild/instance-17/output-1/build/libfreefare-0.4.0/ && rm -rf config.cache && GIT_DIR=. PATH="/home/autobuild/autobuild/instance-17/output-1/host/bin:/home/autobuild/autobuild/instance-17/output-1/host/sbin:/home/autobuild/make:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/lib/jvm/default/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl" AR="/home/autobuild/autobuild/instance-17/output-1/host/bin/mips64el-buildroot-linux-gnu-gcc-ar" AS="/home/autobuild/autobuild/instance-17/output-1/host/bin/mips64el-buildroot-linux-gnu-as" LD="/home/autobuild/autobuild/instance-17/output-1/host/bin/mips64el-buildroot-linux-gnu-ld" NM="/home/autobuild/autobuild/instance-17/output-1/host/bin/mips64el-buildroot-linux-gnu-gcc-nm" CC="/home/autobuild/autobuild/instance-17/output-1/host/bin/mips64el-buildroot-linux-gnu-gcc" GCC="/home/autobuild/autobuild/instance-17/output-1/host/bin/mips64el-buildroot-linux-gnu-gcc" CPP="/home/autobuild/autobuild/instance-17/output-1/host/bin/mips64el-buildroot-linux-gnu-cpp" CXX="/home/autobuild/autobuild/instance-17/output-1/host/bin/mips64el-buildroot-linux-gnu-g++" FC="/home/autobuild/autobuild/instance-17/output-1/host/bin/mips64el-buildroot-linux-gnu-gfortran" F77="/home/autobuild/autobuild/instance-17/output-1/host/bin/mips64el-buildroot-linux-gnu-gfortran" RANLIB="/home/autobuild/autobuild/instance-17/output-1/host/bin/mips64el-buildroot-linux-gnu-gcc-ranlib" READELF="/home/autobuild/autobuild/instance-17/output-1/host/bin/mips64el-buildroot-linux-gnu-readelf" STRIP="/bin/true" OBJCOPY="/home/autobuild/autobuild/instance-17/output-1/host/bin/mips64el-buildroot-linux-gnu-objcopy" OBJDUMP="/home/autobuild/autobuild/instance-17/output-1/host/bin/mips64el-buildroot-linux-gnu-objdump" AR_FOR_BUILD="/usr/bin/ar" AS_FOR_BUILD="/usr/bin/as" CC_FOR_BUILD="/usr/bin/gcc" GCC_FOR_BUILD="/usr/bin/gcc" CXX_FOR_BUILD="/usr/bin/g++" LD_FOR_BUILD="/usr/bin/ld" CPPFLAGS_FOR_BUILD="-I/home/autobuild/autobuild/instance-17/output-1/host/include" CFLAGS_FOR_BUILD="-O2 -I/home/autobuild/autobuild/instance-17/output-1/host/include" CXXFLAGS_FOR_BUILD="-O2 -I/home/autobuild/autobuild/instance-17/output-1/host/include" LDFLAGS_FOR_BUILD="-L/home/autobuild/autobuild/instance-17/output-1/host/lib -Wl,-rpath,/home/autobuild/autobuild/instance-17/output-1/host/lib" FCFLAGS_FOR_BUILD="" DEFAULT_ASSEMBLER="/home/autobuild/autobuild/instance-17/output-1/host/bin/mips64el-buildroot-linux-gnu-as" DEFAULT_LINKER="/home/autobuild/autobuild/instance-17/output-1/host/bin/mips64el-buildroot-linux-gnu-ld" CPPFLAGS="-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64" CFLAGS="-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O1 -g0 " CXXFLAGS="-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O1 -g0 " LDFLAGS="" FCFLAGS=" -O1 -g0" FFLAGS=" -O1 -g0" PKG_CONFIG="/home/autobuild/autobuild/instance-17/output-1/host/bin/pkg-config" STAGING_DIR="/home/autobuild/autobuild/instance-17/output-1/host/mips64el-buildroot-linux-gnu/sysroot" INTLTOOL_PERL=/usr/bin/perl CXX=no ac_cv_lbl_unaligned_fail=yes ac_cv_func_mmap_fixed_mapped=yes ac_cv_func_memcmp_working=yes ac_cv_have_decl_malloc=yes gl_cv_func_malloc_0_nonnull=yes ac_cv_func_malloc_0_nonnull=yes ac_cv_func_calloc_0_nonnull=yes ac_cv_func_realloc_0_nonnull=yes lt_cv_sys_lib_search_path_spec="" ac_cv_c_bigendian=no LIBS=`/home/autobuild/autobuild/instance-17/output-1/host/bin/pkg-config --libs openssl` CONFIG_SITE=/dev/null ./configure --target=mips64el-buildroot-linux-gnu --host=mips64el-buildroot-linux-gnu --build=x86_64-pc-linux-gnu --prefix=/usr --exec-prefix=/usr --sysconfdir=/etc --localstatedir=/var --program-prefix="" --disable-gtk-doc --disable-gtk-doc-html --disable-doc --disable-docs --disable-documentation --with-xmlto=no --with-fop=no --disable-dependency-tracking --enable-ipv6 --disable-nls --enable-static --enable-shared ) configure: WARNING: unrecognized options: --disable-gtk-doc, --disable-gtk-doc-html, --disable-doc, --disable-docs, --disable-documentation, --with-xmlto, --with-fop, --enable-ipv6, --disable-nls checking for mips64el-buildroot-linux-gnu-gcc... /home/autobuild/autobuild/instance-17/output-1/host/bin/mips64el-buildroot-linux-gnu-gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... yes checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether /home/autobuild/autobuild/instance-17/output-1/host/bin/mips64el-buildroot-linux-gnu-gcc accepts -g... yes checking for /home/autobuild/autobuild/instance-17/output-1/host/bin/mips64el-buildroot-linux-gnu-gcc option to accept ISO C89... none needed checking whether we are using the GNU C++ compiler... no checking whether no accepts -g... no checking for mips64el-buildroot-linux-gnu-ar... /home/autobuild/autobuild/instance-17/output-1/host/bin/mips64el-buildroot-linux-gnu-gcc-ar checking the archiver (/home/autobuild/autobuild/instance-17/output-1/host/bin/mips64el-buildroot-linux-gnu-gcc-ar) interface... ar checking build system type... x86_64-pc-linux-gnu checking host system type... mips64el-buildroot-linux-gnu checking how to print strings... printf checking for a sed that does not truncate output... /usr/bin/sed checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for fgrep... /usr/bin/grep -F checking for ld used by /home/autobuild/autobuild/instance-17/output-1/host/bin/mips64el-buildroot-linux-gnu-gcc... /home/autobuild/autobuild/instance-17/output-1/host/bin/mips64el-buildroot-linux-gnu-ld checking if the linker (/home/autobuild/autobuild/instance-17/output-1/host/bin/mips64el-buildroot-linux-gnu-ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /home/autobuild/autobuild/instance-17/output-1/host/bin/mips64el-buildroot-linux-gnu-gcc-nm checking the name lister (/home/autobuild/autobuild/instance-17/output-1/host/bin/mips64el-buildroot-linux-gnu-gcc-nm) interface... BSD nm checking whether ln -s works... yes checking the maximum length of command line arguments... 1572864 checking whether the shell understands some XSI constructs... yes checking whether the shell understands "+="... yes checking how to convert x86_64-pc-linux-gnu file names to mips64el-buildroot-linux-gnu format... func_convert_file_noop checking how to convert x86_64-pc-linux-gnu file names to toolchain format... func_convert_file_noop checking for /home/autobuild/autobuild/instance-17/output-1/host/bin/mips64el-buildroot-linux-gnu-ld option to reload object files... -r checking for mips64el-buildroot-linux-gnu-objdump... /home/autobuild/autobuild/instance-17/output-1/host/bin/mips64el-buildroot-linux-gnu-objdump checking how to recognize dependent libraries... pass_all checking for mips64el-buildroot-linux-gnu-dlltool... no checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for mips64el-buildroot-linux-gnu-ar... (cached) /home/autobuild/autobuild/instance-17/output-1/host/bin/mips64el-buildroot-linux-gnu-gcc-ar checking for archiver @FILE support... @ checking for mips64el-buildroot-linux-gnu-strip... /bin/true checking for mips64el-buildroot-linux-gnu-ranlib... /home/autobuild/autobuild/instance-17/output-1/host/bin/mips64el-buildroot-linux-gnu-gcc-ranlib checking for gawk... gawk checking command to parse /home/autobuild/autobuild/instance-17/output-1/host/bin/mips64el-buildroot-linux-gnu-gcc-nm output from /home/autobuild/autobuild/instance-17/output-1/host/bin/mips64el-buildroot-linux-gnu-gcc object... ok checking for sysroot... no checking for mips64el-buildroot-linux-gnu-mt... no checking for mt... no checking if : is a manifest tool... no checking how to run the C preprocessor... /home/autobuild/autobuild/instance-17/output-1/host/bin/mips64el-buildroot-linux-gnu-cpp checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking for dlfcn.h... yes checking for objdir... .libs checking if /home/autobuild/autobuild/instance-17/output-1/host/bin/mips64el-buildroot-linux-gnu-gcc supports -fno-rtti -fno-exceptions... no checking for /home/autobuild/autobuild/instance-17/output-1/host/bin/mips64el-buildroot-linux-gnu-gcc option to produce PIC... -fPIC -DPIC checking if /home/autobuild/autobuild/instance-17/output-1/host/bin/mips64el-buildroot-linux-gnu-gcc PIC flag -fPIC -DPIC works... yes checking if /home/autobuild/autobuild/instance-17/output-1/host/bin/mips64el-buildroot-linux-gnu-gcc static flag -static works... yes checking if /home/autobuild/autobuild/instance-17/output-1/host/bin/mips64el-buildroot-linux-gnu-gcc supports -c -o file.o... yes checking if /home/autobuild/autobuild/instance-17/output-1/host/bin/mips64el-buildroot-linux-gnu-gcc supports -c -o file.o... (cached) yes checking whether the /home/autobuild/autobuild/instance-17/output-1/host/bin/mips64el-buildroot-linux-gnu-gcc linker (/home/autobuild/autobuild/instance-17/output-1/host/bin/mips64el-buildroot-linux-gnu-ld) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... no checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... yes checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes /bin/sh: /home/autobuild/missing: No such file or directory configure: WARNING: `missing' script is too old or missing checking for mips64el-buildroot-linux-gnu-strip... (cached) /bin/true checking for a thread-safe mkdir -p... /usr/bin/mkdir -p checking whether make sets $(MAKE)... yes checking for style of include used by make... GNU checking dependency style of /home/autobuild/autobuild/instance-17/output-1/host/bin/mips64el-buildroot-linux-gnu-gcc... none checking dependency style of no... none checking whether make supports nested variables... yes checking for inline... inline checking for stdbool.h that conforms to C99... yes checking for _Bool... yes checking for int16_t... yes checking for int32_t... yes checking for off_t... yes checking for uint8_t... yes checking for uint16_t... yes checking for uint32_t... yes checking for size_t... yes checking for ssize_t... yes checking for stdlib.h... (cached) yes checking for GNU libc compatible malloc... (cached) yes checking for stdlib.h... (cached) yes checking for GNU libc compatible realloc... (cached) yes checking for sys/types.h... (cached) yes checking for memset... yes checking for letoh32... no checking for htole32... no checking for pow... no checking for strdup... yes checking for strerror... yes checking endian.h usability... yes checking endian.h presence... yes checking for endian.h... yes checking sys/endian.h usability... no checking sys/endian.h presence... no checking for sys/endian.h... no checking CoreFoundation/CoreFoundation.h usability... no checking CoreFoundation/CoreFoundation.h presence... no checking for CoreFoundation/CoreFoundation.h... no checking byteswap.h usability... yes checking byteswap.h presence... yes checking for byteswap.h... yes checking for DES_ecb_encrypt in -lcrypto... yes checking openssl/aes.h usability... yes checking openssl/aes.h presence... yes checking for openssl/aes.h... yes checking openssl/des.h usability... yes checking openssl/des.h presence... yes checking for openssl/des.h... yes checking openssl/rand.h usability... yes checking openssl/rand.h presence... yes checking for openssl/rand.h... yes checking pkg-config is at least version 0.9.0... yes checking for LIBNFC... yes checking for CUTTER... no checking for enabling coverage... no configure: creating ./config.status config.status: creating Makefile config.status: creating contrib/Makefile config.status: creating contrib/libutil/Makefile config.status: creating examples/Makefile config.status: creating libfreefare/Makefile config.status: creating libfreefare.pc config.status: creating test/Makefile config.status: creating test/common/Makefile config.status: creating config.h config.status: executing libtool commands config.status: executing depfiles commands configure: WARNING: unrecognized options: --disable-gtk-doc, --disable-gtk-doc-html, --disable-doc, --disable-docs, --disable-documentation, --with-xmlto, --with-fop, --enable-ipv6, --disable-nls >>> libfreefare 0.4.0 Building GIT_DIR=. PATH="/home/autobuild/autobuild/instance-17/output-1/host/bin:/home/autobuild/autobuild/instance-17/output-1/host/sbin:/home/autobuild/make:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/lib/jvm/default/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl" /usr/bin/make -j1 -C /home/autobuild/autobuild/instance-17/output-1/build/libfreefare-0.4.0/ make[1]: Entering directory '/home/autobuild/autobuild/instance-17/output-1/build/libfreefare-0.4.0' /usr/bin/make all-recursive make[2]: Entering directory '/home/autobuild/autobuild/instance-17/output-1/build/libfreefare-0.4.0' Making all in contrib make[3]: Entering directory '/home/autobuild/autobuild/instance-17/output-1/build/libfreefare-0.4.0/contrib' Making all in libutil make[4]: Entering directory '/home/autobuild/autobuild/instance-17/output-1/build/libfreefare-0.4.0/contrib/libutil' make[4]: Nothing to be done for 'all'. make[4]: Leaving directory '/home/autobuild/autobuild/instance-17/output-1/build/libfreefare-0.4.0/contrib/libutil' make[4]: Entering directory '/home/autobuild/autobuild/instance-17/output-1/build/libfreefare-0.4.0/contrib' make[4]: Nothing to be done for 'all-am'. make[4]: Leaving directory '/home/autobuild/autobuild/instance-17/output-1/build/libfreefare-0.4.0/contrib' make[3]: Leaving directory '/home/autobuild/autobuild/instance-17/output-1/build/libfreefare-0.4.0/contrib' Making all in libfreefare make[3]: Entering directory '/home/autobuild/autobuild/instance-17/output-1/build/libfreefare-0.4.0/libfreefare' CC freefare.lo CC mifare_classic.lo In file included from /home/autobuild/autobuild/instance-17/output-1/host/mips64el-buildroot-linux-gnu/sysroot/usr/include/sys/types.h:25, from mifare_classic.c:44: /home/autobuild/autobuild/instance-17/output-1/host/mips64el-buildroot-linux-gnu/sysroot/usr/include/features.h:196:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 196 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ CC mifare_ultralight.lo In file included from /home/autobuild/autobuild/instance-17/output-1/host/mips64el-buildroot-linux-gnu/sysroot/usr/include/sys/types.h:25, from mifare_ultralight.c:34: /home/autobuild/autobuild/instance-17/output-1/host/mips64el-buildroot-linux-gnu/sysroot/usr/include/features.h:196:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 196 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ mifare_ultralight.c: In function 'mifare_ultralightc_authenticate': mifare_ultralight.c:269:5: warning: 'DES_random_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 269 | DES_random_key ((DES_cblock*)&PCD_RndA); | ^~~~~~~~~~~~~~ In file included from freefare_internal.h:25, from mifare_ultralight.c:46: /home/autobuild/autobuild/instance-17/output-1/host/mips64el-buildroot-linux-gnu/sysroot/usr/include/openssl/des.h:175:27: note: declared here 175 | OSSL_DEPRECATEDIN_3_0 int DES_random_key(DES_cblock *ret); | ^~~~~~~~~~~~~~ CC mifare_desfire.lo In file included from /home/autobuild/autobuild/instance-17/output-1/host/mips64el-buildroot-linux-gnu/sysroot/usr/include/sys/types.h:25, from mifare_desfire.c:37: /home/autobuild/autobuild/instance-17/output-1/host/mips64el-buildroot-linux-gnu/sysroot/usr/include/features.h:196:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 196 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ CC mifare_desfire_aid.lo In file included from /home/autobuild/autobuild/instance-17/output-1/host/mips64el-buildroot-linux-gnu/sysroot/usr/include/sys/types.h:25, from mifare_desfire_aid.c:32: /home/autobuild/autobuild/instance-17/output-1/host/mips64el-buildroot-linux-gnu/sysroot/usr/include/features.h:196:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 196 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ CC mifare_desfire_crypto.lo In file included from /home/autobuild/autobuild/instance-17/output-1/host/mips64el-buildroot-linux-gnu/sysroot/usr/include/sys/types.h:25, from mifare_desfire_crypto.c:32: /home/autobuild/autobuild/instance-17/output-1/host/mips64el-buildroot-linux-gnu/sysroot/usr/include/features.h:196:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 196 | # 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' [-Wimplicit-function-declaration] 139 | uint8_t *buffer = malloc (padded_data_length (len, kbs)); | ^~~~~~ mifare_desfire_crypto.c:69:1: note: include '' or provide a declaration of 'malloc' 68 | #include "freefare_internal.h" +++ |+#include 69 | mifare_desfire_crypto.c:139:23: warning: incompatible implicit declaration of built-in function 'malloc' [-Wbuiltin-declaration-mismatch] 139 | uint8_t *buffer = malloc (padded_data_length (len, kbs)); | ^~~~~~ mifare_desfire_crypto.c:139:23: note: include '' or provide a declaration of 'malloc' mifare_desfire_crypto.c:142:9: error: implicit declaration of function 'abort' [-Wimplicit-function-declaration] 142 | abort(); | ^~~~~ mifare_desfire_crypto.c:142:9: note: include '' or provide a declaration of 'abort' mifare_desfire_crypto.c:142:9: warning: incompatible implicit declaration of built-in function 'abort' [-Wbuiltin-declaration-mismatch] mifare_desfire_crypto.c:142:9: note: include '' or provide a declaration of 'abort' mifare_desfire_crypto.c:160:5: error: implicit declaration of function 'free' [-Wimplicit-function-declaration] 160 | free (buffer); | ^~~~ mifare_desfire_crypto.c:160:5: note: include '' or provide a declaration of 'free' mifare_desfire_crypto.c:160:5: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] mifare_desfire_crypto.c:160:5: note: include '' or provide a declaration of 'free' mifare_desfire_crypto.c: In function 'assert_crypto_buffer_size': mifare_desfire_crypto.c:290:20: error: implicit declaration of function 'realloc' [-Wimplicit-function-declaration] 290 | if ((res = realloc (MIFARE_DESFIRE (tag)->crypto_buffer, nbytes))) { | ^~~~~~~ mifare_desfire_crypto.c:290:20: note: include '' or provide a declaration of 'realloc' mifare_desfire_crypto.c:290:20: warning: incompatible implicit declaration of built-in function 'realloc' [-Wbuiltin-declaration-mismatch] mifare_desfire_crypto.c:290:20: note: include '' or provide a declaration of 'realloc' mifare_desfire_crypto.c: In function 'mifare_cryto_preprocess_data': mifare_desfire_crypto.c:337:17: warning: incompatible implicit declaration of built-in function 'abort' [-Wbuiltin-declaration-mismatch] 337 | abort(); | ^~~~~ mifare_desfire_crypto.c:337:17: note: include '' or provide a declaration of 'abort' mifare_desfire_crypto.c:356:17: warning: incompatible implicit declaration of built-in function 'abort' [-Wbuiltin-declaration-mismatch] 356 | abort(); | ^~~~~ mifare_desfire_crypto.c:356:17: note: include '' or provide a declaration of 'abort' mifare_desfire_crypto.c:370:21: warning: incompatible implicit declaration of built-in function 'abort' [-Wbuiltin-declaration-mismatch] 370 | abort(); | ^~~~~ mifare_desfire_crypto.c:370:21: note: include '' or provide a declaration of 'abort' mifare_desfire_crypto.c:400:17: warning: incompatible implicit declaration of built-in function 'abort' [-Wbuiltin-declaration-mismatch] 400 | abort(); | ^~~~~ mifare_desfire_crypto.c:400:17: note: include '' or provide a declaration of 'abort' mifare_desfire_crypto.c: In function 'mifare_cryto_postprocess_data': mifare_desfire_crypto.c:468:25: warning: incompatible implicit declaration of built-in function 'malloc' [-Wbuiltin-declaration-mismatch] 468 | edata = malloc (edl); | ^~~~~~ mifare_desfire_crypto.c:468:25: note: include '' or provide a declaration of 'malloc' mifare_desfire_crypto.c:494:21: warning: incompatible implicit declaration of built-in function 'abort' [-Wbuiltin-declaration-mismatch] 494 | abort (); | ^~~~~ mifare_desfire_crypto.c:494:21: note: include '' or provide a declaration of 'abort' mifare_desfire_crypto.c:521:9: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 521 | free (edata); | ^~~~ mifare_desfire_crypto.c:521:9: note: include '' or provide a declaration of 'free' mifare_desfire_crypto.c: In function 'mifare_cypher_single_block': mifare_desfire_crypto.c:669:13: warning: 'DES_ecb_encrypt' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 669 | DES_ecb_encrypt ((DES_cblock *) data, (DES_cblock *) edata, &(key->ks1), DES_ENCRYPT); | ^~~~~~~~~~~~~~~ In file included from mifare_desfire_crypto.c:57: /home/autobuild/autobuild/instance-17/output-1/host/mips64el-buildroot-linux-gnu/sysroot/usr/include/openssl/des.h:105:6: note: declared here 105 | void DES_ecb_encrypt(const_DES_cblock *input, DES_cblock *output, | ^~~~~~~~~~~~~~~ mifare_desfire_crypto.c:672:13: warning: 'DES_ecb_encrypt' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 672 | DES_ecb_encrypt ((DES_cblock *) data, (DES_cblock *) edata, &(key->ks1), DES_DECRYPT); | ^~~~~~~~~~~~~~~ /home/autobuild/autobuild/instance-17/output-1/host/mips64el-buildroot-linux-gnu/sysroot/usr/include/openssl/des.h:105:6: note: declared here 105 | void DES_ecb_encrypt(const_DES_cblock *input, DES_cblock *output, | ^~~~~~~~~~~~~~~ mifare_desfire_crypto.c:679:13: warning: 'DES_ecb_encrypt' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 679 | DES_ecb_encrypt ((DES_cblock *) data, (DES_cblock *) edata, &(key->ks1), DES_ENCRYPT); | ^~~~~~~~~~~~~~~ /home/autobuild/autobuild/instance-17/output-1/host/mips64el-buildroot-linux-gnu/sysroot/usr/include/openssl/des.h:105:6: note: declared here 105 | void DES_ecb_encrypt(const_DES_cblock *input, DES_cblock *output, | ^~~~~~~~~~~~~~~ mifare_desfire_crypto.c:680:13: warning: 'DES_ecb_encrypt' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 680 | DES_ecb_encrypt ((DES_cblock *) edata, (DES_cblock *) data, &(key->ks2), DES_DECRYPT); | ^~~~~~~~~~~~~~~ /home/autobuild/autobuild/instance-17/output-1/host/mips64el-buildroot-linux-gnu/sysroot/usr/include/openssl/des.h:105:6: note: declared here 105 | void DES_ecb_encrypt(const_DES_cblock *input, DES_cblock *output, | ^~~~~~~~~~~~~~~ mifare_desfire_crypto.c:681:13: warning: 'DES_ecb_encrypt' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 681 | DES_ecb_encrypt ((DES_cblock *) data, (DES_cblock *) edata, &(key->ks1), DES_ENCRYPT); | ^~~~~~~~~~~~~~~ /home/autobuild/autobuild/instance-17/output-1/host/mips64el-buildroot-linux-gnu/sysroot/usr/include/openssl/des.h:105:6: note: declared here 105 | void DES_ecb_encrypt(const_DES_cblock *input, DES_cblock *output, | ^~~~~~~~~~~~~~~ mifare_desfire_crypto.c:684:13: warning: 'DES_ecb_encrypt' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 684 | DES_ecb_encrypt ((DES_cblock *) data, (DES_cblock *) edata, &(key->ks1), DES_DECRYPT); | ^~~~~~~~~~~~~~~ /home/autobuild/autobuild/instance-17/output-1/host/mips64el-buildroot-linux-gnu/sysroot/usr/include/openssl/des.h:105:6: note: declared here 105 | void DES_ecb_encrypt(const_DES_cblock *input, DES_cblock *output, | ^~~~~~~~~~~~~~~ mifare_desfire_crypto.c:685:13: warning: 'DES_ecb_encrypt' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 685 | DES_ecb_encrypt ((DES_cblock *) edata, (DES_cblock *) data, &(key->ks2), DES_ENCRYPT); | ^~~~~~~~~~~~~~~ /home/autobuild/autobuild/instance-17/output-1/host/mips64el-buildroot-linux-gnu/sysroot/usr/include/openssl/des.h:105:6: note: declared here 105 | void DES_ecb_encrypt(const_DES_cblock *input, DES_cblock *output, | ^~~~~~~~~~~~~~~ mifare_desfire_crypto.c:686:13: warning: 'DES_ecb_encrypt' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 686 | DES_ecb_encrypt ((DES_cblock *) data, (DES_cblock *) edata, &(key->ks1), DES_DECRYPT); | ^~~~~~~~~~~~~~~ /home/autobuild/autobuild/instance-17/output-1/host/mips64el-buildroot-linux-gnu/sysroot/usr/include/openssl/des.h:105:6: note: declared here 105 | void DES_ecb_encrypt(const_DES_cblock *input, DES_cblock *output, | ^~~~~~~~~~~~~~~ mifare_desfire_crypto.c:693:13: warning: 'DES_ecb_encrypt' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 693 | DES_ecb_encrypt ((DES_cblock *) data, (DES_cblock *) edata, &(key->ks1), DES_ENCRYPT); | ^~~~~~~~~~~~~~~ /home/autobuild/autobuild/instance-17/output-1/host/mips64el-buildroot-linux-gnu/sysroot/usr/include/openssl/des.h:105:6: note: declared here 105 | void DES_ecb_encrypt(const_DES_cblock *input, DES_cblock *output, | ^~~~~~~~~~~~~~~ mifare_desfire_crypto.c:694:13: warning: 'DES_ecb_encrypt' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 694 | DES_ecb_encrypt ((DES_cblock *) edata, (DES_cblock *) data, &(key->ks2), DES_DECRYPT); | ^~~~~~~~~~~~~~~ /home/autobuild/autobuild/instance-17/output-1/host/mips64el-buildroot-linux-gnu/sysroot/usr/include/openssl/des.h:105:6: note: declared here 105 | void DES_ecb_encrypt(const_DES_cblock *input, DES_cblock *output, | ^~~~~~~~~~~~~~~ mifare_desfire_crypto.c:695:13: warning: 'DES_ecb_encrypt' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 695 | DES_ecb_encrypt ((DES_cblock *) data, (DES_cblock *) edata, &(key->ks3), DES_ENCRYPT); | ^~~~~~~~~~~~~~~ /home/autobuild/autobuild/instance-17/output-1/host/mips64el-buildroot-linux-gnu/sysroot/usr/include/openssl/des.h:105:6: note: declared here 105 | void DES_ecb_encrypt(const_DES_cblock *input, DES_cblock *output, | ^~~~~~~~~~~~~~~ mifare_desfire_crypto.c:698:13: warning: 'DES_ecb_encrypt' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 698 | DES_ecb_encrypt ((DES_cblock *) data, (DES_cblock *) edata, &(key->ks3), DES_DECRYPT); | ^~~~~~~~~~~~~~~ /home/autobuild/autobuild/instance-17/output-1/host/mips64el-buildroot-linux-gnu/sysroot/usr/include/openssl/des.h:105:6: note: declared here 105 | void DES_ecb_encrypt(const_DES_cblock *input, DES_cblock *output, | ^~~~~~~~~~~~~~~ mifare_desfire_crypto.c:699:13: warning: 'DES_ecb_encrypt' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 699 | DES_ecb_encrypt ((DES_cblock *) edata, (DES_cblock *) data, &(key->ks2), DES_ENCRYPT); | ^~~~~~~~~~~~~~~ /home/autobuild/autobuild/instance-17/output-1/host/mips64el-buildroot-linux-gnu/sysroot/usr/include/openssl/des.h:105:6: note: declared here 105 | void DES_ecb_encrypt(const_DES_cblock *input, DES_cblock *output, | ^~~~~~~~~~~~~~~ mifare_desfire_crypto.c:700:13: warning: 'DES_ecb_encrypt' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 700 | DES_ecb_encrypt ((DES_cblock *) data, (DES_cblock *) edata, &(key->ks1), DES_DECRYPT); | ^~~~~~~~~~~~~~~ /home/autobuild/autobuild/instance-17/output-1/host/mips64el-buildroot-linux-gnu/sysroot/usr/include/openssl/des.h:105:6: note: declared here 105 | void DES_ecb_encrypt(const_DES_cblock *input, DES_cblock *output, | ^~~~~~~~~~~~~~~ mifare_desfire_crypto.c:707:13: warning: 'AES_set_encrypt_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 707 | AES_set_encrypt_key (key->data, 8*16, &k); | ^~~~~~~~~~~~~~~~~~~ In file included from mifare_desfire_crypto.c:56: /home/autobuild/autobuild/instance-17/output-1/host/mips64el-buildroot-linux-gnu/sysroot/usr/include/openssl/aes.h:51:5: note: declared here 51 | int AES_set_encrypt_key(const unsigned char *userKey, const int bits, | ^~~~~~~~~~~~~~~~~~~ mifare_desfire_crypto.c:708:13: warning: 'AES_encrypt' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 708 | AES_encrypt (data, edata, &k); | ^~~~~~~~~~~ /home/autobuild/autobuild/instance-17/output-1/host/mips64el-buildroot-linux-gnu/sysroot/usr/include/openssl/aes.h:57:6: note: declared here 57 | void AES_encrypt(const unsigned char *in, unsigned char *out, | ^~~~~~~~~~~ mifare_desfire_crypto.c:711:13: warning: 'AES_set_decrypt_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 711 | AES_set_decrypt_key (key->data, 8*16, &k); | ^~~~~~~~~~~~~~~~~~~ /home/autobuild/autobuild/instance-17/output-1/host/mips64el-buildroot-linux-gnu/sysroot/usr/include/openssl/aes.h:54:5: note: declared here 54 | int AES_set_decrypt_key(const unsigned char *userKey, const int bits, | ^~~~~~~~~~~~~~~~~~~ mifare_desfire_crypto.c:712:13: warning: 'AES_decrypt' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 712 | AES_decrypt (data, edata, &k); | ^~~~~~~~~~~ /home/autobuild/autobuild/instance-17/output-1/host/mips64el-buildroot-linux-gnu/sysroot/usr/include/openssl/aes.h:60:6: note: declared here 60 | void AES_decrypt(const unsigned char *in, unsigned char *out, | ^~~~~~~~~~~ mifare_desfire_crypto.c: In function 'mifare_cypher_blocks_chained': mifare_desfire_crypto.c:759:9: warning: incompatible implicit declaration of built-in function 'abort' [-Wbuiltin-declaration-mismatch] 759 | abort(); | ^~~~~ mifare_desfire_crypto.c:759:9: note: include '' or provide a declaration of 'abort' make[3]: *** [Makefile:518: mifare_desfire_crypto.lo] Error 1 make[3]: Leaving directory '/home/autobuild/autobuild/instance-17/output-1/build/libfreefare-0.4.0/libfreefare' make[2]: *** [Makefile:384: all-recursive] Error 1 make[2]: Leaving directory '/home/autobuild/autobuild/instance-17/output-1/build/libfreefare-0.4.0' make[1]: *** [Makefile:295: all] Error 2 make[1]: Leaving directory '/home/autobuild/autobuild/instance-17/output-1/build/libfreefare-0.4.0' make: *** [package/pkg-generic.mk:289: /home/autobuild/autobuild/instance-17/output-1/build/libfreefare-0.4.0/.stamp_built] Error 2 make: Leaving directory '/home/autobuild/autobuild/instance-17/buildroot'