]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/log
thirdparty/openembedded/openembedded-core-contrib.git
13 months agoinsane.bbclass: use contains in do_package_qa jansa/master-qa
Martin Jansa [Wed, 19 Jun 2024 13:59:45 +0000 (15:59 +0200)] 
insane.bbclass: use contains in do_package_qa

I was wondering why WARN_QA isn't causing this issue only ERROR_QA is.

It's easy to see with ALL_QA which is defined by both WARN_QA and ERROR_QA:
Variable ALL_QA value is ${WARN_QA} ${ERROR_QA}

but the variable depends only on ERROR_QA:
List of dependencies for variable ALL_QA is ['ERROR_QA']

that's because bitbake.conf adds WARN_QA in BB_HASHEXCLUDE_COMMON but
not ERROR_QA.

And then ALL_QA pulls dependency on whole ERROR_QA because of this:
    if 'libdir' in d.getVar("ALL_QA").split():

Unfortunately this still isn't enough, with this applied I still see
in bitbake-diffsigs output:
List of dependencies for variable ERROR_QA is []
List of dependencies for variable oe.qa.handle_error is ['ERROR_QA', 'oe.qa.write_error']
Variable ERROR_QA value is dev-so debug-deps
Variable oe.qa.handle_error value is

Need to debug the parser a bit to find why it still tracks whole ERROR_QA.

