i have followed the IMXLXYOCTOUG i.MX Yocto Project User's Guide Rev. LF5.10.9_1.0.0 — 12 April 2021 . i have executed the command bitbake imx-image-multimedia and got the error mentioned below .
i am working on : Rugged Board , PhyCore - i.MX6 UL (MCIMX6G2CVM05AB) .
host machine is ubuntu18.4
i executed the commands as mentioned below: $ repo init -u https://source.codeaurora.org/external/imx/imx-manifest -b imx-linux-gatesgarth -m imx-5.10.9-1.0.0.xml $ repo sync $ DISTRO=fsl-imx-x11 MACHINE=imx6ulevk source imx-setup-release.sh -b ./fsl_build_x11 $ bitbake imx-image-multimedia ______________________________________________________________________
root@dell:~/bin/imx-yocto-bsp/fsl_build_x11# bitbake imx-image-multimedia Loading cache: 100% |##################################################################################################################| Time: 0:00:01 Loaded 4847 entries from dependency cache. Parsing recipes: 100% |################################################################################################################| Time: 0:00:02 Parsing of 3281 .bb files complete (3280 cached, 1 parsed). 4848 targets, 317 skipped, 1 masked, 0 errors. NOTE: Resolving any missing task queue dependencies
Build Configuration: BB_VERSION = "1.48.0" BUILD_SYS = "x86_64-linux" NATIVELSBSTRING = "ubuntu-18.04" TARGET_SYS = "arm-poky-linux-gnueabi" MACHINE = "imx6ulevk" DISTRO = "fsl-imx-x11" DISTRO_VERSION = "5.10-gatesgarth" TUNE_FEATURES = "arm vfp cortexa7 neon thumb callconvention-hard" TARGET_FPU = "hard" meta meta-poky = "HEAD:943ef2fad8428f002850e3655a3312e13d0dcb2c" meta-oe meta-multimedia meta-python = "HEAD:ac4ccd2fbbb599d75ca4051911fcbaca39dbe6d7" meta-freescale = "HEAD:41d4f625c6db7a778f0f9a735c2cb48e023bc49b" meta-freescale-3rdparty = "HEAD:b85d08a55cb833bfc4e8b5034ff804286c67620e" meta-freescale-distro = "HEAD:11be3f01962df8436c5c7b0d61cd3dbd1b872905" meta-bsp meta-sdk meta-ml = "HEAD:478d788fc1ecb4783a2702752a61f1035fe9ab9f" meta-nxp-demo-experience = "HEAD:b5c3d6c3e91a3914ae7a3fabec86295dbb00057d" meta-browser = "HEAD:ee3be3b5986a4aa0e73df2204a625ae1fe5df37e" meta-rust = "HEAD:53bfa324891966a2daf5d36dc13d4a43725aebed" meta-clang = "HEAD:61faae011fb95712064f2c58abe6293f0daeeab5" meta-gnome meta-networking meta-filesystems = "HEAD:ac4ccd2fbbb599d75ca4051911fcbaca39dbe6d7" meta-qt5 = "HEAD:8d5672cc6ca327576a814d35dfb5d59ab24043cb" meta-python2 = "HEAD:c43c29e57f16af4e77441b201855321fbd546661"
Initialising tasks: 100% |#############################################################################################################| Time: 0:00:07 Sstate summary: Wanted 2072 Found 0 Missed 2072 Current 1490 (0% match, 41% complete) NOTE: Executing Tasks ERROR: coreutils-native-8.32-r0 do_configure: configure failed ERROR: coreutils-native-8.32-r0 do_configure: Execution of '/root/bin/imx-yocto-bsp/fsl_build_x11/tmp/work/x86_64-linux/coreutils-native/8.32-r0/temp/run.do_configure.17875' failed with exit code 1: automake (GNU automake) 1.16.2 Copyright (C) 2020 Free Software Foundation, Inc. License GPLv2+: GNU GPL version 2 or later <https://gnu.org/licenses/gpl-2.0.html> This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law.
Written by Tom Tromey <tromey@redhat.com> and Alexandre Duret-Lutz <adl@gnu.org>. AUTOV is 1.16 autoreconf: Entering directory `.' autoreconf: running: aclocal --system-acdir=/root/bin/imx-yocto-bsp/fsl_build_x11/tmp/work/x86_64-linux/coreutils-native/8.32-r0/recipe-sysroot-native/usr/share/aclocal/ --automake-acdir=/root/bin/imx-yocto-bsp/fsl_build_x11/tmp/work/x86_64-linux/coreutils-native/8.32-r0/recipe-sysroot-native/usr/share/aclocal-1.16 -I ./m4 --force -I m4 autoreconf: configure.ac: tracing .
.
.
.
.
.
| checking for mkfifo... yes | checking whether mkfifo rejects trailing slashes... yes | checking whether mknod can create fifo without root privileges... configure: error: in `/root/bin/imx-yocto-bsp/fsl_build_x11/tmp/work/x86_64-linux/coreutils-native/8.32-r0/build': | configure: error: you should not run configure as root (set FORCE_UNSAFE_CONFIGURE=1 in environment to bypass this check) | See `config.log' for more details | WARNING: exit code 1 from a shell command. | ERROR: Task (virtual:native:/root/bin/imx-yocto-bsp/sources/poky/meta/recipes-core/coreutils/coreutils_8.32.bb:do_configure) failed with exit code '1' NOTE: Tasks Summary: Attempted 5405 tasks of which 5363 didn't need to be rerun and 1 failed.
Summary: 1 task failed:
virtual:native:/root/bin/imx-yocto-bsp/sources/poky/meta/recipes-core/coreutils/coreutils_8.32.bb:do_configure
Summary: There were 2 ERROR messages shown, returning a non-zero exit code.
root@dell:~/bin/imx-yocto-bsp/fsl_build_x11#
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
--------------------------------------------------------------------------------------------------------------------------------
i did "export FORCE_UNSAFE_CONFIGURE=1 " on the same shell but still got the same error again
Hi Shivam Rawat,
Kindly follow the attached file for the compilation of YOCTO in your host pc and if you face any error again let us know.