Skip to contentSkip to conversation

Impossible to build with BB_NO_NETWORK=1

DISCUSSION Gary Thomas 1 participant 2 messages Feb 22, 2011

lore
Share & tools
lore
#0 lore raw

I get this error immediately. If I disable BB_NO_NETWORK, the parsing completes and no gypsy stuff is ever downloaded.

ERROR: Error parsing /home/local/poky-amltd/meta/recipes-connectivity/gypsy/gypsy_git.bb: Network access disabled through BB_NO_NETWORK but access rquested with command git ls-remote anongit.freedesktop.org/gypsy master (for url None)
ERROR: Command execution failed: Exited with 1

Is this because of this line in the recipe?
PV = "0.8+git${SRCPV}"

Shouldn't one of these lines satisfy:
./meta/conf/distro/include/poky-default-revisions.inc:SRCREV_pn-gypsy ??= "147" ./meta/conf/distro/include/poky-floating-revisions.inc:SRCREV_pn-gypsy ?= "${AUTOREV}"
or is the ??= causing a problem?

Signature · 4 lines
------------------------------------------------------------
Gary Thomas                 |  Consulting for the
MLB Associates              |    Embedded world
------------------------------------------------------------
#1 lore raw
Quoted 7 lines · Gary Thomas

I get this error immediately. If I disable BB_NO_NETWORK, the parsing completes and no gypsy stuff is ever downloaded.

ERROR: Error parsing /home/local/poky-amltd/meta/recipes-connectivity/gypsy/gypsy_git.bb: Network access disabled through BB_NO_NETWORK but access rquested with command git ls-remote anongit.freedesktop.org/gypsy master (for url None)
ERROR: Command execution failed: Exited with 1

Quoted 8 lines

Is this because of this line in the recipe?
PV = "0.8+git${SRCPV}"

Shouldn't one of these lines satisfy:
./meta/conf/distro/include/poky-default-revisions.inc:SRCREV_pn-gypsy ??= "147" ./meta/conf/distro/include/poky-floating-revisions.inc:SRCREV_pn-gypsy ?= "${AUTOREV}" or is the ??= causing a problem?

I imported change d5de6229f81ad2225e2e77341721824197b6d2b0, but this doesn't solve the problem. The only way I can get it to work is to use ?= instead of ??=

Signature · 4 lines
------------------------------------------------------------
Gary Thomas                 |  Consulting for the
MLB Associates              |    Embedded world
------------------------------------------------------------