* [scarthgap][master] license archiving is failed to tmp/deploy/licenses @ 2024-07-17 20:28 Livius 2024-07-22 21:45 ` [OE-core] " Richard Purdie 0 siblings, 1 reply; 10+ messages in thread From: Livius @ 2024-07-17 20:28 UTC (permalink / raw) To: openembedded-core License file archiving is broken, package/recipe folders are fully empty in tmp/deploy/licenses directory after the finished image build, manifest files also missing in it. It seems to me this is broken for me since the following patch: https://github.com/openembedded/openembedded-core/commit/1a4ab9fc26659507e678e87312b514e8ea515673 This is my settings for it in my local.conf. What goes wrong? INHERIT += "archiver" ARCHIVER_MODE[src] = "patched" ARCHIVER_MODE[compression] = "bz2" ARCHIVER_MODE[mirror] = "combined" COPYLEFT_RECIPE_TYPES = "target" COPYLEFT_AVAILABLE_RECIPE_TYPES = "target" # Don't filter the license COPYLEFT_LICENSE_INCLUDE = "" COPYLEFT_LICENSE_EXCLUDE = "" # Deploy licenses COPY_LIC_MANIFEST = "1" COPY_LIC_DIRS = "1" LICENSE_CREATE_PACKAGE = "1" ^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [OE-core] [scarthgap][master] license archiving is failed to tmp/deploy/licenses 2024-07-17 20:28 [scarthgap][master] license archiving is failed to tmp/deploy/licenses Livius @ 2024-07-22 21:45 ` Richard Purdie 2024-07-23 15:07 ` Livius 2024-07-28 16:46 ` Livius 0 siblings, 2 replies; 10+ messages in thread From: Richard Purdie @ 2024-07-22 21:45 UTC (permalink / raw) To: egyszeregy, openembedded-core On Wed, 2024-07-17 at 13:28 -0700, Livius via lists.openembedded.org wrote: > License file archiving is broken, package/recipe folders are fully empty in tmp/deploy/licenses directory after the finished image build, manifest files also missing in it. > > It seems to me this is broken for me since the following patch: > https://github.com/openembedded/openembedded-core/commit/1a4ab9fc26659507e678e87312b514e8ea515673 > > This is my settings for it in my local.conf. What goes wrong? > INHERIT += "archiver" > ARCHIVER_MODE[src] = "patched" > ARCHIVER_MODE[compression] = "bz2" > ARCHIVER_MODE[mirror] = "combined" > COPYLEFT_RECIPE_TYPES = "target" > COPYLEFT_AVAILABLE_RECIPE_TYPES = "target" > > # Don't filter the license > COPYLEFT_LICENSE_INCLUDE = "" > COPYLEFT_LICENSE_EXCLUDE = "" > > # Deploy licenses > COPY_LIC_MANIFEST = "1" > COPY_LIC_DIRS = "1" > LICENSE_CREATE_PACKAGE = "1" I wanted to say yes, I have seen this report and yes, I'm aware I wrote the commit seeming to cause it. No, I'm afraid I don't know what is wrong. The mailing list is the right place to discuss things (or the bugzilla), not github issues. My patch added in a directory sublevel to the structure and it would seem that some piece of code wasn't translated properly. The change likely needs to be debugged with the settings you're using to find the issue with the change. I did make best efforts to ensure everything worked but our test coverage isn't always 100% and it would seem we're missing some test case. Cheers, Richard ^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [scarthgap][master] license archiving is failed to tmp/deploy/licenses 2024-07-22 21:45 ` [OE-core] " Richard Purdie @ 2024-07-23 15:07 ` Livius 2024-07-23 15:09 ` Livius 2024-07-28 16:46 ` Livius 1 sibling, 1 reply; 10+ messages in thread From: Livius @ 2024-07-23 15:07 UTC (permalink / raw) To: openembedded-core https://github.com/openembedded/openembedded-core/blob/master/meta/classes-global/license.bbclass#L418 In line 418 if i use ${SSTATE_PKGARCH} in path of do_populate_lic[sstate-inputdirs], deploying of licenses can start to work but there will be many warnings and at end of it a fatal error will stop the bitbake building. do_populate_lic[sstate-inputdirs] = "${LICSSTATEDIR}/${SSTATE_PKGARCH}" Warnings: ... WARNING: prambo-customer-image-1.0-r0 do_rootfs: QA Issue: The license listed BSD-2-Clause was not in the licenses collected for recipe util-linux [license-file-missing] WARNING: prambo-customer-image-1.0-r0 do_rootfs: QA Issue: The license listed BSD-3-Clause was not in the licenses collected for recipe util-linux [license-file-missing] WARNING: prambo-customer-image-1.0-r0 do_rootfs: QA Issue: The license listed BSD-4-Clause was not in the licenses collected for recipe util-linux [license-file-missing] WARNING: prambo-customer-image-1.0-r0 do_rootfs: QA Issue: The license listed MIT was not in the licenses collected for recipe util-linux [license-file-missing] WARNING: prambo-customer-image-1.0-r0 do_rootfs: QA Issue: The license listed MIT was not in the licenses collected for recipe volatile-binds [license-file-missing] WARNING: prambo-customer-image-1.0-r0 do_rootfs: QA Issue: The license listed BSD-3-Clause was not in the licenses collected for recipe zip [license-file-missing] WARNING: prambo-customer-image-1.0-r0 do_rootfs: QA Issue: The license listed Zlib was not in the licenses collected for recipe zlib [license-file-missing] ... Error: do_rootfs: Couldn't find license information for dependency alsa-conf As i see, alsa-conf is not exist in x86_64 licenses this is why it is failed all the time. ^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [scarthgap][master] license archiving is failed to tmp/deploy/licenses 2024-07-23 15:07 ` Livius @ 2024-07-23 15:09 ` Livius 0 siblings, 0 replies; 10+ messages in thread From: Livius @ 2024-07-23 15:09 UTC (permalink / raw) To: openembedded-core https://github.com/openembedded/openembedded-core/blob/master/meta/classes-global/license.bbclass#L418 In line 418 if i use ${SSTATE_PKGARCH} in path of do_populate_lic[sstate-inputdirs], deploying of licenses can start to work but there will be many warnings and at end of it a fatal error will stop the bitbake building. do_populate_lic[sstate-inputdirs] = "${LICSSTATEDIR}/${SSTATE_PKGARCH}" Warnings: ... do_rootfs: QA Issue: The license listed BSD-2-Clause was not in the licenses collected for recipe util-linux [license-file-missing] do_rootfs: QA Issue: The license listed BSD-3-Clause was not in the licenses collected for recipe util-linux [license-file-missing] do_rootfs: QA Issue: The license listed BSD-4-Clause was not in the licenses collected for recipe util-linux [license-file-missing] do_rootfs: QA Issue: The license listed MIT was not in the licenses collected for recipe util-linux [license-file-missing] do_rootfs: QA Issue: The license listed MIT was not in the licenses collected for recipe volatile-binds [license-file-missing] do_rootfs: QA Issue: The license listed BSD-3-Clause was not in the licenses collected for recipe zip [license-file-missing] do_rootfs: QA Issue: The license listed Zlib was not in the licenses collected for recipe zlib [license-file-missing] ... Error: do_rootfs: Couldn't find license information for dependency alsa-conf As i see, alsa-conf is not exist in x86_64 licenses this is why it is failed all the time. ^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [scarthgap][master] license archiving is failed to tmp/deploy/licenses 2024-07-22 21:45 ` [OE-core] " Richard Purdie 2024-07-23 15:07 ` Livius @ 2024-07-28 16:46 ` Livius 2024-07-28 16:50 ` Livius 2024-07-29 18:41 ` [OE-core] " Alexander Kanavin 1 sibling, 2 replies; 10+ messages in thread From: Livius @ 2024-07-28 16:46 UTC (permalink / raw) To: openembedded-core it's been half a year since it is reported in bugzilla issue ticket: https://bugzilla.yoctoproject.org/show_bug.cgi?id=15394 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. ^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [scarthgap][master] license archiving is failed to tmp/deploy/licenses 2024-07-28 16:46 ` Livius @ 2024-07-28 16:50 ` Livius 2024-07-29 18:41 ` [OE-core] " Alexander Kanavin 1 sibling, 0 replies; 10+ messages in thread From: Livius @ 2024-07-28 16:50 UTC (permalink / raw) To: openembedded-core It's been half a year since it is reported in bugzilla issue ticket: https://bugzilla.yoctoproject.org/show_bug.cgi?id=15394 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. ^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [OE-core] [scarthgap][master] license archiving is failed to tmp/deploy/licenses 2024-07-28 16:46 ` Livius 2024-07-28 16:50 ` Livius @ 2024-07-29 18:41 ` Alexander Kanavin 2024-07-29 22:30 ` Livius 1 sibling, 1 reply; 10+ messages in thread From: Alexander Kanavin @ 2024-07-29 18:41 UTC (permalink / raw) To: egyszeregy; +Cc: openembedded-core On Sun, 28 Jul 2024 at 18:46, Livius via lists.openembedded.org <egyszeregy=freemail.hu@lists.openembedded.org> wrote: > > it's been half a year since it is reported in bugzilla issue ticket: > https://bugzilla.yoctoproject.org/show_bug.cgi?id=15394 > > 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. > Can you propose a patch? Alex ^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [scarthgap][master] license archiving is failed to tmp/deploy/licenses 2024-07-29 18:41 ` [OE-core] " Alexander Kanavin @ 2024-07-29 22:30 ` Livius 2024-07-29 22:35 ` Livius [not found] ` <Groupsio.1.4791.1722292240522892465@lists.openembedded.org> 0 siblings, 2 replies; 10+ messages in thread From: Livius @ 2024-07-29 22:30 UTC (permalink / raw) To: openembedded-core No, it is not in my scope. I am not the responsible or mainntainer for it, and i do not understand the latest patch what it like to do and what should it resolved. I can not solve it, sorry. It was reported a half year ago. Please if it is not working as before, do not commit it, rather revert this patch which cause a totally buggy license deploying at the moment in the latest Scarthgap LTS. LTS branch shall not contains this kind of quality, in normally. ^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [scarthgap][master] license archiving is failed to tmp/deploy/licenses 2024-07-29 22:30 ` Livius @ 2024-07-29 22:35 ` Livius [not found] ` <Groupsio.1.4791.1722292240522892465@lists.openembedded.org> 1 sibling, 0 replies; 10+ messages in thread From: Livius @ 2024-07-29 22:35 UTC (permalink / raw) To: openembedded-core No, it is not in my scope. I am not the responsible or mainntainer for it, and i do not understand the latest patch what it like to do and what should it resolved. I can not solve it, sorry. It was reported a half year ago, it should be resolved by a real maintainer/developer. Please, if it is not working as before, do not commit it. Rather revert this patch which cause a totally buggy license deploying at the moment in the latest Scarthgap LTS. LTS branch shall not contains this kind of quality, in normally. ^ permalink raw reply [flat|nested] 10+ messages in thread
[parent not found: <Groupsio.1.4791.1722292240522892465@lists.openembedded.org>]
* Re: [OE-core] [scarthgap][master] license archiving is failed to tmp/deploy/licenses [not found] ` <Groupsio.1.4791.1722292240522892465@lists.openembedded.org> @ 2024-07-30 10:55 ` Alexander Kanavin 0 siblings, 0 replies; 10+ messages in thread From: Alexander Kanavin @ 2024-07-30 10:55 UTC (permalink / raw) To: egyszeregy; +Cc: openembedded-core On Tue, 30 Jul 2024 at 00:35, Livius via lists.openembedded.org <egyszeregy=freemail.hu@lists.openembedded.org> wrote: > No, it is not in my scope. I am not the responsible or mainntainer for it, and i do not understand the latest patch what it like to do and what should it resolved. I can not solve it, sorry. It was reported a half year ago, it should be resolved by a real maintainer/developer. > > Please, if it is not working as before, do not commit it. Rather revert this patch which cause a totally buggy license deploying at the moment in the latest Scarthgap LTS. LTS branch shall not contains this kind of quality, in normally. > Calibrating expectations will serve you well. Yocto is an open source project, and not your commercial supplier. You can take what there is without any fees whatsoever, put it into a product, sell the product, and keep all of the income the product generates. How maintainers and contributors actually make a living and find time to fulfill their commitments is not your problem. Here's the other side of the deal: nobody owes you a bugfix for a problem you're having. Not only that, no one owes you an investigation into your problem either. We're all volunteers; if your problem isn't particularly interesting, relevant or common, there are always far more important issues to us. Especially if you act entitled and demanding. If no one reacts to your issues, the correct thing to do is one of these: - own the problem. Study the code, study the history of changes, ask questions about those things if you have them. Then work your way towards a fix and a test for it. This can take significant time, which is not going towards adding value to your product. - hire someone to do this for you. You can hire me, for example. Alex ^ permalink raw reply [flat|nested] 10+ messages in thread
end of thread, other threads:[~2024-07-30 10:55 UTC | newest]
Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-07-17 20:28 [scarthgap][master] license archiving is failed to tmp/deploy/licenses Livius
2024-07-22 21:45 ` [OE-core] " Richard Purdie
2024-07-23 15:07 ` Livius
2024-07-23 15:09 ` Livius
2024-07-28 16:46 ` Livius
2024-07-28 16:50 ` Livius
2024-07-29 18:41 ` [OE-core] " Alexander Kanavin
2024-07-29 22:30 ` Livius
2024-07-29 22:35 ` Livius
[not found] ` <Groupsio.1.4791.1722292240522892465@lists.openembedded.org>
2024-07-30 10:55 ` [OE-core] " Alexander Kanavin
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox