Skip to main content
Visitor II
September 12, 2022
Solved

Files/directories were installed but not shipped in any package

  • September 12, 2022
  • 3 replies
  • 9202 views

Hello,

I am following this guide: https://wiki.st.com/stm32mpu/wiki/STM32MP1_Distribution_Package

I have reached step 6, but when I run bitbake st-image-weston I'm getting this error:

DEBUG: Executing python function populate_packages
ERROR: QA Issue: icu: Files/directories were installed but not shipped in any package:
 /usr/lib/lib
Please set FILES such that these items are packaged. Alternatively if they are unneeded, avoid installing them or delete them within do_install.
icu: 1 installed and not shipped files. [installed-vs-shipped]

Before that, I used this command: 

DISTRO=openstlinux-weston MACHINE=stm32mp13-disco source layers/meta-st/scripts/envsetup.sh

Do you know what can I do to fix this error? I have attached a copy of the error log.

    This topic has been closed for replies.
    Best answer by Kevin HUBER

    Hello @Jesús Jiménez Sánchez​ ,

    There is a warning about this error in the installation guide from the wiki: https://wiki.st.com/stm32mpu/wiki/STM32MP1_Distribution_Package#Installing_the_OpenSTLinux_distribution

    Yocto is using absolute directory path to give names to intermediate files. If the path is too long, Yocto build fails because file names exceed the maximum size supported by the file system. In that case, installation directory path should be renamed to reduce the overall absolute path name.

    Please can you try again the installation chapter of the Distribution Package, but in a shorter "working directory", for example in:

    /opt/st/DP-MP1-4.0.2

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

    And please has explained here: https://community.st.com/s/question/0D53W00001lSXndSAG/openstlinux-distribution-patch-release-v402-is-available

    There is a new version available of the Distribution Package, that fixes some issues detected. A warning is also available in the installation guide, to verify if a new minor version is available: https://wiki.st.com/stm32mpu/wiki/STM32MP1_Distribution_Package#Installing_the_OpenSTLinux_distribution

    Currently the latest one is: https://wiki.st.com/stm32mpu/wiki/STM32_MPU_OpenSTLinux_release_note_-_v4.0.0#v4-0-2

    Please use this version to avoid several problems.

    Best regards,

    Kevin

    3 replies

    ST Employee
    September 13, 2022

    Hello,

    looking at your error message I saw that your package was /usr/lib/lib and I think that is the problem. You should only have /usr/lib.

    Try to look your recipe to to ckeck that there is no mistake and you have the same path everywhere.

    If it still doesn't work or if you have any other questions do not hesitate.

    Regards,

    Grégory

    JJimé.2Author
    Visitor II
    September 19, 2022

    Hello @Gregory PLANCHON​,

    I have tried removing the `/lib` from the icu_70.1.bb file, which is the one failing, but it failed with the same error again:0693W00000SvhFUQAZ.pngThat is the only appearance of `/lib` in the recipe. Do you know what I should look for?

    Thank you.

    ST Employee
    September 22, 2022

    Hello @Jesús Jiménez Sánchez​ ,

    Did you make any other changes before you got the mistake ?

    Regards,

    Grégory

    JJimé.2Author
    Visitor II
    September 22, 2022

    @Gregory PLANCHON​, I made no other changes. I just tried with and without that "/lib" and it didn't work.

    I'm using Ubuntu 22.04, could that be the issue? Maybe some dependency version that changed between Ubuntu releases?

    I could build version 3.1.0 when I was in Ubuntu 20.04, a couple of months ago.