[yocto] Yocto-9.0 Lttng-modules fails to build.

Andy Ng andreas2025 at gmail.com
Tue Sep 3 12:53:51 PDT 2013


Dear List,

I try to build lttng by calling the package group for profiling, and I've
got this error:
Does anyone has tried profile package group lately?


ERROR: Error executing a python function in
/opt/projects/yocto/yocto-9.0/sources/poky/meta/recipes-kernel/lttng/
lttng-modules_2.1.1.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 508, in <module>
ERROR:
ERROR:   File "write_specfile", line 211, in write_specfile
ERROR:
ERROR:   File
"/opt/projects/yocto/yocto-9.0/sources/poky/bitbake/lib/bb/data_smart.py",
line 503, in getVar
ERROR:     return self.expand(value, var)
ERROR:
ERROR:   File
"/opt/projects/yocto/yocto-9.0/sources/poky/bitbake/lib/bb/data_smart.py",
line 336, in expand
ERROR:     return self.expandWithRefs(s, varname).value
ERROR:
ERROR:   File
"/opt/projects/yocto/yocto-9.0/sources/poky/bitbake/lib/bb/data_smart.py",
line 326, in expandWithRefs
ERROR:     raise ExpansionError(varname, s, exc)
ERROR:
ERROR: The code that was being executed was:
ERROR:      0504:
ERROR:      0505:    specfile.close()
ERROR:      0506:
ERROR:      0507:
ERROR:  *** 0508:write_specfile(d)
ERROR:      0509:
ERROR: [From file: 'write_specfile', lineno: 508, function: <module>]
ERROR:      0207:        conffiles = (localdata.getVar('CONFFILES', True)
or "").split()
ERROR:      0208:
ERROR:      0209:        splitname    = strip_multilib(pkgname, d)
ERROR:      0210:
ERROR:  *** 0211:        splitsummary = (localdata.getVar('SUMMARY', True)
or localdata.getVar('DESCRIPTION', True) or ".")
ERROR:      0212:        splitversion = (localdata.getVar('PKGV', True) or
"").replace('-', '+')
ERROR:      0213:        splitrelease = (localdata.getVar('PKGR', True) or
"")
ERROR:      0214:        splitepoch   = (localdata.getVar('PKGE', True) or
"")
ERROR:      0215:        splitlicense = (localdata.getVar('LICENSE', True)
or "")
ERROR: [From file: 'write_specfile', lineno: 211, function: write_specfile]
ERROR: Function failed: write_specfile
ERROR: Logfile of failure stored in:
/opt/projects/yocto/yocto-9.0/build-imx6qsabresdrt/tmp/work/imx6qsabresdrt-poky-linux-gnueabi/lttng-modules/2.1.1-r0/temp/log.do_package_write_rpm.9007
ERROR: Task 13
(/opt/projects/yocto/yocto-9.0/sources/poky/meta/recipes-kernel/lttng/
lttng-modules_2.1.1.bb, do_package_write_rpm) failed with exit code '1'


Best regards,
Andreas
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20130903/f3fd68e5/attachment.html>


More information about the yocto mailing list