[OE-core] BB_SRCREV_POLICY doesn't seem to work

Martin Jansa martin.jansa at gmail.com
Thu Jan 31 13:50:20 UTC 2013


On Thu, Jan 31, 2013 at 08:43:13AM -0500, Robert P. J. Day wrote:
> On Thu, 31 Jan 2013, Martin Jansa wrote:
> 
>   ok, there's still an issue here that crops up during the *build*.
> after i did all the SRCREV caching, i could "fetchall" without network
> access so that part works fine.  then i started the build -- again,
> without network access since, theoretically, i don't need it, right?
> however:
> 
> ERROR: Function failed: Network access disabled through BB_NO_NETWORK
> but access requested with command git ls-remote
> git://arago-project.org/git/projects/linux-davinci.git
> v2.6.37_DAVINCIPSP_03.21.00.04 (for url None)
> ERROR: Logfile of failure stored in:
> /home/rpjday/oe/builds/ti/am1808/tmp-eglibc/work/am180x_evm-oe-linux-gnueabi/linux-omapl138-psp/2.6.37-r0/temp/log.do_unpack.20808
> ERROR: Task 631
> (/home/rpjday/oe/dist/layers/meta-ti/recipes-kernel/linux/linux-omapl138-psp_2.6.37.bb,
> do_unpack) failed with exit code '1'

Have you tried to set
BB_FETCH_PREMIRRORONLY
?

> 
>   here's the relevant excerpt from that meta-ti recipe file:
> 
> === start
> 
> BRANCH = "03.21.00.03"
> SRCREV = "v2.6.37_DAVINCIPSP_03.21.00.04"
> 
> COMPATIBLE_MACHINE = "(omapl138)"
> 
> SRC_URI += "git://arago-project.org/git/projects/linux-davinci.git;protocol=git;branch=${BRANCH} \
>         file://defconfig"
> 
> === end
> 
>   i thought my combination of SRCREV_POLICY and "fetchall" should have
> guaranteed that i had all necessary source for my build locally.  why
> is bitbake trying to access the network again?  the only thing that
> strikes me as unusual about that recipe is it's the only one i recall
> that uses a non-master branch, could that possibly have any effect?
> 
>   am i just misunderstanding something?  i'm after whatever it takes
> to absolutely guarantee that i have all source required for a build
> locally so that i can disconnect the network before starting the
> build.
> 
> rday
> 
> -- 
> 
> ========================================================================
> Robert P. J. Day                                 Ottawa, Ontario, CANADA
>                         http://crashcourse.ca
> 
> Twitter:                                       http://twitter.com/rpjday
> LinkedIn:                               http://ca.linkedin.com/in/rpjday
> ========================================================================

-- 
Martin 'JaMa' Jansa     jabber: Martin.Jansa at gmail.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://lists.openembedded.org/pipermail/openembedded-core/attachments/20130131/ec8653d3/attachment-0002.sig>


More information about the Openembedded-core mailing list