Hi Sir,
I use L4.14.98_2.0.0 to build i.MX8M mini EVK image.
Error message as below. Would you kindly help me?
$ DISTRO=fsl-imx-xwayland MACHINE=imx8mmevk source fsl-setup-release.sh -b build-8mm
$ bitbake core-image-base
Loading cache: 100% |############################################| Time: 0:00:00
Loaded 3483 entries from dependency cache.
NOTE: Resolving any missing task queue dependenciesBuild Configuration:
BB_VERSION = "1.38.0"
BUILD_SYS = "x86_64-linux"
NATIVELSBSTRING = "ubuntu-16.04"
TARGET_SYS = "aarch64-poky-linux"
MACHINE = "imx8mmevk"
DISTRO = "fsl-imx-xwayland"
DISTRO_VERSION = "4.14-sumo"
TUNE_FEATURES = "aarch64"
TARGET_FPU = ""
meta
meta-poky = "HEAD:c9bd4984f8f471ca2c43052714f4413ba99cf171"
meta-oe
meta-multimedia = "HEAD:8760facba1bceb299b3613b8955621ddaa3d4c3f"
meta-freescale = "HEAD:27ca94f8a4336790ba117b4298566f6820e7e74c"
meta-freescale-3rdparty = "HEAD:82037216280a39957fb4272581637abec734ad50"
meta-freescale-distro = "HEAD:f7e2216e93aff14ac32728a13637a48df436b7f4"
meta-bsp
meta-sdk = "HEAD:8eeb420fad668b733ab95b460895e1c337c66b25"
meta-browser = "HEAD:75640e14e325479c076b6272b646be7a239c18aa"
meta-gnome
meta-networking
meta-python
meta-filesystems = "HEAD:8760facba1bceb299b3613b8955621ddaa3d4c3f"
meta-qt5 = "HEAD:d4e7f73d04e8448d326b6f89908701e304e37d65"Initialising tasks: 100% |#######################################| Time: 0:00:01
NOTE: Executing SetScene Tasks
NOTE: Executing RunQueue Tasks
ERROR: gobject-introspection-native-1.54.1-r0 do_compile: oe_runmake failed
ERROR: gobject-introspection-native-1.54.1-r0 do_compile: Function failed: do_compile (log file is located at /media/tang/79f42032-f07a-40dc-84ee-1dae3e9cb6c0/L4.14.98_2.0.0/imx-yocto-bsp/build-8mm/tmp/work/x86_64-linux/gobject-introspection-native/1.54.1-r0/temp/log.do_compile.9258)
ERROR: Logfile of failure stored in: /media/tang/79f42032-f07a-40dc-84ee-1dae3e9cb6c0/L4.14.98_2.0.0/imx-yocto-bsp/build-8mm/tmp/work/x86_64-linux/gobject-introspection-native/1.54.1-r0/temp/log.do_compile.9258
Log data follows:
| DEBUG: Executing shell function do_compile
| NOTE: make -j 8
| make all-recursive
| make[1]: Entering directory '/media/tang/79f42032-f07a-40dc-84ee-1dae3e9cb6c0/L4.14.98_2.0.0/imx-yocto-bsp/build-8mm/tmp/work/x86_64-linux/gobject-introspection-native/1.54.1-r0/build'
| Making all in .
| make[2]: Entering directory '/media/tang/79f42032-f07a-40dc-84ee-1dae3e9cb6c0/L4.14.98_2.0.0/imx-yocto-bsp/build-8mm/tmp/work/x86_64-linux/gobject-introspection-native/1.54.1-r0/build'....
| /media/tang/79f42032-f07a-40dc-84ee-1dae3e9cb6c0/L4.14.98_2.0.0/imx-yocto-bsp/build-8mm/tmp/work/x86_64-linux/gobject-introspection-native/1.54.1-r0/build/tmp-introspect0zhek1n6/GLib-2.0: not an ELF file.
| ERROR: can't resolve libraries to shared libraries: gobject-2.0, glib-2.0
| Makefile:3563: recipe for target 'GLib-2.0.gir' failed
| make[2]: *** [GLib-2.0.gir] Error 1
| make[2]: Leaving directory '/media/tang/79f42032-f07a-40dc-84ee-1dae3e9cb6c0/L4.14.98_2.0.0/imx-yocto-bsp/build-8mm/tmp/work/x86_64-linux/gobject-introspection-native/1.54.1-r0/build'
| Makefile:2850: recipe for target 'all-recursive' failed
| make[1]: *** [all-recursive] Error 1
| make[1]: Leaving directory '/media/tang/79f42032-f07a-40dc-84ee-1dae3e9cb6c0/L4.14.98_2.0.0/imx-yocto-bsp/build-8mm/tmp/work/x86_64-linux/gobject-introspection-native/1.54.1-r0/build'
| Makefile:1610: recipe for target 'all' failed
| make: *** [all] Error 2
| ERROR: oe_runmake failed
| WARNING: exit code 1 from a shell command.
| ERROR: Function failed: do_compile (log file is located at /media/tang/79f42032-f07a-40dc-84ee-1dae3e9cb6c0/L4.14.98_2.0.0/imx-yocto-bsp/build-8mm/tmp/work/x86_64-linux/gobject-introspection-native/1.54.1-r0/temp/log.do_compile.9258)
ERROR: Task (virtual:native:/media/tang/79f42032-f07a-40dc-84ee-1dae3e9cb6c0/L4.14.98_2.0.0/imx-yocto-bsp/sources/poky/meta/recipes-gnome/gobject-introspection/gobject-introspection_1.54.1.bb:do_compile) failed with exit code '1'
NOTE: Tasks Summary: Attempted 1969 tasks of which 1961 didn't need to be rerun and 1 failed.Summary: 1 task failed:
virtual:native:/media/tang/79f42032-f07a-40dc-84ee-1dae3e9cb6c0/L4.14.98_2.0.0/imx-yocto-bsp/sources/poky/meta/recipes-gnome/gobject-introspection/gobject-introspection_1.54.1.bb:do_compile
Summary: There were 2 ERROR messages shown, returning a non-zero exit code.
Hi tangwang ,
Can you please try to build with the steps refered in Yocto project User's guide of L4.14.98_2.0.0 as we are able to build it without any error for i.MX8M mini.
Note: Make sure you follow all the steps mentioned in the document and install all the packages.
Let us know if you still face any issue.
Regrds,
Radhika Somaiya.
I can't find the real problem, so reinstall Ubuntu to solve it
Thank you.