[OE-core] userdel_sysroot_sstate failed when try to remove group

Fabio Berton fabio.berton at ossystems.com.br
Fri Apr 8 17:19:55 UTC 2016


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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openembedded.org/pipermail/openembedded-core/attachments/20160408/2d355a54/attachment-0002.html>


More information about the Openembedded-core mailing list