Hi,
I'm working with an i.MX8MM LPDDR4 EVK and trying to build a Debian 12 image using FlexBuild.
My host system is Ubuntu 22.04, and I followed the steps described in UG10155 – Section 4: Building Debian Images with FlexBuild.
bld -m imx8mmevk
The build keeps failing because many packages are missing under:
build_lsdk2506/rfs/rootfs_lsdk2506_debian_desktop_arm64
Each time it fails, I enter the rootfs with chroot and manually install the required packages, but new missing packages keep appearing and the process never completes.
Is this expected behavior for FlexBuild when building a Debian 12 rootfs? Or am I missing some configuration or step to ensure all required packages are installed automatically?
Thanks in advance!
Hi @TeoKang
Are you using Docker to compile? Is that Ubuntu22.04 running on Intel chip or AMD chip?
Best Regards,
Zhiming
I’ve attached two full log files.
imx8mmevk.log is from the first build attempt where the initial error occurred, and imx8mmevk_loglevel0.log is from a second build attempt with LOG_LEVEL=0 enabled.
As you can see in the logs, the build fails with:
meson.build:85:0: ERROR: Dependency "pciaccess" not found, tried pkgconfig
From my experience, this is usually just the beginning — additional missing dependencies continue to appear afterward.
Hi @TeoKang
We tried to reproduce same issue on NXP server, local machine and WSL before, but we can't see same error on these three machines. So i can't accurately describe where the specific problem lies. Is this a fresh, clean Ubuntu installation?
Best Regards,
Zhiming
Hi @TeoKang
This is build log on WSL2 Ubuntu22.04(AMD chip).
Best Regards,
Zhiming