imx8mpevk-real-time-edge image build failed

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

imx8mpevk-real-time-edge image build failed

Jump to solution
1,301 Views
jiaweilin
Contributor III

Hello,

I want to build imx8mpevk-real-time-edge image by rt-edge Yocto Project v2.3.

However, when I execute "bitbake nxp-image-real-time-edge", I get some ERROR message, like this.

Loading cache: 100% |########################################################################################################################################################################| Time: 0:00:02
Loaded 5881 entries from dependency cache.
ERROR: ExpansionError during parsing /home/forlinx/work/yocto-real-time-edge/sources/meta-nxp-demo-experience/recipes-nxp-demo-experience/nxp-demo-experience/nxp-demo-experience_git.bb | ETA: --:--:--
Traceback (most recent call last):
File "/home/forlinx/work/yocto-real-time-edge/sources/poky/bitbake/lib/bb/fetch2/__init__.py", line 1196, in srcrev_internal_helper(ud=<bb.fetch2.FetchData object at 0x7f55b32a6940>, d=<bb.data_smart.DataSmart object at 0x7f55b3309860>, name='demos'):
if srcrev == "AUTOINC":
> srcrev = ud.method.latest_revision(ud, d, name)

File "/home/forlinx/work/yocto-real-time-edge/sources/poky/bitbake/lib/bb/fetch2/__init__.py", line 1605, in Git.latest_revision(ud=<bb.fetch2.FetchData object at 0x7f55b32a6940>, d=<bb.data_smart.DataSmart object at 0x7f55b3309860>, name='demos'):
except KeyError:
> revs[key] = rev = self._latest_revision(ud, d, name)
return rev
File "/home/forlinx/work/yocto-real-time-edge/sources/poky/bitbake/lib/bb/fetch2/git.py", line 715, in Git._latest_revision(ud=<bb.fetch2.FetchData object at 0x7f55b32a6940>, d=<bb.data_smart.DataSmart object at 0x7f55b3309860>, name='demos'):
"""
> output = self._lsremote(ud, d, "")
# Tags of the form ^{} may not work, need to fallback to other form
File "/home/forlinx/work/yocto-real-time-edge/sources/poky/bitbake/lib/bb/fetch2/git.py", line 704, in Git._lsremote(ud=<bb.fetch2.FetchData object at 0x7f55b32a6940>, d=<bb.data_smart.DataSmart object at 0x7f55b3309860>, search=''):
bb.fetch2.check_network_access(d, cmd, repourl)
> output = runfetchcmd(cmd, d, True)
if not output:
File "/home/forlinx/work/yocto-real-time-edge/sources/poky/bitbake/lib/bb/fetch2/__init__.py", line 913, in runfetchcmd(cmd='export PSEUDO_DISABLED=1; export DBUS_SESSION_BUS_ADDRESS="unix:path=/run/user/1000/bus"; export SSH_AGENT_PID="2876"; export SSH_AUTH_SOCK="/run/user/1000/keyring/ssh"; export PATH="/home/forlinx/work/yocto-real-time-edge/sources/poky/scripts:/home/forlinx/work/yocto-real-time-edge/build-imx8mpevk-real-time-edge/tmp/work/cortexa53-crypto-poky-linux/nxp-demo-experience/fetcheravoidrecurse-fetcheravoidrecurse/recipe-sysroot-native/usr/bin/aarch64-poky-linux:/home/forlinx/work/yocto-real-time-edge/build-imx8mpevk-real-time-edge/tmp/work/cortexa53-crypto-poky-linux/nxp-demo-experience/fetcheravoidrecurse-fetcheravoidrecurse/recipe-sysroot/usr/bin/crossscripts:/home/forlinx/work/yocto-real-time-edge/build-imx8mpevk-real-time-edge/tmp/work/cortexa53-crypto-poky-linux/nxp-demo-experience/fetcheravoidrecurse-fetcheravoidrecurse/recipe-sysroot-native/usr/sbin:/home/forlinx/work/yocto-real-time-edge/build-imx8mpevk-real-time-edge/tmp/work/cortexa53-crypto-poky-linux/nxp-demo-experience/fetcheravoidrecurse-fetcheravoidrecurse/recipe-sysroot-native/usr/bin:/home/forlinx/work/yocto-real-time-edge/build-imx8mpevk-real-time-edge/tmp/work/cortexa53-crypto-poky-linux/nxp-demo-experience/fetcheravoidrecurse-fetcheravoidrecurse/recipe-sysroot-native/sbin:/home/forlinx/work/yocto-real-time-edge/build-imx8mpevk-real-time-edge/tmp/work/cortexa53-crypto-poky-linux/nxp-demo-experience/fetcheravoidrecurse-fetcheravoidrecurse/recipe-sysroot-native/bin:/home/forlinx/work/yocto-real-time-edge/sources/poky/bitbake/bin:/home/forlinx/work/yocto-real-time-edge/build-imx8mpevk-real-time-edge/tmp/hosttools"; export HOME="/home/forlinx"; git -c core.fsyncobjectfiles=0 -c gc.autoDetach=false ls-remote https://source.codeaurora.org/external/imxsupport/nxp-demo-experience-demos-list ', d=<bb.data_smart.DataSmart object at 0x7f55b32a6ef0>, 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 DBUS_SESSION_BUS_ADDRESS="unix:path=/run/user/1000/bus"; export SSH_AGENT_PID="2876"; export SSH_AUTH_SOCK="/run/user/1000/keyring/ssh"; export PATH="/home/forlinx/work/yocto-real-time-edge/sources/poky/scripts:/home/forlinx/work/yocto-real-time-edge/build-imx8mpevk-real-time-edge/tmp/work/cortexa53-crypto-poky-linux/nxp-demo-experience/fetcheravoidrecurse-fetcheravoidrecurse/recipe-sysroot-native/usr/bin/aarch64-poky-linux:/home/forlinx/work/yocto-real-time-edge/build-imx8mpevk-real-time-edge/tmp/work/cortexa53-crypto-poky-linux/nxp-demo-experience/fetcheravoidrecurse-fetcheravoidrecurse/recipe-sysroot/usr/bin/crossscripts:/home/forlinx/work/yocto-real-time-edge/build-imx8mpevk-real-time-edge/tmp/work/cortexa53-crypto-poky-linux/nxp-demo-experience/fetcheravoidrecurse-fetcheravoidrecurse/recipe-sysroot-native/usr/sbin:/home/forlinx/work/yocto-real-time-edge/build-imx8mpevk-real-time-edge/tmp/work/cortexa53-crypto-poky-linux/nxp-demo-experience/fetcheravoidrecurse-fetcheravoidrecurse/recipe-sysroot-native/usr/bin:/home/forlinx/work/yocto-real-time-edge/build-imx8mpevk-real-time-edge/tmp/work/cortexa53-crypto-poky-linux/nxp-demo-experience/fetcheravoidrecurse-fetcheravoidrecurse/recipe-sysroot-native/sbin:/home/forlinx/work/yocto-real-time-edge/build-imx8mpevk-real-time-edge/tmp/work/cortexa53-crypto-poky-linux/nxp-demo-experience/fetcheravoidrecurse-fetcheravoidrecurse/recipe-sysroot-native/bin:/home/forlinx/work/yocto-real-time-edge/sources/poky/bitbake/bin:/home/forlinx/work/yocto-real-time-edge/build-imx8mpevk-real-time-edge/tmp/hosttools"; export HOME="/home/forlinx"; git -c core.fsyncobjectfiles=0 -c gc.autoDetach=false ls-remote https://source.codeaurora.org/external/imxsupport/nxp-demo-experience-demos-list failed with exit code 128, output:
warning: core.fsyncObjectFiles is deprecated; use core.fsync instead
fatal: unable to access 'https://source.codeaurora.org/external/imxsupport/nxp-demo-experience-demos-list/': Could not resolve host: source.codeaurora.org

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

Summary: There was 1 ERROR message shown, returning a non-zero exit code.

What did I do wrong?

Could you give me some advice?

Tags (1)
0 Kudos
1 Solution
1,276 Views
Zhiming_Liu
NXP TechSupport
NXP TechSupport

This is your network issue.I can build this image.

You should contact your IT department to check the firewall rules.

View solution in original post

3 Replies
1,285 Views
Zhiming_Liu
NXP TechSupport
NXP TechSupport

The source server is not in china, you need VPN.

0 Kudos
1,281 Views
jiaweilin
Contributor III

Thank you for the reply. 

I ran it with a VPN  connection, but I got the same ERROR message.

On the contrary, if I don't connect to the VPN to run it, it will work, although I get an error when downloading some package and need to link to the VPN to download it separately. The error message like this.

Initialising tasks: 100% |###################################################################################################################################################################| Time: 0:00:03
Sstate summary: Wanted 2770 Local 0 Network 0 Missed 2770 Current 874 (0% match, 23% complete)
NOTE: Executing Tasks
WARNING: soem-gpio-pulse-2.11.0-r0 do_fetch: Failed to fetch URL git://github.com/NXPmicro/mcux-soc-svd.git;protocol=https;nobranch=1;destsuffix=git/svd;name=mcux-soc-svd, attempting MIRRORS if available
ERROR: soem-gpio-pulse-2.11.0-r0 do_fetch: Fetcher failure: Fetch command export PSEUDO_DISABLED=1; export DBUS_SESSION_BUS_ADDRESS="unix:path=/run/user/1000/bus"; export SSH_AGENT_PID="3016"; export SSH_AUTH_SOCK="/run/user/1000/keyring/ssh"; export PATH="/home/forlinx/work/yocto-real-time-edge/sources/poky/scripts:/home/forlinx/work/yocto-real-time-edge/build-imx8mpevk-real-time-edge/tmp/work/cortexa53-crypto-poky-linux/soem-gpio-pulse/2.11.0-r0/recipe-sysroot-native/usr/bin/aarch64-poky-linux:/home/forlinx/work/yocto-real-time-edge/build-imx8mpevk-real-time-edge/tmp/work/cortexa53-crypto-poky-linux/soem-gpio-pulse/2.11.0-r0/recipe-sysroot/usr/bin/crossscripts:/home/forlinx/work/yocto-real-time-edge/build-imx8mpevk-real-time-edge/tmp/work/cortexa53-crypto-poky-linux/soem-gpio-pulse/2.11.0-r0/recipe-sysroot-native/usr/sbin:/home/forlinx/work/yocto-real-time-edge/build-imx8mpevk-real-time-edge/tmp/work/cortexa53-crypto-poky-linux/soem-gpio-pulse/2.11.0-r0/recipe-sysroot-native/usr/bin:/home/forlinx/work/yocto-real-time-edge/build-imx8mpevk-real-time-edge/tmp/work/cortexa53-crypto-poky-linux/soem-gpio-pulse/2.11.0-r0/recipe-sysroot-native/sbin:/home/forlinx/work/yocto-real-time-edge/build-imx8mpevk-real-time-edge/tmp/work/cortexa53-crypto-poky-linux/soem-gpio-pulse/2.11.0-r0/recipe-sysroot-native/bin:/home/forlinx/work/yocto-real-time-edge/sources/poky/bitbake/bin:/home/forlinx/work/yocto-real-time-edge/build-imx8mpevk-real-time-edge/tmp/hosttools"; export HOME="/home/forlinx"; LANG=C git -c core.fsyncobjectfiles=0 -c gc.autoDetach=false clone --bare --mirror https://github.com/NXPmicro/mcux-soc-svd.git /home/forlinx/work/yocto-real-time-edge/downloads//git2/github.com.NXPmicro.mcux-soc-svd.git --progress failed with exit code 128, no output
ERROR: soem-gpio-pulse-2.11.0-r0 do_fetch: Fetcher failure for URL: 'git://github.com/NXPmicro/mcux-soc-svd.git;protocol=https;nobranch=1;destsuffix=git/svd;name=mcux-soc-svd'. Unable to fetch URL from any source.
ERROR: Logfile of failure stored in: /home/forlinx/work/yocto-real-time-edge/build-imx8mpevk-real-time-edge/tmp/work/cortexa53-crypto-poky-linux/soem-gpio-pulse/2.11.0-r0/temp/log.do_fetch.5011
ERROR: Task (/home/forlinx/work/yocto-real-time-edge/sources/meta-rtos-industrial/recipes-kernel/mcux-kernel/soem-gpio-pulse.bb:do_fetch) failed with exit code '1'
WARNING: driver-gpio-led-output-2.11.0-r0 do_fetch: Failed to fetch URL git://github.com/NXPmicro/fatfs.git;protocol=https;nobranch=1;destsuffix=git/middleware/fatfs;name=fatfs, attempting MIRRORS if available
ERROR: driver-gpio-led-output-2.11.0-r0 do_fetch: Fetcher failure: Fetch command export PSEUDO_DISABLED=1; export DBUS_SESSION_BUS_ADDRESS="unix:path=/run/user/1000/bus"; export SSH_AGENT_PID="3016"; export SSH_AUTH_SOCK="/run/user/1000/keyring/ssh"; export PATH="/home/forlinx/work/yocto-real-time-edge/sources/poky/scripts:/home/forlinx/work/yocto-real-time-edge/build-imx8mpevk-real-time-edge/tmp/work/cortexa53-crypto-poky-linux/driver-gpio-led-output/2.11.0-r0/recipe-sysroot-native/usr/bin/aarch64-poky-linux:/home/forlinx/work/yocto-real-time-edge/build-imx8mpevk-real-time-edge/tmp/work/cortexa53-crypto-poky-linux/driver-gpio-led-output/2.11.0-r0/recipe-sysroot/usr/bin/crossscripts:/home/forlinx/work/yocto-real-time-edge/build-imx8mpevk-real-time-edge/tmp/work/cortexa53-crypto-poky-linux/driver-gpio-led-output/2.11.0-r0/recipe-sysroot-native/usr/sbin:/home/forlinx/work/yocto-real-time-edge/build-imx8mpevk-real-time-edge/tmp/work/cortexa53-crypto-poky-linux/driver-gpio-led-output/2.11.0-r0/recipe-sysroot-native/usr/bin:/home/forlinx/work/yocto-real-time-edge/build-imx8mpevk-real-time-edge/tmp/work/cortexa53-crypto-poky-linux/driver-gpio-led-output/2.11.0-r0/recipe-sysroot-native/sbin:/home/forlinx/work/yocto-real-time-edge/build-imx8mpevk-real-time-edge/tmp/work/cortexa53-crypto-poky-linux/driver-gpio-led-output/2.11.0-r0/recipe-sysroot-native/bin:/home/forlinx/work/yocto-real-time-edge/sources/poky/bitbake/bin:/home/forlinx/work/yocto-real-time-edge/build-imx8mpevk-real-time-edge/tmp/hosttools"; export HOME="/home/forlinx"; LANG=C git -c core.fsyncobjectfiles=0 -c gc.autoDetach=false clone --bare --mirror https://github.com/NXPmicro/fatfs.git /home/forlinx/work/yocto-real-time-edge/downloads//git2/github.com.NXPmicro.fatfs.git --progress failed with exit code 128, no output
ERROR: driver-gpio-led-output-2.11.0-r0 do_fetch: Fetcher failure for URL: 'git://github.com/NXPmicro/fatfs.git;protocol=https;nobranch=1;destsuffix=git/middleware/fatfs;name=fatfs'. Unable to fetch URL from any source.
ERROR: Logfile of failure stored in: /home/forlinx/work/yocto-real-time-edge/build-imx8mpevk-real-time-edge/tmp/work/cortexa53-crypto-poky-linux/driver-gpio-led-output/2.11.0-r0/temp/log.do_fetch.5012
ERROR: Task (/home/forlinx/work/yocto-real-time-edge/sources/meta-rtos-industrial/recipes-kernel/mcux-kernel/driver-gpio-led-output.bb:do_fetch) failed with exit code '1'
WARNING: freertos-hello-2.11.0-r0 do_fetch: Failed to fetch URL git://github.com/NXPmicro/fatfs.git;protocol=https;nobranch=1;destsuffix=git/middleware/fatfs;name=fatfs, attempting MIRRORS if available
ERROR: freertos-hello-2.11.0-r0 do_fetch: Fetcher failure: Fetch command export PSEUDO_DISABLED=1; export DBUS_SESSION_BUS_ADDRESS="unix:path=/run/user/1000/bus"; export SSH_AGENT_PID="3016"; export SSH_AUTH_SOCK="/run/user/1000/keyring/ssh"; export PATH="/home/forlinx/work/yocto-real-time-edge/sources/poky/scripts:/home/forlinx/work/yocto-real-time-edge/build-imx8mpevk-real-time-edge/tmp/work/cortexa53-crypto-poky-linux/freertos-hello/2.11.0-r0/recipe-sysroot-native/usr/bin/aarch64-poky-linux:/home/forlinx/work/yocto-real-time-edge/build-imx8mpevk-real-time-edge/tmp/work/cortexa53-crypto-poky-linux/freertos-hello/2.11.0-r0/recipe-sysroot/usr/bin/crossscripts:/home/forlinx/work/yocto-real-time-edge/build-imx8mpevk-real-time-edge/tmp/work/cortexa53-crypto-poky-linux/freertos-hello/2.11.0-r0/recipe-sysroot-native/usr/sbin:/home/forlinx/work/yocto-real-time-edge/build-imx8mpevk-real-time-edge/tmp/work/cortexa53-crypto-poky-linux/freertos-hello/2.11.0-r0/recipe-sysroot-native/usr/bin:/home/forlinx/work/yocto-real-time-edge/build-imx8mpevk-real-time-edge/tmp/work/cortexa53-crypto-poky-linux/freertos-hello/2.11.0-r0/recipe-sysroot-native/sbin:/home/forlinx/work/yocto-real-time-edge/build-imx8mpevk-real-time-edge/tmp/work/cortexa53-crypto-poky-linux/freertos-hello/2.11.0-r0/recipe-sysroot-native/bin:/home/forlinx/work/yocto-real-time-edge/sources/poky/bitbake/bin:/home/forlinx/work/yocto-real-time-edge/build-imx8mpevk-real-time-edge/tmp/hosttools"; export HOME="/home/forlinx"; LANG=C git -c core.fsyncobjectfiles=0 -c gc.autoDetach=false clone --bare --mirror https://github.com/NXPmicro/fatfs.git /home/forlinx/work/yocto-real-time-edge/downloads//git2/github.com.NXPmicro.fatfs.git --progress failed with exit code 128, no output
ERROR: freertos-hello-2.11.0-r0 do_fetch: Fetcher failure for URL: 'git://github.com/NXPmicro/fatfs.git;protocol=https;nobranch=1;destsuffix=git/middleware/fatfs;name=fatfs'. Unable to fetch URL from any source.
ERROR: Logfile of failure stored in: /home/forlinx/work/yocto-real-time-edge/build-imx8mpevk-real-time-edge/tmp/work/cortexa53-crypto-poky-linux/freertos-hello/2.11.0-r0/temp/log.do_fetch.5009
ERROR: Task (/home/forlinx/work/yocto-real-time-edge/sources/meta-rtos-industrial/recipes-kernel/mcux-kernel/freertos-hello.bb:do_fetch) failed with exit code '1'
WARNING: demo-hello-world-2.11.0-r0 do_fetch: Failed to fetch URL git://github.com/NXPmicro/fatfs.git;protocol=https;nobranch=1;destsuffix=git/middleware/fatfs;name=fatfs, attempting MIRRORS if available
ERROR: demo-hello-world-2.11.0-r0 do_fetch: Fetcher failure: Fetch command export PSEUDO_DISABLED=1; export DBUS_SESSION_BUS_ADDRESS="unix:path=/run/user/1000/bus"; export SSH_AGENT_PID="3016"; export SSH_AUTH_SOCK="/run/user/1000/keyring/ssh"; export PATH="/home/forlinx/work/yocto-real-time-edge/sources/poky/scripts:/home/forlinx/work/yocto-real-time-edge/build-imx8mpevk-real-time-edge/tmp/work/cortexa53-crypto-poky-linux/demo-hello-world/2.11.0-r0/recipe-sysroot-native/usr/bin/aarch64-poky-linux:/home/forlinx/work/yocto-real-time-edge/build-imx8mpevk-real-time-edge/tmp/work/cortexa53-crypto-poky-linux/demo-hello-world/2.11.0-r0/recipe-sysroot/usr/bin/crossscripts:/home/forlinx/work/yocto-real-time-edge/build-imx8mpevk-real-time-edge/tmp/work/cortexa53-crypto-poky-linux/demo-hello-world/2.11.0-r0/recipe-sysroot-native/usr/sbin:/home/forlinx/work/yocto-real-time-edge/build-imx8mpevk-real-time-edge/tmp/work/cortexa53-crypto-poky-linux/demo-hello-world/2.11.0-r0/recipe-sysroot-native/usr/bin:/home/forlinx/work/yocto-real-time-edge/build-imx8mpevk-real-time-edge/tmp/work/cortexa53-crypto-poky-linux/demo-hello-world/2.11.0-r0/recipe-sysroot-native/sbin:/home/forlinx/work/yocto-real-time-edge/build-imx8mpevk-real-time-edge/tmp/work/cortexa53-crypto-poky-linux/demo-hello-world/2.11.0-r0/recipe-sysroot-native/bin:/home/forlinx/work/yocto-real-time-edge/sources/poky/bitbake/bin:/home/forlinx/work/yocto-real-time-edge/build-imx8mpevk-real-time-edge/tmp/hosttools"; export HOME="/home/forlinx"; LANG=C git -c core.fsyncobjectfiles=0 -c gc.autoDetach=false clone --bare --mirror https://github.com/NXPmicro/fatfs.git /home/forlinx/work/yocto-real-time-edge/downloads//git2/github.com.NXPmicro.fatfs.git --progress failed with exit code 128, no output
ERROR: demo-hello-world-2.11.0-r0 do_fetch: Fetcher failure for URL: 'git://github.com/NXPmicro/fatfs.git;protocol=https;nobranch=1;destsuffix=git/middleware/fatfs;name=fatfs'. Unable to fetch URL from any source.
ERROR: Logfile of failure stored in: /home/forlinx/work/yocto-real-time-edge/build-imx8mpevk-real-time-edge/tmp/work/cortexa53-crypto-poky-linux/demo-hello-world/2.11.0-r0/temp/log.do_fetch.5013
ERROR: Task (/home/forlinx/work/yocto-real-time-edge/sources/meta-rtos-industrial/recipes-kernel/mcux-kernel/demo-hello-world.bb:do_fetch) failed with exit code '1'
WARNING: freertos-soem-gpio-pulse-2.11.0-r0 do_fetch: Failed to fetch URL git://github.com/NXPmicro/mcux-sdk-middleware-glow.git;protocol=https;nobranch=1;destsuffix=git/middleware/eiq/glow;name=mcux-sdk-middleware-glow, attempting MIRRORS if available
ERROR: freertos-soem-gpio-pulse-2.11.0-r0 do_fetch: Fetcher failure: Fetch command export PSEUDO_DISABLED=1; export DBUS_SESSION_BUS_ADDRESS="unix:path=/run/user/1000/bus"; export SSH_AGENT_PID="3016"; export SSH_AUTH_SOCK="/run/user/1000/keyring/ssh"; export PATH="/home/forlinx/work/yocto-real-time-edge/sources/poky/scripts:/home/forlinx/work/yocto-real-time-edge/build-imx8mpevk-real-time-edge/tmp/work/cortexa53-crypto-poky-linux/freertos-soem-gpio-pulse/2.11.0-r0/recipe-sysroot-native/usr/bin/aarch64-poky-linux:/home/forlinx/work/yocto-real-time-edge/build-imx8mpevk-real-time-edge/tmp/work/cortexa53-crypto-poky-linux/freertos-soem-gpio-pulse/2.11.0-r0/recipe-sysroot/usr/bin/crossscripts:/home/forlinx/work/yocto-real-time-edge/build-imx8mpevk-real-time-edge/tmp/work/cortexa53-crypto-poky-linux/freertos-soem-gpio-pulse/2.11.0-r0/recipe-sysroot-native/usr/sbin:/home/forlinx/work/yocto-real-time-edge/build-imx8mpevk-real-time-edge/tmp/work/cortexa53-crypto-poky-linux/freertos-soem-gpio-pulse/2.11.0-r0/recipe-sysroot-native/usr/bin:/home/forlinx/work/yocto-real-time-edge/build-imx8mpevk-real-time-edge/tmp/work/cortexa53-crypto-poky-linux/freertos-soem-gpio-pulse/2.11.0-r0/recipe-sysroot-native/sbin:/home/forlinx/work/yocto-real-time-edge/build-imx8mpevk-real-time-edge/tmp/work/cortexa53-crypto-poky-linux/freertos-soem-gpio-pulse/2.11.0-r0/recipe-sysroot-native/bin:/home/forlinx/work/yocto-real-time-edge/sources/poky/bitbake/bin:/home/forlinx/work/yocto-real-time-edge/build-imx8mpevk-real-time-edge/tmp/hosttools"; export HOME="/home/forlinx"; LANG=C git -c core.fsyncobjectfiles=0 -c gc.autoDetach=false clone --bare --mirror https://github.com/NXPmicro/mcux-sdk-middleware-glow.git /home/forlinx/work/yocto-real-time-edge/downloads//git2/github.com.NXPmicro.mcux-sdk-middleware-glow.git --progress failed with exit code 128, no output
ERROR: freertos-soem-gpio-pulse-2.11.0-r0 do_fetch: Fetcher failure for URL: 'git://github.com/NXPmicro/mcux-sdk-middleware-glow.git;protocol=https;nobranch=1;destsuffix=git/middleware/eiq/glow;name=mcux-sdk-middleware-glow'. Unable to fetch URL from any source.
ERROR: Logfile of failure stored in: /home/forlinx/work/yocto-real-time-edge/build-imx8mpevk-real-time-edge/tmp/work/cortexa53-crypto-poky-linux/freertos-soem-gpio-pulse/2.11.0-r0/temp/log.do_fetch.5010
ERROR: Task (/home/forlinx/work/yocto-real-time-edge/sources/meta-rtos-industrial/recipes-kernel/mcux-kernel/freertos-soem-gpio-pulse.bb:do_fetch) failed with exit code '1'

I download above packets by running the git command alone.

git -c core.fsyncobjectfiles=0 -c gc.autoDetach=false clone --bare --mirror https://github.com/NXPmicro/hal_nxp.git /home/forlinx/work/yocto-real-time-edge/downloads//git2/github.com.NXPmicro.hal_nxp.git --progress

But it sends me some new error message.

Loading cache: 100% |########################################################################################################################################################################| Time: 0:00:17
Loaded 5881 entries from dependency cache.
Parsing recipes: 100% |######################################################################################################################################################################| Time: 0:00:04
Parsing of 3802 .bb files complete (3800 cached, 2 parsed). 5882 targets, 523 skipped, 6 masked, 0 errors.
NOTE: Resolving any missing task queue dependencies

Build Configuration:
BB_VERSION           = "1.52.0"
BUILD_SYS            = "x86_64-linux"
NATIVELSBSTRING      = "ubuntu-18.04"
TARGET_SYS           = "aarch64-poky-linux"
MACHINE              = "imx8mp-lpddr4-evk"
DISTRO               = "nxp-real-time-edge"
DISTRO_VERSION       = "2.3"
TUNE_FEATURES        = "aarch64 armv8a crc cortexa53 crypto"
TARGET_FPU           = ""
meta                
meta-poky            = "HEAD:e0ab08bb6a32916b457d221021e7f402ffa36b1a"
meta-oe              
meta-multimedia      
meta-python          = "HEAD:4647e3ea3708d30eeb0149f6d5626c9576bff520"
meta-freescale       = "HEAD:ed3435620a2404c241fef3c4ef90d1f31d3b7a8a"
meta-freescale-3rdparty = "HEAD:155ffd6d7b694d8de76919c25681ecb98882646e"
meta-freescale-distro = "HEAD:d2e27cc4778663450495a67bfb036cba600cb27a"
meta-bsp            
meta-sdk            
meta-ml              
meta-v2x             = "HEAD:dbdca53406b5db6f579221087f8819ea0b1573d7"
meta-nxp-demo-experience = "HEAD:4bbe714267b730df020438fe83ae2c7c91708045"
meta-chromium        = "HEAD:e22bac72bc1f1bb5d2f44e64a53128b8be644272"
meta-clang           = "HEAD:fc5389393adb005b519e488e9e6be4fc5791239c"
meta-gnome          
meta-networking      
meta-filesystems     = "HEAD:4647e3ea3708d30eeb0149f6d5626c9576bff520"
meta-qt6             = "HEAD:1b9f4646dd69c5567d19ed77b8347506fe7faf2b"
meta-python2         = "HEAD:5243d509aebff378c1ae9d3dff6a29cfdc0dee1f"
meta-cpan            = "HEAD:3d82a95da95395c20ae13a89dd7de0cebcc27bfa"
meta-virtualization  = "HEAD:ed52ba982179087ecc84f7dc3b0a16cfe25f2f8e"
meta-rtos-industrial = "HEAD:146a2e10008ca0c2025a339a3766a3d09c0a44e4"
meta-nxp-harpoon     = "HEAD:77277168bd43783dfb9dcecf39fe85eab11d5b1a"
meta-nxp-avb         = "HEAD:deafcd6767e79dcfdacf8ee9dad4087466a5b4df"
meta-real-time-edge  = "HEAD:f1fd2ab1b13177580c6c8770413911a63a027732"

Initialising tasks: 100% |###################################################################################################################################################################| Time: 0:00:05
Sstate summary: Wanted 2705 Local 0 Network 0 Missed 2705 Current 939 (0% match, 25% complete)
NOTE: Executing Tasks
WARNING: sof-zephyr-2.0.0-r0 do_fetch: Checksum mismatch for local file /home/forlinx/work/yocto-real-time-edge/downloads/sof-zephyr-2.0.0.tar.gz
Cleaning and trying again.
WARNING: sof-zephyr-2.0.0-r0 do_fetch: Renaming /home/forlinx/work/yocto-real-time-edge/downloads/sof-zephyr-2.0.0.tar.gz to /home/forlinx/work/yocto-real-time-edge/downloads/sof-zephyr-2.0.0.tar.gz_bad-checksum_fc6f2e93ea9aa85d97494f82f781a2e26af69b8aaf93b7419ae8f46da73d5dc5
WARNING: sof-zephyr-2.0.0-r0 do_fetch: Checksum failure encountered with download of https://www.nxp.com/lgfiles/NMG/MAD/YOCTO//sof-zephyr-2.0.0.tar.gz - will attempt other sources if available
ERROR: sof-zephyr-2.0.0-r0 do_fetch: Fetcher failure for URL: 'https://www.nxp.com/lgfiles/NMG/MAD/YOCTO//sof-zephyr-2.0.0.tar.gz'. Checksum mismatch!
File: '/home/forlinx/work/yocto-real-time-edge/downloads/sof-zephyr-2.0.0.tar.gz' has sha256 checksum 'fc6f2e93ea9aa85d97494f82f781a2e26af69b8aaf93b7419ae8f46da73d5dc5' when '3f63e948144169e1162902632a7e3e1720745f4de7b33940fc98922759e29bac' was expected
If this change is expected (e.g. you have upgraded to a new version without updating the checksums) then you can use these lines within the recipe:
SRC_URI[sha256sum] = "fc6f2e93ea9aa85d97494f82f781a2e26af69b8aaf93b7419ae8f46da73d5dc5"
Otherwise you should retry the download and/or check with upstream to determine if the file has become corrupted or otherwise unexpectedly modified.
ERROR: sof-zephyr-2.0.0-r0 do_fetch: Fetcher failure for URL: 'https://www.nxp.com/lgfiles/NMG/MAD/YOCTO//sof-zephyr-2.0.0.tar.gz'. Unable to fetch URL from any source.
ERROR: Logfile of failure stored in: /home/forlinx/work/yocto-real-time-edge/build-imx8mpevk-real-time-edge/tmp/work/all-poky-linux/sof-zephyr/2.0.0-r0/temp/log.do_fetch.3992
ERROR: Task (/home/forlinx/work/yocto-real-time-edge/sources/meta-imx/meta-bsp/recipes-kernel/linux-firmware/sof-zephyr_2.0.0.bb:do_fetch) failed with exit code '1'
NOTE: Tasks Summary: Attempted 3998 tasks of which 3974 didn't need to be rerun and 1 failed.

Summary: 1 task failed:
  /home/forlinx/work/yocto-real-time-edge/sources/meta-imx/meta-bsp/recipes-kernel/linux-firmware/sof-zephyr_2.0.0.bb:do_fetch
Summary: There were 3 WARNING messages shown.
Summary: There were 2 ERROR messages shown, returning a non-zero exit code.
Could you give me some advice?
0 Kudos
1,277 Views
Zhiming_Liu
NXP TechSupport
NXP TechSupport

This is your network issue.I can build this image.

You should contact your IT department to check the firewall rules.