[yocto] LIC_FILES_CHKSUM issue

Frans Meulenbroeks fransmeulenbroeks at gmail.com
Sat Dec 4 15:22:22 PST 2010


Hi,

I was porting a recipe from OE to yocto and bumped into a
LIC_FILES_CHKSUM  error.
I get a message about  LIC_FILES_CHKSUM

Checked the ref man
(http://www.yoctoproject.org/docs/poky-ref-manual/poky-ref-manual.html#usingpoky-specifying-LIC_FILES_CHKSUM)
added this:
LIC_FILES_CHKSUM = "file://COPYING; md5=xxxx"
in the hope to get the checksum.
However I don't get one, so I run md5sum on the COPYING file myself
and replace xxxx with that value.

No success though, I still get:

| NOTE: Checking autotools environment for common misconfiguration
| FATAL: Gettext required but not in DEPENDS for file
/home/frans/poky/poky/build/tmp/work/armv5te-poky-linux-gnueabi/libcddb-1.3.2-r0/libcddb-1.3.2/configure.ac.
| Missing inherit gettext?
| ERROR: Error in executing python function in:
/home/frans/poky/poky/meta-private/recipes/libcddb/libcddb_1.3.2.bb
| ERROR: Exception:<type 'exceptions.SystemExit'> Message:1
| ERROR: Traceback:
| ERROR:   File "do_qa_configure", line 36, in <module>
| ERROR:
| ERROR:   File "do_qa_configure", line 31, in do_qa_configure
| ERROR:
| ERROR:   File
"/home/frans/poky/poky/scripts/..//bitbake/lib/bb/__init__.py", line
56, in fatal
| ERROR:     bb.msg.fatal(None, ''.join(args))
| ERROR:
| ERROR:   File
"/home/frans/poky/poky/scripts/..//bitbake/lib/bb/msg.py", line 139,
in fatal
| ERROR:     sys.exit(1)
| ERROR:
| ERROR: The lines leading to this error were:
| ERROR: 	0032:
| ERROR: 	0033:    if not package_qa_check_license(workdir, d):
| ERROR: 	0034:        bb.fatal("Licensing warning: LIC_FILES_CHKSUM
does not match, please fix")
| ERROR: 	0035:
| ERROR: Task failed: ('Function do_qa_configure failed',
'/home/frans/poky/poky/build/tmp/work/armv5te-poky-linux-gnueabi/libcddb-1.3.2-r0/temp/log.do_configure.12827')
NOTE: package libcddb-1.3.2-r0: task do_configure: Failed

No idea on how to resolve this.

Frans



More information about the yocto mailing list