Skip to main content
OKN
Associate III
Nov 5, 2026 7:05 AM UTC
Question

OpenSTLinux build on Ubuntu 26.04 LTS fails in pseudo-native (openat2 conflicting types)

Hello,

 

I am evaluating whether Ubuntu 26.04 LTS can be used as a host development environment for OpenSTLinux on STM32MP25.

 

My environment is:

Ubuntu 26.04.1 LTS (glibc 2.43)
STM32MP25 OpenSTLinux Distribution Package(stm32mp2-openstlinux-6.6-yocto-scarthgap-mpu-v26.06.10)
BitBake 2.8.1

 

Initially, BitBake failed with:

ERROR: User namespaces are not usable by BitBake, possibly due to AppArmor.

This was resolved by disabling:

kernel.apparmor_restrict_unprivileged_userns

 

After that,

$ bitbake -p

completed successfully and all recipes were parsed without errors.

 

However, when running:

$ bitbake virtual/kernel

the build fails during pseudo-native compilation with the following error:

error: conflicting types for 'openat2'

 

The log shows:

WARNING: Your host glibc version (2.43) is newer than that in uninative (2.42).
Disabling uninative so that sstate is not corrupted.

and later:

ERROR: pseudo-native-1.9.3+git-r0 do_compile

followed by the openat2 prototype conflict.

 

My questions are:

- Is Ubuntu 26.04 officially supported as a host OS for the current STM32MP25 OpenSTLinux release?
- Has anyone successfully built OpenSTLinux on Ubuntu 26.04?
- Is there a recommended workaround or patch for the pseudo-native / openat2 build failure?
- Is Ubuntu 24.04 currently the recommended host platform instead?

 

Any guidance would be appreciated.

 

Best Regards

--
okn
 

1 reply

OKN
OKNAuthor
Associate III
Nov 11, 2026 6:23 AM UTC

Hello,

I reinstalled it on Ubuntu 24.04.5 LTS. For now, I'm able to get my work done.

--

okn