Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

host uid contamination detected at do_package #71

Open
seb832 opened this issue Dec 10, 2021 · 0 comments
Open

host uid contamination detected at do_package #71

seb832 opened this issue Dec 10, 2021 · 0 comments

Comments

@seb832
Copy link

seb832 commented Dec 10, 2021

Hi all,

I have this error message when I exit the poky container between the do_install and do_package tasks:

Path ./package is owned by uid 1001, gid 1001, which doesn't match any user/group on target. This may be due to host contamination.

I can reproduce the issue with different recipes for instance:

Run this command in the container:
bitbake -c cleansstate connman && bitbake -c install connman && exit

Then, run again this command in the container:
bitbake -c package connman

The command to run the container is:
docker run --rm -it -v="$HOME:$HOME" --workdir="$PWD" crops/poky:debian-10

The weird thing is that if I add a sleep 20 before exiting the container, the problem is gone !
bitbake -c cleansstate connman && bitbake -c install connman && sleep 20 && exit

It works fine also if I never exit the container or without the container

I would really appreciate some help to understand what I am missing and if I could avoid the long delay before exiting the container.

Thanks
Seb

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant