[yocto] bitbake cannot locate source file from recipe

peterengcomau001 at adam.com.au peterengcomau001 at adam.com.au
Mon Dec 29 11:48:22 PST 2014


Thanks, That seemed to work fine. I changed my layer priority to 11,
just above the atmel priority of 10.I think it may have also fixed
another problem with my ntp time sources.ThanksLachlan

----- Original Message -----
From: "Paul Eggleton" 
To:
Cc:
Sent:Mon, 29 Dec 2014 16:34:04 +0000
Subject:Re: [yocto] bitbake cannot locate source file from recipe

 On Tuesday 30 December 2014 02:58:05 peterengcomau001 at adam.com.au
wrote:
 > The result of bitbake -e linux-yocto-custom gives this output:
 > 
 > # $FILESPATH [2 operations]
 > # set /home/lachlan/poky/meta/conf/documentation.conf:174
 > # [doc] "The default set of directories the OpenEmbedded
 > build system uses when searching for patches and files. It is
defined
 > in the base.bbclass class found in meta/classes in the Source D
 > irectory. Do not hand-edit the FILESPATH variable."
 > # set /home/lachlan/poky/meta/classes/base.bbclass:83
 > # "${@base_set_filespath(["${FILE_DIRNAME}/${BP}",
 > "${FILE_DIRNAME}/${BPN}", "${FILE_DIRNAME}/files"], d)}"
 > # computed:
 > # "${@base_set_filespath(["${FILE_DIRNAME}/${BP}",
 > "${FILE_DIRNAME}/${BPN}", "${FILE_DIRNAME}/files"], d)}"
 >
FILESPATH="/home/lachlan/poky/meta-atmel/recipes-kernel/linux/files/sama5d3x
 >
ek/poky:/home/lachlan/poky/meta-atmel-lsp/recipes-kernel/linux/files/poky:/h
 > ome/lachlan/poky/meta-atmel/recipes-kernel
 >
/linux/linux-yocto-custom-3.10+AUTOINC+35158dd80a/poky:/home/lachlan/poky/m
 >
eta-atmel/recipes-kernel/linux/linux-yocto-custom/poky:/home/lachlan/poky/me
 > ta-atmel/recipes-kernel/linux/files/poky:/h
 >
ome/lachlan/poky/meta-atmel/recipes-kernel/linux/files/sama5d3xek/sama5d3xe
 >
k:/home/lachlan/poky/meta-atmel-lsp/recipes-kernel/linux/files/sama5d3xek:/h
 > ome/lachlan/poky/meta-atmel/recipes-kernel/
 >
linux/linux-yocto-custom-3.10+AUTOINC+35158dd80a/sama5d3xek:/home/lachlan/p
 >
oky/meta-atmel/recipes-kernel/linux/linux-yocto-custom/sama5d3xek:/home/lach
 > lan/poky/meta-atmel/recipes-kernel/linux/fi
 >
les/sama5d3xek:/home/lachlan/poky/meta-atmel/recipes-kernel/linux/files/sam
 >
a5d3xek/armv7a:/home/lachlan/poky/meta-atmel-lsp/recipes-kernel/linux/files/
 > armv7a:/home/lachlan/poky/meta-atmel/recipe
 >
s-kernel/linux/linux-yocto-custom-3.10+AUTOINC+35158dd80a/armv7a:/home/lach
 >
lan/poky/meta-atmel/recipes-kernel/linux/linux-yocto-custom/armv7a:/home/lac
 >
hlan/poky/meta-atmel/recipes-kernel/linux/files/armv7a:/home/lachlan/poky/me
 >
ta-atmel/recipes-kernel/linux/files/sama5d3xek/arm:/home/lachlan/poky/meta-a
 >
tmel-lsp/recipes-kernel/linux/files/arm:/home/lachlan/poky/meta-atmel/recipe
 >
