=> Bootstrap dependency digest>=20211023: found digest-20220214 ===> Skipping vulnerability checks. WARNING: No /usr/pkg/pkgdb/pkg-vulnerabilities file found. WARNING: To fix run: `/usr/sbin/pkg_admin -K /usr/pkg/pkgdb fetch-pkg-vulnerabilities'. ===> Building for charls-2.3.4 -- CharLS version: 2.3.4 -- Building as master project, CMake version: 3.27.6 -- IPO is not supported -- Configuring done (0.6s) -- Generating done (0.1s) -- Build files have been written to: /scratch/work/graphics/charls/work/charls-2.3.4 [ 4%] Building CXX object CMakeFiles/charls.dir/src/charls_jpegls_decoder.cpp.o [ 9%] Building CXX object CMakeFiles/charls.dir/src/charls_jpegls_encoder.cpp.o In file included from /scratch/work/graphics/charls/work/charls-2.3.4/include/charls/jpegls_error.h:6:0, from /scratch/work/graphics/charls/work/charls-2.3.4/include/charls/charls_jpegls_decoder.h:6, from /scratch/work/graphics/charls/work/charls-2.3.4/src/charls_jpegls_decoder.cpp:4: /scratch/work/graphics/charls/work/charls-2.3.4/include/charls/public_types.h:811:53: error: specialization of 'template<class _Tp> struct std::is_error_code_enum' in different namespace [-fpermissive] struct std::is_error_code_enum<charls::jpegls_errc> final : std::true_type ^ In file included from /scratch/work/graphics/charls/work/charls-2.3.4/include/charls/public_types.h:13:0, from /scratch/work/graphics/charls/work/charls-2.3.4/include/charls/jpegls_error.h:6, from /scratch/work/graphics/charls/work/charls-2.3.4/include/charls/charls_jpegls_decoder.h:6, from /scratch/work/graphics/charls/work/charls-2.3.4/src/charls_jpegls_decoder.cpp:4: /usr/include/g++/system_error:53:12: error: from definition of 'template<class _Tp> struct std::is_error_code_enum' [-fpermissive] struct is_error_code_enum : public false_type { }; ^ In file included from /scratch/work/graphics/charls/work/charls-2.3.4/include/charls/jpegls_error.h:6:0, from /scratch/work/graphics/charls/work/charls-2.3.4/include/charls/charls_jpegls_encoder.h:6, from /scratch/work/graphics/charls/work/charls-2.3.4/src/charls_jpegls_encoder.cpp:4: /scratch/work/graphics/charls/work/charls-2.3.4/include/charls/public_types.h:811:53: error: specialization of 'template<class _Tp> struct std::is_error_code_enum' in different namespace [-fpermissive] struct std::is_error_code_enum<charls::jpegls_errc> final : std::true_type ^ In file included from /scratch/work/graphics/charls/work/charls-2.3.4/include/charls/public_types.h:13:0, from /scratch/work/graphics/charls/work/charls-2.3.4/include/charls/jpegls_error.h:6, from /scratch/work/graphics/charls/work/charls-2.3.4/include/charls/charls_jpegls_encoder.h:6, from /scratch/work/graphics/charls/work/charls-2.3.4/src/charls_jpegls_encoder.cpp:4: /usr/include/g++/system_error:53:12: error: from definition of 'template<class _Tp> struct std::is_error_code_enum' [-fpermissive] struct is_error_code_enum : public false_type { }; ^ --- CMakeFiles/charls.dir/src/charls_jpegls_decoder.cpp.o --- *** [CMakeFiles/charls.dir/src/charls_jpegls_decoder.cpp.o] Error code 1 make[2]: stopped in /scratch/work/graphics/charls/work/charls-2.3.4 /scratch/work/graphics/charls/work/charls-2.3.4/src/charls_jpegls_encoder.cpp:314:48: error: 'encoding_options' is not a class, namespace, or enumeration charls::encoding_options encoding_options_{encoding_options::include_pc_parameters_jai}; ^ /scratch/work/graphics/charls/work/charls-2.3.4/src/charls_jpegls_encoder.cpp:314:91: error: cannot convert '<brace-enclosed initializer list>' to 'charls::encoding_options' in initialization charls::encoding_options encoding_options_{encoding_options::include_pc_parameters_jai}; ^ /scratch/work/graphics/charls/work/charls-2.3.4/src/charls_jpegls_encoder.cpp: In member function 'void charls_jpegls_encoder::encoding_options(charls::encoding_options)': /scratch/work/graphics/charls/work/charls-2.3.4/src/charls_jpegls_encoder.cpp:68:58: error: 'encoding_options' is not a class, namespace, or enumeration constexpr charls::encoding_options all_options = encoding_options::even_destination_size | ^ /scratch/work/graphics/charls/work/charls-2.3.4/src/charls_jpegls_encoder.cpp:69:58: error: 'encoding_options' is not a class, namespace, or enumeration encoding_options::include_version_number | ^ /scratch/work/graphics/charls/work/charls-2.3.4/src/charls_jpegls_encoder.cpp:70:58: error: 'encoding_options' is not a class, namespace, or enumeration encoding_options::include_pc_parameters_jai; ^ /scratch/work/graphics/charls/work/charls-2.3.4/src/charls_jpegls_encoder.cpp:71:44: error: 'encoding_options' is not a class, namespace, or enumeration check_argument(encoding_options >= encoding_options::none && encoding_options <= all_options, ^ /scratch/work/graphics/charls/work/charls-2.3.4/src/charls_jpegls_encoder.cpp: In member function 'void charls_jpegls_encoder::encode(charls::byte_span, size_t)': /scratch/work/graphics/charls/work/charls-2.3.4/src/charls_jpegls_encoder.cpp:178:25: error: 'encoding_options' is not a class, namespace, or enumeration (has_option(encoding_options::include_pc_parameters_jai) && frame_info_.bits_per_sample > 12)) ^ /scratch/work/graphics/charls/work/charls-2.3.4/src/charls_jpegls_encoder.cpp:203:47: error: 'encoding_options' is not a class, namespace, or enumeration writer_.write_end_of_image(has_option(encoding_options::even_destination_size)); ^ In file included from /scratch/work/graphics/charls/work/charls-2.3.4/src/process_line.h:7:0, from /scratch/work/graphics/charls/work/charls-2.3.4/src/decoder_strategy.h:8, from /scratch/work/graphics/charls/work/charls-2.3.4/src/encoder_strategy.h:6, from /scratch/work/graphics/charls/work/charls-2.3.4/src/charls_jpegls_encoder.cpp:6: /scratch/work/graphics/charls/work/charls-2.3.4/src/charls_jpegls_encoder.cpp: In member function 'void charls_jpegls_encoder::check_interleave_mode_against_component_count() const': /scratch/work/graphics/charls/work/charls-2.3.4/src/charls_jpegls_encoder.cpp:277:78: error: 'interleave_mode' is not a class, namespace, or enumeration if (UNLIKELY(frame_info_.component_count == 1 && interleave_mode_ != interleave_mode::none)) ^ /scratch/work/graphics/charls/work/charls-2.3.4/src/util.h:79:41: note: in definition of macro 'UNLIKELY' #define UNLIKELY(x) __builtin_expect(!!(x), 0) ^ /scratch/work/graphics/charls/work/charls-2.3.4/src/charls_jpegls_encoder.cpp: In member function 'void charls_jpegls_encoder::transition_to_tables_and_miscellaneous_state()': /scratch/work/graphics/charls/work/charls-2.3.4/src/charls_jpegls_encoder.cpp:295:24: error: 'encoding_options' is not a class, namespace, or enumeration if (has_option(encoding_options::include_version_number)) ^ --- CMakeFiles/charls.dir/src/charls_jpegls_encoder.cpp.o --- *** [CMakeFiles/charls.dir/src/charls_jpegls_encoder.cpp.o] Error code 1 make[2]: stopped in /scratch/work/graphics/charls/work/charls-2.3.4 2 errors make[2]: stopped in /scratch/work/graphics/charls/work/charls-2.3.4 --- CMakeFiles/charls.dir/all --- *** [CMakeFiles/charls.dir/all] Error code 2 make[1]: stopped in /scratch/work/graphics/charls/work/charls-2.3.4 1 error make[1]: stopped in /scratch/work/graphics/charls/work/charls-2.3.4 *** [all] Error code 2 make: stopped in /scratch/work/graphics/charls/work/charls-2.3.4 1 error make: stopped in /scratch/work/graphics/charls/work/charls-2.3.4 *** Error code 2 Stop. make[1]: stopped in /tree/pkgsrc/graphics/charls *** Error code 1 Stop. make: stopped in /tree/pkgsrc/graphics/charls