Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 681972

Summary: When cross-compiling, some users & groups are not created in target system
Product: Gentoo Linux Reporter: Andriy Utkin (RETIRED) <andrey_utkin>
Component: Current packagesAssignee: Gentoo Crossdev team <crossdev>
Status: RESOLVED DUPLICATE    
Severity: normal CC: chewi, slyfox
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Andriy Utkin (RETIRED) gentoo-dev 2019-03-28 22:33:40 UTC
I am not really sure who is to blame, crossdev, Portage, eclasses or ebuilds.

This happens at least to
* plugdev group
* sshd user & group
* messagebus user & group (dbus package)
* man user & group

I have built a system via cross-compilation with crossdev.

I am using Portage 2.3.62, Gentoo tree at commit 1f3f682b2af0 (Mar 4) with Chewi's cross-compilation patchset https://github.com/gentoo/gentoo/pull/9822 .


 # armv6j-unknown-linux-gnueabihf-emerge openssh

>>> Emerging (1 of 1) net-misc/openssh-7.9_p1-r3::gentoo for /usr/armv6j-unknown-linux-gnueabihf/
>>> Installing (1 of 1) net-misc/openssh-7.9_p1-r3::gentoo to /usr/armv6j-unknown-linux-gnueabihf/
>>> Jobs: 1 of 1 complete                           Load avg: 1.71, 0.77, 0.64
>>> Auto-cleaning packages...

>>> Using system located in ROOT tree /usr/armv6j-unknown-linux-gnueabihf/

 # grep sshd /usr/armv6j-unknown-linux-gnueabihf/etc/passwd
(no results)
Comment 1 James Le Cuirot gentoo-dev 2019-03-28 22:37:46 UTC

*** This bug has been marked as a duplicate of bug 541406 ***