This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

  • Resolved

Linux/PROCESSOR-SDK-AM335X: ERROR: binutils-native-linaro-2.27-r2016.10 do_fetch: Fetcher failure

Intellectual 420 points

Replies: 2

Views: 2410

Tool/software: Linux

Hi all,

I'm trying to recompile the file system following the instructions at processors.wiki.ti.com/.../Processor_SDK_Building_The_SDK.

I use the command "MACHINE=am335x-evm ARAGO_RT_ENABLE=1 bitbake tisdk-rootfs-image" to build, but the process stop with an error.

I've searched through the forum and many times is suggested to copy download and copy the file locally, but I cannot find the file "binutils-native-linaro-2.27-r2016.10".

Searching on internet, I can find binutils-native-linaro-2.27-r2016.08 and looking at the release notes of ti processor SDK 04.00.00 I can see that the Linaro toolchain is 6.2.1 2016.11.

I'd be grateful if someone could help me.

Roberto

This is the output of the console.

Loading cache: 100% |########################################################################################################################################################################| Time: 0:00:09
Loaded 3236 entries from dependency cache.
NOTE: Resolving any missing task queue dependencies

Build Configuration:
BB_VERSION        = "1.32.0"
BUILD_SYS         = "x86_64-linux"
NATIVELSBSTRING   = "Ubuntu-16.04"
TARGET_SYS        = "arm-linux-gnueabi"
MACHINE           = "am335x-evm"
DISTRO            = "arago"
DISTRO_VERSION    = "2017.05"
TUNE_FEATURES     = "arm armv7a vfp thumb neon       callconvention-hard"
TARGET_FPU        = "hard"
meta-processor-sdk = "HEAD:3d2f620a6a98b1b6abb1103d7dc986921436ed19"
meta-arago-distro
meta-arago-extras = "HEAD:b727bf8fce8e9cb5a6b5d5b48c45f0088e67eb53"
meta-browser      = "HEAD:880a7bd1d3b9a1b2003f5b0620350f03158bbd43"
meta-qt5          = "HEAD:3601fd2c5306ac6d5d0d536e0be8cbb90da9b4c1"
meta-networking   
meta-ruby         
meta-python       
meta-oe           
meta-gnome        = "HEAD:fe5c83312de11e80b85680ef237f8acb04b4b26e"
meta-ti           = "HEAD:41d6fdc0fe5ea6054616cfccda13baac3ff33791"
meta-linaro-toolchain
meta-optee        = "HEAD:d84874bad834657dd04ea69c35a74dd9dbd535b8"
meta              = "HEAD:ddf907ca95a19f54785079b4396935273b3747f6"

