>>> libyang 2.0.194 Extracting gzip -d -c /home/buildroot/autobuild/instance-0/dl/libyang/libyang-2.0.194.tar.gz | /home/buildroot/autobuild/instance-0/output-1/host/bin/tar --strip-components=1 -C /home/buildroot/autobuild/instance-0/output-1/build/libyang-2.0.194 -xf - >>> libyang 2.0.194 Patching >>> libyang 2.0.194 Configuring (mkdir -p /home/buildroot/autobuild/instance-0/output-1/build/libyang-2.0.194//buildroot-build && cd /home/buildroot/autobuild/instance-0/output-1/build/libyang-2.0.194//buildroot-build && rm -f CMakeCache.txt && PATH="/home/buildroot/autobuild/instance-0/output-1/host/bin:/home/buildroot/autobuild/instance-0/output-1/host/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" /home/buildroot/autobuild/instance-0/output-1/host/bin/cmake /home/buildroot/autobuild/instance-0/output-1/build/libyang-2.0.194/ -G"Unix Makefiles" -DCMAKE_TOOLCHAIN_FILE="/home/buildroot/autobuild/instance-0/output-1/host/share/buildroot/toolchainfile.cmake" -DCMAKE_INSTALL_PREFIX="/usr" -DCMAKE_INSTALL_RUNSTATEDIR="/run" -DCMAKE_COLOR_MAKEFILE=OFF -DBUILD_DOC=OFF -DBUILD_DOCS=OFF -DBUILD_EXAMPLE=OFF -DBUILD_EXAMPLES=OFF -DBUILD_TEST=OFF -DBUILD_TESTS=OFF -DBUILD_TESTING=OFF -DBUILD_SHARED_LIBS=ON -DENABLE_TESTS=OFF -DENABLE_VALGRIND_TESTS=OFF ) -- 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: /home/buildroot/autobuild/instance-0/output-1/host/bin/or1k-buildroot-linux-uclibc-gcc - skipped -- Detecting C compile features -- Detecting C compile features - done -- Looking for vdprintf -- Looking for vdprintf - found -- Looking for asprintf -- Looking for asprintf - found -- Looking for vasprintf -- Looking for vasprintf - found -- Looking for getline -- Looking for getline - found -- Looking for strndup -- Looking for strndup - found -- Looking for strnstr -- Looking for strnstr - not found -- Looking for strdupa -- Looking for strdupa - found -- Looking for strchrnul -- Looking for strchrnul - found -- Looking for get_current_dir_name -- Looking for get_current_dir_name - found -- Looking for pthread_mutex_timedlock -- Looking for pthread_mutex_timedlock - found -- Looking for stdatomic.h -- Looking for stdatomic.h - found -- Performing Test HAVE_TM_GMTOFF -- Performing Test HAVE_TM_GMTOFF - Success -- Looking for timezone -- Looking for timezone - found -- Looking for realpath -- Looking for realpath - found -- Looking for localtime_r -- Looking for localtime_r - found -- Looking for gmtime_r -- Looking for gmtime_r - found -- Looking for strptime -- Looking for strptime - found -- Looking for mmap -- Looking for mmap - found -- Looking for dirname -- Looking for dirname - found -- Looking for setenv -- Looking for setenv - 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 PCRE2: /home/buildroot/autobuild/instance-0/output-1/host/or1k-buildroot-linux-uclibc/sysroot/usr/lib/libpcre2-8.so (found suitable version "10.40", minimum required is "10.21") -- Found PkgConfig: /home/buildroot/autobuild/instance-0/output-1/host/bin/pkg-config (found version "1.6.3") CMake Warning at CMakeLists.txt:424 (message): pkg-config will not detect the new package after installation, adjust PKG_CONFIG_PATH using "export PKG_CONFIG_PATH=${PKG_CONFIG_PATH}:/usr/lib/pkgconfig". -- Could NOT find Doxygen (missing: DOXYGEN_EXECUTABLE) -- Configuring done -- Generating done CMake Warning: Manually-specified variables were not used by the project: BUILD_DOC BUILD_DOCS BUILD_EXAMPLE BUILD_EXAMPLES BUILD_TEST BUILD_TESTING BUILD_TESTS -- Build files have been written to: /home/buildroot/autobuild/instance-0/output-1/build/libyang-2.0.194/buildroot-build >>> libyang 2.0.194 Building PATH="/home/buildroot/autobuild/instance-0/output-1/host/bin:/home/buildroot/autobuild/instance-0/output-1/host/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" /usr/bin/make -j4 -C /home/buildroot/autobuild/instance-0/output-1/build/libyang-2.0.194//buildroot-build make[1]: Entering directory '/home/buildroot/autobuild/instance-0/output-1/build/libyang-2.0.194/buildroot-build' make[2]: Entering directory '/home/buildroot/autobuild/instance-0/output-1/build/libyang-2.0.194/buildroot-build' make[3]: Entering directory '/home/buildroot/autobuild/instance-0/output-1/build/libyang-2.0.194/buildroot-build' make[3]: Leaving directory '/home/buildroot/autobuild/instance-0/output-1/build/libyang-2.0.194/buildroot-build' make[3]: Entering directory '/home/buildroot/autobuild/instance-0/output-1/build/libyang-2.0.194/buildroot-build' [ 1%] Building C object CMakeFiles/yangobj.dir/src/common.c.o [ 2%] Building C object CMakeFiles/yangobj.dir/src/log.c.o [ 3%] Building C object CMakeFiles/yangobj.dir/src/set.c.o [ 4%] Building C object CMakeFiles/yangobj.dir/src/hash_table.c.o [ 5%] Building C object CMakeFiles/yangobj.dir/src/path.c.o [ 6%] Building C object CMakeFiles/yangobj.dir/src/diff.c.o [ 7%] Building C object CMakeFiles/yangobj.dir/src/context.c.o [ 8%] Building C object CMakeFiles/yangobj.dir/src/json.c.o /home/buildroot/autobuild/instance-0/output-1/build/libyang-2.0.194/src/json.c: In function 'lyjson_number_is_zero': /home/buildroot/autobuild/instance-0/output-1/build/libyang-2.0.194/src/json.c:375:49: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 375 | return lyjson_count_in_row(in, end, '0', 0) == end - in; | ^~ [ 10%] Building C object CMakeFiles/yangobj.dir/src/tree_data.c.o [ 11%] Building C object CMakeFiles/yangobj.dir/src/tree_data_free.c.o [ 12%] Building C object CMakeFiles/yangobj.dir/src/tree_data_helpers.c.o [ 13%] Building C object CMakeFiles/yangobj.dir/src/tree_data_hash.c.o [ 14%] Building C object CMakeFiles/yangobj.dir/src/parser_xml.c.o [ 15%] Building C object CMakeFiles/yangobj.dir/src/parser_json.c.o /home/buildroot/autobuild/instance-0/output-1/build/libyang-2.0.194/src/parser_xml.c: In function 'lydxml_get_hints_opaq': /home/buildroot/autobuild/instance-0/output-1/build/libyang-2.0.194/src/parser_xml.c:449:43: warning: comparison of integer expressions of different signedness: 'long int' and 'unsigned int' [-Wsign-compare] 449 | if ((num < INT32_MIN) || (num > UINT32_MAX)) { | ^ /home/buildroot/autobuild/instance-0/output-1/build/libyang-2.0.194/src/tree_data_helpers.c: In function 'ly_time_time2str': /home/buildroot/autobuild/instance-0/output-1/build/libyang-2.0.194/src/tree_data_helpers.c:1182:31: warning: '%02d' directive writing between 2 and 3 bytes into a region of size between 0 and 4 [-Wformat-overflow=] 1182 | sprintf(zoneshift, "%+03d:%02d", zonediff_h, zonediff_m); | ^~~~ /home/buildroot/autobuild/instance-0/output-1/build/libyang-2.0.194/src/tree_data_helpers.c:1182:24: note: directive argument in the range [-59, 59] 1182 | sprintf(zoneshift, "%+03d:%02d", zonediff_h, zonediff_m); | ^~~~~~~~~~~~ /home/buildroot/autobuild/instance-0/output-1/build/libyang-2.0.194/src/tree_data_helpers.c:1182:5: note: 'sprintf' output between 7 and 12 bytes into a destination of size 8 1182 | sprintf(zoneshift, "%+03d:%02d", zonediff_h, zonediff_m); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 16%] Building C object CMakeFiles/yangobj.dir/src/parser_lyb.c.o [ 17%] Building C object CMakeFiles/yangobj.dir/src/out.c.o [ 19%] Building C object CMakeFiles/yangobj.dir/src/printer_data.c.o [ 20%] Building C object CMakeFiles/yangobj.dir/src/printer_xml.c.o [ 21%] Building C object CMakeFiles/yangobj.dir/src/printer_json.c.o [ 22%] Building C object CMakeFiles/yangobj.dir/src/printer_lyb.c.o [ 23%] Building C object CMakeFiles/yangobj.dir/src/schema_compile.c.o /home/buildroot/autobuild/instance-0/output-1/build/libyang-2.0.194/src/printer_lyb.c: In function 'lyb_write_string': /home/buildroot/autobuild/instance-0/output-1/build/libyang-2.0.194/src/printer_lyb.c:430:25: warning: comparison is always false due to limited range of data type [-Wtype-limits] 430 | error = str_len > UINT64_MAX; | ^ [ 24%] Building C object CMakeFiles/yangobj.dir/src/schema_compile_node.c.o [ 25%] Building C object CMakeFiles/yangobj.dir/src/schema_compile_amend.c.o [ 28%] Building C object CMakeFiles/yangobj.dir/src/schema_features.c.o [ 28%] Building C object CMakeFiles/yangobj.dir/src/tree_schema.c.o [ 29%] Building C object CMakeFiles/yangobj.dir/src/tree_schema_free.c.o [ 30%] Building C object CMakeFiles/yangobj.dir/src/tree_schema_helpers.c.o [ 31%] Building C object CMakeFiles/yangobj.dir/src/in.c.o [ 32%] Building C object CMakeFiles/yangobj.dir/src/lyb.c.o [ 33%] Building C object CMakeFiles/yangobj.dir/src/parser_yang.c.o [ 34%] Building C object CMakeFiles/yangobj.dir/src/parser_yin.c.o [ 35%] Building C object CMakeFiles/yangobj.dir/src/parser_stmt.c.o [ 37%] Building C object CMakeFiles/yangobj.dir/src/printer_schema.c.o [ 38%] Building C object CMakeFiles/yangobj.dir/src/printer_yang.c.o [ 39%] Building C object CMakeFiles/yangobj.dir/src/printer_yin.c.o [ 40%] Building C object CMakeFiles/yangobj.dir/src/printer_tree.c.o [ 41%] Building C object CMakeFiles/yangobj.dir/src/plugins.c.o /home/buildroot/autobuild/instance-0/output-1/build/libyang-2.0.194/src/plugins.c: In function 'plugins_insert_dir': /home/buildroot/autobuild/instance-0/output-1/build/libyang-2.0.194/src/plugins.c:401:46: warning: '%s' directive output may be truncated writing between 4 and 2147483645 bytes into a region of size 4095 [-Wformat-truncation=] 401 | snprintf(pathname, PATH_MAX, "%s/%s", pluginsdir, file->d_name); | ^~ /home/buildroot/autobuild/instance-0/output-1/build/libyang-2.0.194/src/plugins.c:401:13: note: 'snprintf' output 6 or more bytes (assuming 2147483647) into a destination of size 4096 401 | snprintf(pathname, PATH_MAX, "%s/%s", pluginsdir, file->d_name); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 42%] Building C object CMakeFiles/yangobj.dir/src/plugins_types.c.o [ 43%] Building C object CMakeFiles/yangobj.dir/src/plugins_exts.c.o [ 44%] Building C object CMakeFiles/yangobj.dir/src/plugins_exts/metadata.c.o [ 46%] Building C object CMakeFiles/yangobj.dir/src/plugins_exts/nacm.c.o [ 47%] Building C object CMakeFiles/yangobj.dir/src/plugins_exts/yangdata.c.o [ 48%] Building C object CMakeFiles/yangobj.dir/src/plugins_exts/schema_mount.c.o [ 49%] Building C object CMakeFiles/yangobj.dir/src/xml.c.o [ 50%] Building C object CMakeFiles/yangobj.dir/src/xpath.c.o [ 51%] Building C object CMakeFiles/yangobj.dir/src/validation.c.o [ 52%] Building C object CMakeFiles/yangobj.dir/src/plugins_types/binary.c.o [ 53%] Building C object CMakeFiles/yangobj.dir/src/plugins_types/bits.c.o [ 55%] Building C object CMakeFiles/yangobj.dir/src/plugins_types/boolean.c.o [ 56%] Building C object CMakeFiles/yangobj.dir/src/plugins_types/decimal64.c.o [ 57%] Building C object CMakeFiles/yangobj.dir/src/plugins_types/empty.c.o [ 58%] Building C object CMakeFiles/yangobj.dir/src/plugins_types/enumeration.c.o [ 59%] Building C object CMakeFiles/yangobj.dir/src/plugins_types/identityref.c.o [ 60%] Building C object CMakeFiles/yangobj.dir/src/plugins_types/instanceid.c.o [ 61%] Building C object CMakeFiles/yangobj.dir/src/plugins_types/integer.c.o [ 62%] Building C object CMakeFiles/yangobj.dir/src/plugins_types/leafref.c.o [ 64%] Building C object CMakeFiles/yangobj.dir/src/plugins_types/string.c.o [ 65%] Building C object CMakeFiles/yangobj.dir/src/plugins_types/union.c.o [ 66%] Building C object CMakeFiles/yangobj.dir/src/plugins_types/ipv4_address.c.o [ 67%] Building C object CMakeFiles/yangobj.dir/src/plugins_types/ipv4_address_no_zone.c.o [ 68%] Building C object CMakeFiles/yangobj.dir/src/plugins_types/ipv6_address.c.o [ 69%] Building C object CMakeFiles/yangobj.dir/src/plugins_types/ipv6_address_no_zone.c.o [ 70%] Building C object CMakeFiles/yangobj.dir/src/plugins_types/ipv4_prefix.c.o [ 71%] Building C object CMakeFiles/yangobj.dir/src/plugins_types/ipv6_prefix.c.o [ 73%] Building C object CMakeFiles/yangobj.dir/src/plugins_types/date_and_time.c.o [ 74%] Building C object CMakeFiles/yangobj.dir/src/plugins_types/xpath1.0.c.o [ 75%] Building C object CMakeFiles/yangobj.dir/src/plugins_types/node_instanceid.c.o [ 76%] Building C object CMakeFiles/yangobj.dir/compat/compat.c.o make[3]: Leaving directory '/home/buildroot/autobuild/instance-0/output-1/build/libyang-2.0.194/buildroot-build' [ 76%] Built target yangobj make[3]: Entering directory '/home/buildroot/autobuild/instance-0/output-1/build/libyang-2.0.194/buildroot-build' make[3]: Leaving directory '/home/buildroot/autobuild/instance-0/output-1/build/libyang-2.0.194/buildroot-build' make[3]: Entering directory '/home/buildroot/autobuild/instance-0/output-1/build/libyang-2.0.194/buildroot-build' [ 77%] Linking C shared library libyang.so make[3]: Leaving directory '/home/buildroot/autobuild/instance-0/output-1/build/libyang-2.0.194/buildroot-build' [ 77%] Built target yang make[3]: Entering directory '/home/buildroot/autobuild/instance-0/output-1/build/libyang-2.0.194/buildroot-build' make[3]: Entering directory '/home/buildroot/autobuild/instance-0/output-1/build/libyang-2.0.194/buildroot-build' make[3]: Leaving directory '/home/buildroot/autobuild/instance-0/output-1/build/libyang-2.0.194/buildroot-build' make[3]: Leaving directory '/home/buildroot/autobuild/instance-0/output-1/build/libyang-2.0.194/buildroot-build' make[3]: Entering directory '/home/buildroot/autobuild/instance-0/output-1/build/libyang-2.0.194/buildroot-build' make[3]: Entering directory '/home/buildroot/autobuild/instance-0/output-1/build/libyang-2.0.194/buildroot-build' [ 78%] Building C object tools/re/CMakeFiles/yangre.dir/main.c.o [ 79%] Building C object tools/re/CMakeFiles/yangre.dir/__/__/compat/compat.c.o [ 80%] Building C object tools/lint/CMakeFiles/yanglint.dir/main_ni.c.o [ 82%] Building C object tools/lint/CMakeFiles/yanglint.dir/cmd.c.o [ 83%] Building C object tools/lint/CMakeFiles/yanglint.dir/cmd_add.c.o [ 84%] Building C object tools/lint/CMakeFiles/yanglint.dir/cmd_clear.c.o [ 85%] Building C object tools/lint/CMakeFiles/yanglint.dir/cmd_data.c.o [ 86%] Linking C executable ../../yangre /home/buildroot/autobuild/instance-0/output-1/host/lib/gcc/or1k-buildroot-linux-uclibc/11.3.0/../../../../or1k-buildroot-linux-uclibc/bin/ld: ../../libyang.so.2.20.15: undefined reference to `__tls_get_addr' collect2: error: ld returned 1 exit status tools/re/CMakeFiles/yangre.dir/build.make:114: recipe for target 'yangre' failed make[3]: *** [yangre] Error 1 make[3]: Leaving directory '/home/buildroot/autobuild/instance-0/output-1/build/libyang-2.0.194/buildroot-build' CMakeFiles/Makefile2:266: recipe for target 'tools/re/CMakeFiles/yangre.dir/all' failed make[2]: *** [tools/re/CMakeFiles/yangre.dir/all] Error 2 make[2]: *** Waiting for unfinished jobs.... [ 87%] Building C object tools/lint/CMakeFiles/yanglint.dir/cmd_list.c.o [ 88%] Building C object tools/lint/CMakeFiles/yanglint.dir/cmd_feature.c.o [ 89%] Building C object tools/lint/CMakeFiles/yanglint.dir/cmd_load.c.o [ 91%] Building C object tools/lint/CMakeFiles/yanglint.dir/cmd_print.c.o [ 92%] Building C object tools/lint/CMakeFiles/yanglint.dir/cmd_searchpath.c.o [ 93%] Building C object tools/lint/CMakeFiles/yanglint.dir/common.c.o [ 94%] Building C object tools/lint/CMakeFiles/yanglint.dir/main.c.o [ 95%] Building C object tools/lint/CMakeFiles/yanglint.dir/completion.c.o [ 96%] Building C object tools/lint/CMakeFiles/yanglint.dir/configuration.c.o [ 97%] Building C object tools/lint/CMakeFiles/yanglint.dir/linenoise/linenoise.c.o [ 98%] Building C object tools/lint/CMakeFiles/yanglint.dir/__/__/compat/compat.c.o [100%] Linking C executable ../../yanglint /home/buildroot/autobuild/instance-0/output-1/host/lib/gcc/or1k-buildroot-linux-uclibc/11.3.0/../../../../or1k-buildroot-linux-uclibc/bin/ld: ../../libyang.so.2.20.15: undefined reference to `__tls_get_addr' collect2: error: ld returned 1 exit status tools/lint/CMakeFiles/yanglint.dir/build.make:338: recipe for target 'yanglint' failed make[3]: *** [yanglint] Error 1 make[3]: Leaving directory '/home/buildroot/autobuild/instance-0/output-1/build/libyang-2.0.194/buildroot-build' CMakeFiles/Makefile2:240: recipe for target 'tools/lint/CMakeFiles/yanglint.dir/all' failed make[2]: *** [tools/lint/CMakeFiles/yanglint.dir/all] Error 2 make[2]: Leaving directory '/home/buildroot/autobuild/instance-0/output-1/build/libyang-2.0.194/buildroot-build' Makefile:135: recipe for target 'all' failed make[1]: *** [all] Error 2 make[1]: Leaving directory '/home/buildroot/autobuild/instance-0/output-1/build/libyang-2.0.194/buildroot-build' package/pkg-generic.mk:290: recipe for target '/home/buildroot/autobuild/instance-0/output-1/build/libyang-2.0.194/.stamp_built' failed make: *** [/home/buildroot/autobuild/instance-0/output-1/build/libyang-2.0.194/.stamp_built] Error 2 make: Leaving directory '/home/buildroot/autobuild/instance-0/buildroot'