Hi Dhanya, 

I tried to reproduce the build you described. 

What i found is that there is a empty value for the variable 'parent_path'. 

I updated my local bitbake code with the following elements and maybe you could 
do the same and tell us if that solved the issue so we we can create a patch. 

I will use your directories so you can replicate on your side: 

Change 1 
/home/dhanyalakshmi/distro/sources/poky/bitbake/lib/bb/ui/buildinfohelper.py 
line 562, in save_target_file_information 

Replace: 
parent_obj = Target_File.objects.get(target = target_obj, path = parent_path, 
inodetype = Target_File.ITYPE_DIRECTORY) 

with : 
try: 
parent_obj = Target_File.objects.get(target = target_obj, path = parent_path, 
inodetype = Target_File.ITYPE_DIRECTORY) 
except Target_File.DoesNotExist: 
parent_obj = None 




Change 2 
/home/dhanyalakshmi/distro/sources/poky/bitbake/lib/bb/ui/buildinfohelper.py 
line 1793 

add 
if image_name is None: 
image_name = "" 
before line 
real_image_name = re.sub(r'^defaultpkgname', image_target.target, 
image_name) 


This is my local output: 

NOTE: Toaster does not add kernel module dependencies to packages 
(kernel-module-nxp-wlan,kernel-module-moal-6.1.55+g770c5fe2c1d1) 
NOTE: Toaster does not add kernel module dependencies to packages 
(cryptodev-module,kernel-module-cryptodev-6.1.55+g770c5fe2c1d1) 
NOTE: Writing buildhistory 
NOTE: Writing buildhistory took: 8 seconds 
NOTE: image artifacts for target 14 cloned from target 12 
NOTE: Build exited with errorcode 0 
NOTE: ToasterUI build done, brbe: None 
WARNING: Return value is 0 




From: "dhanyalakshmi.k via lists.yoctoproject.org" 
<[email protected]> 
To: "toaster" <[email protected]> 
Sent: Friday, May 17, 2024 9:20:25 AM 
Subject: Re: [Toaster] Getting error when i build an image after starting the 
toaster 

Hi David, 
went through your suggestion,i saw that their is no meta-freescale and 
mets-nxp-desktop layers in mickledore branch in openembedded layer index list. 
So i tried to submit this two layers but i'm unable to submit. It is giving me 
layer already exists but this meta-freescale layer is present in master branch 
not in mickledore branch but still facing not able to submit the branch. 
How to resolve this issue can you please let me know if you have any idea 
regarding this. 

Thank You 


 
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#6156): https://lists.yoctoproject.org/g/toaster/message/6156
Mute This Topic: https://lists.yoctoproject.org/mt/106149357/21656
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/toaster/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to