bitbake returns OperationError on data_smart.py

Description

Env :

Window Subsystem Linux , Ubuntu 18.04 LTS

 

Command : 

source meta-agl/scripts/aglsetup.sh -m raspberrypi3 agl-demo agl-netboot agl-appfw-smack

bitbake agl-demo-platform

 

Error log :

ERROR: ExpansionError during parsing /root/workspace_agl/meta-agl/meta-agl-profile-core/recipes-apis/agl-service-mediascanner/agl-service-mediascanner_git.bb | ETA: 0:03:07
Traceback (most recent call last):
File "/root/workspace_agl/external/poky/bitbake/lib/bb/data_smart.py", line 808, in DataSmart.getVarFlag(var='PV', flag='_content', expand=True, noweakdefault=False, parsing=False, retparser=False):
if expand or retparser:
> parser = self.expandWithRefs(value, cachename)
if expand:
File "/root/workspace_agl/external/poky/bitbake/lib/bb/data_smart.py", line 416, in DataSmart.expandWithRefs(s='1.0+git${SRCPV}', varname='PV'):
try:
> s = _expand_var_regexp_.sub(varparse.var_sub, s)
try:
File "/root/workspace_agl/external/poky/bitbake/lib/bb/data_smart.py", line 108, in VariableParse.var_sub(match=<_sre.SRE_Match object; span=(7, 15), match='${SRCPV}'>):
raise Exception("variable %s references itself!" % self.varname)
> var = self.d.getVarFlag(key, "_content")
self.references.add(key)
File "/root/workspace_agl/external/poky/bitbake/lib/bb/data_smart.py", line 808, in DataSmart.getVarFlag(var='SRCPV', flag='_content', expand=True, noweakdefault=False, parsing=False, retparser=False):
if expand or retparser:
> parser = self.expandWithRefs(value, cachename)
if expand:
File "/root/workspace_agl/external/poky/bitbake/lib/bb/data_smart.py", line 430, in DataSmart.expandWithRefs(s='${@bb.fetch2.get_srcrev(d)}', varname='SRCPV'):
except Exception as exc:
> raise ExpansionError(varname, s, exc) from exc

bb.data_smart.ExpansionError: Failure expanding variable SRCPV, expression was ${@bb.fetch2.get_srcrev(d)} which triggered exception OperationalError: disk I/O error

Summary: There was 1 ERROR message shown, returning a non-zero exit code.

Environment

None

Attachments

1

Activity

Jan-Simon Moeller 
May 6, 2021 at 11:34 AM

Could you resolve your build issue with a fresh clone ?

Jan-Simon Moeller 
April 27, 2021 at 12:42 PM

Please make sure you use a fresh folder/clone as a standard user and not as root.
You should use the latest release of the icefish branch in question.
Icefish is EOL as well, so its best to reproduce the issue with the master branch.

Walt Miner 
April 21, 2021 at 8:57 PM

 Are you still having a problem?  Can this issue be resolved?

제욱 조 
April 13, 2021 at 2:20 AM

 kindly reminder

제욱 조 
April 1, 2021 at 5:56 AM
(edited)

 Thanks for quick response. When I tried to run the command with normal user, the similar error log continuously occurred.

I figured out that  the bitbake command looked passed after I ran the command 4~5 times.

 

but finally I got the error log like attached

Fixed

Details

Assignee

Reporter

Hardware Platform(s) Affected

Raspberry Pi 3

Components

Affects versions

Priority

Created March 31, 2021 at 7:41 AM
Updated July 14, 2021 at 12:55 PM
Resolved May 7, 2021 at 6:05 AM