Skip to contentSkip to conversation

recipe priority in multiple metas

DISCUSSION sushisan 3 participants 4 messages Jun 8, 2011

lore
Share & tools
lore

sushisan

author
#0 lore raw

Hi:

I have a project that use openssl.

I practically all recipes used are in yocto project but I need someones that are in meta-oe (ie: fuse)

openssl is in meta/recipes-connectivity AND in meta-oe/recipes connectivity

I've putted meta first than meta-oe in my bblayers.conf, but when I try to do a bitbake openssl
bitbake try to compile ever the meta-oe recipe

How I set priority in search recipes?

#1 lore raw
Quoted 7 lines · sushisan

Hi:

I have a project that use openssl.

I practically all recipes used are in yocto project but I need someones that are in meta-oe (ie: fuse)

Quoted 8 lines

openssl is in meta/recipes-connectivity AND in meta-oe/recipes connectivity

I've putted meta first than meta-oe in my bblayers.conf, but when I try to do a bitbake openssl
bitbake try to compile ever the meta-oe recipe

How I set priority in search recipes?

Search priority is set via BBFILE_PRIORITY_<layer name> that is set in the layer.conf files.

Signature · 2 lines
Jeremy Puhlman
Montavista Sofware, LLC.
#2 lore raw
In reply to sushisan
Quoted 7 lines · sushisan

Hi:

I have a project that use openssl.

I practically all recipes used are in yocto project but I need someones that are in meta-oe (ie: fuse)

Quoted 7 lines

openssl is in meta/recipes-connectivity AND in meta-oe/recipes connectivity

I've putted meta first than meta-oe in my bblayers.conf, but when I try to do a bitbake openssl
bitbake try to compile ever the meta-oe recipe

How I set priority in search recipes?

We discussed this in IRC and setting the BBFILE_PRIORITY in the layer.conf of the respective layers seems to have addressed the immediate issue.

Signature · 3 lines
Darren Hart
Intel Open Source Technology Center
Yocto Project - Linux Kernel
author
#3 lore raw

-----Mensaje original-----
De: Darren Hart <[email protected]>
Para: sushisan <[email protected]>
Cc: [email protected]
Asunto: Re: [yocto] recipe priority in multiple metas
Fecha: Wed, 08 Jun 2011 16:38:25 -0700

Quoted 7 lines · sushisan

Hi:

I have a project that use openssl.

I practically all recipes used are in yocto project but I need someones that are in meta-oe (ie: fuse)

Quoted 7 lines

openssl is in meta/recipes-connectivity AND in meta-oe/recipes connectivity

I've putted meta first than meta-oe in my bblayers.conf, but when I try to do a bitbake openssl
bitbake try to compile ever the meta-oe recipe

How I set priority in search recipes?

We discussed this in IRC and setting the BBFILE_PRIORITY in the layer.conf of the respective layers seems to have addressed the immediate issue.
------------------------------------------

Now work the priority issue.

BUT when I try to rebuild kernel I have this error now:

$] bitbake linux-yocto

Loading cache: 100% |###################################################################################################################################| ETA: 00:00:00 Loaded 1636 entries from dependency cache.
Parsing recipes: 100% |#################################################################################################################################| Time: 00:00:02 Parsing of 1034 .bb files complete (1033 cached, 1 parsed). 1328 targets, 13 skipped, 0 masked, 0 errors.

OE Build Configuration:
BB_VERSION = "1.13.0"
METADATA_BRANCH = "master"
METADATA_REVISION = "a702c3dbf5fdc88eefdadd1f6c4cd6e04811c1e1"

TARGET_ARCH       = "i586"
TARGET_OS         = "linux"
MACHINE           = "qemux86"
DISTRO            = "poky"
DISTRO_VERSION    = "1.0+snapshot-20110608"
TARGET_FPU        = ""

NOTE: Resolving any missing task queue dependencies
NOTE: Preparing runqueue
NOTE: Executing SetScene Tasks
NOTE: Executing RunQueue Tasks
NOTE: Running task 461 of 908 (ID: 6, /home/opt/Yocto/ErgiOS_embedded/ErgiOS/meta/recipes-kernel/linux/linux-yocto_git.bb, do_fetch)
NOTE: package linux-yocto-2.6.37+git2+f1dc3722d45cdcc92c84ebfecf4ce616d2efed26_2+c1a74a7872fdd1152265087aa7e59b96a8f2f42a-r0: task do_fetch: Started
ERROR: '/home/opt/Yocto/ErgiOS_embedded/ErgiOS/meta/recipes-kernel/linux/linux-yocto_git.bb' failed
ERROR: Logfile of failure stored in: /home/opt/Yocto/ErgiOS_embedded/ErgiOS/build/tmp/work/qemux86-poky-linux/linux-yocto-2.6.37+git2+f1dc3722d45cdcc92c84ebfecf4ce616d2efed26_2+c1a74a7872fdd1152265087aa7e59b96a8f2f42a-r0/temp/log.do_fetch.10729 Log data follows:

| git: error while loading shared libraries: libcrypto.so.0.9.8: cannot open shared object file: No such file or directory
|  git: error while loading shared libraries: libcrypto.so.0.9.8: cannot open shared object file: No such file or directory
|  ERROR: Function 'Fetcher failure for URL: 'git://git.yoctoproject.org/linux-yocto-2.6.37;protocol=git;nocheckout=1;branch=yocto/standard/common-pc/base,meta;name=machine,meta'. Unable to fetch URL git://git.yoctoproject.org/linux-yocto-2.6.37;protocol=git;nocheckout=1;branch=yocto/standard/common-pc/base,meta;name=machine,meta from any source.' failed
| ERROR: Function 'Fetcher failure for URL: 'git://git.yoctoproject.org/linux-yocto-2.6.37;protocol=git;nocheckout=1;branch=yocto/standard/common-pc/base,meta;name=machine,meta'. Unable to fetch URL git://git.yoctoproject.org/linux-yocto-2.6.37;protocol=git;nocheckout=1;branch=yocto/standard/common-pc/base,meta;name=machine,meta from any source.' failed

NOTE: package linux-yocto-2.6.37+git2+f1dc3722d45cdcc92c84ebfecf4ce616d2efed26_2+c1a74a7872fdd1152265087aa7e59b96a8f2f42a-r0: task do_fetch: Failed
ERROR: Task 6 (/home/opt/Yocto/ErgiOS_embedded/ErgiOS/meta/recipes-kernel/linux/linux-yocto_git.bb, do_fetch) failed with exit code '1'