linux-imx-6.6.36+git-r0 do_fetch: Failed to fetch URL

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

linux-imx-6.6.36+git-r0 do_fetch: Failed to fetch URL

6,171 Views
subbuemdtest
Contributor I

I found following error and can't build. Need support

 

oly@BSP:~/Documents/BSP-Yocto/build-xwayland$ bitbake imx-image-core
NOTE: Your conf/bblayers.conf has been automatically updated.
Loading cache: 100% |############################################| Time: 0:00:18
Loaded 5717 entries from dependency cache.
Parsing recipes: 100% |##########################################| Time: 0:00:04
Parsing of 3642 .bb files complete (3641 cached, 1 parsed). 5718 targets, 388 skipped, 17 masked, 0 errors.
NOTE: Resolving any missing task queue dependencies

 

Build Configuration:
BB_VERSION           = "2.8.0"
BUILD_SYS            = "x86_64-linux"
NATIVELSBSTRING      = "universal"
TARGET_SYS           = "aarch64-poky-linux"
MACHINE              = "imx8qxpc0mek"
DISTRO               = "fsl-imx-xwayland"
DISTRO_VERSION       = "6.6-scarthgap"
TUNE_FEATURES        = "aarch64 armv8a crc crypto"
TARGET_FPU           = ""
meta                 
meta-poky            = "HEAD:f43f393ef0246b7bee6eed8bcf8271cf2b8cdf40"
meta-oe              
meta-multimedia      
meta-python          = "HEAD:80e01188fa822d87d301ee71973c462d7a865493"
meta-freescale       = "HEAD:0f8091c63dd8805610c09b08409bc58492a3b16f"
meta-freescale-3rdparty = "HEAD:6c063450d464eb2f380443c7d9af1b94ce9b9d75"
meta-freescale-distro = "HEAD:b9d6a5d9931922558046d230c1f5f4ef6ee72345"
meta-imx-bsp         
meta-imx-sdk         
meta-imx-ml          
meta-imx-v2x         = "HEAD:6bbf35e73f1b537b19be830462af87a3bd68e1ab"
meta-nxp-demo-experience = "HEAD:8fd7154c05b716e9635279047f65785399432d88"
meta-nxp-matter-baseline 
meta-nxp-openthread  = "HEAD:783becb4b5716d989f50db95b7133d38eae5b47b"
meta-arm             
meta-arm-toolchain   = "HEAD:1b85bbb4cab9658da3cd926c62038b8559c5c64e"
meta-clang           = "HEAD:fe561f41aef0cff9e6f96730ab59f28dca2eb682"
meta-gnome           
meta-networking      
meta-filesystems     = "HEAD:80e01188fa822d87d301ee71973c462d7a865493"
meta-qt6             = "HEAD:dc13e1bfda4a4757a08c2d6673bc4bac012c4a80"
meta-parsec          
meta-tpm             = "HEAD:11ea91192d43d7c2b0b95a93aa63ca7e73e38034"
meta-virtualization  = "HEAD:6a80f140e387621f62964209a2e07d3bcfb125ce"

 

