>>> libjxl 0.8.1 Extracting gzip -d -c /home/buildroot/autobuild/run/instance-0/dl/libjxl/libjxl-0.8.1.tar.gz | tar --strip-components=1 -C /home/buildroot/autobuild/run/instance-0/output-1/build/libjxl-0.8.1 -xf - >>> libjxl 0.8.1 Patching Applying 0001-djxl-fix-segmentation-fault-when-JPEG-is-disabled.patch using patch: patching file tools/djxl_main.cc Hunk #1 succeeded at 364 (offset -6 lines). >>> libjxl 0.8.1 Configuring (mkdir -p /home/buildroot/autobuild/run/instance-0/output-1/build/libjxl-0.8.1/ && cd /home/buildroot/autobuild/run/instance-0/output-1/build/libjxl-0.8.1/ && rm -f CMakeCache.txt && PATH="/home/buildroot/autobuild/run/instance-0/output-1/host/bin:/home/buildroot/autobuild/run/instance-0/output-1/host/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin" /home/buildroot/autobuild/run/instance-0/output-1/host/bin/cmake /home/buildroot/autobuild/run/instance-0/output-1/build/libjxl-0.8.1/ -G"Unix Makefiles" -DCMAKE_TOOLCHAIN_FILE="/home/buildroot/autobuild/run/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 -DJPEGXL_BUNDLE_LIBPNG=OFF -DJPEGXL_BUNDLE_SKCMS=OFF -DJPEGXL_ENABLE_BENCHMARK=OFF -DJPEGXL_ENABLE_DOXYGEN=OFF -DJPEGXL_ENABLE_EXAMPLES=OFF -DJPEGXL_ENABLE_JNI=OFF -DJPEGXL_ENABLE_MANPAGES=OFF -DJPEGXL_ENABLE_OPENEXR=OFF -DJPEGXL_ENABLE_SJPEG=OFF -DJPEGXL_ENABLE_SKCMS=OFF -DCMAKE_DISABLE_FIND_PACKAGE_JPEG=ON ) -- The C compiler identification is GNU 12.2.0 -- The CXX compiler identification is GNU 12.2.0 -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc - skipped -- Detecting C compile features -- Detecting C compile features - done -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Check for working CXX compiler: /home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-g++ - skipped -- Detecting CXX compile features -- Detecting CXX compile features - done -- Performing Test JPEGXL_EMSCRIPTEN -- Performing Test JPEGXL_EMSCRIPTEN - Failed -- CMAKE_SYSTEM_PROCESSOR is riscv64 -- Performing Test CXX_FUZZERS_SUPPORTED -- Performing Test CXX_FUZZERS_SUPPORTED - Failed -- Performing Test CXX_CONSTRUCTOR_ALIASES_SUPPORTED -- Performing Test CXX_CONSTRUCTOR_ALIASES_SUPPORTED - Failed -- Performing Test CXX_MACRO_PREFIX_MAP -- Performing Test CXX_MACRO_PREFIX_MAP - Success -- Performing Test CXX_NO_RTTI_SUPPORTED -- Performing Test CXX_NO_RTTI_SUPPORTED - Success -- Found PkgConfig: /home/buildroot/autobuild/run/instance-0/output-1/host/bin/pkg-config (found version "1.6.3") -- Performing Test JXL_HWY_DISABLED_TARGETS_FORCED -- Performing Test JXL_HWY_DISABLED_TARGETS_FORCED - Failed -- Compiled IDs C:GNU, C++:GNU -- 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 -- Performing Test ATOMICS_LOCK_FREE_INSTRUCTIONS -- Performing Test ATOMICS_LOCK_FREE_INSTRUCTIONS - Failed -- Performing Test ATOMICS_IN_LIBRARY -- Performing Test ATOMICS_IN_LIBRARY - Success -- Found Atomics: atomic Warning: HWY_SVE, HWY_SVE2, HWY_SVE_256, HWY_SVE2_128 and HWY_RVV CPU targets are disabled -- Found HWY: /home/buildroot/autobuild/run/instance-0/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/lib/libhwy.so (found suitable version "1.0.3", minimum required is "0.15.0") -- Checking for module 'libbrotlicommon' -- Found libbrotlicommon, version 1.0.9 -- Checking for module 'libbrotlienc' -- Found libbrotlienc, version 1.0.9 -- Checking for module 'libbrotlidec' -- Found libbrotlidec, version 1.0.9 -- Found Brotli: /home/buildroot/autobuild/run/instance-0/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/include -- Found LCMS2: /home/buildroot/autobuild/run/instance-0/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/lib/liblcms2.so (found suitable version "2.14", minimum required is "2.13") -- Found ZLIB: /home/buildroot/autobuild/run/instance-0/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/lib/libz.so (found version "1.2.13") -- Found PNG: /home/buildroot/autobuild/run/instance-0/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/lib/libpng.so (found version "1.6.39") -- Performing Test COMPILER_HAS_HIDDEN_VISIBILITY -- Performing Test COMPILER_HAS_HIDDEN_VISIBILITY - Success -- Performing Test COMPILER_HAS_HIDDEN_INLINE_VISIBILITY -- Performing Test COMPILER_HAS_HIDDEN_INLINE_VISIBILITY - Success -- Performing Test COMPILER_HAS_DEPRECATED_ATTR -- Performing Test COMPILER_HAS_DEPRECATED_ATTR - Success -- Performing Test LINKER_SUPPORT_EXCLUDE_LIBS -- Performing Test LINKER_SUPPORT_EXCLUDE_LIBS - Success -- Could NOT find GIF (missing: GIF_LIBRARY GIF_INCLUDE_DIR) (Required is at least version "5.1") -- Building with JPEGXL_VERSION=(unknown) -- Building tools: cjxl;djxl;jxlinfo -- 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_TESTS -- Build files have been written to: /home/buildroot/autobuild/run/instance-0/output-1/build/libjxl-0.8.1 >>> libjxl 0.8.1 Building PATH="/home/buildroot/autobuild/run/instance-0/output-1/host/bin:/home/buildroot/autobuild/run/instance-0/output-1/host/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin" /usr/bin/make -j4 -C /home/buildroot/autobuild/run/instance-0/output-1/build/libjxl-0.8.1/ make[1]: Entering directory '/home/buildroot/autobuild/run/instance-0/output-1/build/libjxl-0.8.1' make[2]: Entering directory '/home/buildroot/autobuild/run/instance-0/output-1/build/libjxl-0.8.1' make[3]: Entering directory '/home/buildroot/autobuild/run/instance-0/output-1/build/libjxl-0.8.1' make[3]: Entering directory '/home/buildroot/autobuild/run/instance-0/output-1/build/libjxl-0.8.1' make[3]: Entering directory '/home/buildroot/autobuild/run/instance-0/output-1/build/libjxl-0.8.1' make[3]: Entering directory '/home/buildroot/autobuild/run/instance-0/output-1/build/libjxl-0.8.1' make[3]: Leaving directory '/home/buildroot/autobuild/run/instance-0/output-1/build/libjxl-0.8.1' make[3]: Leaving directory '/home/buildroot/autobuild/run/instance-0/output-1/build/libjxl-0.8.1' make[3]: Leaving directory '/home/buildroot/autobuild/run/instance-0/output-1/build/libjxl-0.8.1' make[3]: Entering directory '/home/buildroot/autobuild/run/instance-0/output-1/build/libjxl-0.8.1' make[3]: Entering directory '/home/buildroot/autobuild/run/instance-0/output-1/build/libjxl-0.8.1' make[3]: Leaving directory '/home/buildroot/autobuild/run/instance-0/output-1/build/libjxl-0.8.1' make[3]: Entering directory '/home/buildroot/autobuild/run/instance-0/output-1/build/libjxl-0.8.1' make[3]: Entering directory '/home/buildroot/autobuild/run/instance-0/output-1/build/libjxl-0.8.1' [ 1%] Building CXX object lib/CMakeFiles/jxl_dec-obj.dir/jxl/ac_strategy.cc.o [ 1%] Building CXX object lib/CMakeFiles/jxl_extras_codec-obj.dir/extras/dec/color_description.cc.o [ 2%] Building CXX object lib/CMakeFiles/jxl_threads-static.dir/threads/resizable_parallel_runner.cc.o [ 2%] Building CXX object lib/CMakeFiles/jxl_enc-obj.dir/jxl/butteraugli/butteraugli.cc.o [ 3%] Building CXX object lib/CMakeFiles/jxl_extras_codec-obj.dir/extras/dec/color_hints.cc.o [ 3%] Building CXX object lib/CMakeFiles/jxl_threads-static.dir/threads/thread_parallel_runner.cc.o [ 3%] Building CXX object lib/CMakeFiles/jxl_dec-obj.dir/jxl/alpha.cc.o [ 5%] Building CXX object lib/CMakeFiles/jxl_dec-obj.dir/jxl/ans_common.cc.o [ 6%] Building CXX object lib/CMakeFiles/jxl_threads-static.dir/threads/thread_parallel_runner_internal.cc.o [ 6%] Building CXX object lib/CMakeFiles/jxl_extras_codec-obj.dir/extras/dec/decode.cc.o [ 6%] Building CXX object lib/CMakeFiles/jxl_dec-obj.dir/jxl/aux_out.cc.o [ 6%] Linking CXX static library libjxl_threads.a make[3]: Leaving directory '/home/buildroot/autobuild/run/instance-0/output-1/build/libjxl-0.8.1' [ 6%] Built target jxl_threads-static [ 7%] Building CXX object lib/CMakeFiles/jxl_enc-obj.dir/jxl/butteraugli_wrapper.cc.o [ 7%] Building CXX object lib/CMakeFiles/jxl_enc-obj.dir/jxl/enc_ac_strategy.cc.o [ 7%] Building CXX object lib/CMakeFiles/jxl_dec-obj.dir/jxl/base/cache_aligned.cc.o [ 8%] Building CXX object lib/CMakeFiles/jxl_extras_codec-obj.dir/extras/dec/jxl.cc.o [ 10%] Building CXX object lib/CMakeFiles/jxl_dec-obj.dir/jxl/base/data_parallel.cc.o [ 10%] Building CXX object lib/CMakeFiles/jxl_dec-obj.dir/jxl/base/padded_bytes.cc.o [ 10%] Building CXX object lib/CMakeFiles/jxl_enc-obj.dir/jxl/enc_adaptive_quantization.cc.o [ 11%] Building CXX object lib/CMakeFiles/jxl_dec-obj.dir/jxl/base/random.cc.o [ 11%] Building CXX object lib/CMakeFiles/jxl_dec-obj.dir/jxl/blending.cc.o [ 11%] Building CXX object lib/CMakeFiles/jxl_extras_codec-obj.dir/extras/dec/pgx.cc.o [ 12%] Building CXX object lib/CMakeFiles/jxl_dec-obj.dir/jxl/chroma_from_luma.cc.o [ 12%] Building CXX object lib/CMakeFiles/jxl_dec-obj.dir/jxl/coeff_order.cc.o [ 12%] Building CXX object lib/CMakeFiles/jxl_extras_codec-obj.dir/extras/dec/pnm.cc.o [ 12%] Building CXX object lib/CMakeFiles/jxl_dec-obj.dir/jxl/color_encoding_internal.cc.o [ 13%] Building CXX object lib/CMakeFiles/jxl_enc-obj.dir/jxl/enc_ans.cc.o [ 15%] Building CXX object lib/CMakeFiles/jxl_dec-obj.dir/jxl/color_management.cc.o [ 15%] Building CXX object lib/CMakeFiles/jxl_dec-obj.dir/jxl/compressed_dc.cc.o [ 16%] Building CXX object lib/CMakeFiles/jxl_extras_codec-obj.dir/extras/enc/encode.cc.o [ 17%] Building CXX object lib/CMakeFiles/jxl_dec-obj.dir/jxl/convolve_separable5.cc.o [ 17%] Building CXX object lib/CMakeFiles/jxl_extras_codec-obj.dir/extras/enc/jxl.cc.o [ 17%] Building CXX object lib/CMakeFiles/jxl_dec-obj.dir/jxl/convolve_separable7.cc.o [ 18%] Building CXX object lib/CMakeFiles/jxl_dec-obj.dir/jxl/convolve_slow.cc.o [ 20%] Building CXX object lib/CMakeFiles/jxl_extras_codec-obj.dir/extras/enc/npy.cc.o [ 20%] Building CXX object lib/CMakeFiles/jxl_enc-obj.dir/jxl/enc_ar_control_field.cc.o [ 20%] Building CXX object lib/CMakeFiles/jxl_dec-obj.dir/jxl/convolve_symmetric3.cc.o [ 21%] Building CXX object lib/CMakeFiles/jxl_dec-obj.dir/jxl/convolve_symmetric5.cc.o [ 21%] Building CXX object lib/CMakeFiles/jxl_extras_codec-obj.dir/extras/enc/pgx.cc.o [ 21%] Building CXX object lib/CMakeFiles/jxl_dec-obj.dir/jxl/dct_scales.cc.o [ 21%] Building CXX object lib/CMakeFiles/jxl_dec-obj.dir/jxl/dec_ans.cc.o [ 22%] Building CXX object lib/CMakeFiles/jxl_dec-obj.dir/jxl/dec_cache.cc.o [ 24%] Building CXX object lib/CMakeFiles/jxl_enc-obj.dir/jxl/enc_butteraugli_comparator.cc.o [ 24%] Building CXX object lib/CMakeFiles/jxl_dec-obj.dir/jxl/dec_context_map.cc.o [ 25%] Building CXX object lib/CMakeFiles/jxl_extras_codec-obj.dir/extras/enc/pnm.cc.o [ 25%] Building CXX object lib/CMakeFiles/jxl_enc-obj.dir/jxl/enc_butteraugli_pnorm.cc.o [ 26%] Building CXX object lib/CMakeFiles/jxl_dec-obj.dir/jxl/dec_external_image.cc.o [ 26%] Building CXX object lib/CMakeFiles/jxl_dec-obj.dir/jxl/dec_frame.cc.o [ 27%] Building CXX object lib/CMakeFiles/jxl_enc-obj.dir/jxl/enc_cache.cc.o [ 27%] Building CXX object lib/CMakeFiles/jxl_extras_codec-obj.dir/extras/exif.cc.o [ 27%] Building CXX object lib/CMakeFiles/jxl_extras_codec-obj.dir/extras/time.cc.o [ 29%] Building CXX object lib/CMakeFiles/jxl_extras_codec-obj.dir/extras/dec/apng.cc.o [ 30%] Building CXX object lib/CMakeFiles/jxl_dec-obj.dir/jxl/dec_group.cc.o [ 30%] Building CXX object lib/CMakeFiles/jxl_dec-obj.dir/jxl/dec_group_border.cc.o [ 30%] Building CXX object lib/CMakeFiles/jxl_enc-obj.dir/jxl/enc_chroma_from_luma.cc.o [ 30%] Building CXX object lib/CMakeFiles/jxl_extras_codec-obj.dir/extras/enc/apng.cc.o [ 30%] Building CXX object lib/CMakeFiles/jxl_enc-obj.dir/jxl/enc_cluster.cc.o make[3]: Leaving directory '/home/buildroot/autobuild/run/instance-0/output-1/build/libjxl-0.8.1' [ 30%] Built target jxl_extras_codec-obj make[3]: Entering directory '/home/buildroot/autobuild/run/instance-0/output-1/build/libjxl-0.8.1' make[3]: Leaving directory '/home/buildroot/autobuild/run/instance-0/output-1/build/libjxl-0.8.1' make[3]: Entering directory '/home/buildroot/autobuild/run/instance-0/output-1/build/libjxl-0.8.1' [ 30%] Building CXX object lib/CMakeFiles/jxl_threads.dir/threads/resizable_parallel_runner.cc.o [ 30%] Building CXX object lib/CMakeFiles/jxl_dec-obj.dir/jxl/dec_huffman.cc.o [ 31%] Building CXX object lib/CMakeFiles/jxl_enc-obj.dir/jxl/enc_coeff_order.cc.o [ 31%] Building CXX object lib/CMakeFiles/jxl_enc-obj.dir/jxl/enc_color_management.cc.o [ 32%] Building CXX object lib/CMakeFiles/jxl_threads.dir/threads/thread_parallel_runner.cc.o [ 34%] Building CXX object lib/CMakeFiles/jxl_dec-obj.dir/jxl/dec_modular.cc.o [ 34%] Building CXX object lib/CMakeFiles/jxl_threads.dir/threads/thread_parallel_runner_internal.cc.o [ 34%] Linking CXX shared library ../libjxl_threads.so make[3]: Leaving directory '/home/buildroot/autobuild/run/instance-0/output-1/build/libjxl-0.8.1' [ 34%] Built target jxl_threads make[3]: Entering directory '/home/buildroot/autobuild/run/instance-0/output-1/build/libjxl-0.8.1' make[3]: Leaving directory '/home/buildroot/autobuild/run/instance-0/output-1/build/libjxl-0.8.1' make[3]: Entering directory '/home/buildroot/autobuild/run/instance-0/output-1/build/libjxl-0.8.1' [ 34%] Building CXX object lib/CMakeFiles/jxl_profiler.dir/profiler/profiler.cc.o [ 35%] Building CXX object lib/CMakeFiles/jxl_enc-obj.dir/jxl/enc_comparator.cc.o [ 35%] Building CXX object lib/CMakeFiles/jxl_enc-obj.dir/jxl/enc_context_map.cc.o [ 36%] Linking CXX static library libjxl_profiler.a make[3]: Leaving directory '/home/buildroot/autobuild/run/instance-0/output-1/build/libjxl-0.8.1' [ 36%] Built target jxl_profiler make[3]: Entering directory '/home/buildroot/autobuild/run/instance-0/output-1/build/libjxl-0.8.1' make[3]: Leaving directory '/home/buildroot/autobuild/run/instance-0/output-1/build/libjxl-0.8.1' make[3]: Entering directory '/home/buildroot/autobuild/run/instance-0/output-1/build/libjxl-0.8.1' [ 37%] Building CXX object tools/CMakeFiles/jxl_tool.dir/cmdline.cc.o [ 37%] Building CXX object lib/CMakeFiles/jxl_dec-obj.dir/jxl/dec_noise.cc.o [ 37%] Building CXX object tools/CMakeFiles/jxl_tool.dir/codec_config.cc.o [ 39%] Building CXX object lib/CMakeFiles/jxl_enc-obj.dir/jxl/enc_detect_dots.cc.o [ 39%] Building CXX object tools/CMakeFiles/jxl_tool.dir/speed_stats.cc.o [ 40%] Building CXX object tools/CMakeFiles/jxl_tool.dir/file_io.cc.o [ 40%] Building CXX object tools/CMakeFiles/jxl_tool.dir/tool_version.cc.o [ 40%] Building CXX object lib/CMakeFiles/jxl_enc-obj.dir/jxl/enc_dot_dictionary.cc.o [ 41%] Linking CXX static library libjxl_tool.a make[3]: Leaving directory '/home/buildroot/autobuild/run/instance-0/output-1/build/libjxl-0.8.1' [ 41%] Built target jxl_tool [ 41%] Building CXX object lib/CMakeFiles/jxl_enc-obj.dir/jxl/enc_entropy_coder.cc.o [ 43%] Building CXX object lib/CMakeFiles/jxl_dec-obj.dir/jxl/dec_patch_dictionary.cc.o [ 44%] Building CXX object lib/CMakeFiles/jxl_enc-obj.dir/jxl/enc_external_image.cc.o [ 44%] Building CXX object lib/CMakeFiles/jxl_enc-obj.dir/jxl/enc_fast_lossless.cc.o [ 45%] Building CXX object lib/CMakeFiles/jxl_enc-obj.dir/jxl/enc_file.cc.o [ 45%] Building CXX object lib/CMakeFiles/jxl_enc-obj.dir/jxl/enc_frame.cc.o [ 45%] Building CXX object lib/CMakeFiles/jxl_dec-obj.dir/jxl/dec_xyb.cc.o In file included from /home/buildroot/autobuild/run/instance-0/output-1/build/libjxl-0.8.1/lib/jxl/enc_fast_lossless.cc:3725: /home/buildroot/autobuild/run/instance-0/output-1/build/libjxl-0.8.1/lib/jxl/enc_fast_lossless.cc: In static member function 'static void default_implementation::{anonymous}::PrefixCode::ComputeCodeLengths(const uint64_t*, size_t, const uint8_t*, const uint8_t*, uint8_t*)': /home/buildroot/autobuild/run/instance-0/output-1/build/libjxl-0.8.1/lib/jxl/enc_fast_lossless.cc:618:30: warning: 'compact_freqs' may be used uninitialized [-Wmaybe-uninitialized] 618 | ComputeCodeLengthsNonZero(compact_freqs, ni, min_limit, max_limit, | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 619 | num_bits); | ~~~~~~~~~ /home/buildroot/autobuild/run/instance-0/output-1/build/libjxl-0.8.1/lib/jxl/enc_fast_lossless.cc:571:15: note: by argument 1 of type 'const uint64_t*' {aka 'const long unsigned int*'} to 'static void default_implementation::{anonymous}::PrefixCode::ComputeCodeLengthsNonZero(const uint64_t*, size_t, uint8_t*, uint8_t*, uint8_t*)' declared here 571 | static void ComputeCodeLengthsNonZero(const uint64_t* freqs, size_t n, | ^~~~~~~~~~~~~~~~~~~~~~~~~ /home/buildroot/autobuild/run/instance-0/output-1/build/libjxl-0.8.1/lib/jxl/enc_fast_lossless.cc:605:14: note: 'compact_freqs' declared here 605 | uint64_t compact_freqs[kMaxNumSymbols]; | ^~~~~~~~~~~~~ [ 46%] Building CXX object lib/CMakeFiles/jxl_dec-obj.dir/jxl/decode.cc.o [ 48%] Building CXX object lib/CMakeFiles/jxl_enc-obj.dir/jxl/enc_group.cc.o [ 48%] Building CXX object lib/CMakeFiles/jxl_enc-obj.dir/jxl/enc_heuristics.cc.o In function 'void default_implementation::{anonymous}::PrepareDCGlobalPalette(bool, size_t, size_t, const PrefixCode*, const std::vector&, size_t, {anonymous}::BitWriter*)', inlined from 'JxlFastLosslessFrameState* default_implementation::{anonymous}::LLEnc(const unsigned char*, size_t, size_t, size_t, BitDepth, size_t, bool, int, void*, void (*)(void*, void*, void (*)(void*, size_t), size_t)) [with BitDepth = Exactly14Bits]' at /home/buildroot/autobuild/run/instance-0/output-1/build/libjxl-0.8.1/lib/jxl/enc_fast_lossless.cc:3650:27: /home/buildroot/autobuild/run/instance-0/output-1/build/libjxl-0.8.1/lib/jxl/enc_fast_lossless.cc:3432:28: warning: array subscript -1 is outside array bounds of 'unsigned int [65536]' [-Warray-bounds] 3432 | if (palette[pcolors - 1] == 0) have_zero = 1; In file included from /home/buildroot/autobuild/run/instance-0/output-1/host/opt/ext-toolchain/riscv64-buildroot-linux-gnu/include/c++/12.2.0/riscv64-buildroot-linux-gnu/bits/c++allocator.h:33, from /home/buildroot/autobuild/run/instance-0/output-1/host/opt/ext-toolchain/riscv64-buildroot-linux-gnu/include/c++/12.2.0/bits/allocator.h:46, from /home/buildroot/autobuild/run/instance-0/output-1/host/opt/ext-toolchain/riscv64-buildroot-linux-gnu/include/c++/12.2.0/memory:64, from /home/buildroot/autobuild/run/instance-0/output-1/build/libjxl-0.8.1/lib/jxl/enc_fast_lossless.cc:18: In member function '_Tp* std::__new_allocator<_Tp>::allocate(size_type, const void*) [with _Tp = unsigned int]', inlined from 'static _Tp* std::allocator_traits >::allocate(allocator_type&, size_type) [with _Tp = unsigned int]' at /home/buildroot/autobuild/run/instance-0/output-1/host/opt/ext-toolchain/riscv64-buildroot-linux-gnu/include/c++/12.2.0/bits/alloc_traits.h:464:28, inlined from 'std::_Vector_base<_Tp, _Alloc>::pointer std::_Vector_base<_Tp, _Alloc>::_M_allocate(std::size_t) [with _Tp = unsigned int; _Alloc = std::allocator]' at /home/buildroot/autobuild/run/instance-0/output-1/host/opt/ext-toolchain/riscv64-buildroot-linux-gnu/include/c++/12.2.0/bits/stl_vector.h:378:33, inlined from 'void std::_Vector_base<_Tp, _Alloc>::_M_create_storage(std::size_t) [with _Tp = unsigned int; _Alloc = std::allocator]' at /home/buildroot/autobuild/run/instance-0/output-1/host/opt/ext-toolchain/riscv64-buildroot-linux-gnu/include/c++/12.2.0/bits/stl_vector.h:395:44, inlined from 'std::_Vector_base<_Tp, _Alloc>::_Vector_base(std::size_t, const allocator_type&) [with _Tp = unsigned int; _Alloc = std::allocator]' at /home/buildroot/autobuild/run/instance-0/output-1/host/opt/ext-toolchain/riscv64-buildroot-linux-gnu/include/c++/12.2.0/bits/stl_vector.h:332:26, inlined from 'std::vector<_Tp, _Alloc>::vector(size_type, const allocator_type&) [with _Tp = unsigned int; _Alloc = std::allocator]' at /home/buildroot/autobuild/run/instance-0/output-1/host/opt/ext-toolchain/riscv64-buildroot-linux-gnu/include/c++/12.2.0/bits/stl_vector.h:552:47, inlined from 'JxlFastLosslessFrameState* default_implementation::{anonymous}::LLEnc(const unsigned char*, size_t, size_t, size_t, BitDepth, size_t, bool, int, void*, void (*)(void*, void*, void (*)(void*, size_t), size_t)) [with BitDepth = Exactly14Bits]' at /home/buildroot/autobuild/run/instance-0/output-1/build/libjxl-0.8.1/lib/jxl/enc_fast_lossless.cc:3470:25: /home/buildroot/autobuild/run/instance-0/output-1/host/opt/ext-toolchain/riscv64-buildroot-linux-gnu/include/c++/12.2.0/bits/new_allocator.h:137:55: note: at offset -4 into object of size 262144 allocated by 'operator new' 137 | return static_cast<_Tp*>(_GLIBCXX_OPERATOR_NEW(__n * sizeof(_Tp))); | ^ [ 49%] Building CXX object lib/CMakeFiles/jxl_enc-obj.dir/jxl/enc_huffman.cc.o [ 49%] Building CXX object lib/CMakeFiles/jxl_enc-obj.dir/jxl/enc_icc_codec.cc.o [ 49%] Building CXX object lib/CMakeFiles/jxl_enc-obj.dir/jxl/enc_image_bundle.cc.o [ 49%] Building CXX object lib/CMakeFiles/jxl_dec-obj.dir/jxl/enc_bit_writer.cc.o [ 49%] Building CXX object lib/CMakeFiles/jxl_dec-obj.dir/jxl/entropy_coder.cc.o [ 50%] Building CXX object lib/CMakeFiles/jxl_enc-obj.dir/jxl/enc_modular.cc.o [ 50%] Building CXX object lib/CMakeFiles/jxl_enc-obj.dir/jxl/enc_noise.cc.o [ 51%] Building CXX object lib/CMakeFiles/jxl_enc-obj.dir/jxl/enc_patch_dictionary.cc.o [ 53%] Building CXX object lib/CMakeFiles/jxl_dec-obj.dir/jxl/epf.cc.o [ 53%] Building CXX object lib/CMakeFiles/jxl_enc-obj.dir/jxl/enc_photon_noise.cc.o [ 54%] Building CXX object lib/CMakeFiles/jxl_enc-obj.dir/jxl/enc_quant_weights.cc.o [ 54%] Building CXX object lib/CMakeFiles/jxl_dec-obj.dir/jxl/fast_dct.cc.o [ 55%] Building CXX object lib/CMakeFiles/jxl_dec-obj.dir/jxl/fields.cc.o [ 55%] Building CXX object lib/CMakeFiles/jxl_enc-obj.dir/jxl/enc_splines.cc.o [ 55%] Building CXX object lib/CMakeFiles/jxl_dec-obj.dir/jxl/frame_header.cc.o [ 55%] Building CXX object lib/CMakeFiles/jxl_enc-obj.dir/jxl/enc_toc.cc.o [ 56%] Building CXX object lib/CMakeFiles/jxl_enc-obj.dir/jxl/enc_transforms.cc.o [ 56%] Building CXX object lib/CMakeFiles/jxl_enc-obj.dir/jxl/enc_xyb.cc.o [ 58%] Building CXX object lib/CMakeFiles/jxl_enc-obj.dir/jxl/encode.cc.o [ 59%] Building CXX object lib/CMakeFiles/jxl_dec-obj.dir/jxl/gauss_blur.cc.o /home/buildroot/autobuild/run/instance-0/output-1/build/libjxl-0.8.1/lib/jxl/enc_xyb.cc: In function 'jxl::Image3F jxl::N_SCALAR::TransformToLinearRGB(const jxl::Image3F&, const jxl::ColorEncoding&, float, const JxlCmsInterface&, jxl::ThreadPool*)': /home/buildroot/autobuild/run/instance-0/output-1/build/libjxl-0.8.1/lib/jxl/enc_xyb.cc:223:21: error: variable 'std::atomic ok' has initializer but incomplete type 223 | std::atomic ok{true}; | ^~ [ 59%] Building CXX object lib/CMakeFiles/jxl_enc-obj.dir/jxl/gaborish.cc.o lib/CMakeFiles/jxl_enc-obj.dir/build.make:565: recipe for target 'lib/CMakeFiles/jxl_enc-obj.dir/jxl/enc_xyb.cc.o' failed make[3]: *** [lib/CMakeFiles/jxl_enc-obj.dir/jxl/enc_xyb.cc.o] Error 1 make[3]: *** Waiting for unfinished jobs.... [ 59%] Building CXX object lib/CMakeFiles/jxl_dec-obj.dir/jxl/headers.cc.o [ 60%] Building CXX object lib/CMakeFiles/jxl_dec-obj.dir/jxl/huffman_table.cc.o [ 60%] Building CXX object lib/CMakeFiles/jxl_dec-obj.dir/jxl/icc_codec.cc.o [ 60%] Building CXX object lib/CMakeFiles/jxl_dec-obj.dir/jxl/icc_codec_common.cc.o [ 62%] Building CXX object lib/CMakeFiles/jxl_dec-obj.dir/jxl/image.cc.o [ 62%] Building CXX object lib/CMakeFiles/jxl_dec-obj.dir/jxl/image_bundle.cc.o [ 63%] Building CXX object lib/CMakeFiles/jxl_dec-obj.dir/jxl/image_metadata.cc.o [ 63%] Building CXX object lib/CMakeFiles/jxl_dec-obj.dir/jxl/loop_filter.cc.o [ 64%] Building CXX object lib/CMakeFiles/jxl_dec-obj.dir/jxl/luminance.cc.o make[3]: Leaving directory '/home/buildroot/autobuild/run/instance-0/output-1/build/libjxl-0.8.1' CMakeFiles/Makefile2:249: recipe for target 'lib/CMakeFiles/jxl_enc-obj.dir/all' failed make[2]: *** [lib/CMakeFiles/jxl_enc-obj.dir/all] Error 2 make[2]: *** Waiting for unfinished jobs.... [ 64%] Building CXX object lib/CMakeFiles/jxl_dec-obj.dir/jxl/memory_manager_internal.cc.o [ 64%] Building CXX object lib/CMakeFiles/jxl_dec-obj.dir/jxl/modular/encoding/dec_ma.cc.o [ 65%] Building CXX object lib/CMakeFiles/jxl_dec-obj.dir/jxl/modular/encoding/encoding.cc.o [ 65%] Building CXX object lib/CMakeFiles/jxl_dec-obj.dir/jxl/modular/modular_image.cc.o [ 67%] Building CXX object lib/CMakeFiles/jxl_dec-obj.dir/jxl/modular/transform/rct.cc.o [ 67%] Building CXX object lib/CMakeFiles/jxl_dec-obj.dir/jxl/modular/transform/squeeze.cc.o [ 68%] Building CXX object lib/CMakeFiles/jxl_dec-obj.dir/jxl/modular/transform/transform.cc.o [ 68%] Building CXX object lib/CMakeFiles/jxl_dec-obj.dir/jxl/opsin_params.cc.o [ 68%] Building CXX object lib/CMakeFiles/jxl_dec-obj.dir/jxl/passes_state.cc.o [ 69%] Building CXX object lib/CMakeFiles/jxl_dec-obj.dir/jxl/quant_weights.cc.o [ 69%] Building CXX object lib/CMakeFiles/jxl_dec-obj.dir/jxl/quantizer.cc.o [ 70%] Building CXX object lib/CMakeFiles/jxl_dec-obj.dir/jxl/render_pipeline/low_memory_render_pipeline.cc.o [ 70%] Building CXX object lib/CMakeFiles/jxl_dec-obj.dir/jxl/render_pipeline/render_pipeline.cc.o [ 72%] Building CXX object lib/CMakeFiles/jxl_dec-obj.dir/jxl/render_pipeline/simple_render_pipeline.cc.o [ 72%] Building CXX object lib/CMakeFiles/jxl_dec-obj.dir/jxl/render_pipeline/stage_blending.cc.o [ 73%] Building CXX object lib/CMakeFiles/jxl_dec-obj.dir/jxl/render_pipeline/stage_chroma_upsampling.cc.o [ 73%] Building CXX object lib/CMakeFiles/jxl_dec-obj.dir/jxl/render_pipeline/stage_epf.cc.o [ 73%] Building CXX object lib/CMakeFiles/jxl_dec-obj.dir/jxl/render_pipeline/stage_from_linear.cc.o [ 74%] Building CXX object lib/CMakeFiles/jxl_dec-obj.dir/jxl/render_pipeline/stage_gaborish.cc.o [ 74%] Building CXX object lib/CMakeFiles/jxl_dec-obj.dir/jxl/render_pipeline/stage_noise.cc.o [ 75%] Building CXX object lib/CMakeFiles/jxl_dec-obj.dir/jxl/render_pipeline/stage_patches.cc.o [ 75%] Building CXX object lib/CMakeFiles/jxl_dec-obj.dir/jxl/render_pipeline/stage_splines.cc.o [ 77%] Building CXX object lib/CMakeFiles/jxl_dec-obj.dir/jxl/render_pipeline/stage_spot.cc.o [ 77%] Building CXX object lib/CMakeFiles/jxl_dec-obj.dir/jxl/render_pipeline/stage_to_linear.cc.o [ 78%] Building CXX object lib/CMakeFiles/jxl_dec-obj.dir/jxl/render_pipeline/stage_upsampling.cc.o [ 78%] Building CXX object lib/CMakeFiles/jxl_dec-obj.dir/jxl/render_pipeline/stage_tone_mapping.cc.o [ 78%] Building CXX object lib/CMakeFiles/jxl_dec-obj.dir/jxl/render_pipeline/stage_write.cc.o [ 79%] Building CXX object lib/CMakeFiles/jxl_dec-obj.dir/jxl/render_pipeline/stage_xyb.cc.o [ 79%] Building CXX object lib/CMakeFiles/jxl_dec-obj.dir/jxl/render_pipeline/stage_ycbcr.cc.o [ 81%] Building CXX object lib/CMakeFiles/jxl_dec-obj.dir/jxl/splines.cc.o [ 81%] Building CXX object lib/CMakeFiles/jxl_dec-obj.dir/jxl/toc.cc.o [ 81%] Building CXX object lib/CMakeFiles/jxl_dec-obj.dir/jxl/decode_to_jpeg.cc.o [ 82%] Building CXX object lib/CMakeFiles/jxl_dec-obj.dir/jxl/box_content_decoder.cc.o [ 82%] Building CXX object lib/CMakeFiles/jxl_dec-obj.dir/jxl/jpeg/dec_jpeg_data.cc.o [ 83%] Building CXX object lib/CMakeFiles/jxl_dec-obj.dir/jxl/jpeg/dec_jpeg_data_writer.cc.o [ 83%] Building CXX object lib/CMakeFiles/jxl_dec-obj.dir/jxl/jpeg/jpeg_data.cc.o make[3]: Leaving directory '/home/buildroot/autobuild/run/instance-0/output-1/build/libjxl-0.8.1' [ 83%] Built target jxl_dec-obj make[2]: Leaving directory '/home/buildroot/autobuild/run/instance-0/output-1/build/libjxl-0.8.1' Makefile:145: recipe for target 'all' failed make[1]: *** [all] Error 2 make[1]: Leaving directory '/home/buildroot/autobuild/run/instance-0/output-1/build/libjxl-0.8.1' package/pkg-generic.mk:290: recipe for target '/home/buildroot/autobuild/run/instance-0/output-1/build/libjxl-0.8.1/.stamp_built' failed make: *** [/home/buildroot/autobuild/run/instance-0/output-1/build/libjxl-0.8.1/.stamp_built] Error 2 make: Leaving directory '/home/buildroot/autobuild/run/instance-0/buildroot'