Depency probems in yocto build

  • Hello F+S,


    Using the https://github.com/FSEmbedded/releases-fus-pre yocto build I am getting an dependency problem:


    It looks like I'm including a package that pulls cryptodev-module, which then has problems with your kernel.


    --------------------------------------------------

    Setscene tasks: 3119 of 3119

    Currently 1 running tasks (7804 of 7817) 99% ||

    ERROR: fus-image-std-1.0-r0 do_rootfs: Unable to install packages. Command '/app/fus/yocto-fus/build-fsimx8mp-fus-imx-wayland/tmp/work/fsimx8mp-poky-linux/fus-image-std/1.0-r0/recipe-sysroot-native/usr/bin/apt-get install --allow-downgrades --allow-remove-essential --allow-change-held-packages --allow-unauthenticated --no-remove apt dpkg i2c-tools packagegroup-core-boot packagegroup-core-full-cmdline packagegroup-core-weston packagegroup-fsl-tools-benchmark packagegroup-fsl-tools-gpu packagegroup-fsl-tools-gpu-external packagegroup-fsl-tools-testapps packagegroup-nacos-hmi run-postinsts systemd-serialgetty' returned 100:

    Reading package lists...

    Building dependency tree...

    Reading state information...

    Some packages could not be installed. This may mean that you have

    requested an impossible situation or if you are using the unstable

    distribution that some required packages have not yet been created

    or been moved out of Incoming.

    The following information may help to resolve the situation:

    The following packages have unmet dependencies:

    cryptodev-module : Depends: kernel-module-cryptodev-5.15.71-F+S but it is not installable

    E: Unable to correct problems, you have held broken packages.

    Setscene tasks: 3119 of 3119

    Currently 1 running tasks (7804 of 7817) 99% ||

    ERROR: Logfile of failure stored in: /app/fus/yocto-fus/build-fsimx8mp-fus-imx-wayland/tmp/work/fsimx8mp-poky-linux/fus-image-std/1.0-r0/temp/log.do_rootfs.117169

    Setscene tasks: 3119 of 3119

    No currently running tasks (7804 of 7817) 99% ||

    ERROR: Task (/app/fus/yocto-fus/sources/meta-fus/recipes-config/images/fus-image-std.bb:do_rootfs) failed with exit code '1'

    Setscene tasks: 3119 of 3119

    No currently running tasks (7804 of 7817) 99% ||



    Any suggestions?


    /Paul

  • Dear Paul,


    could you try to rebuild the cryptodev-module package?


    Code
    1. bitbake -c cleansstate cryptodev-module
    2. bitbake cryptodev-module

    Is the following file build?


    tmp/work/fsimx8mp-poky-linux/cryptodev-module/1.12-r0/deploy-debs/fsimx8mp/kernel-module-cryptodev-5.15.71-f+s_1.12-r0_arm64.deb



    Your F&S Support Team

  • Hi,


    I have two builds running at the moment. One on my own PC and one in our build devops pipeline. I have somehow overcomed the problem on my own PC and only have this problem on the build pipeline. This makes investigations/debugging more challenging.


    The problem persist even when clean stating the cryptpdev-module.


    After the build I have following files in the build dir when grep'ing for cryptodev:


    + find .

    + grep cryptodev

    ./tmp/sysroots-components/manifests/cryptodev-linux.44b29f9affe059f9af601138a7c7b2a2650dadbd863fcc9996b20d3e344ae8b5

    ./tmp/sysroots-components/fsimx8mp/cryptodev-module

    ./tmp/pkgdata/fsimx8mp/extended/cryptodev-tests-doc.json.zstd

    ./tmp/pkgdata/fsimx8mp/extended/cryptodev-module.json.zstd

    ./tmp/pkgdata/fsimx8mp/extended/cryptodev-module-dev.json.zstd

    ./tmp/pkgdata/fsimx8mp/extended/cryptodev-tests-locale.json.zstd

    ./tmp/pkgdata/fsimx8mp/extended/cryptodev-module-src.json.zstd

    ./tmp/pkgdata/fsimx8mp/extended/cryptodev-tests-dbg.json.zstd

    ./tmp/pkgdata/fsimx8mp/extended/cryptodev-linux-locale.json.zstd

    ./tmp/pkgdata/fsimx8mp/extended/cryptodev-linux.json.zstd

    ./tmp/pkgdata/fsimx8mp/extended/cryptodev-linux-src.json.zstd

    ./tmp/pkgdata/fsimx8mp/extended/cryptodev-linux-staticdev.json.zstd

    ./tmp/pkgdata/fsimx8mp/extended/cryptodev-linux-dbg.json.zstd

    ./tmp/pkgdata/fsimx8mp/extended/kernel-module-cryptodev-5.15.71-F+S.json.zstd

    ./tmp/pkgdata/fsimx8mp/extended/cryptodev-module-doc.json.zstd

    ./tmp/pkgdata/fsimx8mp/extended/cryptodev-tests-dev.json.zstd

    ./tmp/pkgdata/fsimx8mp/extended/cryptodev-tests-src.json.zstd

    ./tmp/pkgdata/fsimx8mp/extended/cryptodev-module-dbg.json.zstd

    ./tmp/pkgdata/fsimx8mp/extended/cryptodev-linux-doc.json.zstd

    ./tmp/pkgdata/fsimx8mp/runtime/cryptodev-tests-dbg

    ./tmp/pkgdata/fsimx8mp/runtime/cryptodev-tests-dbg.packaged

    ./tmp/pkgdata/fsimx8mp/runtime/cryptodev-module-dev

    ./tmp/pkgdata/fsimx8mp/runtime/cryptodev-module-locale

    ./tmp/pkgdata/fsimx8mp/runtime/cryptodev-module-staticdev

    ./tmp/pkgdata/fsimx8mp/runtime/cryptodev-module

    ./tmp/pkgdata/fsimx8mp/runtime/cryptodev-module-src

    ./tmp/pkgdata/fsimx8mp/runtime/cryptodev-module-doc

    ./tmp/pkgdata/fsimx8mp/runtime/cryptodev-module-dbg

    ./tmp/pkgdata/fsimx8mp/runtime/cryptodev-module-dbg.packaged

    ./tmp/pkgdata/fsimx8mp/runtime/kernel-module-cryptodev-5.15.71-F+S.packaged

    ./tmp/pkgdata/fsimx8mp/runtime/cryptodev-module-dev.packaged

    ./tmp/pkgdata/fsimx8mp/runtime/cryptodev-module-src.packaged

    ./tmp/pkgdata/fsimx8mp/runtime/cryptodev-module.packaged

    ./tmp/pkgdata/fsimx8mp/runtime/kernel-module-cryptodev-5.15.71-F+S

    ./tmp/pkgdata/fsimx8mp/runtime/cryptodev-tests.packaged

    ./tmp/pkgdata/fsimx8mp/runtime/cryptodev-tests-src.packaged

    ./tmp/pkgdata/fsimx8mp/runtime/cryptodev-tests-dev.packaged

    ./tmp/pkgdata/fsimx8mp/runtime/cryptodev-tests-locale

    ./tmp/pkgdata/fsimx8mp/runtime/cryptodev-tests-staticdev

    ./tmp/pkgdata/fsimx8mp/runtime/cryptodev-tests

    ./tmp/pkgdata/fsimx8mp/runtime/cryptodev-tests-doc

    ./tmp/pkgdata/fsimx8mp/runtime/cryptodev-tests-dev

    ./tmp/pkgdata/fsimx8mp/runtime/cryptodev-tests-src

    ./tmp/pkgdata/fsimx8mp/runtime/cryptodev-linux-staticdev

    ./tmp/pkgdata/fsimx8mp/runtime/cryptodev-linux-dbg.packaged

    ./tmp/pkgdata/fsimx8mp/runtime/cryptodev-linux-src

    ./tmp/pkgdata/fsimx8mp/runtime/cryptodev-linux-locale

    ./tmp/pkgdata/fsimx8mp/runtime/cryptodev-linux-dev.packaged

    ./tmp/pkgdata/fsimx8mp/runtime/cryptodev-linux-doc

    ./tmp/pkgdata/fsimx8mp/runtime/cryptodev-linux.packaged

    ./tmp/pkgdata/fsimx8mp/runtime/cryptodev-linux-dbg

    ./tmp/pkgdata/fsimx8mp/runtime/cryptodev-linux

    ./tmp/pkgdata/fsimx8mp/runtime/cryptodev-linux-dev

    ./tmp/pkgdata/fsimx8mp/cryptodev-linux

  • Dear Paul,


    so the file, I asked for, is not build?

    It seems that not even the building directory is created, which is strange because the pkgdata entry seems to be created.


    The bitbake cryptodev-module did not throw any errors?


    Are you using the F&S development Machine in your pipeline and does is have enough RAM and disc space?

    Strange things sometimes happen in Yocto if there are not enough resources....


    Your F&S Support Team

  • Dear Paul,


    could you please try to add the following line to your conf/local.conf ?



    Your F&S Support Team