@Chavira
Here is what I'm doing step by step. from https://github.com/nxp-imx/meta-nxp-desktop/tree/rel_lf_6.1.55_2.2.0_ldp :
1. I got the repo utility and added it to the path:
PATH=${PATH}:~/bin
mkdir desktop
cd desktoprepo init -u https://github.com/nxp-imx/imx-manifest.git -b imx-linux-mickledore -m imx-6.1.55-2.2.0_desktop.xml
And that gave me the output:
Downloading Repo source from https://gerrit.googlesource.com/git-repo
Your identity is: XXX
If you want to change this, please re-run 'repo init' with --config-name
repo has been initialized in /home/mo/desktop
repo sync
And that gave the output:
Fetching: 100% (16/16), done in 51.981s
Checking out: 100% (16/16), done in 0.809s
repo sync has finished successfully.
DISTRO=imx-desktop-xwayland MACHINE=imx8qxpc0mek source imx-setup-desktop.sh -b build-desktop
and that gave the output:
Build directory is build-desktop
Some BSPs depend on libraries and packages which are covered by NXP's
End User License Agreement (EULA). To have the right to use these binaries in
your images, you need to read and accept the following...
LA_OPT_NXP_Software_License v49 September 2023
IMPORTANT. Read the following NXP Software License Agreement ("Agreement")
completely.....
Do you accept the EULA you just read? (y/n) y
EULA has been accepted.
Welcome to Freescale Community BSP
The Yocto Project has extensive documentation about OE including a
reference manual which can be found at:
http://yoctoproject.org/documentation
For more information about OpenEmbedded see their website:
http://www.openembedded.org/
You can now run 'bitbake <target>'
Common targets are:
core-image-minimal
meta-toolchain
meta-toolchain-sdk
adt-installer
meta-ide-support
Your build environment has been configured with:
MACHINE=imx8qxpc0mek
SDKMACHINE=i686
DISTRO=imx-desktop-xwayland
EULA=
BSPDIR=
BUILD_DIR=.
meta-freescale directory found
IMX Desktop setup complete!
You can now build the following Desktop images:
$ bitbake imx-image-desktop
After that, it automatically changes into the following directory.
~/desktop/build-desktop
In which I run:
bitbake imx-image-desktop
which gives the output:
NOTE: Your conf/bblayers.conf has been automatically updated.
Loading cache: 100% | | ETA: --:--:--
Loaded 0 entries from dependency cache.
WARNING: /home/mo/desktop/sources/poky/meta/recipes-core/coreutils/coreutils_9.1.bb: Variable key RDEPENDS:${PN} ( attr) replaces original key RDEPENDS:coreutils ( ${@bb.utils.contains('PACKAGECONFIG', 'single-binary', '', 'coreutils-stdbuf', d)}).
WARNING: /home/mo/desktop/sources/meta-nxp-desktop/recipes-devtools/qemu/qemu-system-native_4.2.1.bb: QA Issue: qemu-system-native: native/nativesdk class is not inherited last, this can result in unexpected behaviour. Classes inherited after native/nativesdk: ptest.bbclass pkgconfig.bbclass [native-last]
WARNING: /home/mo/desktop/sources/meta-nxp-desktop/recipes-devtools/qemu/qemu-native_4.2.1.bb: QA Issue: qemu-native: native/nativesdk class is not inherited last, this can result in unexpected behaviour. Classes inherited after native/nativesdk: ptest.bbclass pkgconfig.bbclass [native-last]
Parsing recipes: 100% |####################################################################################| Time: 0:01:11
Parsing of 3511 .bb files complete (0 cached, 3511 parsed). 5401 targets, 536 skipped, 22 masked, 0 errors.
NOTE: Resolving any missing task queue dependencies
Build Configuration:
BB_VERSION = "2.4.0"
BUILD_SYS = "x86_64-linux"
NATIVELSBSTRING = "ubuntu-22.04"
TARGET_SYS = "aarch64-fsl-linux"
MACHINE = "imx8qxpc0mek"
DISTRO = "imx-desktop-xwayland"
DISTRO_VERSION = "1.0"
TUNE_FEATURES = "aarch64 armv8a crc crypto"
TARGET_FPU = ""
meta
meta-poky = "HEAD:a57506c46d92bf0767060102d2139be06d46f575"
meta-oe
meta-multimedia
meta-python = "HEAD:922f41b39f364e5b6be596b4b51e0fb37ffe1971"
meta-freescale = "HEAD:7327e03c61823268a5a957fe090c4cc5e1735b34"
meta-freescale-3rdparty = "HEAD:bccd93f1ceece608e69799b6fc8f79e8a519f89e"
meta-freescale-distro = "HEAD:7956a0ab407a33c40fdc6eb4fabdcb7dc54fd359"
meta-bsp
meta-sdk
meta-ml
meta-v2x = "HEAD:c842613830da0a5473513cdbc2dce015b0ca9a5d"
meta-nxp-demo-experience = "HEAD:b8c0a9af3e3ca5400b9aff6436fbb654d3108cb4"
meta-arm
meta-arm-toolchain = "HEAD:c6380674f59489b327c5047d803cc35b68642cd4"
meta-chromium = "HEAD:e232c2e21b96dc092d9af8bea4b3a528e7a46dd6"
meta-clang = "HEAD:af4dcba009ba98250315520f3003fde4ee164cce"
meta-gnome
meta-networking
meta-filesystems = "HEAD:922f41b39f364e5b6be596b4b51e0fb37ffe1971"
meta-qt6 = "HEAD:1406d0a85525a71fe5d7892d7f915404290a78ad"
meta-parsec
meta-tpm = "HEAD:d7db0a3bd1a8639df7570483f003ce00cbe274a2"
meta-virtualization = "HEAD:38e6b3e2fe0219c773f4637a09221ca5d15bf6fc"
meta-nxp-desktop = "HEAD:08711af85dba46ff63bdd3f1631e9b0f35b803e3"
NOTE: Fetching uninative binary shim http://downloads.yoctoproject.org/releases/uninative/4.3/x86_64-nativesdk-libc-4.3.tar.xz;sha256sum=... (will check PREMIRRORS first)
Initialising tasks: 100% |#################################################################################| Time: 0:00:03
Sstate summary: Wanted 2715 Local 0 Mirrors 0 Missed 2715 Current 0 (0% match, 0% complete)
NOTE: Executing Tasks
Which eventually fails with:
| /home/mo/desktop/build-desktop/tmp/work-shared/llvm-project-source-15.0.7-r0/git/clang/include/clang/AST/ExternalASTSource.h:378:54: warning: ‘this’ pointer is null [-Wnonnull]
| 378 | Ptr = reinterpret_cast<uint64_t>((Source->*Get)(Ptr >> 1));
| | ~~~~~~~~~~~~~~^~~~~~~~~~
| ninja: build stopped: subcommand failed.
| WARNING: /home/mo/desktop/build-desktop/tmp/work/x86_64-linux/clang-native/15.0.7-r0/temp/run.do_compile.253912:162 exit 1 from 'eval ${DESTDIR:+DESTDIR=${DESTDIR} }VERBOSE=1 cmake --build '/home/mo/desktop/build-desktop/tmp/work/x86_64-linux/clang-native/15.0.7-r0/build' "$@" -- ${EXTRA_OECMAKE_BUILD}'
| WARNING: Backtrace (BB generated script):
| #1: cmake_runcmake_build, /home/mo/desktop/build-desktop/tmp/work/x86_64-linux/clang-native/15.0.7-r0/temp/run.do_compile.253912, line 162
| #2: cmake_do_compile, /home/mo/desktop/build-desktop/tmp/work/x86_64-linux/clang-native/15.0.7-r0/temp/run.do_compile.253912, line 156
| #3: do_compile, /home/mo/desktop/build-desktop/tmp/work/x86_64-linux/clang-native/15.0.7-r0/temp/run.do_compile.253912, line 151
| #4: main, /home/mo/desktop/build-desktop/tmp/work/x86_64-linux/clang-native/15.0.7-r0/temp/run.do_compile.253912, line 175
ERROR: Task (virtual:native:/home/mo/desktop/sources/meta-clang/recipes-devtools/clang/clang_git.bb:do_compile) failed with exit code '1'
NOTE: Tasks Summary: Attempted 4988 tasks of which 0 didn't need to be rerun and 2 failed.
Summary: 2 tasks failed:
/home/mo/desktop/sources/meta-nxp-desktop/recipes-graphics/libgpuperfcnt/libgpuperfcnt_6.4.11.p2.2d.bb:do_fetch
virtual:native:/home/mo/desktop/sources/meta-clang/recipes-devtools/clang/clang_git.bb:do_compile
Summary: There were 16 WARNING messages.
Summary: There were 3 ERROR messages, returning a non-zero exit code.
Can you please tell me what am I doing wrong?