I have a problem with building run-postinsts when changing the machine
configuration for a build. I think I saw similar topics to this but to be
honest it is hard to debug for me and maybe someone will be able to help.
It can be reproduced by building run-postinsts when using `poky` as a distro and
`ls1028ardb` [1] as a machine and then just changing the machine to
`am57xx-evm` [2]. Then the following error shows up

```
ERROR: run-postinsts-1.0-r0 do_create_spdx: Cannot find any SPDX file for 
recipe initscripts, False 
sstate:initscripts:aarch64-poky-linux:1.0:r0:aarch64:12: 
sstate:initscripts::1.0:r0::12:
ERROR: Logfile of failure stored in: 
/home/ubuntu/meta-proj/build/tmp/work/all-poky-linux/run-postinsts/1.0/temp/log.do_create_spdx.14761
ERROR: Task 
(/home/ubuntu/meta-proj/build/../poky/meta/recipes-devtools/run-postinsts/run-postinsts_1.0.bb:do_create_spdx)
 failed with exit code '1'
```

Why the run-postinsts do_create_spdx package depends on initscripts recipe
anyhow? I could go past this error by removing `allarch` from inherit directive
set in `run-postinsts` [3] recipe but it does not seems to be good solution for
this problem as this recipe clearly produce allarchs artifacts. How to debug
this?

[1] 
https://github.com/Freescale/meta-freescale/blob/scarthgap/conf/machine/ls1028ardb.conf
[2] 
https://git.yoctoproject.org/meta-ti/tree/meta-ti-bsp/conf/machine/am57xx-evm.conf
[3] 
https://git.yoctoproject.org/poky/plain/meta/recipes-devtools/run-postinsts/run-postinsts_1.0.bb

Regards
Tomasz Żyjewski
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#113414): 
https://lists.openembedded.org/g/openembedded-devel/message/113414
Mute This Topic: https://lists.openembedded.org/mt/109402206/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to