s-kernel/linux/linux-yocto-custom-3.10+AUTOINC+35158dd80a/arm:/home/lachlan/
 >
poky/meta-atmel/recipes-kernel/linux/linux-yocto-custom/arm:/home/lachlan/po
 >
ky/meta-atmel/recipes-kernel/linux/files/arm:/home/lachlan/poky/meta-atmel/r
 >
ecipes-kernel/linux/files/sama5d3xek/:/home/lachlan/poky/meta-atmel-lsp/reci
 >
pes-kernel/linux/files/:/home/lachlan/poky/meta-atmel/recipes-kernel/linux/l
 >
inux-yocto-custom-3.10+AUTOINC+35158dd80a/:/home/lachlan/poky/meta-atmel/rec
 >
ipes-kernel/linux/linux-yocto-custom/:/home/lachlan/poky/meta-atmel/recipes-
 > kernel/linux/files/" #
 > 
 > # $SRC_URI [6 operations]
 > # set /home/lachlan/poky/meta/conf/bitbakeconf:588
 > # ""
 > # set /home/lachlan/poky/meta/conf/documentation.conf:378
 > # [doc] "The list of source files - local or remote. This
 > variable tells the OpenEmbedded build system what bits to pull in
for
 > the build and how to pull them in."
 > # set
 >
/home/lachlan/poky/meta-atmel/recipes-kernel/linux/linux-yocto-custom_3.10.b
 > b:46 #
 >
"git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git;protocol=g
 > it;nocheckout=1" # append
 >
/home/lachlan/poky/meta-atmel-lsp/recipes-kernel/linux/linux-yocto-custom_3.
 > 10.bbappend:10 # " file://sama5d3xek_lsp.dts "
 > # set
 >
/home/lachlan/poky/meta-atmel/recipes-kernel/linux/linux-yocto-custom_3.10.b
 > bappend:9 #
 >
"git://github.com/linux4sam/linux-at91.git;protocol=git;branch=${KBRANCH};no
 > checkout=1" # append
 >
/home/lachlan/poky/meta-atmel/recipes-kernel/linux/linux-yocto-custom_3.10.b
 > bappend:10 # "file://defconfig"
 > # computed:
 > # 
 >
"git://github.com/linux4sam/linux-at91.git;protocol=git;branch=${KBRANCH};no
 > checkout=1 file://defconfig"
 >
SRC_URI="git://github.com/linux4sam/linux-at91.git;protocol=git;branch=linux
 > -3.10-at91;nocheckout=1 file://defconfig"
 > 
 > I can infer from this that it did not pickup the dts file as a
valid
 > source file, but I cannot seem to workout why?
 > From the FILEPATH it appears that is has extracted the correct
 > location of the sourcefile at:
 >
/home/lachlan/poky/meta-atmel-lsp/recipes-kernel/linux/files/sama5d3xek:
 > 
 > 
 > Is there something else I should be looking for or is there
 > something in this that can highlight the problem

 Looking down the history for SRC_URI I can see that meta-atmel
(which I assume 
 is the vendor layer you mention) *setting* SRC_URI to a value, after
your 
 append operation, which explains why your value is being wiped out.
This also 
 tells me that the priority of your meta-atmel-lsp layer is lower
than meta-
 atmel, which is probably not what you want. I would suggest setting
the layer 
 priority in meta-atmel-lsp's conf/layer.conf so it is higher than
the layer 
 priority of meta-atmel, which will mean that meta-atmel-lsp 's
bbappend will 
 be applied second.

 Cheers,
 Paul

 -- 

 Paul Eggleton
 Intel Open Source Technology Centre
 -- 
 _______________________________________________
 yocto mailing list
 yocto at yoctoproject.org
 https://lists.yoctoproject.org/listinfo/yocto
---- Message sent via Adam Internet WebMail - http://www.adam.com.au/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20141230/d427cbc4/attachment.html>


More information about the yocto mailing list