Applying ./patches/010-gcc12.patch using plaintext: patching file src/uclient.c CMake Deprecation Warning at CMakeLists.txt:1 (cmake_minimum_required): Compatibility with CMake < 2.8.12 will be removed from a future version of CMake. Update the VERSION argument value or use a ... suffix to tell CMake that the project does not need compatibility with older versions. -- The C compiler identification is GNU 12.2.0 -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /builder/shared-workdir/build/sdk/staging_dir/toolchain-arc_archs_gcc-12.2.0_glibc/bin/arc-openwrt-linux-gnu-gcc - skipped -- Detecting C compile features -- Detecting C compile features - done -- Found PkgConfig: /builder/shared-workdir/build/sdk/staging_dir/host/bin/pkg-config (found version "1.9.3") -- Found LIBUBOX: /builder/shared-workdir/build/sdk/staging_dir/target-arc_archs_glibc/usr/lib/libubox.so -- Found LIBUCLIENT: /builder/shared-workdir/build/sdk/staging_dir/target-arc_archs_glibc/usr/lib/libuclient.so -- Found LIBPCAP: /builder/shared-workdir/build/sdk/staging_dir/target-arc_archs_glibc/usr/lib/libpcap.so -- Found UCI: /builder/shared-workdir/build/sdk/staging_dir/target-arc_archs_glibc/usr/lib/libuci.so -- Found JSON-C: /builder/shared-workdir/build/sdk/staging_dir/target-arc_archs_glibc/usr/lib/libjson-c.so -- Configuring done -- Generating done CMake Warning: Manually-specified variables were not used by the project: CMAKE_ASM_COMPILER CMAKE_ASM_COMPILER_LAUNCHER CMAKE_CXX_COMPILER CMAKE_CXX_FLAGS_RELEASE CMAKE_EXPORT_NO_PACKAGE_REGISTRY CMAKE_EXPORT_PACKAGE_REGISTRY CMAKE_FIND_PACKAGE_NO_PACKAGE_REGISTRY CMAKE_FIND_PACKAGE_NO_SYSTEM_PACKAGE_REGISTRY CMAKE_MODULE_LINKER_FLAGS CMAKE_SHARED_LINKER_FLAGS DL_LIBRARY -- Build files have been written to: /builder/shared-workdir/build/sdk/build_dir/target-arc_archs_glibc/cshark-2020-07-22-c0d32fb6 ninja: Entering directory `/builder/shared-workdir/build/sdk/build_dir/target-arc_archs_glibc/cshark-2020-07-22-c0d32fb6' [1/5] Building C object CMakeFiles/cshark.dir/src/cshark.c.o FAILED: CMakeFiles/cshark.dir/src/cshark.c.o /builder/shared-workdir/build/sdk/staging_dir/toolchain-arc_archs_gcc-12.2.0_glibc/bin/arc-openwrt-linux-gnu-gcc -I/builder/shared-workdir/build/sdk/staging_dir/target-arc_archs_glibc/usr/include/json-c -Os -pipe -matomic -mcpu=archs -fno-caller-saves -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-arc_archs_glibc/cshark-2020-07-22-c0d32fb6=cshark-2020-07-22-c0d32fb6 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DNDEBUG -Os -Wall -Werror --std=gnu99 -Wmissing-declarations -MD -MT CMakeFiles/cshark.dir/src/cshark.c.o -MF CMakeFiles/cshark.dir/src/cshark.c.o.d -o CMakeFiles/cshark.dir/src/cshark.c.o -c /builder/shared-workdir/build/sdk/build_dir/target-arc_archs_glibc/cshark-2020-07-22-c0d32fb6/src/cshark.c /builder/shared-workdir/build/sdk/build_dir/target-arc_archs_glibc/cshark-2020-07-22-c0d32fb6/src/cshark.c: In function 'main': /builder/shared-workdir/build/sdk/build_dir/target-arc_archs_glibc/cshark-2020-07-22-c0d32fb6/src/cshark.c:169:17: error: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Werror=unused-result] 169 | asprintf(&cshark.filter, "%s %s", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 170 | cshark.filter ? cshark.filter : "", argv[optind]); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc1: all warnings being treated as errors ninja: build stopped: subcommand failed. make[3]: *** [Makefile:56: /builder/shared-workdir/build/sdk/build_dir/target-arc_archs_glibc/cshark-2020-07-22-c0d32fb6/.built] Error 1 time: package/feeds/packages/cshark/compile#1.37#0.39#2.94