cancel
Showing results for 
Search instead for 
Did you mean: 

STM32MP15 ECO 5.0.0 rerun bitbake causes errors, no EULA shown

debugging
Lead

Run bitbake rep and sync and DISTRO, then bitbake , it shows the EULA and the build start, interrupt the build by press CTRL-C, closing the console window and re-entering it. then start bitbake, below errors occur.

Even creating a new folder running the repo and sync command and then DISTRO shows:

HOST DISTRIB check]
Linux Distrib: Ubuntu
Linux Release: 23.04

[source layers/openembedded-core/oe-init-build-env][from nothing]

[EULA configuration]
[WARNING] No eula file found : not able to configure EULA agreement or not.

[Configure *.conf files]
[INFO] No 'site.conf.sample' file available at /home/user/distro/layers/meta-st/scripts. Create default one...
[WARNING] Not able to find STM32MP1.conf file in layers/meta-st : bblayer.conf not updated...

===========================================================================
Configuration files have been created for the following configuration:

DISTRO : openstlinux-weston
DISTRO_CODENAME : mickledore
MACHINE : STM32MP1
BB_NUMBER_THREADS : <no-custom-config-set>
PARALLEL_MAKE : <no-custom-config-set>

BUILDDIR : build-openstlinuxweston-STM32MP1
DOWNLOAD_DIR : <disable>
SSTATE_DIR : <disable>

SOURCE_MIRROR_URL : <no-custom-config-set>
SSTATE_MIRRORS : <disable>

WITH_EULA_ACCEPTED: <no-custom-config-set>

===========================================================================

Available images for OpenSTLinux layers are:

- Official OpenSTLinux images:
st-image-weston - OpenSTLinux weston image with basic Wayland support (if enable in distro)

- Other OpenSTLinux images:
- Supported images:
st-image-core - OpenSTLinux core image

You can now run 'bitbake <image>'

When run bitbake these error occur.

bitbake st-image-weston

NOTE: Started PRServer with DBfile: /home/user/distro/build-openstlinuxweston-STM32MP1/cache/prserv.sqlite3, Address: 127.0.0.1:45367, PID: 11886
ERROR: Layer 'gnome-layer' depends on layer 'meta-python', but this layer is not enabled in your configuration
ERROR: Layer 'gnome-layer' depends on layer 'openembedded-layer', but this layer is not enabled in your configuration
ERROR: Layer 'multimedia-layer' depends on layer 'meta-python', but this layer is not enabled in your configuration
ERROR: Layer 'multimedia-layer' depends on layer 'openembedded-layer', but this layer is not enabled in your configuration
ERROR: Layer 'networking-layer' depends on layer 'openembedded-layer', but this layer is not enabled in your configuration
ERROR: Layer 'webserver' depends on layer 'openembedded-layer', but this layer is not enabled in your configuration
ERROR: Layer 'filesystems-layer' depends on layer 'openembedded-layer', but this layer is not enabled in your configuration
ERROR: Layer 'perl-layer' depends on layer 'openembedded-layer', but this layer is not enabled in your configuration
ERROR: Layer 'stm-st-stm32mp' depends on layer 'meta-python', but this layer is not enabled in your configuration
ERROR: Layer 'stm-st-stm32mp' depends on layer 'openembedded-layer', but this layer is not enabled in your configuration

1 ACCEPTED SOLUTION

Accepted Solutions
debugging
Lead

Issue can't be reproduced anymore.

View solution in original post

5 REPLIES 5
Olivier GALLIEN
ST Employee

Hi @debugging 

can you please further explain below command line :

[source layers/openembedded-core/oe-init-build-env][from nothing]

Looks like to be some bare Yocto/poky command far from our recommendation STM32MP1 Distribution Package - stm32mpu 

Please try with 

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

Thx

Olivier

 

 

 

 

Olivier GALLIEN
In order to give better visibility on the answered topics, please click on 'Accept as Solution' on the reply which solved your issue or answered your question.
debugging
Lead

Above dumps were the  [1] the output of the DISTRO command followed by [2] the output (errors) of the bitbake command . These are the commands used::

$ mkdir Distribution-Package

$ cd Distribution-Package

$ repo init -u https://github.com/STMicroelectronics/oe-manifest.git -b refs/tags/openstlinux-6.1-yocto-mickledore-mp1-v23.06.21

$ repo sync

$DISTRO=openstlinux-weston MACHINE=stm32mp1 source layers/meta-st/scripts/envsetup.sh

$ bitbake st-image-weston

Olivier GALLIEN
ST Employee

Hi @debugging ,

 

>> interrupt the build by press CTRL-C, 

 

Do you mean once, letting the build stop properly or twice really forcing to go back to console prompt immediatly ? 

The second option can indeed corrupt the environnement. 

But this might be fix by a complete clean-up and redo .. 

 

I notice you are using Ubuntu 23.04 a non LTS version. Not that ST only has validate the environnement under LTS 20.04 et 22.04. 

Else to avoid any classical pitfall did you carefully perform all steps in PC prerequisites - stm32mpu  ? 

 

Olivier 

 

Olivier GALLIEN
In order to give better visibility on the answered topics, please click on 'Accept as Solution' on the reply which solved your issue or answered your question.
debugging
Lead

Yes, CTRL-C. It works once fine when the EULA is shown. After CTRL-C closing the console (time for bed) and restarting in a new console, this problems occurred and typically when it does NOT work the EULA is also NOT shown, when the EULA is shown, it works. Even creating a new folder on a totally different drive it still happens. I have a hunch this has something to do with persistent data in the sqllite db .

Rebooted the machines, created new folder, did the whole thing again and now bitbake runs..weird...

debugging
Lead

Issue can't be reproduced anymore.