[poky] Error for do_package_write_rpm Sandybridge platform
chinmaya hoshing
cahoshing at gmail.com
Fri Apr 29 03:43:35 PDT 2011
Hi,
I have referred to this URL
http://cgit.openembedded.org/cgit.cgi/bitbake/commit/?id=c6c31b5c58a502703879243ca37585e058e09c71
where
there is patch for bitbake/lib/bb/utils.py file.But I have these patch
details by default in my utils.py file.So no need to apply the patch. But
still I am getting the same error as above.
Chinmaya
On Fri, Apr 29, 2011 at 2:29 PM, chinmaya hoshing <cahoshing at gmail.com>wrote:
> Hi,
>
> I am trying to port Poky to the "sandybridge platform" and using the
> branch "bernard" for "sugarbay" machine.
> I am running Ubuntu 10.10 on 64 bit machine.
>
> Following is the error I am getting :-
>
> ERROR: Error executing a python function in
> /home/abc/poky/meta/recipes-kernel/linux-libc-headers/
> linux-libc-headers-yocto_git.bb:
> ExpansionError: Failure expanding variable SUMMARY, expression was
> ${SUMMARY} - Debugging files which triggered exception Exception: variable
> SUMMARY references itself!
>
> ERROR: The stack trace of python calls that resulted in this
> exception/failure was:
> ERROR: File "write_specfile", line 363, in <module>
> ERROR:
> ERROR: File "write_specfile", line 124, in write_specfile
> ERROR:
> ERROR: File "/home/abc/poky/bitbake/lib/bb/data.py", line 88, in getVar
> ERROR: return d.getVar(var, exp)
> ERROR:
> ERROR: File "/home/abc/poky/bitbake/lib/bb/data_smart.py", line 272, in
> getVar
> ERROR: return self.expand(value, var)
> ERROR:
> ERROR: File "/home/abc/poky/bitbake/lib/bb/data_smart.py", line 144, in
> expand
> ERROR: return self.expandWithRefs(s, varname).value
> ERROR:
> ERROR: File "/home/abc/poky/bitbake/lib/bb/data_smart.py", line 134, in
> expandWithRefs
> ERROR: raise ExpansionError(varname, s, exc)
> ERROR:
> ERROR: The code that was being executed was:
> ERROR: 0359:
> ERROR: 0360: specfile.close()
> ERROR: 0361:
> ERROR: 0362:
> ERROR: *** 0363:write_specfile(d)
> ERROR: 0364:
> ERROR: (file: 'write_specfile', lineno: 363, function: <module>)
> ERROR: 0120: conffiles = (bb.data.getVar('CONFFILES', localdata,
> True) or "").split()
> ERROR: 0121:
> ERROR: 0122: splitname = pkgname
> ERROR: 0123:
> ERROR: *** 0124: splitsummary = (bb.data.getVar('SUMMARY', localdata,
> True) or bb.data.getVar('DESCRIPTION', localdata, True) or ".")
> ERROR: 0125: splitversion = (bb.data.getVar('PV', localdata, True) or
> "").replace('-', '+')
> ERROR: 0126: splitrelease = (bb.data.getVar('PR', localdata, True) or
> "")
> ERROR: 0127: splitepoch = (bb.data.getVar('PE', localdata, True) or
> "")
> ERROR: 0128: splitlicense = (bb.data.getVar('LICENSE', localdata,
> True) or "")
> ERROR: (file: 'write_specfile', lineno: 124, function: write_specfile)
> ERROR: Function 'write_specfile' failed
> ERROR: Logfile of failure stored in:
> /home/abc/poky/build/tmp/work/snb-poky-linux/linux-libc-headers-yocto-2.6.37+git-1+2b2ef940457f0bb40e0fb76937c921c2962364ca_1+2b2ef940457f0bb40e0fb76937c921c2962364ca-r3/temp/log.do_package_write_rpm.15003
> Log data follows:
> | ERROR: Error executing a python function in
> /home/abc/poky/meta/recipes-kernel/linux-libc-headers/
> linux-libc-headers-yocto_git.bb:
> | ExpansionError: Failure expanding variable SUMMARY, expression was
> ${SUMMARY} - Debugging files which triggered exception Exception: variable
> SUMMARY references itself!
> |
> | ERROR: The stack trace of python calls that resulted in this
> exception/failure was:
> | ERROR: File "write_specfile", line 363, in <module>
> | ERROR:
> | ERROR: File "write_specfile", line 124, in write_specfile
> | ERROR:
> | ERROR: File "/home/abc/poky/bitbake/lib/bb/data.py", line 88, in getVar
> | ERROR: return d.getVar(var, exp)
> | ERROR:
> | ERROR: File "/home/abc/poky/bitbake/lib/bb/data_smart.py", line 272, in
> getVar
> | ERROR: return self.expand(value, var)
> | ERROR:
> | ERROR: File "/home/abc/poky/bitbake/lib/bb/data_smart.py", line 144, in
> expand
> | ERROR: return self.expandWithRefs(s, varname).value
> | ERROR:
> | ERROR: File "/home/abc/poky/bitbake/lib/bb/data_smart.py", line 134, in
> expandWithRefs
> | ERROR: raise ExpansionError(varname, s, exc)
> | ERROR:
> | ERROR: The code that was being executed was:
> | ERROR: 0359:
> | ERROR: 0360: specfile.close()
> | ERROR: 0361:
> | ERROR: 0362:
> | ERROR: *** 0363:write_specfile(d)
> | ERROR: 0364:
> | ERROR: (file: 'write_specfile', lineno: 363, function: <module>)
> | ERROR: 0120: conffiles = (bb.data.getVar('CONFFILES', localdata,
> True) or "").split()
> | ERROR: 0121:
> | ERROR: 0122: splitname = pkgname
> | ERROR: 0123:
> | ERROR: *** 0124: splitsummary = (bb.data.getVar('SUMMARY', localdata,
> True) or bb.data.getVar('DESCRIPTION', localdata, True) or ".")
> | ERROR: 0125: splitversion = (bb.data.getVar('PV', localdata, True)
> or "").replace('-', '+')
> | ERROR: 0126: splitrelease = (bb.data.getVar('PR', localdata, True)
> or "")
> | ERROR: 0127: splitepoch = (bb.data.getVar('PE', localdata, True)
> or "")
> | ERROR: 0128: splitlicense = (bb.data.getVar('LICENSE', localdata,
> True) or "")
> | ERROR: (file: 'write_specfile', lineno: 124, function: write_specfile)
> | ERROR: Function 'write_specfile' failed
> NOTE: package
> linux-libc-headers-yocto-2.6.37+git-1+2b2ef940457f0bb40e0fb76937c921c2962364ca_1+2b2ef940457f0bb40e0fb76937c921c2962364ca-r3:
> task do_package_write_rpm: Failed
> ERROR: Task 807 (/home/abc/poky/meta/recipes-devtools/gcc/libgcc_4.5.1.bb,
> do_package_write_rpm) failed with exit code '1'
>
> Please anyone can help me to try to track this error
>
> Chinmaya
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/poky/attachments/20110429/42611978/attachment.html>
More information about the poky
mailing list