You should try a clean-up and then retry to build the package. I wrongly thought that that this error: ```Exception: KeyError: 'getpwuid(): uid not found: 1000'``` was due to the fact that I was working in a rootless container environment (podman).
This worked in my case: ``` bitbake -c cleanall nativesdk-glibc-locale bitbake nativesdk-glibc-locale ```