AnsweredAssumed Answered

Create the toolchain错误

Question asked by long bin on Jul 5, 2020
Latest reply on Jul 7, 2020 by long bin

我使用imx6ull做产品,系统版本:4.1.15。

Create the toolchain出现如下错误:

WARNING: nativesdk-linux-libc-headers-4.4-r0 do_fetch: Failed to fetch URL http://kernel.org/pub/linux/kernel/v4.x/linux-4.4.tar.xz, attempting MIRRORS if available

ERROR: nativesdk-linux-libc-headers-4.4-r0 do_fetch: Fetcher failure: Fetch command failed with exit code 4, no output

ERROR: nativesdk-linux-libc-headers-4.4-r0 do_fetch: Function failed: Fetcher failure for URL: 'http://kernel.org/pub/linux/kernel/v4.x/linux-4.4.tar.xz'. Unable to fetch URL from any source.

ERROR: Logfile of failure stored in: /home/longbin/Downloads/fsl-release-bsp/build_qt5/tmp/work/x86_64-nativesdk-pokysdk-linux/nativesdk-linux-libc-headers/4.4-r0/temp/log.do_fetch.3452

ERROR: Task 986 (virtual:nativesdk:/home/longbin/Downloads/fsl-release-bsp/sources/poky/meta/recipes-kernel/linux-libc-headers/linux-libc-headers_4.4.bb, do_fetch) failed with exit code '1'

WARNING: qt3d-native-5.6.1+gitAUTOINC+7fab1fa656-r0 do_fetch: Failed to fetch URL git://github.com/qtproject/qt3d.git;name=qt3d;branch=5.6;protocol=git, attempting MIRRORS if available

WARNING: qtgraphicaleffects-5.6.1+gitAUTOINC+0b68e91d68-r0 do_fetch: Failed to fetch URL git://github.com/qtproject/qtgraphicaleffects.git;name=qtgraphicaleffects;branch=5.6;protocol=git, attempting MIRRORS if available

ERROR: qtgraphicaleffects-5.6.1+gitAUTOINC+0b68e91d68-r0 do_fetch: Fetcher failure: Fetch command failed with exit code 128, output:

Cloning into bare repository '/home/longbin/Downloads/fsl-release-bsp/downloads//git2/github.com.qtproject.qtgraphicaleffects.git'...

fatal: read error: Connection reset by peer

fatal: early EOF

fatal: index-pack failed

 

ERROR: qtgraphicaleffects-5.6.1+gitAUTOINC+0b68e91d68-r0 do_fetch: Function failed: Fetcher failure for URL: 'git://github.com/qtproject/qtgraphicaleffects.git;name=qtgraphicaleffects;branch=5.6;protocol=git'. Unable to fetch URL from any source.

ERROR: Logfile of failure stored in: /home/longbin/Downloads/fsl-release-bsp/build_qt5/tmp/work/cortexa7hf-neon-poky-linux-gnueabi/qtgraphicaleffects/5.6.1+gitAUTOINC+0b68e91d68-r0/temp/log.do_fetch.4077

ERROR: Task 533 (/home/longbin/Downloads/fsl-release-bsp/sources/meta-qt5/recipes-qt/qt5/qtgraphicaleffects_git.bb, do_fetch) failed with exit code '1'

NOTE: Tasks Summary: Attempted 1628 tasks of which 1616 didn't need to be rerun and 2 failed.

Waiting for 0 running tasks to finish:

 

Summary: 2 tasks failed:

  virtual:nativesdk:/home/longbin/Downloads/fsl-release-bsp/sources/poky/meta/recipes-kernel/linux-libc-headers/linux-libc-headers_4.4.bb, do_fetch

  /home/longbin/Downloads/fsl-release-bsp/sources/meta-qt5/recipes-qt/qt5/qtgraphicaleffects_git.bb, do_fetch

Summary: There were 3 WARNING messages shown.

Summary: There were 4 ERROR messages shown, returning a non-zero exit code.

问题1:请帮忙解决上面问题。

问题2:我现在需要添加qtserialbus,qtserialport库,我是不是应该在toolchain添加这两个库?我已经在文件系统添加了这两个库。如果是,能不能编译好发给我?我等着急用,现在数据出不来,硬件实验就没有办法做。非常感谢。

Outcomes