AnsweredAssumed Answered

Compile error for meta-toolchain

Question asked by Santhosh Kumar on Feb 11, 2019
Latest reply on Apr 11, 2019 by Radhika Somaiya

I have recevied this below error message during the compilation of meta-toolchain, How to resolve this issue,

Command used : bitbake meta-toolchainbitbake meta-toolchain - compilation errors

 

WARNING: glibc-initial-2.24-r0 do_fetch: Failed to fetch URL git://sourceware.org/git/glibc.git;branch=release/2.24/master;name=glibc, attempting MIRRORS if available
ERROR: glibc-initial-2.24-r0 do_fetch: Fetcher failure: Fetch command export DBUS_SESSION_BUS_ADDRESS="unix:abstract=/tmp/dbus-YhiqZdZqK2"; export SSH_AUTH_SOCK="/run/user/1000/keyring-bsWeyf/ssh"; export PATH="/home/rahul/Desktop/iwg27-release-bsp/build_imx8qm/tmp/sysroots/x86_64-linux/usr/bin/aarch64-poky-linux.gcc-cross-initial-aarch64:/home/rahul/Desktop/iwg27-release-bsp/sources/poky/scripts:/home/rahul/Desktop/iwg27-release-bsp/build_imx8qm/tmp/sysroots/x86_64-linux/usr/bin/aarch64-poky-linux:/home/rahul/Desktop/iwg27-release-bsp/build_imx8qm/tmp/sysroots/imx8qm_iwg27m/usr/bin/crossscripts:/home/rahul/Desktop/iwg27-release-bsp/build_imx8qm/tmp/sysroots/x86_64-linux/usr/sbin:/home/rahul/Desktop/iwg27-release-bsp/build_imx8qm/tmp/sysroots/x86_64-linux/usr/bin:/home/rahul/Desktop/iwg27-release-bsp/build_imx8qm/tmp/sysroots/x86_64-linux/sbin:/home/rahul/Desktop/iwg27-release-bsp/build_imx8qm/tmp/sysroots/x86_64-linux/bin:/home/rahul/Desktop/iwg27-release-bsp/sources/poky/scripts:/home/rahul/Desktop/iwg27-release-bsp/sources/poky/bitbake/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games"; export HOME="/home/rahul"; LANG=C git -c core.fsyncobjectfiles=0 clone --bare --mirror git://sourceware.org/git/glibc.git /home/rahul/Desktop/iwg27-release-bsp/downloads//git2/sourceware.org.git.glibc.git --progress failed with exit code 141, output:
Cloning into bare repository '/home/rahul/Desktop/iwg27-release-bsp/downloads//git2/sourceware.org.git.glibc.git'...
remote: Counting objects: 539847, done.
remote: Compressing objects: 100% (79493/79493), done.
fatal: pack has bad object at offset 157096733: inflate returned -5
fatal: index-pack failed

ERROR: glibc-initial-2.24-r0 do_fetch: Fetcher failure for URL: 'git://sourceware.org/git/glibc.git;branch=release/2.24/master;name=glibc'. Unable to fetch URL from any source.
ERROR: glibc-initial-2.24-r0 do_fetch: Function failed: base_do_fetch
ERROR: Logfile of failure stored in: /home/rahul/Desktop/iwg27-release-bsp/build_imx8qm/tmp/work/aarch64-poky-linux/glibc-initial/2.24-r0/temp/log.do_fetch.4337
ERROR: Task (/home/rahul/Desktop/iwg27-release-bsp/sources/poky/meta/recipes-core/glibc/glibc-initial_2.24.bb:do_fetch) failed with exit code '1'
WARNING: binutils-crosssdk-x86_64-pokysdk-linux-2.27-r0 do_fetch: Failed to fetch URL git://sourceware.org/git/binutils-gdb.git;branch=binutils-2_27-branch;protocol=git, attempting MIRRORS if available
ERROR: binutils-crosssdk-x86_64-pokysdk-linux-2.27-r0 do_fetch: Fetcher failure: Fetch command export DBUS_SESSION_BUS_ADDRESS="unix:abstract=/tmp/dbus-YhiqZdZqK2"; export SSH_AUTH_SOCK="/run/user/1000/keyring-bsWeyf/ssh"; export PATH="/home/rahul/Desktop/iwg27-release-bsp/sources/poky/scripts:/home/rahul/Desktop/iwg27-release-bsp/build_imx8qm/tmp/sysroots/x86_64-linux/usr/bin/x86_64-pokysdk-linux:/home/rahul/Desktop/iwg27-release-bsp/build_imx8qm/tmp/sysroots/x86_64-linux/home/rahul/Desktop/iwg27-release-bsp/build_imx8qm/tmp/sysroots/x86_64-linux/usr/bin/x86_64-pokysdk-linux/crossscripts:/home/rahul/Desktop/iwg27-release-bsp/build_imx8qm/tmp/sysroots/x86_64-linux/usr/sbin:/home/rahul/Desktop/iwg27-release-bsp/build_imx8qm/tmp/sysroots/x86_64-linux/usr/bin:/home/rahul/Desktop/iwg27-release-bsp/build_imx8qm/tmp/sysroots/x86_64-linux/sbin:/home/rahul/Desktop/iwg27-release-bsp/build_imx8qm/tmp/sysroots/x86_64-linux/bin:/home/rahul/Desktop/iwg27-release-bsp/sources/poky/scripts:/home/rahul/Desktop/iwg27-release-bsp/sources/poky/bitbake/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games"; export HOME="/home/rahul"; LANG=C git -c core.fsyncobjectfiles=0 clone --bare --mirror git://sourceware.org/git/binutils-gdb.git /home/rahul/Desktop/iwg27-release-bsp/downloads//git2/sourceware.org.git.binutils-gdb.git --progress failed with exit code 128, output:
Cloning into bare repository '/home/rahul/Desktop/iwg27-release-bsp/downloads//git2/sourceware.org.git.binutils-gdb.git'...
remote: Counting objects: 997333, done.
remote: Compressing objects: 100% (154976/154976), done.
error: inflate: data stream error (incorrect data check)8.00 KiB/s
fatal: pack has bad object at offset 236777280: inflate returned -3
fatal: index-pack failed

