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

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

 



With this layer I am able to build agl-image-weston in github self hosted container: https://github.com/meta-flutter/meta-agl-flutter

On Mon, Oct 18, 2021 at 4:12 PM Jan Simon Moeller <jsmoeller@xxxxxxxxxxxxxxxxxxx> wrote:
Ok boost, lets see ....


Jan Simon Moeller via lists.automotivelinux.org <jsmoeller=linuxfoundation.org@xxxxxxxxxxxxxxxxxxxxxxxxx> schrieb am Di., 19. Okt. 2021, 01:11:
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.


I do not get contamination exceptions with Yocto Dunfell latest build:

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 (#9471) | 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