[yocto] Error while building my own package

Gary Thomas gary at mlbassoc.com
Sat Feb 28 06:06:28 PST 2015


On 2015-02-28 06:08, Priya Agarwal wrote:
> 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 <http://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.

Check the logs carefully.  The configure error is
ERROR:      0051:        bb.fatal("Licensing Error: LIC_FILES_CHKSUM does not match, please fix")

This one should be obvious - the checksum in your recipe does not
match the checksum of the real file in your source package.

The do_populate_lic error is a result of the first.

-- 
------------------------------------------------------------
Gary Thomas                 |  Consulting for the
MLB Associates              |    Embedded world
------------------------------------------------------------



More information about the yocto mailing list