Skip to content

Instantly share code, notes, and snippets.

@netskink

netskink/error Secret

Last active February 6, 2017 21:16
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save netskink/38803bae369f9599ce885b3ecef420a5 to your computer and use it in GitHub Desktop.
Save netskink/38803bae369f9599ce885b3ecef420a5 to your computer and use it in GitHub Desktop.
ERROR: pcmx-1.0.0+gitAUTOINC+d09e0b91ae_d09e0b91ae-r0 do_fetch: Network access disabled through BB_NO_NETWORK (or set indirectly due to use of BB_FETCH_PREMIRRORONLY) but access requested with command LANG=C git -c core.fsyncobjectfiles=0 fetch -f --prune --progress ssh://ssh@devsupport:22/tfs/pcm5/pcmx/_git/d3v16 refs/*:refs/* (for url git://ssh@devsupport:22/tfs/pcm5/pcmx/_git/d3v16;protocol=ssh;destsuffix=git/d3v16;branch=master;name=v16)
ERROR: pcmx-1.0.0+gitAUTOINC+d09e0b91ae_d09e0b91ae-r0 do_fetch: Function failed: base_do_fetch
ERROR: Logfile of failure stored in: /home/davis/setup-scripts/build/tmp-glibc/work/corei7-64-oe-linux/pcmx/1.0.0+gitAUTOINC+d09e0b91ae_d09e0b91ae-r0/temp/log.do_fetch.2008
ERROR: Task (/home/davis/setup-scripts/sources/meta-pcm/recipes-nt-apps/pcmx/pcmx_%.bb:do_fetch) failed with exit code '1'
ERROR: pcmx-native-1.0.0+gitAUTOINC+d09e0b91ae_d09e0b91ae-r0 do_fetch: Network access disabled through BB_NO_NETWORK (or set indirectly due to use of BB_FETCH_PREMIRRORONLY) but access requested with command LANG=C git -c core.fsyncobjectfiles=0 fetch -f --prune --progress ssh://ssh@devsupport:22/tfs/pcm5/pcmx/_git/d3v16 refs/*:refs/* (for url git://ssh@devsupport:22/tfs/pcm5/pcmx/_git/d3v16;protocol=ssh;destsuffix=git/d3v16;branch=master;name=v16)
ERROR: pcmx-native-1.0.0+gitAUTOINC+d09e0b91ae_d09e0b91ae-r0 do_fetch: Function failed: base_do_fetch
ERROR: Logfile of failure stored in: /home/davis/setup-scripts/build/tmp-glibc/work/x86_64-linux/pcmx-native/1.0.0+gitAUTOINC+d09e0b91ae_d09e0b91ae-r0/temp/log.do_fetch.2001
ERROR: Task (virtual:native:/home/davis/setup-scripts/sources/meta-pcm/recipes-nt-apps/pcmx/pcmx_%.bb:do_fetch) failed with exit code '1'
NOTE: Tasks Summary: Attempted 2478 tasks of which 2476 didn't need to be rerun and 2 failed.
Summary: 2 tasks failed:
/home/davis/setup-scripts/sources/meta-pcm/recipes-nt-apps/pcmx/pcmx_%.bb:do_fetch
virtual:native:/home/davis/setup-scripts/sources/meta-pcm/recipes-nt-apps/pcmx/pcmx_%.bb:do_fetch
Summary: There were 4 ERROR messages shown, returning a non-zero exit code.
ERROR: ExpansionError during parsing /home/davis/setup-scripts/sources/meta-pcm/recipes-nt-apps/pcmx/pcmx_%.bb | ETA: --:--:--
Traceback (most recent call last):
File "/home/davis/setup-scripts/sources/bitbake/lib/bb/data_smart.py", line 386, in DataSmart.expandWithRefs(s='1.0.0+git${SRCPV}', varname='PV'):
try:
> s = __expand_var_regexp__.sub(varparse.var_sub, s)
try:
File "/home/davis/setup-scripts/sources/bitbake/lib/bb/data_smart.py", line 111, in VariableParse.var_sub(match=<_sre.SRE_Match object; span=(9, 17), match='${SRCPV}'>):
else:
> var = self.d.getVarFlag(key, "_content", True)
self.references.add(key)
File "/home/davis/setup-scripts/sources/bitbake/lib/bb/data_smart.py", line 737, in DataSmart.getVarFlag(var='SRCPV', flag='_content', expand=True, noweakdefault=False, parsing=False):
cachename = var + "[" + flag + "]"
> value = self.expand(value, cachename)
File "/home/davis/setup-scripts/sources/bitbake/lib/bb/data_smart.py", line 410, in DataSmart.expand(s='${@bb.fetch2.get_srcrev(d)}', varname='SRCPV'):
def expand(self, s, varname = None):
> return self.expandWithRefs(s, varname).value
File "/home/davis/setup-scripts/sources/bitbake/lib/bb/data_smart.py", line 400, in DataSmart.expandWithRefs(s='${@bb.fetch2.get_srcrev(d)}', varname='SRCPV'):
except Exception as exc:
> raise ExpansionError(varname, s, exc) from exc
bb.data_smart.ExpansionError: Failure expanding variable SRCPV, expression was ${@bb.fetch2.get_srcrev(d)} which triggered exception FetchError: Fetcher failure for URL: 'git://ssh@devsupport:22/tfs/pcm5/pcmx/_git/d3v16;protocol=ssh;destsuffix=git/d3v16;branch=master;name=v16'. Please set a valid SRCREV for url ['SRCREV_v16_pn-pcmx', 'SRCREV_v16', 'SRCREV_pn-pcmx', 'SRCREV'] (possible key names are git://ssh@devsupport:22/tfs/pcm5/pcmx/_git/d3v16;protocol=ssh;destsuffix=git/d3v16;branch=master;name=v16, or use a ;rev=X URL parameter)
Summary: There was 1 ERROR message shown, returning a non-zero exit code.
commit a2d1f0225692c7c054014ec4dfc4dd13a35245ee
Author: john dugan <john.dugan@novatechweb.com>
Date: Tue Jan 31 08:45:57 2017 -0500
Update to load sequence for target platforma dn loading of watchdog.
commit d09e0b91ae34d807d3df27908f045e58a52e0c4c
Author: Eugene Shlyak <Eugene.Shlyak@NovaTechweb.com>
Date: Mon Feb 6 14:58:53 2017 -0500
Moved displaylib & displaymgr projects to "build for UNIX ONLY" projects
# works with network
#SRCREV ?= "${AUTOREV}"
#SRCREV_d3 ?= "${AUTOREV}"
#SRCREV_FORMAT ?= "d3_v16_pcmx"
#SRCREV_d3v16 ?= "${AUTOREV}"
#SRCREV_pcmx-native ?= "${AUTOREV}"
# trying to get build to work with mirror/downloads
SRCREV ?= "d09e0b91ae34d807d3df27908f045e58a52e0c4c"
SRCREV_FORMAT ?= "v16_pcmx"
SRCREV_d3v16 ?= "a2d1f0225692c7c054014ec4dfc4dd13a35245ee"
SRCREV_pcmx-native ?= "d09e0b91ae34d807d3df27908f045e58a52e0c4c"
davis@smeagol:~/setup-scripts/mirror/premirrors$
find . -type f | xargs grep d09e0b91ae34d807d3df27908f045e58a52e0c4c
./git2/devsupport.22.tfs.pcm5._git.pcmx/refs/heads/master:d09e0b91ae34d807d3df27908f045e58a52e0c4c
./git2/devsupport.22.tfs.pcm5._git.pcmx/FETCH_HEAD:d09e0b91ae34d807d3df27908f045e58a52e0c4c branch 'master' of ssh://devsupport:22/tfs/pcm5/_git/pcmx
davis@smeagol:~/setup-scripts/mirror/premirrors$
and
ls -ld git2/devsupport*pcm*/
drwxr-xr-x 7 davis billsgroup 4096 Feb 6 15:24 git2/devsupport.22.tfs.pcm5._git.pcmx/
drwxr-xr-x 7 davis billsgroup 4096 Feb 6 15:35 git2/devsupport.22.tfs.pcm5.pcmx._git.d3v16/
davis@smeagol:~/setup-scripts/mirror/premirrors$
# works with network
#SRCREV ?= "${AUTOREV}"
#SRCREV_d3 ?= "${AUTOREV}"
#SRCREV_FORMAT ?= "d3_v16_pcmx"
#SRCREV_d3v16 ?= "${AUTOREV}"
#SRCREV_pcmx-native ?= "${AUTOREV}"
# trying to get build to work with mirror/downloads
#SRCREV ?= "d09e0b91ae34d807d3df27908f045e58a52e0c4c"
SRCREV_FORMAT ?= "v16_pcmx"
SRCREV_d3v16 ?= "a2d1f0225692c7c054014ec4dfc4dd13a35245ee"
SRCREV_v16 ?= "a2d1f0225692c7c054014ec4dfc4dd13a35245ee"
SRCREV_pcmx-native ?= "d09e0b91ae34d807d3df27908f045e58a52e0c4c"
SRCREV_pcmx-pn-pcmx ?= "d09e0b91ae34d807d3df27908f045e58a52e0c4c"
SRCREV_pcmx ?= "d09e0b91ae34d807d3df27908f045e58a52e0c4c"
SRCREV_pn-pcmx ?= "d09e0b91ae34d807d3df27908f045e58a52e0c4c"
SRCREV ?= ""
and from lower in the .bb file
# The name has to be different for the hash in dir names for d3v16 to distinguish from d3
SRC_URI = " \
git://ssh@devsupport:22/tfs/pcm5/pcmx/_git/d3v16;protocol=ssh;destsuffix=git/d3v16;branch=master;name=v16 \
git://ssh@devsupport:22/tfs/pcm5/_git/pcmx;protocol=ssh;destsuffix=git/pcmx;branch=master;name=pcmx \
"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment