commontorizon / meta-common-torizon

Fork of the TorizonCore OpenEmbedded Distro Layer to create Common TorizonCore
MIT License
9 stars 8 forks source link

Build fails - nothing provides kernel-module-display-connector #22

Open BhupiMAD opened 6 months ago

BhupiMAD commented 6 months ago

ERROR: initramfs-ostree-torizon-image-1.0-r0 do_rootfs: Unable to install packages. Command '/workdir/torizon/build-torizon/tmp/work/verdin_imx8mp-tdx-linux/initramfs-ostree-torizon-image/1.0-r0/recipe-sysroot-native/usr/bin/opkg --volatile-cache -f /workdir/torizon/build-torizon/tmp/work/verdin_imx8mp-tdx-linux/initramfs-ostree-torizon-image/1.0-r0/opkg.conf -t /workdir/torizon/build-torizon/tmp/work/verdin_imx8mp-tdx-linux/initramfs-ostree-torizon-image/1.0-r0/temp/ipktemp/ -o /workdir/torizon/build-torizon/tmp/work/verdin_imx8mp-tdx-linux/initramfs-ostree-torizon-image/1.0-r0/rootfs --force_postinstall --prefer-arch-to-version --add-ignore-recommends busybox-syslog install base-passwd busybox initramfs-framework-base initramfs-module-debug initramfs-module-kmod initramfs-module-ostree initramfs-module-plymouth initramfs-module-rootfs initramfs-module-udev' returned 1:

  • Solver encountered 1 problem(s):

  • Problem 1/1:

    • conflicting requests
    • nothing provides kernel-module-display-connector needed by initramfs-module-kmod-1.0-r4.all
  • Solution 1:

    • do not ask to install a package providing initramfs-module-kmod
  • opkg_finalize_intercepts: Failed to open dir /workdir/torizon/build-torizon/tmp/work/verdin_imx8mp-tdx-linux/initramfs-ostree-torizon-image/1.0-r0/temp/ipktemp//opkg-mOl6YB/opkg-intercept-ZqkeP2: No such file or directory.

  • rm_r: Failed to open dir /workdir/torizon/build-torizon/tmp/work/verdin_imx8mp-tdx-linux/initramfs-ostree-torizon-image/1.0-r0/temp/ipktemp//opkg-mOl6YB/opkg-intercept-ZqkeP2: No such file or directory.

  • rm_r: Failed to open dir /workdir/torizon/build-torizon/tmp/work/verdin_imx8mp-tdx-linux/initramfs-ostree-torizon-image/1.0-r0/temp/ipktemp//opkg-mOl6YB: No such file or directory.

ERROR: Logfile of failure stored in: /workdir/torizon/build-torizon/tmp/work/verdin_imx8mp-tdx-linux/initramfs-ostree-torizon-image/1.0-r0/temp/log.do_rootfs.980282 ERROR: Task (/workdir/torizon/build-torizon/conf/../../layers/meta-common-torizon/recipes-core/images/initramfs-ostree-torizon-image.bb:do_rootfs) failed with exit code '1'

I was trying to build it for a custom board when i got this error. But i also get the same error when trying to build for below machine (verdin-imx8mp)

Build Configuration: BB_VERSION = "2.0.0" BUILD_SYS = "x86_64-linux" NATIVELSBSTRING = "universal" TARGET_SYS = "aarch64-tdx-linux" MACHINE = "verdin-imx8mp" DISTRO = "torizon" DISTRO_VERSION = "6.5.0-devel-20240125064644+build.0" TUNE_FEATURES = "aarch64 armv8a crc cortexa53" TARGET_FPU = ""

I am using commontorizon-manifest to build images.

microhobby commented 5 months ago

hey @BhupiMAD

sorry for the delay, for some reason I missed a notification for this ticket 🤦‍♂️. Did you follow the steps here: https://github.com/commontorizon/Documentation/blob/main/BUILDING.md

If not, could you report the steps that are you using to build the image?

BhupiMAD commented 5 months ago

@microhobby these are the exact steps I have taken. I did not miss anything from the link you provided. Tried yesterday as well and same error.

drewmoseley commented 5 months ago

@BhupiMAD what does "bitbake kernel-module-display-connector" show?

What host OS are you building on? Not that it should make much difference.