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 -- 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_FIND_ROOT_PATH_MODE_LIBRARY CMAKE_FIND_USE_PACKAGE_REGISTRY CMAKE_FIND_USE_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/relayd-2020-04-25-f4d759be ninja: Entering directory `/builder/shared-workdir/build/sdk/build_dir/target-arc_archs_glibc/relayd-2020-04-25-f4d759be' [1/4] Building C object CMakeFiles/relayd.dir/main.c.o [2/4] Building C object CMakeFiles/relayd.dir/dhcp.c.o [3/4] Building C object CMakeFiles/relayd.dir/route.c.o FAILED: CMakeFiles/relayd.dir/route.c.o /builder/shared-workdir/build/sdk/staging_dir/toolchain-arc_archs_gcc-12.2.0_glibc/bin/arc-openwrt-linux-gnu-gcc -Os -pipe -matomic -mcpu=archs -fno-caller-saves -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-arc_archs_glibc/relayd-2020-04-25-f4d759be=relayd-2020-04-25-f4d759be -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -I/builder/shared-workdir/build/sdk/staging_dir/target-arc_archs_glibc/usr/include -DNDEBUG -Os -Wall -Werror --std=gnu99 -g3 -MD -MT CMakeFiles/relayd.dir/route.c.o -MF CMakeFiles/relayd.dir/route.c.o.d -o CMakeFiles/relayd.dir/route.c.o -c /builder/shared-workdir/build/sdk/build_dir/target-arc_archs_glibc/relayd-2020-04-25-f4d759be/route.c /builder/shared-workdir/build/sdk/build_dir/target-arc_archs_glibc/relayd-2020-04-25-f4d759be/route.c: In function 'rtnl_flush': /builder/shared-workdir/build/sdk/build_dir/target-arc_archs_glibc/relayd-2020-04-25-f4d759be/route.c:45:9: error: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Werror=unused-result] 45 | write(fd, "-1", 2); | ^~~~~~~~~~~~~~~~~~ cc1: all warnings being treated as errors ninja: build stopped: subcommand failed. make[3]: *** [Makefile:45: /builder/shared-workdir/build/sdk/build_dir/target-arc_archs_glibc/relayd-2020-04-25-f4d759be/.built] Error 1 time: package/feeds/base/relayd/compile#1.55#0.33#2.53