Openembedded Core Discussions
 help / color / mirror / Atom feed
* userdel_sysroot_sstate failed when try to remove group
@ 2016-04-08 17:19 Fabio Berton
  2016-04-13 11:27 ` Richard Purdie
  0 siblings, 1 reply; 2+ messages in thread
From: Fabio Berton @ 2016-04-08 17:19 UTC (permalink / raw)
  To: openembedded-core

[-- Attachment #1: Type: text/plain, Size: 1222 bytes --]

Hi all,

I'm getting this error when building recipe
meta-networking/recipes-daemons/cyrus-sasl/cyrus-sasl_2.1.26.bb
from meta-openembedded:

DEBUG: Executing shell function userdel_sysroot_sstate
NOTE: cyrus-sasl: Performing userdel with [--root
/home/user/src/prj/build/tmp/sysroots/intel-core2-32 cyrus]
NOTE: cyrus-sasl: user cyrus doesn't exist, not removing it
NOTE: cyrus-sasl: Performing groupdel with [--root
/home/user/src/prj/build/tmp/sysroots/intel-core2-32 mail]
groupdel: cannot remove the primary group of user 'mail'
WARNING: exit code 1 from a shell command.
ERROR: cyrus-sasl: groupdel command did not succeed.
DEBUG: Python function sysroot_cleansstate finished
ERROR: Function failed: userdel_sysroot_sstate

The function userdel_sysroot_sstate was introduced by commit:
http://cgit.openembedded.org/openembedded-core/commit/?id=b5304ce438666a7418746f4ddd32703ae3188089

This error occurs on the first build of cyrus-sasl recipe, and I didn't run
cleansstate any time. userdel_sysroot_sstate is trying to remove user
and group before they are created.

As temporary solution I commented line SSTATECLEANFUNCS =
"userdel_sysroot_sstate"
in useradd.bbclass file.

Regards.

[-- Attachment #2: Type: text/html, Size: 1656 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2016-04-13 11:27 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-04-08 17:19 userdel_sysroot_sstate failed when try to remove group Fabio Berton
2016-04-13 11:27 ` Richard Purdie

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox