All of lore.kernel.org
 help / color / mirror / Atom feed
* OE recipes- linphone build error in poky-9.0.0 build environment
@ 2013-08-28  3:35 Amit Kumar
  2013-08-28  8:13 ` Paul Eggleton
  0 siblings, 1 reply; 4+ messages in thread
From: Amit Kumar @ 2013-08-28  3:35 UTC (permalink / raw)
  To: yocto

Hi,
     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@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']

Summary: There were 2 ERROR messages shown, returning a non-zero exit code.
///////////////////////////////////////////////////////////////////////////////////////////////



Thanks & Regards
Amit K

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"


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: OE recipes- linphone build error in poky-9.0.0 build environment
  2013-08-28  3:35 OE recipes- linphone build error in poky-9.0.0 build environment Amit Kumar
@ 2013-08-28  8:13 ` Paul Eggleton
  2013-08-29 18:30   ` Amit Kumar
  0 siblings, 1 reply; 4+ messages in thread
From: Paul Eggleton @ 2013-08-28  8:13 UTC (permalink / raw)
  To: Amit Kumar; +Cc: yocto

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@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


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: OE recipes- linphone build error in poky-9.0.0 build environment
  2013-08-28  8:13 ` Paul Eggleton
@ 2013-08-29 18:30   ` Amit Kumar
  2013-08-30  7:13     ` Jegan Chandru
  0 siblings, 1 reply; 4+ messages in thread
From: Amit Kumar @ 2013-08-29 18:30 UTC (permalink / raw)
  To: Paul Eggleton; +Cc: yocto

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@linux.intel.com]
Sent: Wednesday, August 28, 2013 1:43 PM
To: Amit Kumar
Cc: yocto@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@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"


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: OE recipes- linphone build error in poky-9.0.0 build environment
  2013-08-29 18:30   ` Amit Kumar
@ 2013-08-30  7:13     ` Jegan Chandru
  0 siblings, 0 replies; 4+ messages in thread
From: Jegan Chandru @ 2013-08-30  7:13 UTC (permalink / raw)
  To: Amit Kumar; +Cc: Paul Eggleton, yocto

[-- Attachment #1: Type: text/plain, Size: 1147 bytes --]

Hi Amit,


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"
>

Can you add/replace the above 2 lines in your linphone recipe? This error
came as there is mismatch on md5sum and sha256sum values.


> 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.
>
>
>
Untar the libosip2 source and check for any license files available. In
libosip2 you will find COPYING. Add that in LIC_FILES_CHKSUM with its
md5sum value. Refer
https://wiki.yoctoproject.org/wiki/Recipe_%26_Patch_Style_Guide#LIC_FILES_CHKSUM
 and
http://www.yoctoproject.org/docs/1.0/poky-ref-manual/poky-ref-manual.html#usingpoky-specifying-LIC_FILES_CHKSUM


These should fix your problems.

-JC-

[-- Attachment #2: Type: text/html, Size: 2122 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2013-08-30  7:13 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-08-28  3:35 OE recipes- linphone build error in poky-9.0.0 build environment Amit Kumar
2013-08-28  8:13 ` Paul Eggleton
2013-08-29 18:30   ` Amit Kumar
2013-08-30  7:13     ` Jegan Chandru

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.