[yocto] Error while building my own package

Priya Agarwal priya_agarwal at students.iitmandi.ac.in
Sat Feb 28 05:08:44 PST 2015


Hi,

I want to add a very simple autotools based package to the kernel image
(for freescale's t4240qds board) I built with yocto for testing purposes.

Background: I wrote a simple c++ code, autoconf and automake'd it and
compressed it as tar.bz2 file. Wrote a simple recipe for it. I have
attached both the files.

Problem: When I do bitbake <mypackage>, I get 2 errors. Basically
do_populate_lic and do_configure fail. Main errors is as follows. I have
attached the logfile as well.

ERROR: Error executing a python function in
/media/NewVolume/yocto/meta-mylayer/recipes-examples/area/area_1.0.bb:
ValueError: need more than 1 value to unpack


I have less experience with yocto, so please pardon me for silly errors.

Regards
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20150228/221e6e75/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: area-1.0.tar.bz2
Type: application/x-bzip2
Size: 71493 bytes
Desc: not available
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20150228/221e6e75/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: area_1.0.bb
Type: application/octet-stream
Size: 434 bytes
Desc: not available
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20150228/221e6e75/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: log.do_configure.16592
Type: application/octet-stream
Size: 7506 bytes
Desc: not available
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20150228/221e6e75/attachment-0001.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: log.do_populate_lic.16593
Type: application/octet-stream
Size: 2477 bytes
Desc: not available
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20150228/221e6e75/attachment-0002.obj>


More information about the yocto mailing list