On 09/20/2012 10:07 AM, Tarek El-Sherbiny wrote:
I would like to include lighttpd to my image but I can't build it.

This is the error message I'm getting.

NOTE: package lighttpd-1.4.30-r12: task do_package: Started
ERROR: Error executing a python function in
/home/telsherbiny/work/fsl/sources/poky/meta/recipes-extended/lighttpd/lighttpd_1.4.30.bb
<http://lighttpd_1.4.30.bb>:
AttributeError: 'NoneType' object has no attribute 'split'

Based on this, some variable is returning a NoneType and split is chocking, I don't really have enough information to go on for where this is happening.

I know that lighttpd does build in Poky, so it may be some local configuration issue?

Sau!

ERROR: The stack trace of python calls that resulted in this
exception/failure was:
ERROR:   File "populate_packages", line 321, in <module>
ERROR:
ERROR:   File "populate_packages", line 115, in populate_packages
ERROR:
ERROR:   File "populate_packages", line 72, in systemd_check_services
ERROR:
ERROR: The code that was being executed was:
ERROR:      0317:bb.note("%s contains dangling symlink to %s" % (pkg, l))
ERROR:      0318:d.setVar('RDEPENDS_' + pkg,
bb.utils.join_deps(rdepends, commasep=False))
ERROR:      0319:
ERROR:      0320:
ERROR:  *** 0321:populate_packages(d)
ERROR:      0322:
ERROR: (file: 'populate_packages', lineno: 321, function: <module>)
ERROR:      0111:for pkg_systemd in d.getVar('SYSTEMD_PACKAGES', 1).split():
ERROR:      0112:if d.getVar('SYSTEMD_SERVICE' + "_" + pkg_systemd, 1)
and d.getVar('SYSTEMD_SERVICE' + "_" + pkg_systemd, 1).strip():
ERROR:      0113:systemd_generate_package_scripts(pkg_systemd)
ERROR:      0114:systemd_add_rdepends(pkg_systemd)
ERROR:  *** 0115:systemd_check_services()
ERROR:      0116:def update_rcd_package(pkg):
ERROR:      0117:bb.debug(1, 'adding update-rc.d calls to
postinst/postrm for %s' % pkg)
ERROR:      0118:localdata = bb.data.createCopy(d)
ERROR:      0119:overrides = localdata.getVar("OVERRIDES", True)
ERROR: (file: 'populate_packages', lineno: 115, function: populate_packages)
ERROR: Function failed: populate_packages
ERROR: Logfile of failure stored in:
/home/telsherbiny/work/fsl/build/tmp/work/armv7a-vfp-neon-poky-linux-gnueabi/lighttpd-1.4.30-r12/temp/log.do_package.5062
NOTE: package lighttpd-1.4.30-r12: task do_package: Failed
ERROR: Task 282
(/home/telsherbiny/work/fsl/sources/poky/meta/recipes-extended/lighttpd/lighttpd_1.4.30.bb
<http://lighttpd_1.4.30.bb>, do_package) failed with exit code '1'
NOTE: Tasks Summary: Attempted 3469 tasks of which 3467 didn't need to
be rerun and 1 failed.

Can someone help please

Thanks


_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core


_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core

Reply via email to