ERROR: binutils-crosssdk-x86_64-pokysdk-linux-2.27-r0 do_fetch: Fetcher failure for URL: 'git://sourceware.org/git/binutils-gdb.git;branch=binutils-2_27-branch;protocol=git'. Unable to fetch URL from any source.
ERROR: binutils-crosssdk-x86_64-pokysdk-linux-2.27-r0 do_fetch: Function failed: base_do_fetch
ERROR: Logfile of failure stored in: /home/rahul/Desktop/iwg27-release-bsp/build_imx8qm/tmp/work/x86_64-linux/binutils-crosssdk-x86_64-pokysdk-linux/2.27-r0/temp/log.do_fetch.21236
ERROR: Task (/home/rahul/Desktop/iwg27-release-bsp/sources/poky/meta/recipes-devtools/binutils/binutils-crosssdk_2.27.bb:do_fetch) failed with exit code '1'
WARNING: nativesdk-glibc-initial-2.24-r0 do_fetch: Failed to fetch URL git://sourceware.org/git/glibc.git;branch=release/2.24/master;name=glibc, attempting MIRRORS if available
ERROR: nativesdk-glibc-initial-2.24-r0 do_fetch: Fetcher failure: Fetch command export DBUS_SESSION_BUS_ADDRESS="unix:abstract=/tmp/dbus-YhiqZdZqK2"; export SSH_AUTH_SOCK="/run/user/1000/keyring-bsWeyf/ssh"; export PATH="/home/rahul/Desktop/iwg27-release-bsp/build_imx8qm/tmp/sysroots/x86_64-linux/usr/bin/x86_64-pokysdk-linux.gcc-crosssdk-initial-x86_64-pokysdk-linux:/home/rahul/Desktop/iwg27-release-bsp/build_imx8qm/tmp/sysroots/x86_64-linux/usr/bin/chrpath-native:/home/rahul/Desktop/iwg27-release-bsp/sources/poky/scripts:/home/rahul/Desktop/iwg27-release-bsp/build_imx8qm/tmp/sysroots/x86_64-linux/usr/bin/x86_64-pokysdk-linux:/home/rahul/Desktop/iwg27-release-bsp/build_imx8qm/tmp/sysroots/x86_64-nativesdk-pokysdk-linux/opt/fsl-imx-x11/4.9.51-mx8-beta/sysroots/x86_64-pokysdk-linux/usr/bin/crossscripts:/home/rahul/Desktop/iwg27-release-bsp/build_imx8qm/tmp/sysroots/x86_64-linux/usr/sbin:/home/rahul/Desktop/iwg27-release-bsp/build_imx8qm/tmp/sysroots/x86_64-linux/usr/bin:/home/rahul/Desktop/iwg27-release-bsp/build_imx8qm/tmp/sysroots/x86_64-linux/sbin:/home/rahul/Desktop/iwg27-release-bsp/build_imx8qm/tmp/sysroots/x86_64-linux/bin:/home/rahul/Desktop/iwg27-release-bsp/sources/poky/scripts:/home/rahul/Desktop/iwg27-release-bsp/sources/poky/bitbake/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games"; export HOME="/home/rahul"; LANG=C git -c core.fsyncobjectfiles=0 clone --bare --mirror git://sourceware.org/git/glibc.git /home/rahul/Desktop/iwg27-release-bsp/downloads//git2/sourceware.org.git.glibc.git --progress failed with exit code 141, output:
Cloning into bare repository '/home/rahul/Desktop/iwg27-release-bsp/downloads//git2/sourceware.org.git.glibc.git'...
remote: Counting objects: 539847, done.
remote: Compressing objects: 100% (79493/79493), done.
fatal: pack has bad object at offset 24046723: inflate returned -5
fatal: index-pack failed