Sstate summary: Wanted 120 Local 0 Mirrors 0 Missed 120 Current 4817 (0% match, 97% complete)
Initialising tasks: 100% |#######################################| Time: 0:00:17
NOTE: Executing Tasks
WARNING: linux-imx-6.6.36+git-r0 do_fetch: Failed to fetch URL git://github.com/nxp-imx/linux-imx;protocol=https;branch=lf-6.6.y, attempting MIRRORS if available
WARNING: linux-imx-headers-6.6-r0 do_fetch: Failed to fetch URL git://github.com/nxp-imx/linux-imx.git;protocol=https;branch=lf-6.6.y, attempting MIRRORS if available
ERROR: linux-imx-6.6.36+git-r0 do_fetch: Fetcher failure: Fetch command export PSEUDO_DISABLED=1; export DBUS_SESSION_BUS_ADDRESS="unix:path=/run/user/1000/bus"; export SSH_AUTH_SOCK="/run/user/1000/keyring/ssh"; export PATH="/home/oly/Documents/BSP-Yocto/build-xwayland/tmp/sysroots-uninative/x86_64-linux/usr/bin:/home/oly/Documents/BSP-Yocto/sources/poky/scripts:/home/oly/Documents/BSP-Yocto/build-xwayland/tmp/work/imx8qxpc0mek-poky-linux/linux-imx/6.6.36+git/recipe-sysroot-native/usr/bin/aarch64-poky-linux:/home/oly/Documents/BSP-Yocto/build-xwayland/tmp/work/imx8qxpc0mek-poky-linux/linux-imx/6.6.36+git/recipe-sysroot/usr/bin/crossscripts:/home/oly/Documents/BSP-Yocto/build-xwayland/tmp/work/imx8qxpc0mek-poky-linux/linux-imx/6.6.36+git/recipe-sysroot-native/usr/sbin:/home/oly/Documents/BSP-Yocto/build-xwayland/tmp/work/imx8qxpc0mek-poky-linux/linux-imx/6.6.36+git/recipe-sysroot-native/usr/bin:/home/oly/Documents/BSP-Yocto/build-xwayland/tmp/work/imx8qxpc0mek-poky-linux/linux-imx/6.6.36+git/recipe-sysroot-native/sbin:/home/oly/Documents/BSP-Yocto/build-xwayland/tmp/work/imx8qxpc0mek-poky-linux/linux-imx/6.6.36+git/recipe-sysroot-native/bin:/home/oly/Documents/BSP-Yocto/sources/poky/bitbake/bin:/home/oly/Documents/BSP-Yocto/build-xwayland/tmp/hosttools"; export HOME="/home/oly"; LANG=C git -c gc.autoDetach=false -c core.pager=cat -c safe.bareRepository=all fetch -f --progress https://github.com/nxp-imx/linux-imx refs/heads/*:refs/heads/* refs/tags/*:refs/tags/* failed with exit code 128, see logfile for output
ERROR: linux-imx-6.6.36+git-r0 do_fetch: Bitbake Fetcher Error: FetchError('Unable to fetch URL from any source.', 'git://github.com/nxp-imx/linux-imx;protocol=https;branch=lf-6.6.y')
ERROR: Logfile of failure stored in: /home/oly/Documents/BSP-Yocto/build-xwayland/tmp/work/imx8qxpc0mek-poky-linux/linux-imx/6.6.36+git/temp/log.do_fetch.8168
ERROR: Task (/home/oly/Documents/BSP-Yocto/sources/meta-imx/meta-imx-bsp/recipes-kernel/linux/linux-imx_6.6.bb:do_fetch) failed with exit code '1'



0 Kudos
Reply
12 Replies

6,146 Views
Chavira
NXP TechSupport
NXP TechSupport

HI @subbuemdtest!

Thank you for contacting NXP Support!

 

Try the  next command:

bitbake -c fetch virtual/kernel

 

 To compile without errors we recommend 4GB of ram for each core of your computer.

You can limit the task to compile adding the next lines to your local.conf file

BB_NUMBER_THREADS = "4"
PARALLEL_MAKE = "-j 4"

 

Best Regards!

Chavira

0 Kudos
Reply

6,142 Views
subbuemdtest
Contributor I
Hi chavira,
i was followed your instructions still i am facing same issue. Need your support

oly@BSP:~/Documents/BSP-Yocto/build-xwayland$ bitbake -c fetch virtual/kernel
Loading cache: 100% |##########################################################################################################| Time: 0:00:05
Loaded 5717 entries from dependency cache.
Parsing recipes: 100% |########################################################################################################| Time: 0:00:01
Parsing of 3642 .bb files complete (3640 cached, 2 parsed). 5718 targets, 388 skipped, 17 masked, 0 errors.
NOTE: Resolving any missing task queue dependencies

