[yocto] OE recipes- linphone build error in poky-9.0.0 build environment

Amit Kumar Amit.Kumar at lntinfotech.com
Thu Aug 29 11:30:47 PDT 2013


Thanks for replay,

                 I have follow the steps suggested by Mr. Paul, but still i am facing an error.
I wants to build the linphone along with my Yocto Project build environment setup. I found linphone recipes in openembedded git. I have added that recipe and also add the dependancy recipes libosip2 and also modify .bb files. But still i am getting build error.
/********/
Loading cache: 100% |#################################################################################################| ETA:  00:00:00
Loaded 1128 entries from dependency cache.

Build Configuration:
BB_VERSION        = "1.18.0"
BUILD_SYS         = "i686-linux"
NATIVELSBSTRING   = "Ubuntu-12.04"
TARGET_SYS        = "arm-poky-linux-gnueabi"
MACHINE           = "qemuarm"
DISTRO            = "poky"
DISTRO_VERSION    = "1.4"
TUNE_FEATURES     = "armv5 thumb dsp"
TARGET_FPU        = "soft"
meta
meta-yocto
meta-yocto-bsp
meta-linphone     = "<unknown>:<unknown>"

NOTE: Resolving any missing task queue dependencies
NOTE: Preparing runqueue
NOTE: Executing SetScene Tasks
NOTE: Executing RunQueue Tasks
ERROR: Fetcher failure for URL: 'http://download.savannah.nongnu.org/releases/linphone/1.6.x/sources/linphone-1.6.0.tar.gz'. No checksum specified for /home/yocto/YOCTO/poky-dylan-9.0.0/build/downloads/linphone-1.6.0.tar.gz, please add at least one to the recipe:
SRC_URI[md5sum] = "fb345125e23c787df0818ff7caad5515"
SRC_URI[sha256sum] = "ba1c32207fd62d374c9397a81fb1247da93edb859e30d0d855dc65e5457f690b"
ERROR: Function failed: Fetcher failure for URL: 'http://download.savannah.nongnu.org/releases/linphone/1.6.x/sources/linphone-1.6.0.tar.gz'. No checksum specified for /home/yocto/YOCTO/poky-dylan-9.0.0/build/downloads/linphone-1.6.0.tar.gz, please add at least one to the recipe:
SRC_URI[md5sum] = "fb345125e23c787df0818ff7caad5515"
SRC_URI[sha256sum] = "ba1c32207fd62d374c9397a81fb1247da93edb859e30d0d855dc65e5457f690b"
ERROR: Logfile of failure stored in: /home/yocto/YOCTO/poky-dylan-9.0.0/build/tmp/work/armv5te-poky-linux-gnueabi/linphone/1.6.0-r3/temp/log.do_fetch.3098
ERROR: Task 358 (/home/yocto/YOCTO/poky-dylan-9.0.0/meta-linphone/recipes-linphone/linphone/linphone_1.6.0.bb, do_fetch) failed with exit code '1'
ERROR: libosip2: Recipe file does not have license file information (LIC_FILES_CHKSUM)
ERROR: Licensing Error: LIC_FILES_CHKSUM does not match, please fix
ERROR: Function failed: do_qa_configure
ERROR: Logfile of failure stored in: /home/yocto/YOCTO/poky-dylan-9.0.0/build/tmp/work/armv5te-poky-linux-gnueabi/libosip2/3.5.0-r0/temp/log.do_configure.3078
ERROR: Task 1024 (/home/yocto/YOCTO/poky-dylan-9.0.0/meta-linphone/recipes-linphone/libosip2/libosip2_3.5.0.bb, do_configure) failed with exit code '1'
NOTE: Tasks Summary: Attempted 4749 tasks of which 4747 didn't need to be rerun and 2 failed.
Waiting for 0 running tasks to finish:

Summary: 2 tasks failed:
/********/

Do anyone knows how to fix the LIC_FILES_CHKSUM for libosip2 .bb file or linphone .bb file.
Please suggest me how to fix this error.

Thanks & Regards
Amit K.


________________________________________
From: Paul Eggleton [paul.eggleton at linux.intel.com]
Sent: Wednesday, August 28, 2013 1:43 PM
To: Amit Kumar
Cc: yocto at yoctoproject.org
Subject: Re: [yocto] OE recipes- linphone build error in poky-9.0.0 build environment

Hi Amit,

On Wednesday 28 August 2013 09:05:28 Amit Kumar wrote:
>      I wants to build the recipes name linphone(SIP-based IP phone) with
> poky-9.0.0 build environment. I found he linphone recipes under the
> "angstrom-openembedded". In my poky build environment I have created the
> new layer, name linphone, and copy the .bb files. But when i am building it
> through an dependency error.
>
> Do anyone have done it before, please guide me how to fix this error.
>
> ////////////////////////////////////////////////////////////////////////////
> //////////////////// yocto at yocto-HP:~/YOCTO/poky-dylan-9.0.0/build$ bitbake
> linphone-image Loading cache: 100%
> |##########################################################################
> #######################| ETA:  00:00:00 Loaded 1126 entries from dependency
> cache.
>
> Build Configuration:
> BB_VERSION        = "1.18.0"
> BUILD_SYS         = "i686-linux"
> NATIVELSBSTRING   = "Ubuntu-12.04"
> TARGET_SYS        = "arm-poky-linux-gnueabi"
> MACHINE           = "qemuarm"
> DISTRO            = "poky"
> DISTRO_VERSION    = "1.4"
> TUNE_FEATURES     = "armv5 thumb dsp"
> TARGET_FPU        = "soft"
> meta
> meta-yocto
> meta-yocto-bsp
> meta-linphone     = "<unknown>:<unknown>"
>
> NOTE: Resolving any missing task queue dependencies
> ERROR: Nothing PROVIDES 'libosip2' (but
> /home/yocto/YOCTO/poky-dylan-9.0.0/meta-linphone/recipes-linphone/linphone/
> linphone_1.6.0.bb DEPENDS on or otherwise requires it) NOTE: Runtime target
> 'linphone' is unbuildable, removing...
> Missing or unbuildable dependency chain was: ['linphone', 'libosip2']
> ERROR: Required build target 'linphone-image' has no buildable providers.
> Missing or unbuildable dependency chain was: ['linphone-image', 'linphone',
> 'libosip2']

Looks like you've copied the linphone recipe and not its dependencies.

As far as I know this is an OE-Classic recipe so it won't be a straight copy -
it will need to be migrated. See here for information on what you will need to
do:

http://www.openembedded.org/wiki/Migrating_metadata_to_OE-Core

Cheers,
Paul

--

Paul Eggleton
Intel Open Source Technology Centre

The contents of this e-mail and any attachment(s) may contain confidential or privileged information for the intended recipient(s). Unintended recipients are prohibited from taking action on the basis of information in this e-mail and  using or disseminating the information,  and must notify the sender and delete it from their system. L&T Infotech will not accept responsibility or liability for the accuracy or completeness of, or the presence of any virus or disabling code in this e-mail"



More information about the yocto mailing list