Registered User mNo edit summary |
Registered User mNo edit summary Tag: 2017 source edit |
||
(5 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
<noinclude>{{ApplicableFor | <noinclude>{{ApplicableFor | ||
|MPUs list=STM32MP13x, STM32MP15x | |MPUs list=STM32MP13x, STM32MP15x, STM32MP21x, STM32MP23x, STM32MP25x | ||
|MPUs checklist=STM32MP13x, STM32MP15x | |MPUs checklist=STM32MP13x, STM32MP15x, STM32MP21x, STM32MP23x, STM32MP25x | ||
}}</noinclude> | }}</noinclude> | ||
Some typical troubles related to the '''system build''' are listed below. Solutions or ways of debugging are proposed for these troubles. | Some typical troubles related to the '''system build''' are listed below. Solutions or ways of debugging are proposed for these troubles. | ||
Line 33: | Line 33: | ||
login "github login" | login "github login" | ||
password "github password" | password "github password" | ||
</pre> | |||
|- | |||
| | |||
<pre style="white-space: pre-wrap"> | |||
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 | |||
</pre> | |||
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 | |||
<pre style="white-space: pre-wrap"> | |||
sudo apparmor_parser -R /etc/apparmor.d/unprivileged_userns | |||
</pre> | </pre> | ||
|- | |- | ||
Line 42: | Line 56: | ||
</pre> | </pre> | ||
Any build command fails | Any build command fails | ||
|| Check that [[ | || Check that [[STM32MPU Developer Package#Starting up the SDK|the SDK is started]] | ||
</onlyinclude> | </onlyinclude> | ||
|} | |} |
Latest revision as of 15:41, 6 November 2024
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 |