AnsweredAssumed Answered

Build of bsps from i.MX fsl failed

Question asked by Mattias Barthel on Mar 20, 2017
Latest reply on May 24, 2017 by Liquan Duan

Hi! 

Trying to build a 4.1.15-2.0.0-ga from code and then add PCIe support to test on sabre-sd (imx6sx).

However I get the following error when building:

 

What could be the problem here?


$ mkdir fsl-release-bsp/
$ cd fsl-release-bsp/
$ repo init -u git://git.freescale.com/imx/fsl-arm-yocto-bsp.git -b imx-4.1-krogoth -m imx-4.1.15-2.0.0.xml
$ repo sync
$ MACHINE=imx6sxsabresd DISTRO=fsl-imx-x11 source ./fsl-setup-release.sh -b build
$ bitbake fsl-image-machine-test
NOTE: Your conf/bblayers.conf has been automatically updated.
WARNING: Host distribution "Ubuntu-16.10" has not been validated with this version of the build system; you may possibly experi
ence unexpected failures. It is recommended that you use a tested distribution.
Parsing recipes: 100% |########################################################################################| Time: 00:01:41
Parsing of 2215 .bb files complete (0 cached, 2215 parsed). 2790 targets, 210 skipped, 5 masked, 0 errors.
NOTE: Resolving any missing task queue dependencies

Build Configuration:
BB_VERSION = "1.30.0"
BUILD_SYS = "x86_64-linux"
NATIVELSBSTRING = "Ubuntu-16.10"
TARGET_SYS = "arm-poky-linux-gnueabi"
MACHINE = "imx6sxsabresd"
DISTRO = "fsl-imx-x11"
DISTRO_VERSION = "4.1.15-2.0.0"
TUNE_FEATURES = "arm armv7a vfp neon callconvention-hard cortexa9"
TARGET_FPU = "hard"
meta
meta-yocto = "HEAD:f5da2a5913319ad6ac2141438ba1aa17576326ab"
meta-oe
meta-multimedia = "HEAD:247b1267bbe95719cd4877d2d3cfbaf2a2f4865a"
meta-fsl-arm = "HEAD:be78894e4682f111575470fb23e51e6ba523508d"
meta-fsl-arm-extra = "HEAD:3dfb82fc7e703eae9891b3ffda0e9393701f2396"
meta-fsl-demos = "HEAD:a165068f8a0d1cf29aabe4b4053f28be1c2aa492"
meta-bsp
meta-sdk = "HEAD:0451810f7ec7da962bd899f5b0fe26afee1676ca"
meta-browser = "HEAD:77736988073a5d90fcff9d0005c8477332ede387"
meta-gnome
meta-networking
meta-python
meta-filesystems = "HEAD:247b1267bbe95719cd4877d2d3cfbaf2a2f4865a"
meta-qt5 = "HEAD:ccae79be69c5268df3b47e4e14cea0591c39a531"

NOTE: Preparing RunQueue
NOTE: Executing SetScene Tasks
NOTE: Executing RunQueue Tasks
WARNING: zlib-native-1.2.8-r0 do_fetch: Failed to fetch URL http://www.zlib.net/zlib-1.2.8.tar.xz, attempting MIRRORS if availa
ble
Currently 3 running tasks (160 of 6593):
0: binutils-cross-arm-2.26-r0 do_fetch (pid 24130)
1: glibc-initial-2.23-r0 do_fetch (pid 16449)
2: gperf-native-3.0.4-r0 do_fetch (pid 17122)
No real function for mknod: /home/mattias/fsl-release-bsp/build/tmp/sysroots/x86_64-linux/usr/bin/../lib/pseudo/lib64/libpseudo
.so: undefined symbol: mknod
No real function for mknodat: /home/mattias/fsl-release-bsp/build/tmp/sysroots/x86_64-linux/usr/bin/../lib/pseudo/lib64/libpseu
do.so: undefined symbol: mknodat
WARNING: pigz-native-2.3.3-r0 do_fetch: Failed to fetch URL http://zlib.net/pigz/pigz-2.3.3.tar.gz, attempting MIRRORS if avail
able
WARNING: libpcre-native-8.38-r0 do_fetch: Failed to fetch URL ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/pcre-8.38.t
ar.bz2, attempting MIRRORS if available
WARNING: file-native-5.25-r0 do_fetch: Failed to fetch URL git://github.com/file/file.git, attempting MIRRORS if available
ERROR: file-native-5.25-r0 do_fetch: Fetcher failure: Unable to find revision f45db89ddc91692b662fffbabbdafc7bc4c00f5e in branc
h master even from upstream
ERROR: file-native-5.25-r0 do_fetch: Function failed: Fetcher failure for URL: 'git://github.com/file/file.git'. Unable to fetc
h URL from any source.
ERROR: Logfile of failure stored in: /home/mattias/fsl-release-bsp/build/tmp/work/x86_64-linux/file-native/5.25-r0/temp/log.do_
fetch.27214
ERROR: Task 607 (virtual:native:/home/mattias/fsl-release-bsp/sources/poky/meta/recipes-devtools/file/file_5.25.bb, do_fetch) f
ailed with exit code '1'
NOTE: Tasks Summary: Attempted 268 tasks of which 0 didn't need to be rerun and 1 failed.
Waiting for 0 running tasks to finish:

Summary: 1 task failed:
virtual:native:/home/mattias/fsl-release-bsp/sources/poky/meta/recipes-devtools/file/file_5.25.bb, do_fetch
Summary: There were 5 WARNING messages shown.
Summary: There were 2 ERROR messages shown, returning a non-zero exit code.

Outcomes