Skip to main content
Senior II
October 10, 2024
Solved

bitbake error

  • October 10, 2024
  • 4 replies
  • 2666 views
NOTE: Started PRServer with DBfile: /home/sharan/STM32MPU_workspace/STM32MPU-Ecosystem-v5.1.0/Distribution-Package/build-openstlinuxweston-stm32mp1/cache/prserv.sqlite3, Address: 127.0.0.1:35035, PID: 9978
Loading cache: 100% | | ETA: --:--:--
Loaded 0 entries from dependency cache.
NOTE: /home/sharan/STM32MPU_workspace/STM32MPU-Ecosystem-v5.1.0/Distribution-Package/layers/meta-st/meta-st-openstlinux/recipes-st/images/st-image-resize-initrd.bb: ENABLE_PARTITIONS_IMAGE not enabled
Parsing recipes: 100% |##################################################################################################################################################| Time: 0:02:31
Parsing of 2868 .bb files complete (0 cached, 2868 parsed). 4596 targets, 530 skipped, 0 masked, 0 errors.
NOTE: Resolving any missing task queue dependencies

Build Configuration:
BB_VERSION = "2.4.0"
BUILD_SYS = "x86_64-linux"
NATIVELSBSTRING = "ubuntu-24.04"
TARGET_SYS = "arm-ostl-linux-gnueabi"
MACHINE = "stm32mp1"
DISTRO = "openstlinux-weston"
DISTRO_VERSION = "4.2.4-snapshot-20241010"
TUNE_FEATURES = "arm vfp cortexa7 neon vfpv4 thumb callconvention-hard"
TARGET_FPU = "hard"
DISTRO_CODENAME = "mickledore"
ACCEPT_EULA_stm32mp1 = "1"
GCCVERSION = "12.%"
PREFERRED_PROVIDER_virtual/kernel = "linux-stm32mp"
meta-python 
meta-oe 
meta-gnome 
meta-multimedia 
meta-networking 
meta-webserver = "HEAD:aa5e8edabbc414d8ec1b2ad63c8743c7baf99626"
meta-st-stm32mp = "HEAD:1f152e07019dc06fd331b4926ec7e76ceae3d259"
meta-st-openstlinux = "HEAD:2636960b2bead3d1cb294e378e2b06ef8997189e"
meta = "HEAD:23b5141400b2c676c806df3308f023f7c04e34e0"

NOTE: Fetching uninative binary shim http://downloads.yoctoproject.org/releases/uninative/4.3/x86_64-nativesdk-libc-4.3.tar.xz;sha256sum=1c35f09a75c4096749bbe1e009df4e3968cde151424062cf4aa3ed89db22b030 (will check PREMIRRORS first)
WARNING: Your host glibc version (2.39) is newer than that in uninative (2.38). Disabling uninative so that sstate is not corrupted.
Initialising tasks: 100% |###############################################################################################################################################| Time: 0:00:11
Sstate summary: Wanted 3246 Local 0 Mirrors 0 Missed 3246 Current 0 (0% match, 0% complete)
NOTE: Executing Tasks
ERROR: PermissionError: [Errno 1] Operation not permitted

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
 File "/home/sharan/STM32MPU_workspace/STM32MPU-Ecosystem-v5.1.0/Distribution-Package/layers/openembedded-core/bitbake/bin/bitbake-worker", line 275, in child
 bb.utils.disable_network(uid, gid)
 File "/home/sharan/STM32MPU_workspace/STM32MPU-Ecosystem-v5.1.0/Distribution-Package/layers/openembedded-core/bitbake/lib/bb/utils.py", line 1693, in disable_network
 with open("/proc/self/uid_map", "w") as f:
PermissionError: [Errno 1] Operation not permitted

ERROR: Task (/home/sharan/STM32MPU_workspace/STM32MPU-Ecosystem-v5.1.0/Distribution-Package/layers/openembedded-core/meta/recipes-devtools/gcc/gcc-source_12.3.bb:do_rm_work) failed with exit code '1'
ERROR: PermissionError: [Errno 1] Operation not permitted

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
 File "/home/sharan/STM32MPU_workspace/STM32MPU-Ecosystem-v5.1.0/Distribution-Package/layers/openembedded-core/bitbake/bin/bitbake-worker", line 275, in child
 bb.utils.disable_network(uid, gid)
 File "/home/sharan/STM32MPU_workspace/STM32MPU-Ecosystem-v5.1.0/Distribution-Package/layers/openembedded-core/bitbake/lib/bb/utils.py", line 1693, in disable_network
 with open("/proc/self/uid_map", "w") as f:
PermissionError: [Errno 1] Operation not permitted

ERROR: Task (/home/sharan/STM32MPU_workspace/STM32MPU-Ecosystem-v5.1.0/Distribution-Package/layers/meta-st/meta-st-stm32mp/recipes-kernel/linux/linux-stm32mp_6.1.bb:do_rm_work) failed with exit code '1'
NOTE: Tasks Summary: Attempted 6 tasks of which 0 didn't need to be rerun and 2 failed.
NOTE: Writing buildhistory
NOTE: Writing buildhistory took: 3 seconds

Summary: 2 tasks failed:
 /home/sharan/STM32MPU_workspace/STM32MPU-Ecosystem-v5.1.0/Distribution-Package/layers/openembedded-core/meta/recipes-devtools/gcc/gcc-source_12.3.bb:do_rm_work
 /home/sharan/STM32MPU_workspace/STM32MPU-Ecosystem-v5.1.0/Distribution-Package/layers/meta-st/meta-st-stm32mp/recipes-kernel/linux/linux-stm32mp_6.1.bb:do_rm_work
Summary: There was 1 WARNING message.
Summary: There were 2 ERROR messages, returning a non-zero exit code.
Best answer by PPAGE.13

Hi,

as I said to you on another post, you need to move to Ubuntu 22.04 or 20.4.

Ubuntu 24 has not been tested.

https://wiki.st.com/stm32mpu/wiki/PC_prerequisites

Philippe.

4 replies

PPAGE.13
PPAGE.13Best answer
ST Employee
October 11, 2024

Hi,

as I said to you on another post, you need to move to Ubuntu 22.04 or 20.4.

Ubuntu 24 has not been tested.

https://wiki.st.com/stm32mpu/wiki/PC_prerequisites

Philippe.

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.
Visitor II
March 11, 2025

Ok,  so almost 6 months later and we still can't use Ubuntu 24?  It is 2025.

Is this on this todo list?

SharanAuthor
Senior II
October 11, 2024

i have moved to ubuntu 22.04 and i have downloaded distribution package but i cant find

FlashLayout_sdcard_stm32mp157d-dk1-optee.tsv 
SharanAuthor
Senior II
March 12, 2025

yes u cant use ubuntu 24 as it has been tested with only  ubuntu 22.04

JeanPhilippeR
ST Employee
March 18, 2025

Hi @Sharan 

Please check the following wiki article which propose a solution for this issue: https://wiki.st.com/stm32mpu/wiki/System_build_troubleshooting_grid

BR

Jean-Philippe