On Wed, 15 May 2024 at 11:36, pmi183 via lists.openembedded.org
<pmi183=gmail....@lists.openembedded.org> wrote:
> - why is it unable to find anything in packages-split/, if it executes after 
> populate_packages which places things there?
>
> As far as i could understand, there is some concurrency issue between 
> package.bbclass and buildhistory.bbclass. Taking in consideration that 
> `buildhistory_list_pkg_files` is triggered by checking if `BB_CURRENTTASK` is 
> `package` and at the same time `PACKAGESPLITFUNCS` is triggered on 
> `do_package`, this leads to the issue with missing files since buildhistory 
> bbclass might be looking into something that wasnt yet created. In my 
> findings, `buildhistory_list_pkg_files` should be called in the end of 
> `do_package` execution where `packages-split` directory is created and 
> populated.
>
> Is there any clear reason why we cant move `buildhistory_list_pkg_files` to 
> `packagedata` task since its the next task to be executed?

The reason is that the issue is not fully understood, and this move
might be working around the real issue. The logs I saw indicate that
package_split completes before buildhistory_list_pkg_files starts.
This needs to be looked into further.

Alex
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#199275): 
https://lists.openembedded.org/g/openembedded-core/message/199275
Mute This Topic: https://lists.openembedded.org/mt/87258776/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to