Build Configuration:
BB_VERSION = "2.8.0"
BUILD_SYS = "x86_64-linux"
NATIVELSBSTRING = "universal"
TARGET_SYS = "aarch64-poky-linux"
MACHINE = "imx8qxpc0mek"
DISTRO = "fsl-imx-xwayland"
DISTRO_VERSION = "6.6-scarthgap"
TUNE_FEATURES = "aarch64 armv8a crc crypto"
TARGET_FPU = ""
meta
meta-poky = "HEAD:f43f393ef0246b7bee6eed8bcf8271cf2b8cdf40"
meta-oe
meta-multimedia
meta-python = "HEAD:80e01188fa822d87d301ee71973c462d7a865493"
meta-freescale = "HEAD:0f8091c63dd8805610c09b08409bc58492a3b16f"
meta-freescale-3rdparty = "HEAD:6c063450d464eb2f380443c7d9af1b94ce9b9d75"
meta-freescale-distro = "HEAD:b9d6a5d9931922558046d230c1f5f4ef6ee72345"
meta-imx-bsp
meta-imx-sdk
meta-imx-ml
meta-imx-v2x = "HEAD:6bbf35e73f1b537b19be830462af87a3bd68e1ab"
meta-nxp-demo-experience = "HEAD:8fd7154c05b716e9635279047f65785399432d88"
meta-nxp-matter-baseline
meta-nxp-openthread = "HEAD:783becb4b5716d989f50db95b7133d38eae5b47b"
meta-arm
meta-arm-toolchain = "HEAD:1b85bbb4cab9658da3cd926c62038b8559c5c64e"
meta-clang = "HEAD:fe561f41aef0cff9e6f96730ab59f28dca2eb682"
meta-gnome
meta-networking
meta-filesystems = "HEAD:80e01188fa822d87d301ee71973c462d7a865493"
meta-qt6 = "HEAD:dc13e1bfda4a4757a08c2d6673bc4bac012c4a80"
meta-parsec
meta-tpm = "HEAD:11ea91192d43d7c2b0b95a93aa63ca7e73e38034"
meta-virtualization = "HEAD:6a80f140e387621f62964209a2e07d3bcfb125ce"

Sstate summary: Wanted 0 Local 0 Mirrors 0 Missed 0 Current 1 (0% match, 100% complete)############################# | ETA: 0:00:00
Initialising tasks: 100% |#####################################################################################################| Time: 0:00:00
NOTE: Executing Tasks
WARNING: linux-imx-6.6.36+git-r0 do_fetch: Failed to fetch URL git://github.com/nxp-imx/linux-imx.git;protocol=https;branch=lf-6.6.y, attempting MIRRORS if available
ERROR: linux-imx-6.6.36+git-r0 do_fetch: Fetcher failure: Fetch command export PSEUDO_DISABLED=1; export DBUS_SESSION_BUS_ADDRESS="unix:path=/run/user/1000/bus"; export SSH_AUTH_SOCK="/run/user/1000/keyring/ssh"; export PATH="/home/oly/Documents/BSP-Yocto/build-xwayland/tmp/sysroots-uninative/x86_64-linux/usr/bin:/home/oly/Documents/BSP-Yocto/sources/poky/scripts:/home/oly/Documents/BSP-Yocto/build-xwayland/tmp/work/imx8qxpc0mek-poky-linux/linux-imx/6.6.36+git/recipe-sysroot-native/usr/bin/aarch64-poky-linux:/home/oly/Documents/BSP-Yocto/build-xwayland/tmp/work/imx8qxpc0mek-poky-linux/linux-imx/6.6.36+git/recipe-sysroot/usr/bin/crossscripts:/home/oly/Documents/BSP-Yocto/build-xwayland/tmp/work/imx8qxpc0mek-poky-linux/linux-imx/6.6.36+git/recipe-sysroot-native/usr/sbin:/home/oly/Documents/BSP-Yocto/build-xwayland/tmp/work/imx8qxpc0mek-poky-linux/linux-imx/6.6.36+git/recipe-sysroot-native/usr/bin:/home/oly/Documents/BSP-Yocto/build-xwayland/tmp/work/imx8qxpc0mek-poky-linux/linux-imx/6.6.36+git/recipe-sysroot-native/sbin:/home/oly/Documents/BSP-Yocto/build-xwayland/tmp/work/imx8qxpc0mek-poky-linux/linux-imx/6.6.36+git/recipe-sysroot-native/bin:/home/oly/Documents/BSP-Yocto/sources/poky/bitbake/bin:/home/oly/Documents/BSP-Yocto/build-xwayland/tmp/hosttools"; export HOME="/home/oly"; LANG=C git -c gc.autoDetach=false -c core.pager=cat -c safe.bareRepository=all clone --bare --mirror https://github.com/nxp-imx/linux-imx.git /home/oly/Documents/BSP-Yocto/downloads//git2/github.com.nxp-imx.linux-imx.git --progress failed with exit code 128, see logfile for output
ERROR: linux-imx-6.6.36+git-r0 do_fetch: Bitbake Fetcher Error: FetchError('Unable to fetch URL from any source.', 'git://github.com/nxp-imx/linux-imx.git;protocol=https;branch=lf-6.6.y')
ERROR: Logfile of failure stored in: /home/oly/Documents/BSP-Yocto/build-xwayland/tmp/work/imx8qxpc0mek-poky-linux/linux-imx/6.6.36+git/temp/log.do_fetch.43985
ERROR: Task (/home/oly/Documents/BSP-Yocto/sources/meta-imx/meta-imx-bsp/recipes-kernel/linux/linux-imx_6.6.bb:do_fetch) failed with exit code '1'
NOTE: Tasks Summary: Attempted 2 tasks of which 1 didn't need to be rerun and 1 failed.