[YOCTO #15515]

Signed-off-by: Martin Jansa <martin.jansa@gmail.com>
13 months agoqa.py: handle_error: use bb.utils.contains to avoid depending on whole ERROR_QA/WARN_...
Martin Jansa [Thu, 13 Jun 2024 14:18:52 +0000 (16:18 +0200)] 
qa.py: handle_error: use bb.utils.contains to avoid depending on whole ERROR_QA/WARN_QA variable

Comparing fmt-native.do_recipe_qa in 2 DISTROs with different ERROR_QA

Variable ERROR_QA value changed:
@@ -1,4 +1,3 @@
-dev-so debug-deps dev-deps debug-files arch pkgconfig la             perms dep-cmp pkgvarcheck perm-config perm-line perm-link             split-strip packages-list pkgv-undefined var-undefined             version-going-backwards expanded-d invalid-chars             license-checksum dev-elf file-rdeps configure-unsafe             configure-gettext perllocalpod shebang-size             already-stripped installed-vs-shipped ldflags compile-host-path             install-host-path pn-overrides unknown-configure-option             useless-rpaths rpaths staticdev empty-dirs             patch-fuzz patch-status              webos-enh-sub-warning webos-enh-sub-error acg-dirty acg-json ${WEBOS_ERROR_QA_AUTOREV} acg-api acg-perm ls2-role ls2-schema ${DEFAULT_WARN_QA} patch-status${@bb.utils.contains('DISTRO_FEATURES', 'webos-dac', 'perm-file', '', d)} incomp-lic-no-whitelist-error${@bb.utils.contains('DISTRO_FEATURES', 'usrmerge', ' usrmerge', '', d)}
+dev-so debug-deps dev-deps debug-files arch pkgconfig la             perms dep-cmp pkgvarcheck perm-config perm-line perm-link             split-strip packages-list pkgv-undefined var-undefined             version-going-backwards expanded-d invalid-chars             license-checksum dev-elf file-rdeps configure-unsafe             configure-gettext perllocalpod shebang-size             already-stripped installed-vs-shipped ldflags compile-host-path             install-host-path pn-overrides unknown-configure-option             useless-rpaths rpaths staticdev empty-dirs             patch-fuzz patch-status              webos-enh-sub-warning webos-enh-sub-error acg-dirty acg-json ${WEBOS_ERROR_QA_AUTOREV} acg-api acg-perm ls2-role ls2-schema ${DEFAULT_WARN_QA} patch-status${@bb.utils.contains('DISTRO_FEATURES', 'usrmerge', ' usrmerge', '', d)}
 DISTRO_FEATURES{usrmerge} = Unset
-DISTRO_FEATURES{webos-dac} = Unset
 _remove of  version-going-backwards

Shows that whole ERROR_QA/WARN_QA value is included in do_recipe_qa
signature, that's because:
  if error_class in (d.getVar("ERROR_QA") or "").split():
will just include whole ERROR_QA variable as dependency while
  bb.utils.contains()
is optimized to only depend on the item being included in the variable
or not, see:
https://git.openembedded.org/bitbake/commit/?id=ed2d0a22a80299de0cfd377999950cf4b26c512e
https://git.openembedded.org/bitbake/commit/?id=0b9d117631ce909312d53b93289e61defc6be01c
https://git.openembedded.org/bitbake/commit/?id=5156b4bb6876dac636be9726df22c8ee792714dd

[YOCTO #15515]

Signed-off-by: Martin Jansa <martin.jansa@gmail.com>
13 months agopopulate_sdk_base: add 7zip archive type for SDK
Benjamin Szőke [Sat, 15 Jun 2024 19:21:12 +0000 (21:21 +0200)] 
populate_sdk_base: add 7zip archive type for SDK

Added 7zip support and options and extension/type parameter
for it to able to make any custom archive type for SDK archive.

Signed-off-by: Benjamin Szőke <egyszeregy@freemail.hu>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 months agoarchiver.bbclass: Fix work-shared checking for kernel recipes
Benjamin Szőke [Fri, 14 Jun 2024 07:37:29 +0000 (09:37 +0200)] 
archiver.bbclass: Fix work-shared checking for kernel recipes

Source dir can be a symbolic link in some BSP's linux kernel recipe
which points to work-shared path (like linux-fslc in meta-freescale).
Change to use os.path.realpath() in order to get real path of
source dir.

Signed-off-by: Benjamin Szőke <egyszeregy@freemail.hu>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 months agopython3-mako: added ptest
Jan Vermaete [Sun, 16 Jun 2024 19:39:32 +0000 (21:39 +0200)] 
python3-mako: added ptest

root@qemux86-64:~# ptest-runner python3-mako
START: ptest-runner
2024-06-16T19:21
BEGIN: /usr/lib/python3-mako/ptest
SKIP: test/ext/test_babelplugin.py:PluginExtractTest.test_parse_python_expression # SKIP babel not installed: skipping babelplugin test
SKIP: test/ext/test_babelplugin.py:PluginExtractTest.test_python_gettext_call # SKIP babel not installed: skipping babelplugin test
SKIP: test/ext/test_babelplugin.py:PluginExtractTest.test_translator_comment # SKIP babel not installed: skipping babelplugin test
SKIP: test/ext/test_babelplugin.py:MakoExtractTest.test_extract # SKIP babel not installed: skipping babelplugin test
SKIP: test/ext/test_babelplugin.py:MakoExtractTest.test_extract_utf8 # SKIP babel not installed: skipping babelplugin test
SKIP: test/ext/test_babelplugin.py:MakoExtractTest.test_extract_cp1251 # SKIP babel not installed: skipping babelplugin test
SKIP: test/ext/test_linguaplugin.py:MakoExtractTest.test_extract # SKIP lingua not installed: skipping linguaplugin test
PASS: test/test_ast.py:AstParseTest.test_locate_identifiers
PASS: test/test_ast.py:AstParseTest.test_locate_identifiers_2
PASS: test/test_ast.py:AstParseTest.test_locate_identifiers_3
PASS: test/test_ast.py:AstParseTest.test_locate_identifiers_4
PASS: test/test_ast.py:AstParseTest.test_locate_identifiers_5
PASS: test/test_ast.py:AstParseTest.test_locate_identifiers_6
PASS: test/test_ast.py:AstParseTest.test_locate_identifiers_7
PASS: test/test_ast.py:AstParseTest.test_locate_identifiers_8
PASS: test/test_ast.py:AstParseTest.test_locate_identifiers_9
PASS: test/test_ast.py:AstParseTest.test_locate_identifiers_10
PASS: test/test_ast.py:AstParseTest.test_locate_identifiers_11
PASS: test/test_ast.py:AstParseTest.test_locate_identifiers_12
PASS: test/test_ast.py:AstParseTest.test_locate_identifiers_13
PASS: test/test_ast.py:AstParseTest.test_locate_identifiers_14
PASS: test/test_ast.py:AstParseTest.test_locate_identifiers_16
PASS: test/test_ast.py:AstParseTest.test_locate_identifiers_17
PASS: test/test_ast.py:AstParseTest.test_locate_identifiers_18
PASS: test/test_ast.py:AstParseTest.test_locate_identifiers_19
PASS: test/test_ast.py:AstParseTest.test_locate_identifiers_20
PASS: test/test_ast.py:AstParseTest.test_locate_identifiers_21
PASS: test/test_ast.py:AstParseTest.test_no_global_imports
PASS: test/test_ast.py:AstParseTest.test_python_fragment
PASS: test/test_ast.py:AstParseTest.test_argument_list
PASS: test/test_ast.py:AstParseTest.test_function_decl
PASS: test/test_ast.py:AstParseTest.test_function_decl_2
PASS: test/test_ast.py:AstParseTest.test_function_decl_3
PASS: test/test_ast.py:AstParseTest.test_expr_generate
PASS: test/test_block.py:BlockTest.test_anonymous_block_namespace_raises
PASS: test/test_block.py:BlockTest.test_anonymous_block_in_call
PASS: test/test_block.py:BlockTest.test_named_block_in_call
PASS: test/test_block.py:BlockTest.test_name_collision_blocks_toplevel
PASS: test/test_block.py:BlockTest.test_name_collision_blocks_nested_block
PASS: test/test_block.py:BlockTest.test_name_collision_blocks_nested_def
PASS: test/test_block.py:BlockTest.test_name_collision_block_def_toplevel
PASS: test/test_block.py:BlockTest.test_name_collision_def_block_toplevel
PASS: test/test_block.py:BlockTest.test_named_block_renders
PASS: test/test_block.py:BlockTest.test_inherited_block_no_render
PASS: test/test_block.py:BlockTest.test_no_named_in_def
PASS: test/test_block.py:BlockTest.test_inherited_block_nested_both
PASS: test/test_block.py:BlockTest.test_inherited_block_nested_inner_only
PASS: test/test_block.py:BlockTest.test_noninherited_block_no_render
PASS: test/test_block.py:BlockTest.test_no_conflict_nested_one
PASS: test/test_block.py:BlockTest.test_nested_dupe_names_raise
PASS: test/test_block.py:BlockTest.test_two_levels_one
PASS: test/test_block.py:BlockTest.test_filter
PASS: test/test_block.py:BlockTest.test_anon_in_named
PASS: test/test_block.py:BlockTest.test_named_in_anon
PASS: test/test_block.py:BlockTest.test_anon_in_anon
PASS: test/test_block.py:BlockTest.test_named_in_named
PASS: test/test_block.py:BlockTest.test_iteration
PASS: test/test_block.py:BlockTest.test_conditional
PASS: test/test_block.py:BlockTest.test_block_overridden_by_def
PASS: test/test_block.py:BlockTest.test_def_overridden_by_block
PASS: test/test_block.py:BlockTest.test_block_args
PASS: test/test_block.py:BlockTest.test_block_variables_contextual
PASS: test/test_block.py:BlockTest.test_block_args_contextual
PASS: test/test_block.py:BlockTest.test_block_pageargs_contextual
PASS: test/test_block.py:BlockTest.test_block_pageargs
PASS: test/test_cache.py:CacheTest.test_def
PASS: test/test_cache.py:CacheTest.test_cache_enable
PASS: test/test_cache.py:CacheTest.test_nested_def
PASS: test/test_cache.py:CacheTest.test_page
PASS: test/test_cache.py:CacheTest.test_dynamic_key_with_context
PASS: test/test_cache.py:CacheTest.test_dynamic_key_with_funcargs
PASS: test/test_cache.py:CacheTest.test_dynamic_key_with_imports
PASS: test/test_cache.py:CacheTest.test_fileargs_implicit
PASS: test/test_cache.py:CacheTest.test_fileargs_deftag
PASS: test/test_cache.py:CacheTest.test_fileargs_pagetag
PASS: test/test_cache.py:CacheTest.test_args_complete
PASS: test/test_cache.py:CacheTest.test_fileargs_lookup
PASS: test/test_cache.py:CacheTest.test_buffered
PASS: test/test_cache.py:CacheTest.test_load_from_expired
PASS: test/test_cache.py:CacheTest.test_namespace_access
PASS: test/test_cache.py:CacheTest.test_lookup
PASS: test/test_cache.py:CacheTest.test_invalidate
PASS: test/test_cache.py:CacheTest.test_custom_args_def
PASS: test/test_cache.py:CacheTest.test_custom_args_block
PASS: test/test_cache.py:CacheTest.test_custom_args_page
PASS: test/test_cache.py:CacheTest.test_pass_context
SKIP: test/test_cache.py:BeakerCacheTest.test_def # SKIP Beaker is required for these tests.
SKIP: test/test_cache.py:BeakerCacheTest.test_cache_enable # SKIP Beaker is required for these tests.
SKIP: test/test_cache.py:BeakerCacheTest.test_nested_def # SKIP Beaker is required for these tests.
SKIP: test/test_cache.py:BeakerCacheTest.test_page # SKIP Beaker is required for these tests.
SKIP: test/test_cache.py:BeakerCacheTest.test_dynamic_key_with_context # SKIP Beaker is required for these tests.
SKIP: test/test_cache.py:BeakerCacheTest.test_dynamic_key_with_funcargs # SKIP Beaker is required for these tests.
SKIP: test/test_cache.py:BeakerCacheTest.test_dynamic_key_with_imports # SKIP Beaker is required for these tests.
SKIP: test/test_cache.py:BeakerCacheTest.test_fileargs_implicit # SKIP Beaker is required for these tests.
SKIP: test/test_cache.py:BeakerCacheTest.test_fileargs_deftag # SKIP Beaker is required for these tests.
SKIP: test/test_cache.py:BeakerCacheTest.test_fileargs_pagetag # SKIP Beaker is required for these tests.
SKIP: test/test_cache.py:BeakerCacheTest.test_args_complete # SKIP Beaker is required for these tests.
SKIP: test/test_cache.py:BeakerCacheTest.test_fileargs_lookup # SKIP Beaker is required for these tests.
SKIP: test/test_cache.py:BeakerCacheTest.test_buffered # SKIP Beaker is required for these tests.
SKIP: test/test_cache.py:BeakerCacheTest.test_load_from_expired # SKIP Beaker is required for these tests.
SKIP: test/test_cache.py:BeakerCacheTest.test_namespace_access # SKIP Beaker is required for these tests.
SKIP: test/test_cache.py:BeakerCacheTest.test_lookup # SKIP Beaker is required for these tests.
SKIP: test/test_cache.py:BeakerCacheTest.test_invalidate # SKIP Beaker is required for these tests.
SKIP: test/test_cache.py:BeakerCacheTest.test_custom_args_def # SKIP Beaker is required for these tests.
SKIP: test/test_cache.py:BeakerCacheTest.test_custom_args_block # SKIP Beaker is required for these tests.
SKIP: test/test_cache.py:BeakerCacheTest.test_custom_args_page # SKIP Beaker is required for these tests.
SKIP: test/test_cache.py:BeakerCacheTest.test_pass_context # SKIP Beaker is required for these tests.
SKIP: test/test_cache.py:BeakerCacheTest.test_cache_uses_current_context # SKIP Beaker is required for these tests.
SKIP: test/test_cache.py:BeakerCacheTest.test_region # SKIP Beaker is required for these tests.
SKIP: test/test_cache.py:DogpileCacheTest.test_def # SKIP dogpile.cache is required to run these tests
SKIP: test/test_cache.py:DogpileCacheTest.test_cache_enable # SKIP dogpile.cache is required to run these tests
SKIP: test/test_cache.py:DogpileCacheTest.test_nested_def # SKIP dogpile.cache is required to run these tests
SKIP: test/test_cache.py:DogpileCacheTest.test_page # SKIP dogpile.cache is required to run these tests
SKIP: test/test_cache.py:DogpileCacheTest.test_dynamic_key_with_context # SKIP dogpile.cache is required to run these tests
SKIP: test/test_cache.py:DogpileCacheTest.test_dynamic_key_with_funcargs # SKIP dogpile.cache is required to run these tests
SKIP: test/test_cache.py:DogpileCacheTest.test_dynamic_key_with_imports # SKIP dogpile.cache is required to run these tests
SKIP: test/test_cache.py:DogpileCacheTest.test_fileargs_implicit # SKIP dogpile.cache is required to run these tests
SKIP: test/test_cache.py:DogpileCacheTest.test_fileargs_deftag # SKIP dogpile.cache is required to run these tests
SKIP: test/test_cache.py:DogpileCacheTest.test_fileargs_pagetag # SKIP dogpile.cache is required to run these tests
SKIP: test/test_cache.py:DogpileCacheTest.test_args_complete # SKIP dogpile.cache is required to run these tests
SKIP: test/test_cache.py:DogpileCacheTest.test_fileargs_lookup # SKIP dogpile.cache is required to run these tests
SKIP: test/test_cache.py:DogpileCacheTest.test_buffered # SKIP dogpile.cache is required to run these tests
SKIP: test/test_cache.py:DogpileCacheTest.test_load_from_expired # SKIP dogpile.cache is required to run these tests
SKIP: test/test_cache.py:DogpileCacheTest.test_namespace_access # SKIP dogpile.cache is required to run these tests
SKIP: test/test_cache.py:DogpileCacheTest.test_lookup # SKIP dogpile.cache is required to run these tests
SKIP: test/test_cache.py:DogpileCacheTest.test_invalidate # SKIP dogpile.cache is required to run these tests
SKIP: test/test_cache.py:DogpileCacheTest.test_custom_args_def # SKIP dogpile.cache is required to run these tests
SKIP: test/test_cache.py:DogpileCacheTest.test_custom_args_block # SKIP dogpile.cache is required to run these tests
SKIP: test/test_cache.py:DogpileCacheTest.test_custom_args_page # SKIP dogpile.cache is required to run these tests
SKIP: test/test_cache.py:DogpileCacheTest.test_pass_context # SKIP dogpile.cache is required to run these tests
SKIP: test/test_cache.py:DogpileCacheTest.test_cache_uses_current_context # SKIP dogpile.cache is required to run these tests
SKIP: test/test_cache.py:DogpileCacheTest.test_region # SKIP dogpile.cache is required to run these tests
PASS: test/test_call.py:CallTest.test_call
PASS: test/test_call.py:CallTest.test_compound_call
PASS: test/test_call.py:CallTest.test_new_syntax
PASS: test/test_call.py:CallTest.test_ccall_caller
PASS: test/test_call.py:CallTest.test_stack_pop
PASS: test/test_call.py:CallTest.test_conditional_call
PASS: test/test_call.py:CallTest.test_chained_call
PASS: test/test_call.py:CallTest.test_nested_call
PASS: test/test_call.py:CallTest.test_nested_call_2
PASS: test/test_call.py:CallTest.test_nested_call_3
PASS: test/test_call.py:CallTest.test_nested_call_4
PASS: test/test_call.py:CallTest.test_chained_call_in_nested
PASS: test/test_call.py:CallTest.test_call_in_nested
PASS: test/test_call.py:CallTest.test_composed_def
PASS: test/test_call.py:CallTest.test_regular_defs
PASS: test/test_call.py:CallTest.test_call_in_nested_2
PASS: test/test_call.py:SelfCacheTest.test_basic
PASS: test/test_cmd.py:CmdTest.test_stdin_success
PASS: test/test_cmd.py:CmdTest.test_stdin_syntax_err
PASS: test/test_cmd.py:CmdTest.test_stdin_rt_err
PASS: test/test_cmd.py:CmdTest.test_file_success
PASS: test/test_cmd.py:CmdTest.test_file_syntax_err
PASS: test/test_cmd.py:CmdTest.test_file_rt_err
PASS: test/test_cmd.py:CmdTest.test_file_notfound
PASS: test/test_decorators.py:DecoratorTest.test_toplevel
PASS: test/test_decorators.py:DecoratorTest.test_toplevel_contextual
PASS: test/test_decorators.py:DecoratorTest.test_nested
PASS: test/test_decorators.py:DecoratorTest.test_toplevel_decorated_name
PASS: test/test_decorators.py:DecoratorTest.test_nested_decorated_name
PASS: test/test_def.py:DefTest.test_def_noargs
PASS: test/test_def.py:DefTest.test_def_blankargs
PASS: test/test_def.py:DefTest.test_def_args
PASS: test/test_def.py:DefTest.test_def_py3k_args
PASS: test/test_def.py:DefTest.test_inter_def
PASS: test/test_def.py:DefTest.test_toplevel
PASS: test/test_def.py:DefTest.test_def_operations
PASS: test/test_def.py:ScopeTest.test_scope_one
PASS: test/test_def.py:ScopeTest.test_scope_two
PASS: test/test_def.py:ScopeTest.test_scope_four
PASS: test/test_def.py:ScopeTest.test_scope_five
PASS: test/test_def.py:ScopeTest.test_scope_six
PASS: test/test_def.py:ScopeTest.test_scope_seven
PASS: test/test_def.py:ScopeTest.test_scope_eight
PASS: test/test_def.py:ScopeTest.test_scope_nine
PASS: test/test_def.py:ScopeTest.test_scope_ten
PASS: test/test_def.py:ScopeTest.test_scope_eleven
PASS: test/test_def.py:ScopeTest.test_unbound_scope
PASS: test/test_def.py:ScopeTest.test_unbound_scope_two
PASS: test/test_def.py:ScopeTest.test_canget_kwargs
PASS: test/test_def.py:ScopeTest.test_inline_expression_from_arg_one
PASS: test/test_def.py:ScopeTest.test_interpret_expression_from_arg_two
PASS: test/test_def.py:NestedDefTest.test_nested_def
PASS: test/test_def.py:NestedDefTest.test_nested_2
PASS: test/test_def.py:NestedDefTest.test_nested_with_args
PASS: test/test_def.py:NestedDefTest.test_nested_def_2
PASS: test/test_def.py:NestedDefTest.test_nested_nested_def
PASS: test/test_def.py:NestedDefTest.test_nested_nested_def_2
PASS: test/test_def.py:NestedDefTest.test_outer_scope
PASS: test/test_def.py:ExceptionTest.test_raise
PASS: test/test_def.py:ExceptionTest.test_handler
PASS: test/test_exceptions.py:ExceptionsTest.test_html_error_template
PASS: test/test_exceptions.py:ExceptionsTest.test_text_error_template
PASS: test/test_exceptions.py:ExceptionsTest.test_utf8_html_error_template_pygments
PASS: test/test_exceptions.py:ExceptionsTest.test_utf8_html_error_template_no_pygments
PASS: test/test_exceptions.py:ExceptionsTest.test_format_closures
PASS: test/test_exceptions.py:ExceptionsTest.test_py_utf8_html_error_template
PASS: test/test_exceptions.py:ExceptionsTest.test_py_unicode_error_html_error_template
PASS: test/test_exceptions.py:ExceptionsTest.test_format_exceptions_pygments
PASS: test/test_exceptions.py:ExceptionsTest.test_format_exceptions_no_pygments
PASS: test/test_exceptions.py:ExceptionsTest.test_utf8_format_exceptions_pygments
PASS: test/test_exceptions.py:ExceptionsTest.test_utf8_format_exceptions_no_pygments
PASS: test/test_exceptions.py:ExceptionsTest.test_mod_no_encoding
PASS: test/test_exceptions.py:ExceptionsTest.test_custom_tback
PASS: test/test_exceptions.py:ExceptionsTest.test_tback_no_trace_from_py_file
PASS: test/test_exceptions.py:ExceptionsTest.test_tback_trace_from_py_file
PASS: test/test_exceptions.py:ExceptionsTest.test_code_block_line_number
PASS: test/test_exceptions.py:ExceptionsTest.test_module_block_line_number
PASS: test/test_exceptions.py:ExceptionsTest.test_alternating_file_names
PASS: test/test_filters.py:FilterTest.test_basic
PASS: test/test_filters.py:FilterTest.test_expr
PASS: test/test_filters.py:FilterTest.test_convert_str
PASS: test/test_filters.py:FilterTest.test_quoting
PASS: test/test_filters.py:FilterTest.test_url_escaping
PASS: test/test_filters.py:FilterTest.test_entity
PASS: test/test_filters.py:FilterTest.test_def
PASS: test/test_filters.py:FilterTest.test_import
PASS: test/test_filters.py:FilterTest.test_import_2
PASS: test/test_filters.py:FilterTest.test_encode_filter
PASS: test/test_filters.py:FilterTest.test_encode_filter_non_str
PASS: test/test_filters.py:FilterTest.test_custom_default
PASS: test/test_filters.py:FilterTest.test_global
PASS: test/test_filters.py:FilterTest.test_block_via_context
PASS: test/test_filters.py:FilterTest.test_def_via_context
PASS: test/test_filters.py:FilterTest.test_text_via_context
PASS: test/test_filters.py:FilterTest.test_nflag
PASS: test/test_filters.py:FilterTest.test_global_json
PASS: test/test_filters.py:FilterTest.test_non_expression
PASS: test/test_filters.py:FilterTest.test_builtins
PASS: test/test_filters.py:BufferTest.test_buffered_def
PASS: test/test_filters.py:BufferTest.test_unbuffered_def
PASS: test/test_filters.py:BufferTest.test_capture
PASS: test/test_filters.py:BufferTest.test_capture_exception
PASS: test/test_filters.py:BufferTest.test_buffered_exception
PASS: test/test_filters.py:BufferTest.test_capture_ccall
PASS: test/test_inheritance.py:InheritanceTest.test_basic
PASS: test/test_inheritance.py:InheritanceTest.test_multilevel_nesting
PASS: test/test_inheritance.py:InheritanceTest.test_includes
PASS: test/test_inheritance.py:InheritanceTest.test_namespaces
PASS: test/test_inheritance.py:InheritanceTest.test_pageargs
PASS: test/test_inheritance.py:InheritanceTest.test_pageargs_2
PASS: test/test_inheritance.py:InheritanceTest.test_pageargs_err
PASS: test/test_inheritance.py:InheritanceTest.test_toplevel
PASS: test/test_inheritance.py:InheritanceTest.test_dynamic
PASS: test/test_inheritance.py:InheritanceTest.test_in_call
PASS: test/test_lexer.py:LexerTest.test_text_and_tag
PASS: test/test_lexer.py:LexerTest.test_unclosed_tag
PASS: test/test_lexer.py:LexerTest.test_onlyclosed_tag
PASS: test/test_lexer.py:LexerTest.test_noexpr_allowed
PASS: test/test_lexer.py:LexerTest.test_closing_tag_many_spaces
PASS: test/test_lexer.py:LexerTest.test_opening_tag_many_quotes
PASS: test/test_lexer.py:LexerTest.test_unmatched_tag
PASS: test/test_lexer.py:LexerTest.test_nonexistent_tag
PASS: test/test_lexer.py:LexerTest.test_wrongcase_tag
PASS: test/test_lexer.py:LexerTest.test_percent_escape
PASS: test/test_lexer.py:LexerTest.test_percent_escape2
PASS: test/test_lexer.py:LexerTest.test_percent_escape_with_control_block
PASS: test/test_lexer.py:LexerTest.test_inline_percent
PASS: test/test_lexer.py:LexerTest.test_old_multiline_comment
PASS: test/test_lexer.py:LexerTest.test_text_tag
PASS: test/test_lexer.py:LexerTest.test_def_syntax
PASS: test/test_lexer.py:LexerTest.test_def_syntax_2
PASS: test/test_lexer.py:LexerTest.test_whitespace_equals
PASS: test/test_lexer.py:LexerTest.test_ns_tag_closed
PASS: test/test_lexer.py:LexerTest.test_ns_tag_empty
PASS: test/test_lexer.py:LexerTest.test_ns_tag_open
PASS: test/test_lexer.py:LexerTest.test_expr_in_attribute
PASS: test/test_lexer.py:LexerTest.test_pagetag[,-48]
PASS: test/test_lexer.py:LexerTest.test_pagetag[-47]
PASS: test/test_lexer.py:LexerTest.test_nesting
PASS: test/test_lexer.py:LexerTest.test_code
PASS: test/test_lexer.py:LexerTest.test_code_and_tags
PASS: test/test_lexer.py:LexerTest.test_expression
PASS: test/test_lexer.py:LexerTest.test_tricky_expression
PASS: test/test_lexer.py:LexerTest.test_dict_expression_issue_400_regression
PASS: test/test_lexer.py:LexerTest.test_tricky_code
PASS: test/test_lexer.py:LexerTest.test_tricky_code_2
PASS: test/test_lexer.py:LexerTest.test_tricky_code_3
PASS: test/test_lexer.py:LexerTest.test_tricky_code_4
PASS: test/test_lexer.py:LexerTest.test_tricky_code_5
PASS: test/test_lexer.py:LexerTest.test_tricky_code_6
PASS: test/test_lexer.py:LexerTest.test_control_lines
PASS: test/test_lexer.py:LexerTest.test_control_lines_2
PASS: test/test_lexer.py:LexerTest.test_long_control_lines
PASS: test/test_lexer.py:LexerTest.test_unmatched_control
PASS: test/test_lexer.py:LexerTest.test_unmatched_control_2
PASS: test/test_lexer.py:LexerTest.test_unmatched_control_3
PASS: test/test_lexer.py:LexerTest.test_ternary_control
PASS: test/test_lexer.py:LexerTest.test_integration
PASS: test/test_lexer.py:LexerTest.test_comment_after_statement
PASS: test/test_lexer.py:LexerTest.test_crlf
PASS: test/test_lexer.py:LexerTest.test_comments
PASS: test/test_lexer.py:LexerTest.test_docs
PASS: test/test_lexer.py:LexerTest.test_preprocess
PASS: test/test_lookup.py:LookupTest.test_basic
PASS: test/test_lookup.py:LookupTest.test_subdir
PASS: test/test_lookup.py:LookupTest.test_updir
PASS: test/test_lookup.py:LookupTest.test_directory_lookup
PASS: test/test_lookup.py:LookupTest.test_no_lookup
PASS: test/test_lookup.py:LookupTest.test_uri_adjust
PASS: test/test_lookup.py:LookupTest.test_uri_cache
PASS: test/test_lookup.py:LookupTest.test_check_not_found
PASS: test/test_lookup.py:LookupTest.test_dont_accept_relative_outside_of_root
PASS: test/test_lookup.py:LookupTest.test_checking_against_bad_filetype
PASS: test/test_loop.py:TestLoop.test__FOR_LOOP
PASS: test/test_loop.py:TestLoop.test_loop_demo
PASS: test/test_loop.py:TestLoop.test_nested_loops
PASS: test/test_loop.py:TestLoop.test_no_loop
PASS: test/test_loop.py:TestLoop.test_out_of_context_access
PASS: test/test_loop.py:TestLoop.test_parent_loops
PASS: test/test_loop.py:TestLoopStack.test__pop
PASS: test/test_loop.py:TestLoopStack.test__push
PASS: test/test_loop.py:TestLoopStack.test__top
PASS: test/test_loop.py:TestLoopStack.test_enter
PASS: test/test_loop.py:TestLoopStack.test_exit
PASS: test/test_loop.py:TestLoopContext.test___len__
PASS: test/test_loop.py:TestLoopContext.test_cycle
PASS: test/test_loop.py:TestLoopContext.test_even
PASS: test/test_loop.py:TestLoopContext.test_first
PASS: test/test_loop.py:TestLoopContext.test_index
PASS: test/test_loop.py:TestLoopContext.test_last
PASS: test/test_loop.py:TestLoopContext.test_odd
PASS: test/test_loop.py:TestLoopContext.test_reverse_index
PASS: test/test_loop.py:TestLoopFlags.test_loop_disabled_template
PASS: test/test_loop.py:TestLoopFlags.test_loop_disabled_lookup
PASS: test/test_loop.py:TestLoopFlags.test_loop_disabled_override_template
PASS: test/test_loop.py:TestLoopFlags.test_loop_disabled_override_lookup
PASS: test/test_loop.py:TestLoopFlags.test_loop_enabled_override_template
PASS: test/test_loop.py:TestLoopFlags.test_loop_enabled_override_lookup
PASS: test/test_lru.py:LRUTest.testlru
PASS: test/test_namespace.py:NamespaceTest.test_inline_crossreference
PASS: test/test_namespace.py:NamespaceTest.test_inline_assignment
PASS: test/test_namespace.py:NamespaceTest.test_inline_arguments
PASS: test/test_namespace.py:NamespaceTest.test_inline_not_duped
PASS: test/test_namespace.py:NamespaceTest.test_dynamic
PASS: test/test_namespace.py:NamespaceTest.test_template
PASS: test/test_namespace.py:NamespaceTest.test_module
PASS: test/test_namespace.py:NamespaceTest.test_module_2
PASS: test/test_namespace.py:NamespaceTest.test_module_imports
PASS: test/test_namespace.py:NamespaceTest.test_module_imports_2
PASS: test/test_namespace.py:NamespaceTest.test_context
PASS: test/test_namespace.py:NamespaceTest.test_overload
PASS: test/test_namespace.py:NamespaceTest.test_getattr
PASS: test/test_namespace.py:NamespaceTest.test_in_def
PASS: test/test_namespace.py:NamespaceTest.test_in_remote_def
PASS: test/test_namespace.py:NamespaceTest.test_dont_pollute_self
PASS: test/test_namespace.py:NamespaceTest.test_inheritance
PASS: test/test_namespace.py:NamespaceTest.test_inheritance_two
PASS: test/test_namespace.py:NamespaceTest.test_attr
PASS: test/test_namespace.py:NamespaceTest.test_attr_raise
PASS: test/test_namespace.py:NamespaceTest.test_custom_tag_1
PASS: test/test_namespace.py:NamespaceTest.test_custom_tag_2
PASS: test/test_namespace.py:NamespaceTest.test_custom_tag_3
PASS: test/test_namespace.py:NamespaceTest.test_custom_tag_case_sensitive
PASS: test/test_namespace.py:NamespaceTest.test_expr_grouping
PASS: test/test_namespace.py:NamespaceTest.test_ccall
PASS: test/test_namespace.py:NamespaceTest.test_ccall_2
PASS: test/test_namespace.py:NamespaceTest.test_import
PASS: test/test_namespace.py:NamespaceTest.test_import_calledfromdef
PASS: test/test_namespace.py:NamespaceTest.test_closure_import
PASS: test/test_namespace.py:NamespaceTest.test_import_local
PASS: test/test_namespace.py:NamespaceTest.test_ccall_import
PASS: test/test_namespace.py:NamespaceTest.test_nonexistent_namespace_uri
PASS: test/test_pygen.py:GeneratePythonTest.test_generate_normal
PASS: test/test_pygen.py:GeneratePythonTest.test_generate_adjusted
PASS: test/test_pygen.py:GeneratePythonTest.test_generate_combo
PASS: test/test_pygen.py:GeneratePythonTest.test_multi_line
PASS: test/test_pygen.py:GeneratePythonTest.test_false_unindentor
PASS: test/test_pygen.py:GeneratePythonTest.test_backslash_line
PASS: test/test_pygen.py:WhitespaceTest.test_basic
PASS: test/test_pygen.py:WhitespaceTest.test_blank_lines
PASS: test/test_pygen.py:WhitespaceTest.test_open_quotes_with_pound
PASS: test/test_pygen.py:WhitespaceTest.test_quote_with_comments
PASS: test/test_pygen.py:WhitespaceTest.test_quotes_with_pound
PASS: test/test_pygen.py:WhitespaceTest.test_quotes
PASS: test/test_runtime.py:ContextTest.test_locals_kwargs
PASS: test/test_template.py:MiscTest.test_crlf_linebreaks
PASS: test/test_template.py:EncodingTest.test_escapes_html_tags
PASS: test/test_template.py:EncodingTest.test_unicode
PASS: test/test_template.py:EncodingTest.test_encoding_doesnt_conflict
PASS: test/test_template.py:EncodingTest.test_unicode_arg
PASS: test/test_template.py:EncodingTest.test_unicode_file
PASS: test/test_template.py:EncodingTest.test_unicode_file_code
PASS: test/test_template.py:EncodingTest.test_unicode_file_lookup
PASS: test/test_template.py:EncodingTest.test_unicode_bom
PASS: test/test_template.py:EncodingTest.test_unicode_memory
PASS: test/test_template.py:EncodingTest.test_unicode_text
PASS: test/test_template.py:EncodingTest.test_unicode_text_ccall
PASS: test/test_template.py:EncodingTest.test_unicode_literal_in_expr
PASS: test/test_template.py:EncodingTest.test_unicode_literal_in_expr_file
PASS: test/test_template.py:EncodingTest.test_unicode_literal_in_code
PASS: test/test_template.py:EncodingTest.test_unicode_literal_in_controlline
PASS: test/test_template.py:EncodingTest.test_unicode_literal_in_tag
PASS: test/test_template.py:EncodingTest.test_unicode_literal_in_def
PASS: test/test_template.py:EncodingTest.test_input_encoding
PASS: test/test_template.py:EncodingTest.test_encoding
PASS: test/test_template.py:EncodingTest.test_encoding_errors
PASS: test/test_template.py:EncodingTest.test_read_unicode
PASS: test/test_template.py:PageArgsTest.test_basic
PASS: test/test_template.py:PageArgsTest.test_inherits
PASS: test/test_template.py:PageArgsTest.test_includes
PASS: test/test_template.py:PageArgsTest.test_context_small
PASS: test/test_template.py:PageArgsTest.test_with_context
PASS: test/test_template.py:PageArgsTest.test_overrides_builtins
PASS: test/test_template.py:PageArgsTest.test_canuse_builtin_names
PASS: test/test_template.py:PageArgsTest.test_builtin_names_dont_clobber_defaults_in_includes
PASS: test/test_template.py:PageArgsTest.test_dict_locals
PASS: test/test_template.py:IncludeTest.test_basic
PASS: test/test_template.py:IncludeTest.test_localargs
PASS: test/test_template.py:IncludeTest.test_viakwargs
PASS: test/test_template.py:IncludeTest.test_include_withargs
PASS: test/test_template.py:IncludeTest.test_within_ccall
PASS: test/test_template.py:IncludeTest.test_include_error_handler
PASS: test/test_template.py:UndefinedVarsTest.test_undefined
PASS: test/test_template.py:UndefinedVarsTest.test_strict
PASS: test/test_template.py:UndefinedVarsTest.test_expression_declared
PASS: test/test_template.py:UndefinedVarsTest.test_list_comprehensions_plus_undeclared_nonstrict
PASS: test/test_template.py:UndefinedVarsTest.test_traditional_assignment_plus_undeclared
PASS: test/test_template.py:UndefinedVarsTest.test_list_comprehensions_plus_undeclared_strict
PASS: test/test_template.py:UndefinedVarsTest.test_dict_comprehensions_in_function_plus_undeclared_strict
PASS: test/test_template.py:StopRenderingTest.test_return_in_template
PASS: test/test_template.py:ReservedNameTest.test_names_on_context
PASS: test/test_template.py:ReservedNameTest.test_names_in_template
PASS: test/test_template.py:ReservedNameTest.test_exclude_loop_context
PASS: test/test_template.py:ReservedNameTest.test_exclude_loop_template
PASS: test/test_template.py:ControlTest.test_control
PASS: test/test_template.py:ControlTest.test_blank_control_1
PASS: test/test_template.py:ControlTest.test_blank_control_2
PASS: test/test_template.py:ControlTest.test_blank_control_3
PASS: test/test_template.py:ControlTest.test_blank_control_4
PASS: test/test_template.py:ControlTest.test_blank_control_5
PASS: test/test_template.py:ControlTest.test_blank_control_6
PASS: test/test_template.py:ControlTest.test_blank_control_7
PASS: test/test_template.py:ControlTest.test_blank_control_8
PASS: test/test_template.py:ControlTest.test_blank_control_9
PASS: test/test_template.py:ControlTest.test_blank_control_10
PASS: test/test_template.py:ControlTest.test_blank_control_11
PASS: test/test_template.py:ControlTest.test_commented_blank_control_1
PASS: test/test_template.py:ControlTest.test_commented_blank_control_2
PASS: test/test_template.py:ControlTest.test_commented_blank_control_3
PASS: test/test_template.py:ControlTest.test_commented_blank_control_4
PASS: test/test_template.py:ControlTest.test_commented_blank_control_5
PASS: test/test_template.py:ControlTest.test_commented_blank_control_6
PASS: test/test_template.py:ControlTest.test_commented_blank_control_7
PASS: test/test_template.py:ControlTest.test_commented_blank_control_8
PASS: test/test_template.py:ControlTest.test_commented_blank_control_9
PASS: test/test_template.py:ControlTest.test_commented_blank_control_10
PASS: test/test_template.py:ControlTest.test_multiline_control
PASS: test/test_template.py:GlobalsTest.test_globals
PASS: test/test_template.py:RichTracebackTest.test_utf8_memory_syntax
PASS: test/test_template.py:RichTracebackTest.test_utf8_memory_runtime
PASS: test/test_template.py:RichTracebackTest.test_utf8_file_syntax
PASS: test/test_template.py:RichTracebackTest.test_utf8_file_runtime
PASS: test/test_template.py:RichTracebackTest.test_unicode_memory_syntax
PASS: test/test_template.py:RichTracebackTest.test_unicode_memory_runtime
PASS: test/test_template.py:RichTracebackTest.test_unicode_file_syntax
PASS: test/test_template.py:RichTracebackTest.test_unicode_file_runtime
PASS: test/test_template.py:ModuleDirTest.test_basic
PASS: test/test_template.py:ModuleDirTest.test_callable
PASS: test/test_template.py:ModuleDirTest.test_custom_writer
PASS: test/test_template.py:FilenameToURITest.test_windows_paths
PASS: test/test_template.py:FilenameToURITest.test_posix_paths
PASS: test/test_template.py:FilenameToURITest.test_dont_accept_relative_outside_of_root
PASS: test/test_template.py:ModuleTemplateTest.test_module_roundtrip
PASS: test/test_template.py:TestTemplateAPI.test_metadata
PASS: test/test_template.py:TestTemplateAPI.test_metadata_two
PASS: test/test_template.py:PreprocessTest.test_old_comments
PASS: test/test_template.py:LexerTest.test_via_template
PASS: test/test_template.py:LexerTest.test_via_lookup
PASS: test/test_template.py:FuturesTest.test_future_import
PASS: test/test_template.py:EscapeTest.test_percent_escape
PASS: test/test_template.py:EscapeTest.test_percent_escape2
PASS: test/test_template.py:EscapeTest.test_inline_percent
PASS: test/test_template.py:EscapeTest.test_listcomp_in_func_strict
PASS: test/test_template.py:EscapeTest.test_setcomp_in_func_strict
PASS: test/test_template.py:EscapeTest.test_generator_in_func_strict
PASS: test/test_template.py:EscapeTest.test_dictcomp_in_func_strict
PASS: test/test_tgplugin.py:TestTGPlugin.test_basic
PASS: test/test_tgplugin.py:TestTGPlugin.test_subdir
PASS: test/test_tgplugin.py:TestTGPlugin.test_basic_dot
PASS: test/test_tgplugin.py:TestTGPlugin.test_subdir_dot
PASS: test/test_tgplugin.py:TestTGPlugin.test_string
PASS: test/test_tgplugin.py:TestTGPlugin.test_render
PASS: test/test_util.py:UtilTest.test_fast_buffer_write
PASS: test/test_util.py:UtilTest.test_fast_buffer_truncate
PASS: test/test_util.py:UtilTest.test_fast_buffer_encoded
PASS: test/test_util.py:UtilTest.test_read_file
PASS: test/test_util.py:UtilTest.test_load_module
PASS: test/test_util.py:UtilTest.test_load_plugin_failure
PASS: test/testing/test_config.py:BasicConfigTest.test_coercions
PASS: test/testing/test_config.py:BasicConfigTest.test_values
PASS: test/testing/test_config.py:BasicConfigTest.test_error_on_loading_from_nonexistent_file
PASS: test/testing/test_config.py:BasicConfigTest.test_error_on_loading_from_nonexistent_section
PASS: test/testing/test_config.py:BooleanConfigTest.test_values
PASS: test/testing/test_config.py:UnsupportedTypesConfigTest.test_values
PASS: test/testing/test_config.py:SupportedTypesConfigTest.test_values
PASS: test/testing/test_config.py:TypeMismatchConfigTest.test_error_on_load
PASS: test/testing/test_config.py:MissingItemConfigTest.test_error_on_load
============================================================================
Testsuite summary
DURATION: 40
END: /usr/lib/python3-mako/ptest
2024-06-16T19:21
STOP: ptest-runner
TOTAL: 1 FAIL: 0

Signed-off-by: Jan Vermaete <jan.vermaete@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 months agodebianutils: upgrade 5.17 -> 5.19
Yi Zhao [Sun, 16 Jun 2024 11:33:37 +0000 (19:33 +0800)] 
debianutils: upgrade 5.17 -> 5.19

ChangeLog:

5.19:
* update-shells: Avoid duplicate lines when package shells contain both
  aliased and canonical shells.

5.18
* po4a/po/fr.po: Updated french translations for manpages.
* d/control: Bump standards version from 4.6.2 to 4.7.0.
* acinclude.m4: Bump DEBIANUTILS_VERSION from 5.17 to 5.18.

Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 months agologrotate: upgrade 3.21.0 -> 3.22.0
Yi Zhao [Sun, 16 Jun 2024 11:33:36 +0000 (19:33 +0800)] 
logrotate: upgrade 3.21.0 -> 3.22.0

ChangeLog:
https://github.com/logrotate/logrotate/releases/tag/3.22.0

 * fix calculations for time differences
 * fix extension for zip compression
 * fix omitted copy for logs with mail and rotate 0
 * fix wrongly skipping copy with copytruncate and compress
 * fix ambiguities between mode, UID and GID parsing when not specifying
   all options
 * fix hang when encountering a named pipe
 * on prerotate failure logs are preserved instead of rotated
 * in case a configuration file was skipped due to unsafe permissions
   the exit status after rotattion will be 1
 * the state is no longer written to non-regular files
 * the systemd timer now correctly utilizes load distribution
 * add dateformat specifier %z for timezone offsets
 * change default mode for created olddir directories to 0755
 * support quoted user and group names in su, create, and createolddir

Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 months agoffmpeg: backport patch to fix errors with GCC 14
Dmitry Baryshkov [Sat, 15 Jun 2024 11:11:57 +0000 (14:11 +0300)] 
ffmpeg: backport patch to fix errors with GCC 14

On ARMv7 compilation of ffmpeg breaks if Vulkan support is enabled.
Backport a patch from the trunk to fix compilation issues:

| src/libavcodec/vulkan_av1.c: In function 'vk_av1_create_params':
| src/libavcodec/vulkan_av1.c:214:43: error: initialization of 'long long unsigned int' from 'void *' makes integer from pointer without a cast [-Wint-conversion]
|   214 |         .videoSessionParametersTemplate = NULL,
|       |                                           ^~~~
| src/libavcodec/vulkan_av1.c:214:43: note: (near initialization for '(anonymous).videoSessionParametersTemplate')
| make: *** [/oe/build/tmp-rpb_wayland-glibc/work/armv7at2hf-neon-linaro-linux-gnueabi/ffmpeg/6.1.1/ffmpeg-6.1.1/ffbuild/common.mak:81: libavcodec/vulkan_av1.o] Error 1
| make: *** Waiting for unfinished jobs....
| src/libavcodec/vulkan_decode.c: In function 'ff_vk_decode_prepare_frame':
| src/libavcodec/vulkan_decode.c:191:26: error: assignment to 'VkImageView' {aka 'long long unsigned int'} from 'void *' makes integer from pointer without a cast [-Wint-conversion]
|   191 |     vkpic->img_view_ref  = NULL;
|       |                          ^
| src/libavcodec/vulkan_decode.c:192:26: error: assignment to 'VkImageView' {aka 'long long unsigned int'} from 'void *' makes integer from pointer without a cast [-Wint-conversion]
|   192 |     vkpic->img_view_out  = NULL;
|       |                          ^
| src/libavcodec/vulkan_decode.c:193:26: error: assignment to 'VkImageView' {aka 'long long unsigned int'} from 'void *' makes integer from pointer without a cast [-Wint-conversion]
|   193 |     vkpic->img_view_dest = NULL;
|       |                          ^
| make: *** [/oe/build/tmp-rpb_wayland-glibc/work/armv7at2hf-neon-linaro-linux-gnueabi/ffmpeg/6.1.1/ffmpeg-6.1.1/ffbuild/common.mak:81: libavcodec/vulkan_decode.o] Error 1

Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 months agogawk: Remove References to /usr/local/bin/gawk
Khem Raj [Fri, 14 Jun 2024 19:03:22 +0000 (12:03 -0700)] 
gawk: Remove References to /usr/local/bin/gawk

Also replace the hashbangs using /bin/gawk to use
${bindir}/gawk

This fixes issues such as
https://github.com/riscv/meta-riscv/issues/384

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 months agogfortran: update runtime dependencies
Kai Kang [Sun, 16 Jun 2024 15:31:35 +0000 (23:31 +0800)] 
gfortran: update runtime dependencies

It fails to run both `gcc` and `gfortran` with errors:

| root@qemux86-64:~# x86_64-poky-linux-gcc a.c
| x86_64-poky-linux-gcc: fatal error: cannot execute 'as': posix_spawnp: No such file or directory

then add binutils which provides `as` to RDEPENDS of gcc.

libgfortran-dev provides libgfortran.spec which required by gfortran:

| root@qemux86-64:~# gfortran hello.f95
| gfortran: fatal error: cannot read spec file 'libgfortran.spec': No such file or directory

And gcc provides liblto_plugin.so:

| root@qemux86-64:~# gfortran hello.f95
| gfortran: fatal error: '-fuse-linker-plugin', but liblto_plugin.so not found

Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 months agogtk+: add missing libdrm dependency
Andrew Fernandes [Thu, 13 Jun 2024 19:54:27 +0000 (12:54 -0700)] 
gtk+: add missing libdrm dependency

Fixes [YOCTO #15513]

When built without the wayland feature, gtk4 does not
build due to a missing explicit dependency on libdrm.

Signed-off-by: Andrew Fernandes <andrew@fernandes.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 months agogcc: remove g77/f77
Kai Kang [Thu, 13 Jun 2024 11:51:59 +0000 (19:51 +0800)] 
gcc: remove g77/f77

g77/f77 has been removed from gcc 4.0.0 via commit:

b4117c30610 Makefile.def, [...]: Remove all mention of libf2c.

When set

    FORTRAN = ",f77"

it complains with error:

| The following requested languages could not be built: f77
| Supported languages are: c,c,c++,fortran,go,lto,m2,objc,obj-c++

So remove g77/f77 from gcc recipes.

[1]: https://gcc.gnu.org/git/?p=gcc.git;a=commit;h=b4117c30610

Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 months agopython3: skip test_multiprocessing/test_active_children test
Trevor Gamblin [Thu, 13 Jun 2024 15:37:21 +0000 (11:37 -0400)] 
python3: skip test_multiprocessing/test_active_children test

This test is causing problems on the Autobuilder, so disable it for now.

Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 months agogcc: Fix typo in increment expression in unicode from libstdc++
Khem Raj [Thu, 13 Jun 2024 02:00:37 +0000 (19:00 -0700)] 
gcc: Fix typo in increment expression in unicode from libstdc++

This issue is seen when libstdc++ headers are used by clang18
see - https://github.com/llvm/llvm-project/issues/92586

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 months agowic/partition.py: Set hash_seed for empty ext partition
Adithya Balakumar [Thu, 13 Jun 2024 07:03:00 +0000 (12:33 +0530)] 
wic/partition.py: Set hash_seed for empty ext partition

Although setting hash_seed is handled for the rootfs plugin case, but
this is missed when deploying an empty ext partition.

Signed-off-by: Adithya Balakumar <adithya.balakumar@toshiba-tsip.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 months agogstreamer1.0-plugins-bad: Fix build with musl
Khem Raj [Thu, 13 Jun 2024 06:00:45 +0000 (23:00 -0700)] 
gstreamer1.0-plugins-bad: Fix build with musl

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 months agocups: Upgrade 2.4.8 -> 2.4.9
Siddharth Doshi [Thu, 13 Jun 2024 02:05:33 +0000 (07:35 +0530)] 
cups: Upgrade 2.4.8 -> 2.4.9

CVE's Fixed by upgrade:
CVE-2024-35235 cups: Cupsd Listen arbitrary chmod 0140777

Other Changes between 2.4.8 -> 2.4.9
====================================
https://github.com/OpenPrinting/cups/blob/2.4.x/CHANGES.md

Signed-off-by: Siddharth Doshi <sdoshi@mvista.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 months agosystemd: fix wrong path of tmp.mount
Changqing Li [Thu, 30 May 2024 09:02:34 +0000 (17:02 +0800)] 
systemd: fix wrong path of tmp.mount

According to meson.build, tmp.mount is installed under
"prefixdir/'lib/systemd/system'", but for 64bit system, rootlibdir is
/usr/lib64/systemd/system, this make tmp.mount not removed, and /tmp
still mounted as tmpfs filesystem. Fixed by using rootlibexecdir, which
is /usr/lib/systemd/system.

Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 months agooeqa/sdk/case: Ensure DL_DIR is populated with artefacts if used
Richard Purdie [Wed, 12 Jun 2024 17:57:34 +0000 (18:57 +0100)] 
oeqa/sdk/case: Ensure DL_DIR is populated with artefacts if used

Where we're using DL_DIR in sdk archive to try and cache testing artefacts,
copy into the cache so that it gets populated and this doesn't have to be done
manually. Currently we're making a lot of repeat requests to github as this
wasn't being populated.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 months agocurl: rewrite ptest installation
Ross Burton [Wed, 12 Jun 2024 11:06:59 +0000 (11:06 +0000)] 
curl: rewrite ptest installation

The latest libtool upgrade appears to have resulted in intermediate files
containing build paths. This wouldn't normally be a problem but the
curl-ptest package is populated by copying ${B}/tests/ which includes all
of the intermediate objects, so this causes buildpath warnings.

Rewrite the ptest installation to install just the pieces we need: the
test harness, utility scripts, and the test data.  We do not need the
libcurl unit tests nor the HTTP server tests, as we don't run those.

Remove all of the explicitly disabled tests, as many of these were for
tests that run curl-config or scan the source code, neither of which are
available at ptest time.  Instead use keyword exclusions to skip them.

Tell the test runner to use the system curl instead of symlinking in the
binary.

Don't copy curl-config, skipping these minor tests is acceptable.

Remove the RDEPENDS on bash, nothing needs this now we're not shipping a
build tree.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 months agoscripts/makefile-getvar: add script to get values from Makefiles
Ross Burton [Wed, 12 Jun 2024 11:06:58 +0000 (11:06 +0000)] 
scripts/makefile-getvar: add script to get values from Makefiles

There is often a need to extract a value from a Makefile, and standard
GNU Make doesn't provide a way to do this.  This script lets you access
values from Makefiles directly:

$ makefile-getvar curl/tests/server/Makefile noinst_PROGRAMS
getpart resolve rtspd sockfilt sws tftpd fake_ntlm socksd disabled mqttd

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 months agopython3: skip test_concurrent_futures/test_deadlock
Trevor Gamblin [Wed, 12 Jun 2024 15:05:28 +0000 (11:05 -0400)] 
python3: skip test_concurrent_futures/test_deadlock

These tests are causing hangs on the Autobuilder, so disable them for
now.

Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 months agooe-selftest: add RECIPE_UPDATE_EXTRA_TASKS test
Tim Orling [Tue, 11 Jun 2024 15:55:15 +0000 (08:55 -0700)] 
oe-selftest: add RECIPE_UPDATE_EXTRA_TASKS test

Add test_devtool_upgrade_recipe_update_extra_tasks test case
to test upgrade of python3-guessing-game from v0.1.0 to v0.2.0
which will exercise the update_crates task during the upgrade.

Add python3-guessing-game_git.bb.upgraded and
python3-guessing-game-crates.inc.upgraded  which are the 0.2.0
variants.

Check that the new recipe file has the expected differences.

Check that the new -crates.inc file has the expected differences,
which should be reproducible because of Cargo.lock.

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 months agometa-selftest: add python3-guessing-game
Tim Orling [Tue, 11 Jun 2024 15:55:14 +0000 (08:55 -0700)] 
meta-selftest: add python3-guessing-game

Add v0.1.0 of python3-guessing-game which is used as the baseline
for an upgrade to v0.2.0 in test_devtool_upgrade_recipe_update_extra_tasks
test case.

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 months agocargo-update-recipe-crates: add RECIPE_UPDATE_EXTRA_TASKS
Tim Orling [Wed, 12 Jun 2024 17:33:22 +0000 (10:33 -0700)] 
cargo-update-recipe-crates: add RECIPE_UPDATE_EXTRA_TASKS

When we upgrade a recipe that inherits cargo-update-recipe-crates and
the upstream Cargo.toml/Cargo.lock have been changed, we need to run
the update_crates task or else the devtool upgrade (and therefore
AUH upgrade) will fail.

Add "do_update_crates" task to RECIPE_UPDATE_EXTRA_TASKS for all
recipes that inherit this class.

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 months agodevtool upgrade: enable RECIPE_UPDATE_EXTRA_TASKS
Tim Orling [Wed, 12 Jun 2024 17:28:49 +0000 (10:28 -0700)] 
devtool upgrade: enable RECIPE_UPDATE_EXTRA_TASKS

For some recipes, such as those that inherit cargo-update-recipe-crates,
we need to run additional tasks once the new sources have been unpacked.

Introduce a new variable RECIPE_UPDATE_EXTRA_TASKS which is a space-
delimited list of tasks to run after the new sources have been
unpacked in scripts/lib/devtool/upgrade.py ugrade() method.

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 months agogcc: Allow using libc++
Dan McGregor [Thu, 28 Mar 2024 15:43:40 +0000 (09:43 -0600)] 
gcc: Allow using libc++

With the addition of the C++ runtime setting added recently, allow
gcc to use libc++ as its runtime. There's some minor fixes still
required, such as allowing setting the unwinder library. But this
allows for testing libc++ with gcc.

Signed-off-by: Daniel McGregor <daniel.mcgregor@vecima.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 months agoselftest/spdx: Fix for SPDX_VERSION addition
Richard Purdie [Wed, 12 Jun 2024 06:53:56 +0000 (07:53 +0100)] 
selftest/spdx: Fix for SPDX_VERSION addition

Update the test for the addition of SPDX_VERSION to the deploy path.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 months agoclasses/spdx-common: Return empty list from extract_licenses
Joshua Watt [Mon, 10 Jun 2024 21:41:50 +0000 (15:41 -0600)] 
classes/spdx-common: Return empty list from extract_licenses

This is nicer as the normal return type is a list, so the calling code
doesn't have to deal with a None sometimes and a list others.

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 months agoclasses/spdx-common: Add SPDX version to path
Joshua Watt [Mon, 10 Jun 2024 21:41:49 +0000 (15:41 -0600)] 
classes/spdx-common: Add SPDX version to path

Since multiple versions of SPDX are available, use the version in the
path

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 months agoclasses/spdx-common: Move common SPDX to new class
Joshua Watt [Mon, 10 Jun 2024 21:41:48 +0000 (15:41 -0600)] 
classes/spdx-common: Move common SPDX to new class

Moves SPDX code that can be shared between different SPDX versions into
a common class

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 months agoinstall-buildtools: update base-url, release and installer version
Aleksandar Nikolic [Tue, 11 Jun 2024 09:25:58 +0000 (11:25 +0200)] 
install-buildtools: update base-url, release and installer version

Update the following default values:
- DEFAULT_BASE_URL (https instead of http)
- DEFAULT_RELEASE (5.0.1)
- DEFAULT_INSTALLER_VERSION (5.0.1)

Signed-off-by: Aleksandar Nikolic <aleksandar.nikolic@zeiss.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 months agoinstall-buildtools: fix "test installation" step
Aleksandar Nikolic [Tue, 11 Jun 2024 09:25:57 +0000 (11:25 +0200)] 
install-buildtools: fix "test installation" step

The "Test installation" step fails with some harmless error messages
(see [1]). This can however make a user think that the buildtools
have not been installed correctly.

Two reasons for the error messages:
- some envvars in the environment-setup-<arch>-pokysdk-linux file
  start and end with double quotes (e.g., PATH) and are as such
  written into python os.environ. This leads that their usage is
  not valid later when testing the installation. This patch removes
  the double quotes before writing, if they are present.
- if installation directory (install_dir), given through the option
  --directory, is given as a relative path, checking if the path to
  a tool (e.g., gcc) in buildtools starts it will always fail. This
  patch converts the install_dir variable to an absolute path.

[1]
ERROR: Something went wrong: tar not found in ./build-tools
ERROR: Something went wrong: installation failed

Signed-off-by: Aleksandar Nikolic <aleksandar.nikolic@zeiss.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 months agoinstall-buildtools: remove md5 checksum validation
Aleksandar Nikolic [Tue, 11 Jun 2024 09:25:56 +0000 (11:25 +0200)] 
install-buildtools: remove md5 checksum validation

No need to validate with the md5 checksum, as the file is not even
uploaded to the Yocto release webpage (the download never failed due
to a wrong indentation of an else statement). For validation purposes,
use the sha256 checksum only.

Signed-off-by: Aleksandar Nikolic <aleksandar.nikolic@zeiss.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 months agoltp: Fix build break with clang on risv64
Khem Raj [Tue, 11 Jun 2024 14:42:34 +0000 (07:42 -0700)] 
ltp: Fix build break with clang on risv64

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 months agopython3-zipp: upgrade 3.18.2 -> 3.19.2
Tim Orling [Tue, 11 Jun 2024 19:43:37 +0000 (12:43 -0700)] 
python3-zipp: upgrade 3.18.2 -> 3.19.2

https://github.com/jaraco/zipp/blob/main/NEWS.rst

v3.19.2
* No significant changes.

v3.19.1
* Bugfixes
  - Improved handling of malformed zip files. (#119)

v3.19.0
* Features
  - Implement is_symlink. (#117)

https://github.com/jaraco/zipp/compare/v3.18.2...v3.19.2

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 months agopython3-typing-extensions: upgrade 4.11.0 -> 4.12.2
Tim Orling [Tue, 11 Jun 2024 19:11:58 +0000 (12:11 -0700)] 
python3-typing-extensions: upgrade 4.11.0 -> 4.12.2

https://github.com/python/typing_extensions/blob/main/CHANGELOG.md

Release 4.12.2 (June 7, 2024)
  * Add typing_extensions.get_annotations, a backport of
    inspect.get_annotations that adds features specified by PEP 649. Patch
    by Jelle Zijlstra.
  * Fix regression in v4.12.0 where specialization of certain generics with
    an overridden __eq__ method would raise errors. Patch by Jelle Zijlstra.
  * Fix tests so they pass on 3.13.0b2

Release 4.12.1 (June 1, 2024)
  * Preliminary changes for compatibility with the draft implementation of
    PEP 649 in Python 3.14. Patch by Jelle Zijlstra.
  * Fix regression in v4.12.0 where nested Annotated types would cause
    TypeError to be raised if the nested Annotated type had unhashable
    metadata. Patch by Alex Waygood.

Release 4.12.0 (May 23, 2024)
  * This release is mostly the same as 4.12.0rc1 but fixes one more
    longstanding bug.
  * Fix incorrect behaviour of typing_extensions.ParamSpec on Python 3.8
    and 3.9 that meant that isinstance(typing_extensions.ParamSpec("P"),
    typing.TypeVar) would have a different result in some situations
depending on whether or not a profiling function had been set using
sys.setprofile. Patch by Alex Waygood.

https://github.com/python/typing_extensions/compare/4.11.0...4.12.2

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 months agopython3-requests: upgrade 2.32.1 -> 2.32.3
Tim Orling [Tue, 11 Jun 2024 18:56:55 +0000 (11:56 -0700)] 
python3-requests: upgrade 2.32.1 -> 2.32.3

https://requests.readthedocs.io/en/latest/community/updates/#release-history

2.32.3 (2024-05-29)
  * Bugfixes - Fixed bug breaking the ability to specify custom SSLContexts
    in sub-classes of HTTPAdapter. (#6716)
  * Fixed issue where Requests started failing to run on Python versions
    compiled without the ssl module. (#6724)

2.32.2 (2024-05-21)
  * Deprecations - To provide a more stable migration for custom HTTPAdapters
    impacted by the CVE changes in 2.32.0, we’ve renamed _get_connection to a
new public API, get_connection_with_tls_context. Existing custom
HTTPAdapters will need to migrate their code to use this new API.
get_connection is considered deprecated in all versions of
Requests>=2.32.0.
  * A minimal (2-line) example has been provided in the linked PR to ease
    migration, but we strongly urge users to evaluate if their custom adapter
is subject to the same issue described in CVE-2024-35195. (#6710)

https://github.com/psf/requests/compare/v2.32.1...v2.32.3

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 months agopython3-packaging: upgrade 24.0 -> 24.1
Tim Orling [Tue, 11 Jun 2024 18:43:09 +0000 (11:43 -0700)] 
python3-packaging: upgrade 24.0 -> 24.1

What's Changed
 - pyupgrade/black/isort/flake8 → ruff by @DimitriPapadopoulos in #769
 - Add support for Python 3.13 and drop EOL 3.7 by @hugovk in #783
 - Bump the github-actions group with 4 updates by @dependabot in #782
 - Fix typo in _parser docstring by @pradyunsg in #784
 - Modernise type annotations using FA rules from ruff by @pradyunsg
   in #785
 - Document markers.default_environment() by @edgarrmondragon in #753
 - Bump the github-actions group with 3 updates by @dependabot in #789
 - Work around platform.python_version() returning non PEP 440 compliant
   version for non-tagged CPython builds by @sbidoul in #802

https://github.com/pypa/packaging/compare/24.0...24.1

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 months agopython3-more-itertools: upgrade 10.2.0 -> 10.3.0
Tim Orling [Tue, 11 Jun 2024 18:24:56 +0000 (11:24 -0700)] 
python3-more-itertools: upgrade 10.2.0 -> 10.3.0

https://github.com/more-itertools/more-itertools/compare/v10.2.0...v10.3.0

https://more-itertools.readthedocs.io/en/stable/versions.html

10.3.0
* New functions
  - powerset_of_sets(), dft(), and idft() (thanks to rhettinger)
  - join_mappings() (thanks to NeilGirdhar and rhettinger)
  - doublestarmap() (thanks to Skeen, monk-time, DamianB-BitFlipper, and ergoithz)
  - unique() (thanks to rhettinger)

* Changes to existing functions
  - collapse(), chunked_even(), ichunked(), padded(), and windowed() were optimized and improved (thanks to james-wasson)
  - totient() was optimized (thanks to rhettinger)
  - roundrobin() was updated and improved (thanks to rhettinger)
  - all_equal() now accepts a key parameter.
  - The docs for value_chain() were improved (thanks to bjrtx)
  - The type annotations for countable were improved (thanks to aidanholm)

* Other changes
  - Unit tests were improved (thanks to haukex)
  - Some documentation issues were fixed (thanks to bjrtx and DimitriPapadopoulos)

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 months agopython3-certifi: upgrade 2024.2.2 -> 2024.6.2
Tim Orling [Tue, 11 Jun 2024 18:08:59 +0000 (11:08 -0700)] 
python3-certifi: upgrade 2024.2.2 -> 2024.6.2

https://github.com/certifi/python-certifi/compare/2024.02.02...2024.06.02

* Various dependabot updates to dependencies
* Test against Python 3.12 stable and 3.13-dev
* Added 3.12 classifier

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 months agopython3-cryptography: upgrade 42.0.7 -> 42.0.8
Tim Orling [Tue, 11 Jun 2024 17:52:07 +0000 (10:52 -0700)] 
python3-cryptography: upgrade 42.0.7 -> 42.0.8

* Refresh 0001-pyproject.toml-remove-benchmark-disable-option.patch
* Also upgrade python3-cryptography-vectors

42.0.8 - 2024-06-04
  * Updated Windows, macOS, and Linux wheels to be compiled with OpenSSL 3.2.2.

https://cryptography.io/en/latest/changelog/#v42-0-8
https://github.com/pyca/cryptography/compare/42.0.7...42.0.8

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 months agoccache: 4.9.1 -> 4.10
Robert Yang [Wed, 12 Jun 2024 05:32:53 +0000 (22:32 -0700)] 
ccache: 4.9.1 -> 4.10

* Remove 0001-xxhash.h-Fix-build-with-gcc-12.patch since there is no xxhash in
  ccache by default any more.

* License-Update:
  - Update LIC_FILES_CHKSUM becaue a few third party licenses have been removed:
  $ git diff --stat v4.9.1..v4.10 LICENSE.adoc
    LICENSE.adoc | 222 +++++++++---------------------
    1 file changed, 15 insertions(+), 207 deletions(-)

  And add more licenses for third party files.

* Add required recipe fmt and xxhash to DEPENDS.

* Set ENABLE_TESTING=OFF since it requires doctest which is not present in oe.

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 months agofmt: Add it from meta-oe for ccache 4.10
Robert Yang [Wed, 12 Jun 2024 05:32:54 +0000 (22:32 -0700)] 
fmt: Add it from meta-oe for ccache 4.10

It is required by ccache 4.10, from cmake/Dependencies.cmake:
find_package(Fmt 8.0.0 MODULE REQUIRED)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 months agoquilt: 0.67 -> 0.68
Robert Yang [Mon, 27 May 2024 05:51:35 +0000 (22:51 -0700)] 
quilt: 0.67 -> 0.68

* Remove backported patches:
  fix-grep-3.8.patch.
  faildiff-order.patch
  0001-test-Fix-a-race-condition-in-merge.test.patch

* Add coreutils to RDEPENDS:quilt-ptest to fix ptest error:
  $ ln -P
  ln: invalid option -- 'P'

  The busybox' ln doesn't have option '-P', so use coreutils to fix it.

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 months agopython3-pytest: upgrade 8.2.1 -> 8.2.2
Trevor Gamblin [Mon, 10 Jun 2024 17:41:26 +0000 (13:41 -0400)] 
python3-pytest: upgrade 8.2.1 -> 8.2.2

Changelog (https://docs.pytest.org/en/stable/changelog.html):

Bug Fixes
- #12355: Fix possible catastrophic performance slowdown on a certain parametrization pattern involving many higher-scoped parameters.
- #12367: Fix a regression in pytest 8.2.0 where unittest class instances (a fresh one is created for each test) were not released promptly on test teardown but only on session teardown.
- #12381: Fix possible “Directory not empty” crashes arising from concurent cache dir (.pytest_cache) creation. Regressed in pytest 8.2.0.

Improved Documentation
- #12290: Updated Sphinx theme to use Furo instead of Flask, enabling Dark mode theme.
- #12356: Added a subsection to the documentation for debugging flaky tests to mention lack of thread safety in pytest as a possible source of flakyness.
- #12363: The documentation webpages now links to a canonical version to reduce outdated documentation in search engine results.

Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 months agopython3: upgrade 3.12.3 -> 3.12.4
Trevor Gamblin [Mon, 10 Jun 2024 17:12:21 +0000 (13:12 -0400)] 
python3: upgrade 3.12.3 -> 3.12.4

This release contains numerous security updates and fixes to
regressions. Changelog:

https://docs.python.org/release/3.12.4/whatsnew/changelog.html#python-3-12-4-final

Results of ptests in core-image-ptest-python3 (qemux86-64):

== Tests result: SUCCESS ==

26 tests skipped:
    test.test_asyncio.test_windows_events
    test.test_asyncio.test_windows_utils test.test_gdb.test_backtrace
    test.test_gdb.test_cfunction test.test_gdb.test_cfunction_full
    test.test_gdb.test_misc test.test_gdb.test_pretty_print
    test_asdl_parser test_clinic test_devpoll test_idle test_ioctl
    test_kqueue test_launcher test_msilib test_startfile test_tcl
    test_tix test_tkinter test_ttk test_ttk_textonly test_turtle
    test_winapi test_winconsoleio test_winreg test_wmi

9 tests skipped (resource denied):
    test_curses test_ossaudiodev test_smtpnet test_socketserver
    test_urllib2net test_urllibnet test_winsound test_xmlrpc_net
    test_zipfile64

454 tests OK.

Total duration: 2 min 45 sec
Total tests: run=41,470 skipped=1,548
Total test files: run=480/489 skipped=26 resource_denied=9
Result: SUCCESS
DURATION: 165
END: /usr/lib/python3/ptest
2024-06-10T17:03
STOP: ptest-runner
TOTAL: 1 FAIL: 0

Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 months agoinsane: add patch-status to default ERROR_QA
Martin Jansa [Wed, 5 Jun 2024 18:29:25 +0000 (20:29 +0200)] 
insane: add patch-status to default ERROR_QA

* it's enabled for patches in oe-core for very long time and I was using
  it for many other layers as well, so most layers should be in good
  shape

* it's also possible to disable it for individual layer as shown
  by oe-core in:
  https://git.openembedded.org/openembedded-core/commit/meta/classes-global/insane.bbclass?h=scarthgap&id=61a881fdbe8b5a21c6276b8a5d06cc30486b1eb3

Signed-off-by: Martin Jansa <martin.jansa@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 months agolinuxloader: add -armhf on arm only for TARGET_FPU 'hard'
Jonas Gorski [Wed, 5 Jun 2024 07:26:29 +0000 (09:26 +0200)] 
linuxloader: add -armhf on arm only for TARGET_FPU 'hard'

There are two types of soft FPU options for arm, soft and softfp, and if
using the latter the wrong dynamic loader will be used.

E.g. go will link against ld-linux-armhf.so.3, but libc6 will only ship
a ld-linux.so.3, so go programs will fail to start.

Fix this by instead checking for TARGET_FPU being 'hard' and then
applying the suffix.

Signed-off-by: Jonas Gorski <jonas.gorski@bisdn.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 months agoprocps: fix build with new glibc but old kernel headers
Ross Burton [Mon, 10 Jun 2024 15:36:07 +0000 (15:36 +0000)] 
procps: fix build with new glibc but old kernel headers

If you're building procps with a newer glibc (with pidfd_open()) but
older kernel headers (say 4.x, before __NR_pidfd_open) then procps will
fail to build because of a typo in configure.ac.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 months agoell: update 0.65 -> 0.66
Markus Volk [Sun, 9 Jun 2024 18:05:12 +0000 (20:05 +0200)] 
ell: update 0.65 -> 0.66

ver 0.66:
Fix issue with handling event callback when stopping ACD.
Fix issue with handling ICMPv6 DNS and domain lists.
Add support for notification lists.

Signed-off-by: Markus Volk <f_l_k@t-online.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 months agoxcb-util-errors: add recipe
Markus Volk [Mon, 10 Jun 2024 11:26:05 +0000 (13:26 +0200)] 
xcb-util-errors: add recipe

This adds xcb-errors which is an optional dependency for wlroots

Signed-off-by: Markus Volk <f_l_k@t-online.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 months agosystemtap: fix systemtap-native build error on Fedora 40
Victor Kamensky [Mon, 10 Jun 2024 03:34:03 +0000 (20:34 -0700)] 
systemtap: fix systemtap-native build error on Fedora 40

Backport of couple patches from upstream.

Signed-off-by: Victor Kamensky <victor.kamensky7@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 months agogrub,grub-efi: Remove -mfpmath=sse on x86
Khem Raj [Sat, 1 Jun 2024 20:03:44 +0000 (13:03 -0700)] 
grub,grub-efi: Remove -mfpmath=sse on x86

This option fails with clang compiler when testing for soft-float because
OE enforces this option via CCARGS however, gtub's
makefile/configure does disable all sse options when checking for
soft-float support, but it can not disable -mfpmath=sse as its inserted
by OE, therefore remove it in recipe

Fixes build errors seen with clang/musl like on x86
error: the 'sse' unit is not supported with this instruction set

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 months agoselftest: add Upstream-Status to .patch files
Martin Jansa [Wed, 5 Jun 2024 18:29:24 +0000 (20:29 +0200)] 
selftest: add Upstream-Status to .patch files

Signed-off-by: Martin Jansa <martin.jansa@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 months agoiptables: fix save/restore symlinks with libnftnl PACKAGECONFIG enabled
Kirill Yatsenko [Tue, 4 Jun 2024 12:06:49 +0000 (14:06 +0200)] 
iptables: fix save/restore symlinks with libnftnl PACKAGECONFIG enabled

When the libnftnl PACKAGECONFIG is enabled, the "iptables" symlink is correctly
points to xtables-nft-multi, however the "iptables-save" and
"iptables-restore" are still point to the xtables-legacy-multi.

So, when the "iptables" command is used it's using the nftables backend
where is the "iptables-save/restore" are using the legacy backend.

This is not consistent with other distros (e.g. Ubuntu).

The issue was identified when testing the UFW firewall with nftables backend.

Signed-off-by: Kirill Yatsenko <kiriyatsenko@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 months agocmake-qemu.bbclass: fix if criterion
Kai Kang [Tue, 4 Jun 2024 01:45:42 +0000 (09:45 +0800)] 
cmake-qemu.bbclass: fix if criterion

It always executes the scripts whether 'qemu-usermode' in
'MACHINE_FEATURES' or not. Fix the criterion to make it work.

Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 months agopciutils: rewrite recipe
Ross Burton [Mon, 3 Jun 2024 15:36:58 +0000 (15:36 +0000)] 
pciutils: rewrite recipe

The upstream Makefiles are bespoke so need to be handheld, but this
recipe has workarounds for code removed a decade ago.

Add more PACKAGECONFIGs for the other configuration options (zlib, kmod),
and use hwdb by default (non-systemd builds also have hwdb, as it's part
of eudev too).

Instead of using 'make -e', pass the variables that we want the Makefile
to respect explicitly (CC, CFLAGS, etc).

Construct an appropriate HOST so that lib/configure does the right thing
without needing patches.

This now results in text relocations (apparently from the versioned
symbols in libpci), so add an INSANE_SKIP for that.

Update the homepage URL.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 months agopython3-babel: upgrade 2.14.0 -> 2.15.0
Tim Orling [Mon, 3 Jun 2024 02:18:34 +0000 (19:18 -0700)] 
python3-babel: upgrade 2.14.0 -> 2.15.0

* Override S and PYPI_SRC_URI as upstream tarball is now "babel"
  instead of "Babel", but we still need PYPI_PACKAGE to be "Babel"
  for the upstream version check to work.

What's Changed
* Drop support for Python 3.7 (EOL since June 2023) by @akx in #1048
* Upgrade GitHub Actions by @cclauss in #1054
* Improve .po IO by @akx in #1068
* Use CLDR 44 by @akx in #1071
* Allow alternative space characters as group separator when parsing
  numbers by @ronnix in #1007
* Include Unicode license in locale-data and in documentation by @akx
  in #1074
* Encode support for the "fall back to short format" logic for time
  delta formatting by @akx in #1075
* Prepare for 2.15.0 release by @akx in #1079

https://github.com/python-babel/babel/compare/v2.14.0...v2.15.0

License-Update: copyright years

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 months agopython3-meson-python: ugprade 0.15.0 -> 0.16.0
Tim Orling [Sun, 2 Jun 2024 22:41:03 +0000 (15:41 -0700)] 
python3-meson-python: ugprade 0.15.0 -> 0.16.0

https://github.com/mesonbuild/meson-python/compare/0.15.0...0.16.0

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 months agosite: move ac_cv_func_posix_getpwnam_r to libc files
Ross Burton [Fri, 7 Jun 2024 10:07:05 +0000 (10:07 +0000)] 
site: move ac_cv_func_posix_getpwnam_r to libc files

As with the other ac_cv_func_posix_* functions, this is specific to the
libc and not the architecture.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 months agosite: fix ac_cv_uint typo
Ross Burton [Fri, 7 Jun 2024 10:07:02 +0000 (10:07 +0000)] 
site: fix ac_cv_uint typo

Copy-pasting has resulted in a ac_cv_uint -> ac_cv_unit typo spreading
across the mips* site files, fix this.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 months agoinsane: show cleaned build paths in more tests
Ross Burton [Fri, 7 Jun 2024 10:51:12 +0000 (10:51 +0000)] 
insane: show cleaned build paths in more tests

A few tests were still manually cleaning their build paths, change them
to use package_qa_clean_path().

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 months agosite: remove obsolete dbus entry
Ross Burton [Fri, 7 Jun 2024 10:07:06 +0000 (10:07 +0000)] 
site: remove obsolete dbus entry

The check for working abstract sockets was removed from dbus in 2017[1]
and dbus-glib in 2014[2].

[1] https://gitlab.freedesktop.org/dbus/dbus/-/commit/6a6521746bce81c50d77b560b2ee9948c1a5efd0
[2] https://gitlab.freedesktop.org/dbus/dbus-glib/-/commit/e4a163431f2cd26959c9f46e573fc200c5b9fd3d

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 months agosite: remove obsolete evolution-data-server entries
Ross Burton [Fri, 7 Jun 2024 10:07:04 +0000 (10:07 +0000)] 
site: remove obsolete evolution-data-server entries

evolution-data-server hasn't used autoconf since 2016 (from 3.23.1), so
remove the now redundant entries for it.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 months agosite: remove libc definitions in nios2-linux
Ross Burton [Fri, 7 Jun 2024 10:07:03 +0000 (10:07 +0000)] 
site: remove libc definitions in nios2-linux

These assignments are libc-specific not architecture specific, so are
already set in the glibc and musl site files.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 months agosite: move ac_cv_func_fnmatch_works to libc files
Ross Burton [Fri, 7 Jun 2024 10:07:01 +0000 (10:07 +0000)] 
site: move ac_cv_func_fnmatch_works to libc files

ac_cv_func_fnmatch_works (as set by AC_FUNC_FNMATCH) checks if the libc
has a POSIX-compliant fnmatch() implementation. This isn't architecture
specific, so move the definition to common-glibc and common-musl after
verifying the correct result.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 months agogstreamer1.0-plugins-bad: adapt webrtc audio dependency
Benjamin Bara [Fri, 7 Jun 2024 06:34:13 +0000 (08:34 +0200)] 
gstreamer1.0-plugins-bad: adapt webrtc audio dependency

Since d5755744 (MR !2943; landed in 1.23.1), gstreamer switched to
webrtc-audio-processing-1. This fixes:

./gst-plugins-bad-1.24.3/ext/webrtcdsp/meson.build:7:13: ERROR: Dependency "webrtc-audio-processing-1" not found, tried pkgconfig

Signed-off-by: Benjamin Bara <benjamin.bara@skidata.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 months agopython3-docutils: upgrade 0.20.1 -> 0.21.2
Trevor Gamblin [Thu, 6 Jun 2024 12:37:47 +0000 (08:37 -0400)] 
python3-docutils: upgrade 0.20.1 -> 0.21.2

License-Update: Change from PSF 2.x to ZPL-2.1, add CC0

A few notable things change with this upgrade:

- docutils now uses the Zope 2.1 license instead of PSF 2.1.1
- It now uses flit as the build backend
- The do_install append is no longer needed, as the rst2* endpoints
  lacking the .py extension are included
- python3-pprint is added to RDEPENDS

Changelog: https://docutils.sourceforge.io/RELEASE-NOTES.html

Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 months agofindutils: upgrade from 4.9.0 to 4.10.0
Chen Qi [Thu, 6 Jun 2024 12:20:13 +0000 (20:20 +0800)] 
findutils: upgrade from 4.9.0 to 4.10.0

autoconf-2.73.patch is dropped as it's not needed any more.

The run-ptest script is fixed. Instead copying function definitions
from init.cfg file, we should just install init.cfg file in the ptest
package. The coreutils-getlimits is added as a runtime dependency of
the ptest package because the getlimits command is needed.

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 months agocoreutils: split out coreutils-getlimits
Chen Qi [Thu, 6 Jun 2024 12:20:12 +0000 (20:20 +0800)] 
coreutils: split out coreutils-getlimits

Previously, the noinst_PROGRAM getlimits is put in coreutils-ptest
package in order to execute the ptest. However, this command might
also be needed by other ptest packages. As an example, findutils
4.10.0 ptest pacakge would need this command. So we split it out
into a new package.

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 months agoselftests: add test_minidebuginfo_qemu
Etienne Cordonnier [Thu, 6 Jun 2024 12:06:51 +0000 (14:06 +0200)] 
selftests: add test_minidebuginfo_qemu

test_systemd_coredump_minidebuginfo was getting skipped in CI, because the feature isn't enabled per default in any image at the moment.
Add this selftest so that test_systemd_coredump_minidebuginfo gets executed in CI.

Signed-off-by: Etienne Cordonnier <ecordonnier@snap.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 months agopython3-cython: remove redundant .inc file
Ross Burton [Thu, 6 Jun 2024 17:20:15 +0000 (17:20 +0000)] 
python3-cython: remove redundant .inc file

There is no python-cython recipe in core, so merge the .bb and .inc.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 months agopython3-cryptodome: remove redundant PYPI_PACKAGE_EXT
Ross Burton [Thu, 6 Jun 2024 17:20:14 +0000 (17:20 +0000)] 
python3-cryptodome: remove redundant PYPI_PACKAGE_EXT

This is the default value, so remove it.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 months agomaintainers.inc: update self e-mail address
Michael Opdenacker [Thu, 6 Jun 2024 14:17:58 +0000 (16:17 +0200)] 
maintainers.inc: update self e-mail address

Signed-off-by: Michael Opdenacker <michael@opdenacker.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 months agocve-exclusion: Drop the version comparision/warning
Richard Purdie [Thu, 6 Jun 2024 20:44:11 +0000 (21:44 +0100)] 
cve-exclusion: Drop the version comparision/warning

Since the CVE repository is no longer being updated, drop the warning
comparision since it is no longer valid.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 months agogawk: update patch status
Ross Burton [Thu, 6 Jun 2024 17:18:45 +0000 (17:18 +0000)] 
gawk: update patch status

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
14 months agopython3: Drop empty patch
Khem Raj [Wed, 5 Jun 2024 06:43:17 +0000 (23:43 -0700)] 
python3: Drop empty patch

The fix brought by this patch is already part of python 3.12.3
therefore drop it.

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
14 months agomultilib.bbclass: replace deprecated e.data with d
Kai Kang [Wed, 5 Jun 2024 01:37:19 +0000 (09:37 +0800)] 
multilib.bbclass: replace deprecated e.data with d

Replace deprecated e.data with d in multilib.bbclass and
multilib_global.bbclass.

Remove event check in function multilib_virtclass_handler_vendor in
multilib_global.bbclass. The function flag 'eventmask' has been set
with 'bb.event.ConfigParsed', so no need to check the event any more.

Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
14 months agoweston: upgrade 13.0.0 -> 13.0.1
Denys Dmytriyenko [Wed, 5 Jun 2024 00:06:17 +0000 (20:06 -0400)] 
weston: upgrade 13.0.0 -> 13.0.1

Weston 13.0.1, a bug fix release for 13.0.0 has been released.

Full changelog:
https://lists.freedesktop.org/archives/wayland-devel/2024-April/043575.html

Signed-off-by: Denys Dmytriyenko <denis@denix.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
14 months agowayland: upgrade 1.22.0 -> 1.23.0
Denys Dmytriyenko [Wed, 5 Jun 2024 00:06:16 +0000 (20:06 -0400)] 
wayland: upgrade 1.22.0 -> 1.23.0

This is the official release for Wayland 1.23.

Besides numerous bugfixes and protocol clarifications, Wayland 1.23 includes
the following new features:

- A mechanism to set the size of the internal connection buffer used by
  libwayland
- An enum-header mode for wayland-scanner to generate headers with only enums
- wayland-scanner now generates validator functions for enums on the server
  side
- Protocols can now indicate with a "deprecated-since" XML attribute that a
  request, event or enum entry is deprecated
- An API to set a name for a queue to aid debugging
- wl_client_get_user_data() and wl_client_set_user_data() to more easily attach
  custom data to a client
- OpenBSD support
- A wl_shm.release request for proper cleanup of this global

Changelog:
https://lists.freedesktop.org/archives/wayland-devel/2024-May/043636.html

Signed-off-by: Denys Dmytriyenko <denis@denix.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
14 months agopython3-maturin: upgrade 1.5.1 -> 1.6.0
Tim Orling [Tue, 4 Jun 2024 22:40:17 +0000 (15:40 -0700)] 
python3-maturin: upgrade 1.5.1 -> 1.6.0

* Refresh python3-maturin-crates.inc

1.6.0 - 2024-06-04
* Detect compiling from Linux gnu to Linux musl as cross compiling in #2010
* Add musllinux support to generate-ci in #2011
* Add uv support to develop command in #2015
* Add support for AIX target in #2030
* Remove rust-cpython support in #2044
* Add a global -v option in #2080
* Detect target based on interpreter for pep517 build-wheel in #2088
* Use base executable when possible in PEP 517 build in #2094

https://github.com/pyo3/maturin/compare/v1.5.1...v1.6.0

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
14 months agowic: bootimg-efi: fix error handling
Enrico Jörns [Tue, 4 Jun 2024 08:06:21 +0000 (10:06 +0200)] 
wic: bootimg-efi: fix error handling

If we check for empty variables, it does not make sense to print their
content in case they are empty.

Additionally, the error message in the 'kernel' check attempted to print
the wrong variable ('target') which was not even defined, yet.

Also, raising WicError doesn't require an extra newline.

Signed-off-by: Enrico Jörns <ejo@pengutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
14 months agowic: engine.py: use raw string for escape sequence
Enrico Jörns [Tue, 4 Jun 2024 08:06:20 +0000 (10:06 +0200)] 
wic: engine.py: use raw string for escape sequence

Fixes:

| poky/scripts/lib/wic/engine.py:362: SyntaxWarning: invalid escape sequence '\/'

Signed-off-by: Enrico Jörns <ejo@pengutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
14 months agooeqa/core: remove duplicate 'os' import
Enrico Jörns [Tue, 4 Jun 2024 08:16:30 +0000 (10:16 +0200)] 
oeqa/core: remove duplicate 'os' import

Signed-off-by: Enrico Jörns <ejo@pengutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
14 months agooeqa/utils/commands: extend docstring for runqemu context manager
Enrico Jorns [Tue, 4 Jun 2024 08:16:29 +0000 (10:16 +0200)] 
oeqa/utils/commands: extend docstring for runqemu context manager

Usage and arguments are not necessarily self-explaining, thus add a bit
of documentation here.

Signed-off-by: Enrico Jorns <ejo@pengutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
14 months agoman-pages: upgrade 6.06 -> 6.8
Changqing Li [Tue, 4 Jun 2024 08:33:14 +0000 (16:33 +0800)] 
man-pages: upgrade 6.06 -> 6.8

* drop 0001-man.ml-do-not-use-dev-stdin.patch since upstream already fix
the issue, refer [1]

* drop 0001-GNUmakefile-use-env-from-PATH.patch since upstream already
fix the issue, refer [2], and drop depends on coreutils-native

[1] https://git.kernel.org/pub/scm/docs/man-pages/man-pages.git/commit/share/mk/install/man.mk?id=9524f0f63badd896ccf6da7d79511100d86c4721
[2] https://git.kernel.org/pub/scm/docs/man-pages/man-pages.git/commit/GNUmakefile?id=fee8e186e3878c6e9827233efde90bc115801aa3

Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
14 months agoopenssl: Upgrade 3.3.0 -> 3.3.1
Peter Marko [Tue, 4 Jun 2024 20:37:00 +0000 (22:37 +0200)] 
openssl: Upgrade 3.3.0 -> 3.3.1

Handles CVE-2024-4741

Removed included backports.

Release information:
https://github.com/openssl/openssl/blob/openssl-3.3/NEWS.md#major-changes-between-openssl-330-and-openssl-331-4-jun-2024

Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
14 months agolinux-firmware: add new package for Mali CSFFW Valhall firmware
Quentin Schulz [Fri, 31 May 2024 11:53:58 +0000 (13:53 +0200)] 
linux-firmware: add new package for Mali CSFFW Valhall firmware

This firmware is necessary for closed-source mali blob + drivers and
open-source Panthor (via Mesa + Linux kernel) drivers.

Signed-off-by: Quentin Schulz <quentin.schulz@cherry.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
14 months agolinux-firmware: update to 20240513
Quentin Schulz [Fri, 31 May 2024 11:53:56 +0000 (13:53 +0200)] 
linux-firmware: update to 20240513

Update the linux-firmware recipe to the most recent upstream tag.

LICENSE.amdgpu md5 checksum changed because they bumped the Copyright
year[1].

Some of qcom-sdm845-modem files got replaced by a symlink to their
counterpart in ath10k/WCN3990/hw1.0/. The same happened to files in
qcom-qcm2290-wifi, but to ath10k/WCN3990/hw1.0/qcm2290/. Finally,
qcom-qrb4210-wifi also got its file symlinked to
ath10k/WCN3990/hw1.0/qrb4210/ which in turn is a symlink to
ath10k/WCN3990/hw1.0/qcm2290/.[2] This meant that qrb4210-wifi now
RDEPENDS on qcm2290-wifi for the target of the links to be present when
installing it, and also that sdm845-modem and qcm2290-wifi packages have
to be before the ath10k catch-all package.

[1] https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git/commit/?id=9442c72e361c1e1130a19248598ad6ab5282ba09
[2] https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git/commit/?id=650e88378e76d5fad3997a5398f1ade47a74d924
Signed-off-by: Quentin Schulz <quentin.schulz@cherry.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
14 months agopython3-trove-classifiers: upgrade 2024.5.17 -> 2024.5.22
Trevor Gamblin [Tue, 4 Jun 2024 13:24:27 +0000 (09:24 -0400)] 
python3-trove-classifiers: upgrade 2024.5.17 -> 2024.5.22

Changelog:

3674fe0 Add Trove classifier for Django 5.1 (#179)

Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
14 months agopython3-hypothesis: upgrade 6.102.4 -> 6.103.0
Trevor Gamblin [Tue, 4 Jun 2024 13:24:26 +0000 (09:24 -0400)] 
python3-hypothesis: upgrade 6.102.4 -> 6.103.0

There are three releases since 6.102.4.

Changelog (https://hypothesis.readthedocs.io/en/latest/changes.html):

6.103.0 - 2024-05-29

- This release migrates the shrinker to our new internal representation,
  called the IR layer (pull request #3962). This improves the shrinker’s
  performance in the majority of cases. For example, on the Hypothesis
  test suite, shrinking is a median of 1.38x faster.
- It is possible this release regresses performance while shrinking
  certain strategies. If you encounter strategies which reliably shrink
  more slowly than they used to (or shrink slowly at all), please open
  an issue!
- You can read more about the IR layer at issue #3921.

6.102.6 - 2024-05-23

- This patch fixes one of our shrinking passes getting into a rare O(n)
  case instead of O(log(n)).

6.102.5 - 2024-05-22

- This patch fixes some introspection errors new in Python 3.11.9 and
  3.13.0b1, for the Ghostwriter and from_type().

Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
14 months agooeqa/runtime: make minidebuginfo test work with coreutils
Etienne Cordonnier [Tue, 4 Jun 2024 11:35:14 +0000 (13:35 +0200)] 
oeqa/runtime: make minidebuginfo test work with coreutils

The test was failing with core-image-full-cmdline which uses sleep from coreutils instead of sleep from busybox.

Signed-off-by: Etienne Cordonnier <ecordonnier@snap.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
14 months agopatchtest: selftest: fix patch files
Trevor Gamblin [Fri, 31 May 2024 17:33:00 +0000 (13:33 -0400)] 
patchtest: selftest: fix patch files

Recent changes to the selftest-hello recipe caused the patchtest
selftest patches to not apply cleanly, which in turn meant several tests
weren't being fully executed or were reporting unexpected PASS/SKIP.

Update all of the test patch files to use a newer baseline and apply
cleanly again.

Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
14 months agobuild-appliance-image: Update to master head revision
Richard Purdie [Tue, 4 Jun 2024 20:37:16 +0000 (21:37 +0100)] 
build-appliance-image: Update to master head revision

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
14 months agoopenssl: Add passthrough variables to work with bitbake
Richard Purdie [Mon, 27 May 2024 22:06:21 +0000 (23:06 +0100)] 
openssl: Add passthrough variables to work with bitbake

Now that bitbake uses websockets over SSL as hashserv and is correctly
limiting hash equivalence only to things in the orginal SDK, bitbake builds
from buildtools can fail due to broken SSL from buildtools.

The issue is that the relocation variables are being removed from the
environment. This could be fixed within bitbake or it could be fixed
within the SDK environment. This patch does the latter for now. We
really need to improve openssl relocation within the SDK in general.

Fixing this has become more urgent to fix failing builds in automated
testing.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
14 months agooeqa/runtime/ltp: Drop groups that were removed in new version
Richard Purdie [Tue, 4 Jun 2024 07:00:27 +0000 (08:00 +0100)] 
oeqa/runtime/ltp: Drop groups that were removed in new version

The io, cap_bounds and filecaps groups were removed in latest version
of ltp. Tweak the test class to match.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
14 months agoltp: upgrade 20240129 -> 20240524
Yi Zhao [Mon, 3 Jun 2024 10:33:00 +0000 (18:33 +0800)] 
ltp: upgrade 20240129 -> 20240524

ChangeLog:
https://github.com/linux-test-project/ltp/releases/tag/20240524

Drop backport patches.

Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
14 months agonasm: Upgrade 2.16.01 -> 2.16.03
Richard Purdie [Mon, 3 Jun 2024 14:40:31 +0000 (15:40 +0100)] 
nasm: Upgrade 2.16.01 -> 2.16.03

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
14 months agopython3-jinja2: Upgrade 3.1.3 -> 3.1.4
Richard Purdie [Mon, 3 Jun 2024 14:51:27 +0000 (15:51 +0100)] 
python3-jinja2: Upgrade 3.1.3 -> 3.1.4

Switch to use flit core since upstream changed.

They also changed the capitalisation under pypi.

The license didn't change but the file was renamed, probably as it wasn't
rst.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>