libmatthew not compatible with cve-check on world (meta-java)
The module affected: meta-java and oniro in general
What is the action to reproduce the bug?
Clone oniro
$ TEMPLATECONF=../oniro/flavours/linux . ./oe-core/oe-init-build-env build-oniro-linux
$ bitbake --runonly=do_cve_check world
What is the result you see?
ERROR: Nothing PROVIDES 'classpath' (but /oniroproject-current/oe-core/../meta-java/recipes-core/libmatthew/libmatthew_0.8.bb DEPENDS on or otherwise requires it)
classpath was skipped: missing required distro feature 'x11' (not in DISTRO_FEATURES)
ERROR: Required build target 'meta-world-pkgdata' has no buildable providers.
Missing or unbuildable dependency chain was: ['meta-world-pkgdata', 'dbus-java', 'libmatthew', 'classpath']
What is the result you expect?
The command should generate a complete cve-check report for oniro and finish without any errors
The issue is blocking for security analysis.
Frequency?
always
Tested version
Oniro 1ec86d19
Do you know any workaround of this issue?
no
Do you have a fix for this issue?
no
- Show closed items
Relates to
Activity
-
Newest first Oldest first
-
Show all activity Show comments only Show history only
- Marta Rybczynska added IssueBug needs-investigation teammaintenance labels
added IssueBug needs-investigation teammaintenance labels
- Author Developer
- Author Developer
CC @aszpilko
- Adam Szpilko changed iteration to Oniro Core Iterations Aug 1, 2022 - Aug 31, 2022
changed iteration to Oniro Core Iterations Aug 1, 2022 - Aug 31, 2022
- Adam Szpilko changed milestone to %goofy beta
changed milestone to %goofy beta
- Adam Szpilko assigned to @agherzan
assigned to @agherzan
- Andrei Gherzan set weight to 5
set weight to 5
- Adam Szpilko added teamsystems label and removed teammaintenance label
added teamsystems label and removed teammaintenance label
- Pavel Zhukov added SeverityCritical label
added SeverityCritical label
- Author Developer
The same issue prevents running yocto-check-layer in the Oniro context:
Loading cache...done. Loaded 4784 entries from dependency cache. Parsing recipes...done. Parsing of 3101 .bb files complete (3100 cached, 1 parsed). 4785 targets, 587 skipped, 0 masked, 0 errors. NOTE: Resolving any missing task queue dependencies ERROR: Nothing PROVIDES 'classpath' (but /oniro-eclipse/oniroproject/oe-core/../meta-java/recipes-core/libmatthew/libmatthew_0.8.bb DEPENDS on or otherwise requires it) classpath was skipped: missing required distro feature 'x11' (not in DISTRO_FEATURES) ERROR: Required build target 'meta-world-pkgdata' has no buildable providers. Missing or unbuildable dependency chain was: ['meta-world-pkgdata', 'libmatthew', 'classpath']
- Andrei Gherzan added Doing label
added Doing label
- Andrei Gherzan removed needs-investigation label
removed needs-investigation label
- Maintainer
meta-java fixes:
-
master
-
kirkstone
-
Collapse replies - Maintainer
meta-virtualization merged the fixes.
- Author Developer
Waitng for kirkstone then. @landgraf does the update script support meta-virtualization (ie. do we need to update the layer list) ?
- Contributor
@mrybczyn the script is project-agnostic it tries to check all repos which are specified in default.xml with fixed revision. There's no hardcoded list of project or something like this in the script.
- Maintainer
meta-virtualization
also merged it in kirkstone. We are waiting formeta-java
. - Author Developer
@landgraf great. we're waiting for the patches to reach kirkstone branches around then
- Maintainer
- Andrei Gherzan mentioned in merge request !296 (merged)
mentioned in merge request !296 (merged)
- Andrei Gherzan marked this issue as related to #795
marked this issue as related to #795
- Zygmunt Krynicki mentioned in commit 3b4db908
mentioned in commit 3b4db908
- Zygmunt Krynicki closed with merge request !296 (merged)
closed with merge request !296 (merged)
- Reporter
kalpa@onirocluster2:~/oniroproject/build-oniro-linux$ bitbake --runonly=do_cve_check world Loading cache: 100% | | ETA: --:--:-- Loaded 0 entries from dependency cache. Parsing recipes: 100% |##########################################################################################################| Time: 0:02:33 Parsing of 3312 .bb files complete (0 cached, 3312 parsed). 5037 targets, 609 skipped, 0 masked, 0 errors. Removing 3 recipes from the core2-64 sysroot: 100% |#############################################################################| Time: 0:00:04 Removing 3 recipes from the qemux86_64 sysroot: 100% |###########################################################################| Time: 0:00:00 Removing 3 recipes from the x86_64 sysroot: 100% |###############################################################################| Time: 0:00:02 NOTE: Resolving any missing task queue dependencies ERROR: Nothing PROVIDES 'udisks2' (but /home/kalpa/oniroproject/oe-core/../meta-ledge-secure/meta-ledge-secure/recipes-security/clevis/clevis_git.bb DEPENDS on or otherwise requires it) udisks2 was skipped: missing required distro feature 'polkit' (not in DISTRO_FEATURES) ERROR: Required build target 'meta-world-pkgdata' has no buildable providers. Missing or unbuildable dependency chain was: ['meta-world-pkgdata', 'clevis', 'udisks2'] Summary: There were 2 ERROR messages, returning a non-zero exit code.
@agherzan I'm facing this error, is something that will be fix with the new issue fixing?
Collapse replies - Maintainer
It is not related to this issue. It is another issue that was introduced in the meanwhile. See #796
- Reporter
Ok thanks, so how can I validate this issue? Have I to wait for the #796 to be fixed?
- Maintainer
@mrybczyn could provide you with a workaround for the new issue.
- Author Developer
I create a new ticket for this.. it's going to be long and the next one is in meta-virtualization again :)
- Andrei Gherzan removed Doing label
removed Doing label
- Reporter
kalpa@onirocluster2:~/oniroproject/build-oniro-linux$ bitbake --runonly=do_cve_check world Loading cache: 100% |#########################################################################################################################################| Time: 0:00:01 Loaded 4956 entries from dependency cache. Parsing recipes: 100% |#######################################################################################################################################| Time: 0:00:01 Parsing of 3273 .bb files complete (3263 cached, 10 parsed). 4962 targets, 637 skipped, 0 masked, 0 errors. NOTE: Resolving any missing task queue dependencies NOTE: Multiple providers are available for runtime ssh (dropbear, openssh) Consider defining a PREFERRED_RPROVIDER entry to match ssh ERROR: Nothing RPROVIDES 'virtual/runc' (but /home/kalpa/oniroproject/oe-core/../meta-ledge-secure/meta-ledge-secure/recipes-samples/packagegroups/packagegroup-ledge-containers.bb RDEPENDS on or otherwise requires it) NOTE: Runtime target 'virtual/runc' is unbuildable, removing... Missing or unbuildable dependency chain was: ['virtual/runc'] ERROR: Required build target 'meta-world-pkgdata' has no buildable providers. Missing or unbuildable dependency chain was: ['meta-world-pkgdata', 'packagegroup-ledge-containers', 'virtual/runc'] Summary: There were 2 ERROR messages, returning a non-zero exit code.
@agherzan @mrybczyn something related to this or to #796? I can't validate this issue to remove it from the backlog of open issues
Collapse replies - Author Developer
@lucafavaretto this is another issue. I will create a new ticket to group all of this series
- ReporterEdited by Luca Favaretto
- Author Developer
Yes, created a high level task. And I'm back working on the ledge stuff so fixing this in the process
- Reporter
perfect, thanks
- Luca Favaretto changed milestone to %goofy general availability
changed milestone to %goofy general availability
- Luca Favaretto removed iteration Oniro Core Iterations Aug 1, 2022 - Aug 31, 2022
removed iteration Oniro Core Iterations Aug 1, 2022 - Aug 31, 2022