ERROR: nativesdk-glibc-initial-2.24-r0 do_fetch: Fetcher failure for URL: 'git://sourceware.org/git/glibc.git;branch=release/2.24/master;name=glibc'. Unable to fetch URL from any source.
ERROR: nativesdk-glibc-initial-2.24-r0 do_fetch: Function failed: base_do_fetch
ERROR: Logfile of failure stored in: /home/rahul/Desktop/iwg27-release-bsp/build_imx8qm/tmp/work/x86_64-nativesdk-pokysdk-linux/nativesdk-glibc-initial/2.24-r0/temp/log.do_fetch.9757
ERROR: Task (virtual:nativesdk:/home/rahul/Desktop/iwg27-release-bsp/sources/poky/meta/recipes-core/glibc/glibc-initial_2.24.bb:do_fetch) failed with exit code '1'
WARNING: binutils-cross-aarch64-2.27-r0 do_fetch: Failed to fetch URL git://sourceware.org/git/binutils-gdb.git;branch=binutils-2_27-branch;protocol=git, attempting MIRRORS if available
ERROR: binutils-cross-aarch64-2.27-r0 do_fetch: Fetcher failure: Fetch command export DBUS_SESSION_BUS_ADDRESS="unix:abstract=/tmp/dbus-YhiqZdZqK2"; export SSH_AUTH_SOCK="/run/user/1000/keyring-bsWeyf/ssh"; export PATH="/home/rahul/Desktop/iwg27-release-bsp/build_imx8qm/tmp/sysroots/x86_64-linux/usr/bin/texinfo-dummy-native:/home/rahul/Desktop/iwg27-release-bsp/sources/poky/scripts:/home/rahul/Desktop/iwg27-release-bsp/build_imx8qm/tmp/sysroots/x86_64-linux/usr/bin/aarch64-poky-linux:/home/rahul/Desktop/iwg27-release-bsp/build_imx8qm/tmp/sysroots/x86_64-linux/home/rahul/Desktop/iwg27-release-bsp/build_imx8qm/tmp/sysroots/x86_64-linux/usr/bin/aarch64-poky-linux/crossscripts:/home/rahul/Desktop/iwg27-release-bsp/build_imx8qm/tmp/sysroots/x86_64-linux/usr/sbin:/home/rahul/Desktop/iwg27-release-bsp/build_imx8qm/tmp/sysroots/x86_64-linux/usr/bin:/home/rahul/Desktop/iwg27-release-bsp/build_imx8qm/tmp/sysroots/x86_64-linux/sbin:/home/rahul/Desktop/iwg27-release-bsp/build_imx8qm/tmp/sysroots/x86_64-linux/bin:/home/rahul/Desktop/iwg27-release-bsp/sources/poky/scripts:/home/rahul/Desktop/iwg27-release-bsp/sources/poky/bitbake/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games"; export HOME="/home/rahul"; LANG=C git -c core.fsyncobjectfiles=0 clone --bare --mirror git://sourceware.org/git/binutils-gdb.git /home/rahul/Desktop/iwg27-release-bsp/downloads//git2/sourceware.org.git.binutils-gdb.git --progress failed with exit code 141, output:
Cloning into bare repository '/home/rahul/Desktop/iwg27-release-bsp/downloads//git2/sourceware.org.git.binutils-gdb.git'...
remote: Counting objects: 997333, done.
remote: Compressing objects: 100% (154976/154976), done.
error: inflate: data stream error (incorrect data check).00 KiB/s
fatal: pack has bad object at offset 102199816: inflate returned -3
fatal: index-pack failed

ERROR: binutils-cross-aarch64-2.27-r0 do_fetch: Fetcher failure for URL: 'git://sourceware.org/git/binutils-gdb.git;branch=binutils-2_27-branch;protocol=git'. Unable to fetch URL from any source.
ERROR: binutils-cross-aarch64-2.27-r0 do_fetch: Function failed: base_do_fetch
ERROR: Logfile of failure stored in: /home/rahul/Desktop/iwg27-release-bsp/build_imx8qm/tmp/work/x86_64-linux/binutils-cross-aarch64/2.27-r0/temp/log.do_fetch.21234
ERROR: Task (/home/rahul/Desktop/iwg27-release-bsp/sources/poky/meta/recipes-devtools/binutils/binutils-cross_2.27.bb:do_fetch) failed with exit code '1'
NOTE: Tasks Summary: Attempted 184 tasks of which 147 didn't need to be rerun and 4 failed.

Summary: 4 tasks failed:
/home/rahul/Desktop/iwg27-release-bsp/sources/poky/meta/recipes-core/glibc/glibc-initial_2.24.bb:do_fetch
/home/rahul/Desktop/iwg27-release-bsp/sources/poky/meta/recipes-devtools/binutils/binutils-crosssdk_2.27.bb:do_fetch
virtual:nativesdk:/home/rahul/Desktop/iwg27-release-bsp/sources/poky/meta/recipes-core/glibc/glibc-initial_2.24.bb:do_fetch
/home/rahul/Desktop/iwg27-release-bsp/sources/poky/meta/recipes-devtools/binutils/binutils-cross_2.27.bb:do_fetch
Summary: There were 4 WARNING messages shown.
Summary: There were 12 ERROR messages shown, returning a non-zero exit code.

Outcomes