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.
-- 
_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-core

Reply via email to