>>> faifa 0.1 Extracting mkdir -p /home/autobuild/autobuild/instance-18/output-1/per-package/faifa/host mkdir -p /home/autobuild/autobuild/instance-18/output-1/per-package/faifa/target gzip -d -c /home/autobuild/autobuild/instance-18/dl/faifa/faifa-0.1.tar.gz | tar --strip-components=1 -C /home/autobuild/autobuild/instance-18/output-1/build/faifa-0.1 -xf - >>> faifa 0.1 Patching Applying 0001-sha2.c-explicitly-include-endian.h-for-BYTE_ORDER-ma.patch using patch: patching file sha2.c Applying 0002-hpav_cfg.c-do-not-include-linux-if_ether.h-for-musl-.patch using patch: patching file hpav_cfg.c Applying 0003-Makefile.in-fix-asbolute-symlink-of-libfaifa.so.patch using patch: patching file Makefile.in >>> faifa 0.1 Updating config.sub and config.guess for file in config.guess config.sub; do for i in $(find /home/autobuild/autobuild/instance-18/output-1/build/faifa-0.1 -name $file); do cp support/gnuconfig/$file $i; done; done >>> faifa 0.1 Patching libtool >>> faifa 0.1 Configuring mkdir -p /home/autobuild/autobuild/instance-18/output-1/per-package/faifa/host rsync -a --hard-links --link-dest=/home/autobuild/autobuild/instance-18/output-1/per-package/host-autoconf/host/ /home/autobuild/autobuild/instance-18/output-1/per-package/host-autoconf/host/ /home/autobuild/autobuild/instance-18/output-1/per-package/faifa/host rsync -a --hard-links --link-dest=/home/autobuild/autobuild/instance-18/output-1/per-package/host-skeleton/host/ /home/autobuild/autobuild/instance-18/output-1/per-package/host-skeleton/host/ /home/autobuild/autobuild/instance-18/output-1/per-package/faifa/host rsync -a --hard-links --link-dest=/home/autobuild/autobuild/instance-18/output-1/per-package/libpcap/host/ /home/autobuild/autobuild/instance-18/output-1/per-package/libpcap/host/ /home/autobuild/autobuild/instance-18/output-1/per-package/faifa/host rsync -a --hard-links --link-dest=/home/autobuild/autobuild/instance-18/output-1/per-package/skeleton/host/ /home/autobuild/autobuild/instance-18/output-1/per-package/skeleton/host/ /home/autobuild/autobuild/instance-18/output-1/per-package/faifa/host rsync -a --hard-links --link-dest=/home/autobuild/autobuild/instance-18/output-1/per-package/toolchain/host/ /home/autobuild/autobuild/instance-18/output-1/per-package/toolchain/host/ /home/autobuild/autobuild/instance-18/output-1/per-package/faifa/host mkdir -p /home/autobuild/autobuild/instance-18/output-1/per-package/faifa/target rsync -a --hard-links --link-dest=/home/autobuild/autobuild/instance-18/output-1/per-package/host-autoconf/target/ /home/autobuild/autobuild/instance-18/output-1/per-package/host-autoconf/target/ /home/autobuild/autobuild/instance-18/output-1/per-package/faifa/target rsync -a --hard-links --link-dest=/home/autobuild/autobuild/instance-18/output-1/per-package/host-skeleton/target/ /home/autobuild/autobuild/instance-18/output-1/per-package/host-skeleton/target/ /home/autobuild/autobuild/instance-18/output-1/per-package/faifa/target rsync -a --hard-links --link-dest=/home/autobuild/autobuild/instance-18/output-1/per-package/libpcap/target/ /home/autobuild/autobuild/instance-18/output-1/per-package/libpcap/target/ /home/autobuild/autobuild/instance-18/output-1/per-package/faifa/target rsync -a --hard-links --link-dest=/home/autobuild/autobuild/instance-18/output-1/per-package/skeleton/target/ /home/autobuild/autobuild/instance-18/output-1/per-package/skeleton/target/ /home/autobuild/autobuild/instance-18/output-1/per-package/faifa/target rsync -a --hard-links --link-dest=/home/autobuild/autobuild/instance-18/output-1/per-package/toolchain/target/ /home/autobuild/autobuild/instance-18/output-1/per-package/toolchain/target/ /home/autobuild/autobuild/instance-18/output-1/per-package/faifa/target cd /home/autobuild/autobuild/instance-18/output-1/build/faifa-0.1 && PATH="/home/autobuild/autobuild/instance-18/output-1/per-package/faifa/host/bin:/home/autobuild/autobuild/instance-18/output-1/per-package/faifa/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" ./autogen.sh + autoheader autoheader: warning: autoconf input should be named 'configure.ac', not 'configure.in' + autoconf configure.in:8: warning: The macro 'AC_TRY_LINK' is obsolete. configure.in:8: You should run autoupdate. ./lib/autoconf/general.m4:2918: AC_TRY_LINK is expanded from... aclocal.m4:6: PA_ADD_CFLAGS is expanded from... configure.in:8: the top level configure.in:41: warning: The macro 'AC_CONFIG_HEADER' is obsolete. configure.in:41: You should run autoupdate. ./lib/autoconf/status.m4:719: AC_CONFIG_HEADER is expanded from... configure.in:41: the top level configure.in:42: warning: AC_OUTPUT should be used without arguments. configure.in:42: You should run autoupdate. + rm -rf autom4te.cache (cd /home/autobuild/autobuild/instance-18/output-1/build/faifa-0.1/ && rm -rf config.cache && GIT_DIR=. PATH="/home/autobuild/autobuild/instance-18/output-1/per-package/faifa/host/bin:/home/autobuild/autobuild/instance-18/output-1/per-package/faifa/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-18/output-1/per-package/faifa/host/bin/nios2-buildroot-linux-gnu-gcc-ar" AS="/home/autobuild/autobuild/instance-18/output-1/per-package/faifa/host/bin/nios2-buildroot-linux-gnu-as" LD="/home/autobuild/autobuild/instance-18/output-1/per-package/faifa/host/bin/nios2-buildroot-linux-gnu-ld" NM="/home/autobuild/autobuild/instance-18/output-1/per-package/faifa/host/bin/nios2-buildroot-linux-gnu-gcc-nm" CC="/home/autobuild/autobuild/instance-18/output-1/per-package/faifa/host/bin/nios2-buildroot-linux-gnu-gcc" GCC="/home/autobuild/autobuild/instance-18/output-1/per-package/faifa/host/bin/nios2-buildroot-linux-gnu-gcc" CPP="/home/autobuild/autobuild/instance-18/output-1/per-package/faifa/host/bin/nios2-buildroot-linux-gnu-cpp" CXX="/home/autobuild/autobuild/instance-18/output-1/per-package/faifa/host/bin/nios2-buildroot-linux-gnu-g++" FC="/home/autobuild/autobuild/instance-18/output-1/per-package/faifa/host/bin/nios2-buildroot-linux-gnu-gfortran" F77="/home/autobuild/autobuild/instance-18/output-1/per-package/faifa/host/bin/nios2-buildroot-linux-gnu-gfortran" RANLIB="/home/autobuild/autobuild/instance-18/output-1/per-package/faifa/host/bin/nios2-buildroot-linux-gnu-gcc-ranlib" READELF="/home/autobuild/autobuild/instance-18/output-1/per-package/faifa/host/bin/nios2-buildroot-linux-gnu-readelf" STRIP="/bin/true" OBJCOPY="/home/autobuild/autobuild/instance-18/output-1/per-package/faifa/host/bin/nios2-buildroot-linux-gnu-objcopy" OBJDUMP="/home/autobuild/autobuild/instance-18/output-1/per-package/faifa/host/bin/nios2-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-18/output-1/per-package/faifa/host/include" CFLAGS_FOR_BUILD="-O2 -I/home/autobuild/autobuild/instance-18/output-1/per-package/faifa/host/include" CXXFLAGS_FOR_BUILD="-O2 -I/home/autobuild/autobuild/instance-18/output-1/per-package/faifa/host/include" LDFLAGS_FOR_BUILD="-L/home/autobuild/autobuild/instance-18/output-1/per-package/faifa/host/lib -Wl,-rpath,/home/autobuild/autobuild/instance-18/output-1/per-package/faifa/host/lib" FCFLAGS_FOR_BUILD="" DEFAULT_ASSEMBLER="/home/autobuild/autobuild/instance-18/output-1/per-package/faifa/host/bin/nios2-buildroot-linux-gnu-as" DEFAULT_LINKER="/home/autobuild/autobuild/instance-18/output-1/per-package/faifa/host/bin/nios2-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 -Os -g0 -D_FORTIFY_SOURCE=3" CXXFLAGS="-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=3" LDFLAGS="" FCFLAGS=" -Os -g0" FFLAGS=" -Os -g0" PKG_CONFIG="/home/autobuild/autobuild/instance-18/output-1/per-package/faifa/host/bin/pkg-config" STAGING_DIR="/home/autobuild/autobuild/instance-18/output-1/per-package/faifa/host/nios2-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 CONFIG_SITE=/dev/null ./configure --target=nios2-buildroot-linux-gnu --host=nios2-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 --disable-static --enable-shared ) configure: WARNING: unrecognized options: --disable-gtk-doc, --disable-gtk-doc-html, --disable-doc, --disable-docs, --disable-documentation, --with-xmlto, --with-fop, --disable-dependency-tracking, --enable-ipv6, --disable-nls, --disable-static, --enable-shared checking for nios2-buildroot-linux-gnu-gcc... /home/autobuild/autobuild/instance-18/output-1/per-package/faifa/host/bin/nios2-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 the compiler supports GNU C... yes checking whether /home/autobuild/autobuild/instance-18/output-1/per-package/faifa/host/bin/nios2-buildroot-linux-gnu-gcc accepts -g... yes checking for /home/autobuild/autobuild/instance-18/output-1/per-package/faifa/host/bin/nios2-buildroot-linux-gnu-gcc option to enable C11 features... none needed checking for nios2-buildroot-linux-gnu-ranlib... /home/autobuild/autobuild/instance-18/output-1/per-package/faifa/host/bin/nios2-buildroot-linux-gnu-gcc-ranlib checking for a BSD-compatible install... /usr/bin/install -c checking if /home/autobuild/autobuild/instance-18/output-1/per-package/faifa/host/bin/nios2-buildroot-linux-gnu-gcc accepts -Wall... yes checking for stdio.h... yes checking for stdlib.h... yes checking for string.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for strings.h... yes checking for sys/stat.h... yes checking for sys/types.h... yes checking for unistd.h... yes checking for stdio.h... (cached) yes checking for stdlib.h... (cached) yes checking for unistd.h... (cached) yes checking for sys/types.h... (cached) yes checking for arpa/inet.h... yes checking for errno.h... yes checking for stdarg.h... yes checking for string.h... (cached) yes checking for net/if.h... yes checking for pthread.h... yes checking for pcap.h... yes checking for pthread_create in -lpthread... yes checking for pthread_join in -lpthread... yes checking for pcap_lookupdev in -lpcap... yes checking for pcap_datalink in -lpcap... yes checking for pcap_next_ex in -lpcap... yes checking for pcap_sendpacket in -lpcap... yes checking for pcap_close in -lpcap... yes configure: creating ./config.status config.status: creating Makefile config.status: creating config.h configure: WARNING: unrecognized options: --disable-gtk-doc, --disable-gtk-doc-html, --disable-doc, --disable-docs, --disable-documentation, --with-xmlto, --with-fop, --disable-dependency-tracking, --enable-ipv6, --disable-nls, --disable-static, --enable-shared >>> faifa 0.1 Building GIT_DIR=. PATH="/home/autobuild/autobuild/instance-18/output-1/per-package/faifa/host/bin:/home/autobuild/autobuild/instance-18/output-1/per-package/faifa/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 GIT_REV=0.1 -C /home/autobuild/autobuild/instance-18/output-1/build/faifa-0.1/ make[1]: Entering directory '/home/autobuild/autobuild/instance-18/output-1/build/faifa-0.1' /home/autobuild/autobuild/instance-18/output-1/per-package/faifa/host/bin/nios2-buildroot-linux-gnu-gcc -DLINUX -DGIT_REV="\"0.1\"" -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=3 -Wall -fPIC -c main.c /home/autobuild/autobuild/instance-18/output-1/per-package/faifa/host/bin/nios2-buildroot-linux-gnu-gcc -DLINUX -DGIT_REV="\"0.1\"" -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=3 -Wall -fPIC -c faifa.c faifa.c: In function 'faifa_open': faifa.c:125:9: warning: 'pcap_lookupdev' is deprecated: use 'pcap_findalldevs' and use the first device [-Wdeprecated-declarations] 125 | if (!pcap_lookupdev(pcap_errbuf)) { | ^~ In file included from /home/autobuild/autobuild/instance-18/output-1/per-package/faifa/host/nios2-buildroot-linux-gnu/sysroot/usr/include/pcap.h:43, from faifa_priv.h:57, from faifa.c:67: /home/autobuild/autobuild/instance-18/output-1/per-package/faifa/host/nios2-buildroot-linux-gnu/sysroot/usr/include/pcap/pcap.h:395:18: note: declared here 395 | PCAP_API char *pcap_lookupdev(char *); | ^~~~~~~~~~~~~~ /home/autobuild/autobuild/instance-18/output-1/per-package/faifa/host/bin/nios2-buildroot-linux-gnu-gcc -DLINUX -DGIT_REV="\"0.1\"" -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=3 -Wall -fPIC -c frame.c frame.c: In function 'hpav_dump_cm_get_key_request': frame.c:1633:9: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 1633 | if (mm->req_key_type == HASH_KEY) | ^~ frame.c:1634:56: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 1634 | faifa_printf(out_stream, "Hash key: ");dump_hex(mm->hash_key, len, "");faifa_printf(out_stream, "\n"); | ^~~~~~~~ frame.c: In function 'do_receive_frame': frame.c:2502:31: warning: taking address of packed member of 'struct ether_header' may result in an unaligned pointer value [-Waddress-of-packed-member] 2502 | u_int16_t *eth_type = &(eth_header->ether_type); | ^~~~~~~~~~~~~~~~~~~~~~~~~ frame.c: In function 'hpav_init_get_tone_map_charac_request': frame.c:808:9: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 808 | fscanf(in_stream, "%2hhx:%2hhx:%2hhx:%2hhx:%2hhx:%2hhx", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 809 | &macaddr[0], &macaddr[1], &macaddr[2], | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 810 | &macaddr[3], &macaddr[4], &macaddr[5]); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ frame.c:814:9: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 814 | fscanf(in_stream, "%2hhx", &(mm->tmslot)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ frame.c: In function 'hpav_init_set_enc_key_request': frame.c:1385:9: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 1385 | fscanf(in_stream, "%d", &local); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ frame.c:1391:9: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 1391 | fscanf(in_stream, "%s", nek); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ frame.c:1400:17: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 1400 | fscanf(in_stream, "%s", dek); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ frame.c:1412:17: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 1412 | fscanf(in_stream, "%02hhx:%02hhx:%02hhx:%2hhx:%2hhx:%2hhx", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1413 | &macaddr[0], &macaddr[1], &macaddr[2], | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1414 | &macaddr[3], &macaddr[4], &macaddr[5]); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ frame.c: In function 'hpav_dump_loopback_request': frame.c:1335:9: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 1335 | fscanf(in_stream, "%2d", &duration); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ frame.c: In function 'hpav_init_sniffer_request': frame.c:1106:9: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 1106 | fscanf(in_stream, "%d", &control); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ frame.c: In function 'hpav_init_link_stats_request': frame.c:955:9: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 955 | fscanf(in_stream, "%2d", &direction); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ frame.c:962:9: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 962 | fscanf(in_stream, "%2hhx", &link_id); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ frame.c:980:17: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 980 | fscanf(in_stream, "%02hhx:%02hhx:%02hhx:%02hhx:%02hhx:%02hhx", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 981 | &macaddr[0], &macaddr[1], &macaddr[2], | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 982 | &macaddr[3], &macaddr[4], &macaddr[5]); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ frame.c: In function 'hpav_init_read_mod_data_request': frame.c:604:9: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 604 | fscanf(in_stream, "%2hhx", &(mm->module_id)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ frame.c:606:9: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 606 | fscanf(in_stream, "%hu", &(mm->length)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ frame.c:608:9: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 608 | fscanf(in_stream, "%u", &(mm->offset)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ frame.c: In function 'hpav_init_write_data_request': frame.c:521:9: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 521 | fscanf(in_stream, "%2hhx", &(mm->module_id)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ frame.c:523:9: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 523 | fscanf(in_stream, "%8x", &(mm->offset)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ frame.c:525:9: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 525 | fscanf(in_stream, "%s", (char *)filename); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ frame.c:547:9: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 547 | fread(buffer, size, 1, fp); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ frame.c: In function 'hpav_init_start_mac_request': frame.c:418:9: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 418 | fscanf(in_stream, "%2hhx", &(mm->module_id)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ frame.c:420:9: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 420 | fscanf(in_stream, "%8x", &(mm->image_load)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ frame.c:422:9: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 422 | fscanf(in_stream, "%8x", &(mm->image_length)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ frame.c:424:9: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 424 | fscanf(in_stream, "%8x", &(mm->image_chksum)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ frame.c:426:9: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 426 | fscanf(in_stream, "%8x", &(mm->image_saddr)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ frame.c: In function 'hpav_init_read_mac_memory_request': frame.c:254:9: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 254 | fscanf(in_stream, "%8x", &(mm->address)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ frame.c:256:9: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 256 | fscanf(in_stream, "%8x", &(mm->length)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ frame.c: In function 'hpav_init_write_mac_memory_request': frame.c:169:9: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 169 | fscanf(in_stream, "%8x", &(mm->address)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ frame.c:171:9: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 171 | fscanf(in_stream, "%8x", &(mm->length)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ frame.c: In function 'ask_for_frame': frame.c:2566:9: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 2566 | fscanf(in_stream, "%4x", &i); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/autobuild/autobuild/instance-18/output-1/per-package/faifa/host/bin/nios2-buildroot-linux-gnu-gcc -DLINUX -DGIT_REV="\"0.1\"" -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=3 -Wall -fPIC -c crypto.c /home/autobuild/autobuild/instance-18/output-1/per-package/faifa/host/bin/nios2-buildroot-linux-gnu-gcc -DLINUX -DGIT_REV="\"0.1\"" -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=3 -Wall -fPIC -c sha2.c sha2.c:500:22: warning: argument 1 of type 'uint8_t[]' {aka 'unsigned char[]'} with mismatched bound [-Warray-parameter=] 500 | SHA256_Final(uint8_t digest[], SHA256_CTX * context) | ~~~~~~~~^~~~~~~~ In file included from sha2.c:44: sha2.h:80:30: note: previously declared as 'uint8_t[32]' {aka 'unsigned char[32]'} 80 | void SHA256_Final(uint8_t[SHA256_DIGEST_LENGTH], SHA256_CTX *); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/autobuild/autobuild/instance-18/output-1/per-package/faifa/host/bin/nios2-buildroot-linux-gnu-gcc -shared -Wl,-soname,libfaifa.so.0 -o libfaifa.so.0 faifa.o frame.o crypto.o sha2.o -lpcap -lpthread /home/autobuild/autobuild/instance-18/output-1/per-package/faifa/host/bin/nios2-buildroot-linux-gnu-gcc -DLINUX -DGIT_REV="\"0.1\"" -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=3 -Wall -fPIC -o faifa main.o -lpcap -lpthread libfaifa.so.0 ar rcs libfaifa.a faifa.o frame.o crypto.o sha2.o /home/autobuild/autobuild/instance-18/output-1/per-package/faifa/host/bin/nios2-buildroot-linux-gnu-gcc -DLINUX -DGIT_REV="\"0.1\"" -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=3 -Wall -fPIC -c hpav_cfg.c hpav_cfg.c: In function 'pushbutton_request': hpav_cfg.c:256:37: error: passing argument 2 of 'send_vendor_pkt' makes pointer from integer without a cast [-Wint-conversion] 256 | return send_vendor_pkt(ctx, mac, HPAV_MMTYPE_MS_PB_ENC, | ^~~ | | | uint8_t {aka unsigned char} hpav_cfg.c:123:64: note: expected 'const uint8_t *' {aka 'const unsigned char *'} but argument is of type 'uint8_t' {aka 'unsigned char'} 123 | static int send_vendor_pkt(struct context *ctx, const uint8_t *to, | ~~~~~~~~~~~~~~~^~ hpav_cfg.c: In function 'main': hpav_cfg.c:406:48: error: passing argument 2 of 'pushbutton_request' makes integer from pointer without a cast [-Wint-conversion] 406 | ret = pushbutton_request(&ctx, mac); | ^~~ | | | uint8_t * {aka unsigned char *} hpav_cfg.c:254:60: note: expected 'uint8_t' {aka 'unsigned char'} but argument is of type 'uint8_t *' {aka 'unsigned char *'} 254 | static int pushbutton_request(struct context *ctx, uint8_t mac) | ~~~~~~~~^~~ make[1]: *** [Makefile:81: hpav_cfg.o] Error 1 make[1]: Leaving directory '/home/autobuild/autobuild/instance-18/output-1/build/faifa-0.1' make: *** [package/pkg-generic.mk:289: /home/autobuild/autobuild/instance-18/output-1/build/faifa-0.1/.stamp_built] Error 2 make: Leaving directory '/home/autobuild/autobuild/instance-18/buildroot'