| Summary: | Outdated sstate used after updated kernel | ||
|---|---|---|---|
| Product: | [Build System, Metadata & Runtime] BitBake | Reporter: | Johannes Schrimpf <johannes.schrimpf> |
| Component: | bitbake | Assignee: | Richard Purdie <richard.purdie> |
| Status: | RESOLVED INVALID | QA Contact: | |
| Severity: | normal | ||
| Priority: | Undecided | CC: | poky.bs.watcher, poky.watcher, randy.macleod |
| Version: | unspecified | ||
| Target Milestone: | --- | ||
| Hardware: | x86 | ||
| OS: | Multiple | ||
| Whiteboard: | |||
| OS type for building Yocto: | --- | Type of Regression: | --- |
| Verified: | Documentation change: | No (bug/feature does not impact docs) | |
|
Description
Johannes Schrimpf
2022-02-08 13:55:49 UTC
After cleaning the sstate cache for those packages and the related folders in `tmp/work` that had references to the wrong version number, I get the same error with a new version string: ``` calculate_dependencies_for: Cannot satisfy the following dependencies for packagegroup-be-video: * kernel-5.10.74+geac40b789261 * ``` The correct kernel version in the image is still kernel-5.10.74+gaf5aa53b55c8 I manages a successful build by: - Cleaning the sstate of all kernel-related packages and modules - Deleting the tmp directory (likely enough to delete all folders for relevant packages in the work folder) Then I manages to reproduce the bug afterwards by: - Cleaning the sstate cache for kernel-module-imx-gpu-viv - Deleting the tmp directory - Building the image In this setup, kernel-module-imx-gpu-viv gets the wrong version string. Unfortunately you're using the freescale layers which do all kinds of weird things with the kernel. We've not seen this with the core yocto project and I suspect this is some issue in those kernel/module recipes. If you can reproduce this without the freescale layers we can look into the issue but right now I think you need to talk to the freescale maintainers about this. Please check with freescale. No on using just oe-core has seen this. |