Project

General

Profile

Error Building File System

Added by Nathan Wright 6 months ago

Hello,

I am attempting to build the file system and running in to an error.

I am here...

adbsg@adbsg-yocto:~/yocto/critical_link/oe-layersetup$ git describe --always --abbrev=12 --match "NOT A TAG" --dirty="+" 
1fdbcc74ca95

I successfully run...

adbsg@adbsg-yocto:~/yocto/critical_link/oe-layersetup$ ./docker-poky.sh ./62x-setup.sh

I get an error while running...

adbsg@adbsg-yocto:~/yocto/critical_link/oe-layersetup$ ./docker-poky.sh ./62x-build.sh

The error follows...

ERROR: ExpansionError during parsing /work/sources/meta-mitysom/recipes-bsp/u-boot/factoryconfig_1.0.bb 
Traceback (most recent call last):
  File "/work/sources/bitbake/lib/bb/fetch2/__init__.py", line 1214, in srcrev_internal_helper(ud=<bb.fetch2.FetchData object at 0x783d4f225cc0>, d=<bb.data_smart.DataSmart object at 0x783d4f225550>, name='default'):
         if srcrev == "AUTOINC":
    >        srcrev = ud.method.latest_revision(ud, d, name)

  File "/work/sources/bitbake/lib/bb/fetch2/__init__.py", line 1626, in Git.latest_revision(ud=<bb.fetch2.FetchData object at 0x783d4f225cc0>, d=<bb.data_smart.DataSmart object at 0x783d4f225550>, name='default'):
             except KeyError:
    >            revs[key] = rev = self._latest_revision(ud, d, name)
                 return rev
  File "/work/sources/bitbake/lib/bb/fetch2/git.py", line 748, in Git._latest_revision(ud=<bb.fetch2.FetchData object at 0x783d4f225cc0>, d=<bb.data_smart.DataSmart object at 0x783d4f225550>, name='default'):

    >        output = self._lsremote(ud, d, "")
             # Tags of the form ^{} may not work, need to fallback to other form
  File "/work/sources/bitbake/lib/bb/fetch2/git.py", line 731, in Git._lsremote(ud=<bb.fetch2.FetchData object at 0x783d4f225cc0>, d=<bb.data_smart.DataSmart object at 0x783d4f225550>, search=''):
                     bb.fetch2.check_network_access(d, cmd, repourl)
    >            output = runfetchcmd(cmd, d, True)
                 if not output:
  File "/work/sources/bitbake/lib/bb/fetch2/__init__.py", line 929, in runfetchcmd(cmd='export PSEUDO_DISABLED=1; export PATH="/work/sources/oe-core/scripts:/work/build/arago-tmp-default-glibc/work/aarch64-oe-linux/factoryconfig/fetcheravoidrecurse-fetcheravoidrecurse/recipe-sysroot-native/usr/bin/aarch64-oe-linux:/work/build/arago-tmp-default-glibc/work/aarch64-oe-linux/factoryconfig/fetcheravoidrecurse-fetcheravoidrecurse/recipe-sysroot/usr/bin/crossscripts:/work/build/arago-tmp-default-glibc/work/aarch64-oe-linux/factoryconfig/fetcheravoidrecurse-fetcheravoidrecurse/recipe-sysroot-native/usr/sbin:/work/build/arago-tmp-default-glibc/work/aarch64-oe-linux/factoryconfig/fetcheravoidrecurse-fetcheravoidrecurse/recipe-sysroot-native/usr/bin:/work/build/arago-tmp-default-glibc/work/aarch64-oe-linux/factoryconfig/fetcheravoidrecurse-fetcheravoidrecurse/recipe-sysroot-native/sbin:/work/build/arago-tmp-default-glibc/work/aarch64-oe-linux/factoryconfig/fetcheravoidrecurse-fetcheravoidrecurse/recipe-sysroot-native/bin:/work/sources/bitbake/bin:/work/build/arago-tmp-default-glibc/hosttools"; export HOME="/home/pokyuser"; git -c core.fsyncobjectfiles=0 -c gc.autoDetach=false -c core.pager=cat ls-remote https://support.criticallink.com/git/u-boot-ti.git ', d=<bb.data_smart.DataSmart object at 0x783d4f225748>, quiet=True, cleanup=[], log=None, workdir=None):

    >        raise FetchError(error_message)

bb.data_smart.ExpansionError: Failure expanding variable SRCPV, expression was ${@bb.fetch2.get_srcrev(d)} which triggered exception FetchError: Fetcher failure: Fetch command export PSEUDO_DISABLED=1; export PATH="/work/sources/oe-core/scripts:/work/build/arago-tmp-default-glibc/work/aarch64-oe-linux/factoryconfig/fetcheravoidrecurse-fetcheravoidrecurse/recipe-sysroot-native/usr/bin/aarch64-oe-linux:/work/build/arago-tmp-default-glibc/work/aarch64-oe-linux/factoryconfig/fetcheravoidrecurse-fetcheravoidrecurse/recipe-sysroot/usr/bin/crossscripts:/work/build/arago-tmp-default-glibc/work/aarch64-oe-linux/factoryconfig/fetcheravoidrecurse-fetcheravoidrecurse/recipe-sysroot-native/usr/sbin:/work/build/arago-tmp-default-glibc/work/aarch64-oe-linux/factoryconfig/fetcheravoidrecurse-fetcheravoidrecurse/recipe-sysroot-native/usr/bin:/work/build/arago-tmp-default-glibc/work/aarch64-oe-linux/factoryconfig/fetcheravoidrecurse-fetcheravoidrecurse/recipe-sysroot-native/sbin:/work/build/arago-tmp-default-glibc/work/aarch64-oe-linux/factoryconfig/fetcheravoidrecurse-fetcheravoidrecurse/recipe-sysroot-native/bin:/work/sources/bitbake/bin:/work/build/arago-tmp-default-glibc/hosttools"; export HOME="/home/pokyuser"; git -c core.fsyncobjectfiles=0 -c gc.autoDetach=false -c core.pager=cat ls-remote https://support.criticallink.com/git/u-boot-ti.git  failed with exit code 128, output:
fatal: unable to access 'https://support.criticallink.com/git/u-boot-ti.git/': Could not resolve host: support.criticallink.com

The variable dependency chain for the failure is: SRCPV -> PV -> BP -> FILESPATH

ERROR: Parsing halted due to errors, see error messages above

Am I missing something obvious?

Thanks,
Nathan


Replies (3)

RE: Error Building File System - Added by Jonathan Cormier 6 months ago

Hi Nathan, This line mentions it cannot reach our website:

Could not resolve host: support.criticallink.com

From your build machine can you try to "ping support.criticallink.com" and then again within the docker. Perhaps DNS is broken inside the docker?

./docker-poky.sh ping support.criticallink.com

RE: Error Building File System - Added by Nathan Wright 6 months ago

Thanks Jon! NetworkManager service had actually crashed. :(

sudo systemctl restart NetworkManager

Seemed to resolve it.

I'm on ~10k of 14368 tasks.

Thanks!

RE: Error Building File System - Added by Jonathan Cormier 6 months ago

Great, glad you figured it out

    (1-3/3)
    Go to top
    Add picture from clipboard (Maximum size: 1 GB)