Created attachment 5011 [details] tmp/deploy/licenses directory structure I do not quite understand why there are empty dirs in tmp/deploy/licenses. That's built with: commit 0f61386628df828c5b1a440a414759e3e60f86a2 (origin/master, origin/HEAD) Author: Khem Raj <raj.khem@gmail.com> Date: Wed Jan 24 16:32:50 2024 -0800 qemu: Replace the basename patch with backport Backport the patch that got applied to fix this issue upstream (From OE-Core rev: 952c94988cf1cf093668e9ac7020485c51cf3a58) 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> --- the license manifest indicates, that zlib is used: PACKAGE NAME: zlib PACKAGE VERSION: 1.3 RECIPE NAME: zlib LICENSE: Zlib but in tmp/deploy/licenses/ the zlib dir is empty ---
Created attachment 5012 [details] manifest
Created attachment 5013 [details] license.manifest
Most likely, William will not be able to work on on this issue. Move to unassigned, 5.99
please note, that those dirs are not empty: $ tree tmp/deploy/licenses/x86_64/zlib-native tmp/deploy/licenses/x86_64/zlib-native ├── generic_Zlib ├── recipeinfo └── zlib.h 0 directories, 3 files $ tree tmp/deploy/licenses/armv7at2hf-neon/zlib/ tmp/deploy/licenses/armv7at2hf-neon/zlib/ ├── generic_Zlib ├── recipeinfo └── zlib.h
I got the same problem: https://lists.openembedded.org/g/openembedded-core/topic/107405668#msg202406 There are no any license files for arm or arm64 targets in tmp/deploy/licenses folder. Probably it is became buggy since the following patch: https://github.com/openembedded/openembedded-core/commit/1a4ab9fc26659507e678e87312b514e8ea515673 When it will be fixed? At the moment Scarthgap LTS is not able to use for any "production" because it has this bug and we can not generate the full manifest and licenses in our SD/eMMC card image build process of end-user products FOSS docs in our company.
One problem might be, that the licenses just moved into different directories like tmp/deploy/licenses/x86_64/zlib-native/ tmp/deploy/licenses/armv7at2hf-neon/zlib/ and that they did not disappear altogether. Another problem might be the one you mention adding license info to the image. Maybe RP can tell us more about it?
Might be fixed by https://git.yoctoproject.org/poky/commit/?id=6cc2a3649a03da8b2ebc4fff4b7bd9ba4eb76497
Will it be merged/backported to Scarthgap LTS?
Bulk move to 5.2-M3.
Bulk move to 5.2-M3 and this time I'll actually specify M3!
Livius, I has been back-ported to scarthgap: ❯ gl | rg "license: Fix directory layout issues" a31b46627a 2024-10-10 license: Fix directory layout issues oe-core.git on scarthgap ❯ git branch -a --contains a31b46627a * scarthgap remotes/origin/scarthgap