Problem building images for i.MX8

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Problem building images for i.MX8

605 Views
crrm
Contributor II

Hello,

A few months ago I generated several images for a i.MX8 board (imx8qmmek) without any issues.

Since the beginning of this week, after a synchronization of the repos, I'm having issues generating images, regardless of the recipe that I select.

The error message that I get is the following :

 

ERROR: fsl-image-validation-imx-1.0-r0 do_rootfs: [log_check] fsl-image-validation-imx: found 1 error message in the logfile:
[log_check] E: Unable to correct problems, you have held broken packages.

ERROR: fsl-image-validation-imx-1.0-r0 do_rootfs: Function failed: do_rootfs

 

and if I scroll up the following message is shown:

 

The following information may help to resolve the situation:

The following packages have unmet dependencies:
cogl-1.0-dev : Depends: cogl-1.0 (= 1.22.2-r0)
Recommends: libcogl-dev but it is not installable
Recommends: libcogl-gles2-dev but it is not installable
Recommends: libcogl-pango-dev but it is not installable
Recommends: libcogl-path-dev but it is not installable
E: Unable to correct problems, you have held broken packages.

 

So there is a dependency problem that cannot be met which I don't understand very well, because cogl-1.0 exists and there is no problem building it (bitbake cogl-1.0 builds without issue).

The recipe I am building is fsl-image-validation-imx and I'm using the following local.conf file (which is the same that successfully generated the images in the past):

 

MACHINE ??= 'imx8qmmek'
DISTRO ?= 'fsl-imx-wayland'
PACKAGE_CLASSES ?= "package_deb"
PACKAGE_FEED_URIS = "http://192.168.1.65:5678"
EXTRA_IMAGE_FEATURES += "debug-tweaks package-management tools-sdk tools-debug dev-pkgs ssh-server-openssh"
USER_CLASSES ?= "buildstats image-mklibs image-prelink"
PATCHRESOLVE = "noop"
BB_DISKMON_DIRS ??= "\
STOPTASKS,${TMPDIR},1G,100K \
STOPTASKS,${DL_DIR},1G,100K \
STOPTASKS,${SSTATE_DIR},1G,100K \
STOPTASKS,/tmp,100M,100K \
ABORT,${TMPDIR},100M,1K \
ABORT,${DL_DIR},100M,1K \
ABORT,${SSTATE_DIR},100M,1K \
ABORT,/tmp,10M,1K"
PACKAGECONFIG_append_pn-qemu-native = " sdl"
PACKAGECONFIG_append_pn-nativesdk-qemu = " sdl"
IMAGE_INSTALL_append = " git meson perl python apt strace python-pip"
CONF_VERSION = "1"
PARALLEL_MAKE = "-j 8"
BB_NUMBER_THREADS = "8"

DL_DIR ?= "${BSPDIR}/downloads/"
ACCEPT_FSL_EULA = "1"

 


Does anyone have any hint on how to solve this issue?

0 Kudos
2 Replies

559 Views
crrm
Contributor II

@Bio_TICFSL, thank you for the support and sorry for the late reply.

I don't understand why it should be a network problem and not a package problem. I had several issues building different packages that I fixed using some hacks based on suggestions of other people in this forum (for instance: https://community.nxp.com/t5/i-MX-Processors/problem-with-package-deb/td-p/914893 and problems building tensorflow due to some non-existing packages being referenced in the dependencies of tensorflow recipes) that culminated in the issue reported above, which clearly indicates a dependency problem occurring every time I build the code.

One important thing that I forgot to mention in my initial post was that these issues were found when building the code for the "imx-build-thud" release. I soon realized, after submitting this issue, that there was a new version in branch "imx-linux-zeus". I built it without any issues and I'm now using it. This is how I fixed my problem for now.

 

585 Views
Bio_TICFSL
NXP TechSupport
NXP TechSupport

Hello Crrm,

 

I guess this should be a problem with your network or with your host, since yocto repos work.

 

Regards

 

0 Kudos