Initialising tasks: 100% |###################################################################################################################################################################| Time: 0:00:52
NOTE: Executing SetScene Tasks
NOTE: Executing RunQueue Tasks
WARNING: binutils-native-linaro-2.27-r2016.10 do_fetch: Failed to fetch URL git://git.linaro.org/toolchain/binutils-gdb.git;protocol=https;branch=linaro_binutils-2_27-branch, attempting MIRRORS if available
ERROR: binutils-native-linaro-2.27-r2016.10 do_fetch: Fetcher failure: Fetch command export DBUS_SESSION_BUS_ADDRESS="unix:abstract=/tmp/dbus-dgxPfDXkLQ"; export SSH_AUTH_SOCK="/run/user/1000/keyring/ssh"; export PATH="/home/signal/TI_SDK/sdk_oe/tisdk/sources/oe-core/scripts/native-intercept:/home/signal/TI_SDK/sdk_oe/tisdk/build/arago-tmp-external-linaro-toolchain/sysroots/x86_64-linux/usr/bin/texinfo-dummy-native:/home/signal/TI_SDK/sdk_oe/tisdk/sources/oe-core/scripts:/home/signal/TI_SDK/sdk_oe/tisdk/build/arago-tmp-external-linaro-toolchain/sysroots/x86_64-linux/usr/bin/x86_64-linux:/home/signal/TI_SDK/sdk_oe/tisdk/build/arago-tmp-external-linaro-toolchain/sysroots/x86_64-linux/usr/bin:/home/signal/TI_SDK/sdk_oe/tisdk/build/arago-tmp-external-linaro-toolchain/sysroots/x86_64-linux/usr/sbin:/home/signal/TI_SDK/sdk_oe/tisdk/build/arago-tmp-external-linaro-toolchain/sysroots/x86_64-linux/usr/bin:/home/signal/TI_SDK/sdk_oe/tisdk/build/arago-tmp-external-linaro-toolchain/sysroots/x86_64-linux/sbin:/home/signal/TI_SDK/sdk_oe/tisdk/build/arago-tmp-external-linaro-toolchain/sysroots/x86_64-linux/bin:/home/signal/TI_SDK/sdk_oe/gcc-linaro-6.2.1-2016.11-x86_64_arm-linux-gnueabihf/bin:/home/signal/TI_SDK/sdk_oe/gcc-linaro-6.2.1-2016.11-x86_64_arm-linux-gnueabihf/bin:/home/signal/TI_SDK/sdk_oe/tisdk/sources/meta-browser/scripts:/home/signal/TI_SDK/sdk_oe/tisdk/sources/oe-core/scripts:/home/signal/TI_SDK/sdk_oe/tisdk/sources/bitbake/bin:/home/signal/TI_SDK/ti-processor-sdk-linux-rt-am335x-evm-04.00.00.04/linux-devkit/sysroots/x86_64-arago-linux/usr/bin:/home/signal/bin:/home/signal/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin"; export HOME="/home/signal"; LANG=C git -c core.fsyncobjectfiles=0 clone --bare --mirror git.linaro.org/.../binutils-gdb.git /home/signal/TI_SDK/sdk_oe/tisdk/downloads/git2/git.linaro.org.toolchain.binutils-gdb.git --progress failed with exit code 128, output:
Cloning into bare repository '/home/signal/TI_SDK/sdk_oe/tisdk/downloads/git2/git.linaro.org.toolchain.binutils-gdb.git'...
fatal: unable to access 'git.linaro.org/.../': error setting certificate verify locations:
  CAfile: /tmp/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx/yyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy/sy

ERROR: binutils-native-linaro-2.27-r2016.10 do_fetch: Fetcher failure for URL: 'git://git.linaro.org/toolchain/binutils-gdb.git;protocol=https;branch=linaro_binutils-2_27-branch'. Unable to fetch URL from any source.
ERROR: binutils-native-linaro-2.27-r2016.10 do_fetch: Function failed: base_do_fetch
ERROR: Logfile of failure stored in: /home/signal/TI_SDK/sdk_oe/tisdk/build/arago-tmp-external-linaro-toolchain/work/x86_64-linux/binutils-native/linaro-2.27-r2016.10/temp/log.do_fetch.2951
ERROR: Task (virtual:native:/home/signal/TI_SDK/sdk_oe/tisdk/sources/meta-linaro/meta-linaro-toolchain/recipes-devtools/binutils/binutils_linaro-2.27.bb:do_fetch) failed with exit code '1'
NOTE: Tasks Summary: Attempted 871 tasks of which 870 didn't need to be rerun and 1 failed.

Summary: 1 task failed:
  virtual:native:/home/signal/TI_SDK/sdk_oe/tisdk/sources/meta-linaro/meta-linaro-toolchain/recipes-devtools/binutils/binutils_linaro-2.27.bb:do_fetch
Summary: There was 1 WARNING message shown.
Summary: There were 3 ERROR messages shown, returning a non-zero exit code.

  • Hello Roberto,

    Please, change the protocol=https to protocol=git in sources/meta-linaro/meta-linaro-toolchain/recipes-devtools/binutils/binutils-linaro-2.27.inc

    Best regards,
    Kemal

  • In reply to Kemal R. Shakir:

    Hi Kemal,

    that fixes my problem.

    Thanks
    Roberto

This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.