Summary: 1 task failed:
/home/oly/Documents/BSP-Yocto/sources/meta-imx/meta-imx-bsp/recipes-kernel/linux/linux-imx_6.6.bb:do_fetch
Summary: There was 1 WARNING message.
Summary: There were 2 ERROR messages, returning a non-zero exit code.
0 Kudos
Reply

6,080 Views
subbuemdtest
Contributor I
Hi @Chavira, Wating for your Valuable Information to Fix issue. Kindly Please Support for the above.

Note: As per my observation problem with the url: https://github.com/nxp-imx/linux-imx/lf-6.6y. Suggest instead of this url can use another?

Thanks,
Subbu
0 Kudos
Reply

6,071 Views
Chavira
NXP TechSupport
NXP TechSupport

HI @subbuemdtest!

The link and the recipe are good.

 

Try deleting your Yocto project and try with a new one.

 

0 Kudos
Reply

5,675 Views
subbuemdtest
Contributor I
Hi @Chavira,
I need your support to fix an issue. Previously, I used the command bitbake imx-image-core to build the image, which was for a core image with basic graphics and no multimedia. Now, I want to include multimedia, machine learning, and Qt in the image, so I used a different command. However, I am encountering the following error. Could you please assist in fixing it?

oly@BSP:~/Documents/BSP-Yocto/build-xwayland$ bitbake imx-image-full
NOTE: Your conf/bblayers.conf has been automatically updated.
Loading cache: 100% |##########################################################################################################| Time: 0:00:04
Loaded 5717 entries from dependency cache.
Parsing recipes: 100% |########################################################################################################| Time: 0:00:01
Parsing of 3642 .bb files complete (3641 cached, 1 parsed). 5718 targets, 388 skipped, 17 masked, 0 errors.
NOTE: Resolving any missing task queue dependencies

Build Configuration:
BB_VERSION = "2.8.0"
BUILD_SYS = "x86_64-linux"
NATIVELSBSTRING = "universal"
TARGET_SYS = "aarch64-poky-linux"
MACHINE = "imx8qxpc0mek"
DISTRO = "fsl-imx-xwayland"
DISTRO_VERSION = "6.6-scarthgap"
TUNE_FEATURES = "aarch64 armv8a crc crypto"
TARGET_FPU = ""
meta
meta-poky = "HEAD:f43f393ef0246b7bee6eed8bcf8271cf2b8cdf40"
meta-oe
meta-multimedia
meta-python = "HEAD:80e01188fa822d87d301ee71973c462d7a865493"
meta-freescale = "HEAD:0f8091c63dd8805610c09b08409bc58492a3b16f"
meta-freescale-3rdparty = "HEAD:6c063450d464eb2f380443c7d9af1b94ce9b9d75"
meta-freescale-distro = "HEAD:b9d6a5d9931922558046d230c1f5f4ef6ee72345"
meta-imx-bsp
meta-imx-sdk
meta-imx-ml
meta-imx-v2x = "HEAD:6bbf35e73f1b537b19be830462af87a3bd68e1ab"
meta-nxp-demo-experience = "HEAD:8fd7154c05b716e9635279047f65785399432d88"
meta-nxp-matter-baseline
meta-nxp-openthread = "HEAD:783becb4b5716d989f50db95b7133d38eae5b47b"
meta-arm
meta-arm-toolchain = "HEAD:1b85bbb4cab9658da3cd926c62038b8559c5c64e"
meta-clang = "HEAD:fe561f41aef0cff9e6f96730ab59f28dca2eb682"
meta-gnome
meta-networking
meta-filesystems = "HEAD:80e01188fa822d87d301ee71973c462d7a865493"
meta-qt6 = "HEAD:dc13e1bfda4a4757a08c2d6673bc4bac012c4a80"
meta-parsec
meta-tpm = "HEAD:11ea91192d43d7c2b0b95a93aa63ca7e73e38034"
meta-virtualization = "HEAD:6a80f140e387621f62964209a2e07d3bcfb125ce"

