Skip to content

host uid contamination detected at do_package #71

@seb832

Description

@seb832

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions