Re: [lamprey] container build (uid != 1000) triggering package exception

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



More context would help. What package fails?

Best
Jan-Simon

Joel Winarske <joel.winarske@xxxxxxxxx> schrieb am Di., 19. Okt. 2021, 00:04:
I'm hitting host contamination exceptions with Clang 10 and Boost (so far).

```
Exception: Exception: KeyError: 'getpwuid(): uid not found: 1018'
Path ./package is owned by uid 1018, gid 1018, which doesn't match any user/group on target. This may be due to host contamination
```

The setup:
* Gitlab self hosted runner on Fedora 34 with uid=1018.
* Docker running Ubuntu 20 container running with option `--user 1018`.
* user in container running build has uid=1018.

https://github.com/meta-flutter/meta-flutter/blob/main/.github/workflows/ci.yml#L196

I do not get contamination exceptions with Yocto Dunfell latest build:
https://github.com/meta-flutter/meta-flutter/blob/main/.github/workflows/ci.yml#L15

One thought is to workaround with bbappend recipes with `INSANE_SKIP_${PN} += "host-user-contaminated"`.  I'm figuring there's something in Dunfell latest that resolves this.

The same ci build job using uid=1000 issues don't show up; not a workable solution.

Ideas?

Joel

_._,_._,_

Links:

You receive all messages sent to this group.

View/Reply Online (#9469) | Reply To Group | Reply To Sender | Mute This Topic | New Topic
Your Subscription | Contact Group Owner | Unsubscribe [list-automotive-discussions82@xxxxxxxxxxx]

_._,_._,_

[Index of Archives]     [LARTC]     [Bugtraq]     [Yosemite Forum]     [Photo]

  Powered by Linux