<div dir="ltr"><div class="gmail_default" style="font-family:monospace,monospace;font-size:small">Hi all,<br><br>I&#39;m getting this error when building recipe meta-networking/recipes-daemons/cyrus-sasl/<a href="http://cyrus-sasl_2.1.26.bb">cyrus-sasl_2.1.26.bb</a><br>from meta-openembedded:<br><br>DEBUG: Executing shell function userdel_sysroot_sstate<br>NOTE: cyrus-sasl: Performing userdel with [--root /home/user/src/prj/build/tmp/sysroots/intel-core2-32 cyrus]<br>NOTE: cyrus-sasl: user cyrus doesn&#39;t exist, not removing it<br>NOTE: cyrus-sasl: Performing groupdel with [--root /home/user/src/prj/build/tmp/sysroots/intel-core2-32 mail]<br>groupdel: cannot remove the primary group of user &#39;mail&#39;<br>WARNING: exit code 1 from a shell command.<br>ERROR: cyrus-sasl: groupdel command did not succeed.<br>DEBUG: Python function sysroot_cleansstate finished<br>ERROR: Function failed: userdel_sysroot_sstate<br><br>The function userdel_sysroot_sstate was introduced by commit:<br><a href="http://cgit.openembedded.org/openembedded-core/commit/?id=b5304ce438666a7418746f4ddd32703ae3188089">http://cgit.openembedded.org/openembedded-core/commit/?id=b5304ce438666a7418746f4ddd32703ae3188089</a><br><br>This error occurs on the first build of cyrus-sasl recipe, and I didn&#39;t run<br>cleansstate any time. userdel_sysroot_sstate is trying to remove user<br>and group before they are created.<br><br>As temporary solution I commented line SSTATECLEANFUNCS = &quot;userdel_sysroot_sstate&quot;<br>in useradd.bbclass file.<br><br></div><div class="gmail_default" style="font-family:monospace,monospace;font-size:small">Regards.<br></div></div>