-- The C compiler identification is GNU 11.3.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-11.3.0_glibc/bin/arc-openwrt-linux-gnu-gcc - skipped -- Detecting C compile features -- Detecting C compile features - done -- Looking for __GNU_LIBRARY__ -- Looking for __GNU_LIBRARY__ - found -- Looking for pthread.h -- Looking for pthread.h - found -- Performing Test CMAKE_HAVE_LIBC_PTHREAD -- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success -- Found Threads: TRUE -- Found GnuTLS: /builder/shared-workdir/build/sdk/staging_dir/target-arc_archs_glibc/usr/lib/libgnutls.so (found version "3.7.6") -- Found MHD: /builder/shared-workdir/build/sdk/staging_dir/target-arc_archs_glibc/usr/lib/libmicrohttpd.so (found version "0.9.75") -- Found MHD: /builder/shared-workdir/build/sdk/staging_dir/target-arc_archs_glibc/usr/lib/libmicrohttpd.so (found suitable version "0.9.75", minimum required is "0.9.51") -- Found ZLIB: /builder/shared-workdir/build/sdk/staging_dir/target-arc_archs_glibc/usr/lib/libz.so (found version "1.2.12") -- Found CURL: /builder/shared-workdir/build/sdk/staging_dir/target-arc_archs_glibc/usr/lib/libcurl.so (found version "7.83.1") -- GNU TLS support: ON -- Websocket support: ON -- Outgoing requests support: ON -- Jansson library support: OFF -- Yder support: OFF -- Build uwsc application: ON -- Build static library: OFF -- Build testing tree: OFF -- Install the header files: ON -- Build RPM package: OFF -- Build documentation: OFF -- Configuring done -- Generating done CMake Warning: Manually-specified variables were not used by the project: BUILD_WEBSOCKET 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 DL_LIBRARY WITH_STRSTR -- Build files have been written to: /builder/shared-workdir/build/sdk/build_dir/target-arc_archs_glibc/libulfius-2.7.3-gnutls/ulfius-2.7.3 ninja: Entering directory `/builder/shared-workdir/build/sdk/build_dir/target-arc_archs_glibc/libulfius-2.7.3-gnutls/ulfius-2.7.3' [1/11] Building C object CMakeFiles/ulfius.dir/src/u_map.c.o [2/11] Building C object CMakeFiles/ulfius.dir/src/u_request.c.o [3/11] Building C object CMakeFiles/ulfius.dir/src/u_response.c.o [4/11] Building C object CMakeFiles/ulfius.dir/src/u_send_request.c.o FAILED: CMakeFiles/ulfius.dir/src/u_send_request.c.o /builder/shared-workdir/build/sdk/staging_dir/toolchain-arc_archs_gcc-11.3.0_glibc/bin/arc-openwrt-linux-gnu-gcc -D_GNU_SOURCE -Dulfius_EXPORTS -I/builder/shared-workdir/build/sdk/build_dir/target-arc_archs_glibc/libulfius-2.7.3-gnutls/ulfius-2.7.3/include -I/builder/shared-workdir/build/sdk/build_dir/target-arc_archs_glibc/libulfius-2.7.3-gnutls/ulfius-2.7.3 -Wall -Werror -Os -pipe -matomic -mcpu=archs -fno-caller-saves -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-arc_archs_glibc/libulfius-2.7.3-gnutls/ulfius-2.7.3=ulfius-2.7.3 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DNDEBUG -fPIC -Wextra -std=gnu99 -MD -MT CMakeFiles/ulfius.dir/src/u_send_request.c.o -MF CMakeFiles/ulfius.dir/src/u_send_request.c.o.d -o CMakeFiles/ulfius.dir/src/u_send_request.c.o -c /builder/shared-workdir/build/sdk/build_dir/target-arc_archs_glibc/libulfius-2.7.3-gnutls/ulfius-2.7.3/src/u_send_request.c /builder/shared-workdir/build/sdk/build_dir/target-arc_archs_glibc/libulfius-2.7.3-gnutls/ulfius-2.7.3/src/u_send_request.c: In function 'write_header': /builder/shared-workdir/build/sdk/build_dir/target-arc_archs_glibc/libulfius-2.7.3-gnutls/ulfius-2.7.3/src/u_send_request.c:112:11: error: assignment discards 'const' qualifier from pointer target type [-Werror=discarded-qualifiers] 112 | key = trimwhitespace(strtok_r(header, ":", &saveptr)); | ^ /builder/shared-workdir/build/sdk/build_dir/target-arc_archs_glibc/libulfius-2.7.3-gnutls/ulfius-2.7.3/src/u_send_request.c:113:13: error: assignment discards 'const' qualifier from pointer target type [-Werror=discarded-qualifiers] 113 | value = trimwhitespace(strtok_r(NULL, "", &saveptr)); | ^ cc1: all warnings being treated as errors ninja: build stopped: subcommand failed. make[3]: *** [Makefile:71: /builder/shared-workdir/build/sdk/build_dir/target-arc_archs_glibc/libulfius-2.7.3-gnutls/ulfius-2.7.3/.built] Error 1 time: package/feeds/packages/libulfius/gnutls/compile#3.65#0.96#6.30