[poky] Missing LIC_FILES_CHKSUM in external-csl-toolchain_2008q3-72.bb

Joel joelzhou.ca at gmail.com
Thu Feb 17 08:50:33 PST 2011


Environment:
$ uname -a
Linux satcom-build1 2.6.35.4-rscloud #8 SMP Mon Sep 20 15:54:33 UTC 2010
x86_64 GNU/Linux

CodeSourcery toolchain-2008q3 was installed at:
        /usr/local/csl/arm-2008q3
build/conf/local.conf
        POKYMODE = "external-csl2008q3"
$ git log
commit 7e4c694c9f53ce9458e052adb918c45db88254dd
Author: Richard Purdie <richard.purdie at linuxfoundation.org>
Date:   Wed Feb 16 12:33:40 2011 +0000

1. ERROR:elf/ldd.bash.in missing
$ bitbake task-poky-boot
Log data follows:
        | sed: can't read
/srv/Sierra/poky/build/tmp/work/armv7a-none-linux-gnueabi/external-csl-toolchain-2008q3-72-r1/external-csl-toolchain-2008q3-72/elf/
ldd.bash.in: No such file or directory
        | ERROR: Function 'do_configure' failed (see
/srv/Sierra/poky/build/tmp/work/armv7a-none-linux-gnueabi/external-csl-toolchain-2008q3-72-r1/temp/log.do_configure.2231
for further information)
NOTE: package external-csl-toolchain-2008q3-72-r1: task do_configure: Failed
ERROR: '/srv/Sierra/poky/meta/recipes-core/meta/
external-csl-toolchain_2008q3-72.bb' failed

WORKAROUND:comment out do_configure_prepend in
poky/meta/classes/libc-package.bbclass
do_configure_prepend() {
-        sed -e "s#@BASH@#/bin/sh#" -i ${S}/elf/ldd.bash.in
+        #sed -e "s#@BASH@#/bin/sh#" -i ${S}/elf/ldd.bash.in
}

2.ERROR:LIC_FILES_CHKSUM missing
Log data follows:
| NOTE: Checking autotools environment for common misconfiguration
| ERROR: external-csl-toolchain: Recipe file does not have license file
information (LIC_FILES_CHKSUM)
| ERROR: Licensing Error: LIC_FILES_CHKSUM does not match, please fix
| ERROR: Function 'do_qa_configure' failed

WORKAROUND:add a blank MIT license file and LIC_FILES_CHKSUM in
external-csl-toolchain_2008q3-72.bb

meta/recipes-core/meta/external-csl-toolchain_2008q3-72.bb
        LICENSE = "MIT"
+        LIC_FILES_CHKSUM =
"file://MIT;md5=9583d27c8aa1fc328fa6a8e747c88940"

$ md5sum /srv/Sierra/poky/meta/recipes-core/meta/external-csl-toolchain/MIT
9583d27c8aa1fc328fa6a8e747c88940
 /srv/Sierra/poky/meta/recipes-core/meta/external-csl-toolchain/MIT

3.ERROR:LIC_FILES_CHKSUM points to invalid file
Log data follows:
| NOTE: Checking autotools environment for common misconfiguration
| ERROR: Function 'external-csl-toolchain: LIC_FILES_CHKSUM points to
invalid file: MIT' failed


Can anyone give me some advice for adding license file information for
recipe file?

Best regard,

Joel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/poky/attachments/20110217/94bfe809/attachment.html>


More information about the poky mailing list