Sstate summary: Wanted 2547 Local 0 Mirrors 0 Missed 2547 Current 4979 (0% match, 66% complete)##################### | ETA: 0:00:02
Initialising tasks: 100% |#####################################################################################################| Time: 0:00:54
NOTE: Executing Tasks
ERROR: abseil-cpp-native-20240116.2-r0 do_unpack: Bitbake Fetcher Error: UnpackError('No up to date source found: clone directory not available or not up to date: /home/oly/Documents/BSP-Yocto/downloads//git2/github.com.abseil.abseil-cpp; shallow clone not enabled', 'git://github.com/abseil/abseil-cpp;branch=lts_2024_01_16;protocol=https')
ERROR: Logfile of failure stored in: /home/oly/Documents/BSP-Yocto/build-xwayland/tmp/work/x86_64-linux/abseil-cpp-native/20240116.2/temp/log.do_unpack.3868
ERROR: Task (virtual:native:/home/oly/Documents/BSP-Yocto/sources/meta-openembedded/meta-oe/recipes-devtools/abseil-cpp/abseil-cpp_20240116.2.bb:do_unpack) failed with exit code '1'
0 Kudos
Reply

5,634 Views
Chavira
NXP TechSupport
NXP TechSupport

HI @subbuemdtest!

Try to use  NEW yocto project for that !

 

Best Regards!

 

0 Kudos
Reply

6,029 Views
subbuemdtest
Contributor I
Hi @Chavira,

I am separately trying to clone the link. I am getting below output. could you please provide the steps to fix it.
oly@BSP:~/Documents/BSP-Yocto/build-xwayland$ git clone --depth 1 https://github.com/nxp-imx/linux-imx.git
Cloning into 'linux-imx'...
remote: Enumerating objects: 89165, done.
remote: Counting objects: 100% (89165/89165), done.
remote: Compressing objects: 100% (83810/83810), done.
error: RPC failed; curl 18 transfer closed with outstanding read data remaining
error: 3557 bytes of body are still expected
fetch-pack: unexpected disconnect while reading sideband packet
fatal: early EOF
fatal: fetch-pack: invalid index-pack output

Thanks,
Subbu
0 Kudos
Reply

6,009 Views
Chavira
NXP TechSupport
NXP TechSupport

HI @subbuemdtest!

Try with the command:

$ git clone https://github.com/nxp-imx/linux-imx.git -b lf-6.6.36-2.1.0

 

If the problem persists try to check your internet connection.

 

Best Regards!

Chavira

0 Kudos
Reply

5,980 Views
subbuemdtest
Contributor I
Hi @Chavira,

Yes, the issue is with my network. I have downloaded the files separately using the following command:
git clone --branch lf-6.6.y --single-branch https://github.com/nxp-imx/linux-imx.git.

Could you please provide the steps to manually update the files and complete my Yocto build?

Thanks,
Subbu.
0 Kudos
Reply

5,841 Views
Chavira
NXP TechSupport
NXP TechSupport

Hi @subbuemdtest!

The Yocto project is working good.

I recommend to fix your Ethernet connection to compile without errors.

 

Best Regards!

Chavira

0 Kudos
Reply

5,783 Views
subbuemdtest
Contributor I
Hi @Chavira,

As you Mentioned above I have changed my network connection and now, I have build the image successfully.
Now i want to know whether my Yocto project support PCIe drivers for "imx8qxpc0mek" board? If yes, how to enable the PCIe in Yocto image?

Thanks,
Subbu
0 Kudos
Reply

5,857 Views
subbuemdtest
Contributor I
Hi @Chavira,

Please for the above. Waiting for your response.

Thanks,
Subbu
0 Kudos
Reply