Last edited one month ago

System build troubleshooting grid

Applicable for STM32MP13x lines, STM32MP15x lines, STM32MP21x lines, STM32MP23x lines, STM32MP25x lines

Some typical troubles related to the system build are listed below. Solutions or ways of debugging are proposed for these troubles.

If your trouble is not listed, it's recommended to go through the articles of the system build category.


Symptom Resolution
Distribution Package
repo init ...<br>
repo sync

"The requested URL returned error: 404 Not Found" is displayed

This error has no impact on the process. You can avoid this error by adding the option --no-clone-bundle to your command repo init or repo sync
repo init ...

Some github projects are not accessible

It is convenient to indicate in your $HOME/.netrc your github credentials like below:
 machine github.com
 login "github login"
 password "github password"
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 "..../layers/openembedded-core/bitbake/bin/bitbake-worker", line 278, in child    bb.utils.disable_network(uid, gid)  File "..../layers/openembedded-core/bitbake/lib/bb/utils.py", line 1696, in disable_network    with open("/proc/self/uid_map", "w") as f: PermissionError: [Errno 1] Operation not permitted

The build cannot be executed.

On Ubuntu 24.04, in combination with the apparmor package, the Ubuntu kernel now restricts the use of unprivileged user namespaces. This affects all programs on the system that are unprivileged and unconfined. You can disable this restriction by running
sudo apparmor_parser -R /etc/apparmor.d/unprivileged_userns
Developer Package
make ...

Any build command fails

Check that the SDK is started