UPGRADE YOUR BROWSER

We have detected your current browser version is not the latest one. Xilinx.com uses the latest web technologies to bring you the best online experience possible. Please upgrade to a Xilinx.com supported browser:Chrome, Firefox, Internet Explorer 11, Safari. Thank you!

cancel
Showing results for 
Search instead for 
Did you mean: 
Contributor
Contributor
603 Views
Registered: ‎08-29-2018

ERROR: Execution of event handler 'sstate_eventhandler2' failed

Jump to solution

I installed petalinux2018.1 environment on my pc and build a project, but I got erros like this:

 

chen@chen-S2600CP:~/Desktop/peta_prj2018/myprj$ petalinux-build
[INFO] building project
[INFO] sourcing bitbake
INFO: bitbake petalinux-user-image
Loading cache: 100% |#######################################################################################################################################################################| Time: 0:00:01
Loaded 3435 entries from dependency cache.
Parsing recipes: 100% |#####################################################################################################################################################################| Time: 0:00:04
Parsing of 2547 .bb files complete (2508 cached, 39 parsed). 3439 targets, 136 skipped, 0 masked, 0 errors.
ERROR: Execution of event handler 'sstate_eventhandler2' failed
Traceback (most recent call last):
File "/media/chen/2064d215-0535-4f14-ad52-9980ea57f534/petalinux2018/petalinux/components/yocto/source/aarch64/layers/core/meta/classes/sstate.bbclass", line 1033, in sstate_eventhandler2(e=<bb.event.ReachableStamps object at 0x7f004052aef0>):
for l in lines:
> (stamp, manifest, workdir) = l.split()
if stamp not in stamps and stamp not in preservestamps:
ValueError: not enough values to unpack (expected 3, got 1)

ERROR: Command execution failed: Traceback (most recent call last):
File "/media/chen/2064d215-0535-4f14-ad52-9980ea57f534/petalinux2018/petalinux/components/yocto/source/aarch64/layers/core/bitbake/lib/bb/command.py", line 113, in runAsyncCommand
self.cooker.updateCache()
File "/media/chen/2064d215-0535-4f14-ad52-9980ea57f534/petalinux2018/petalinux/components/yocto/source/aarch64/layers/core/bitbake/lib/bb/cooker.py", line 1539, in updateCache
bb.event.fire(event, self.databuilder.mcdata[mc])
File "/media/chen/2064d215-0535-4f14-ad52-9980ea57f534/petalinux2018/petalinux/components/yocto/source/aarch64/layers/core/bitbake/lib/bb/event.py", line 222, in fire
fire_class_handlers(event, d)
File "/media/chen/2064d215-0535-4f14-ad52-9980ea57f534/petalinux2018/petalinux/components/yocto/source/aarch64/layers/core/bitbake/lib/bb/event.py", line 134, in fire_class_handlers
execute_handler(name, handler, event, d)
File "/media/chen/2064d215-0535-4f14-ad52-9980ea57f534/petalinux2018/petalinux/components/yocto/source/aarch64/layers/core/bitbake/lib/bb/event.py", line 106, in execute_handler
ret = handler(event)
File "/media/chen/2064d215-0535-4f14-ad52-9980ea57f534/petalinux2018/petalinux/components/yocto/source/aarch64/layers/core/meta/classes/sstate.bbclass", line 1033, in sstate_eventhandler2
(stamp, manifest, workdir) = l.split()
ValueError: not enough values to unpack (expected 3, got 1)


Summary: There were 2 ERROR messages shown, returning a non-zero exit code.
ERROR: Failed to build project

 

By the way, I have petalinux2019.1 on my PC and it works well. To build different version project,  I need to source diffrent settings.sh  everytime.

0 Kudos
1 Solution

Accepted Solutions
Highlighted
Contributor
Contributor
567 Views
Registered: ‎08-29-2018

Re: ERROR: Execution of event handler 'sstate_eventhandler2' failed

Jump to solution

I find the reason, it was because my sevser had shutted down while buiding petalinux peoject. What I need to do is just delect tmp and sstate-cache directorys under <your_project>/build/.

 

Check  https://stackoverflow.com/questions/50015145/bitbake-fails-at-the-simplest-recipe.

View solution in original post

0 Kudos
1 Reply
Highlighted
Contributor
Contributor
568 Views
Registered: ‎08-29-2018

Re: ERROR: Execution of event handler 'sstate_eventhandler2' failed

Jump to solution

I find the reason, it was because my sevser had shutted down while buiding petalinux peoject. What I need to do is just delect tmp and sstate-cache directorys under <your_project>/build/.

 

Check  https://stackoverflow.com/questions/50015145/bitbake-fails-at-the-simplest-recipe.

View solution in original post

0 Kudos