# Pastebin CTjZIxJO ERROR: agl-users-0.1-r0 do_prepare_recipe_sysroot: agl-users: useradd command did not succeed. ERROR: agl-users-0.1-r0 do_prepare_recipe_sysroot: Error executing a python function in exec_python_func() autogenerated: The stack trace of python calls that resulted in this exception/failure was: File: 'exec_python_func() autogenerated', lineno: 2, function: 0001: *** 0002:useradd_sysroot_sstate(d) 0003: File: '/home/dl9pf/AGL/master/external/poky/meta/classes/useradd.bbclass', lineno: 152, function: useradd_sysroot_sstate 0148: bb.build.exec_func("useradd_sysroot", d) 0149: elif task == "prepare_recipe_sysroot": 0150: # Used to update this recipe's own sysroot so the user/groups are available to do_install 0151: scriptfile = d.expand("${RECIPE_SYSROOT}${bindir}/postinst-useradd-${PN}") *** 0152: bb.build.exec_func("useradd_sysroot", d) 0153: elif task == "populate_sysroot": 0154: # Used when installed in dependent task sysroots 0155: scriptfile = d.expand("${SYSROOT_DESTDIR}${bindir}/postinst-useradd-${PN}") 0156: File: '/home/dl9pf/AGL/master/external/poky/bitbake/lib/bb/build.py', lineno: 251, function: exec_func 0247: with bb.utils.fileslocked(lockfiles): 0248: if ispython: 0249: exec_func_python(func, d, runfile, cwd=adir) 0250: else: *** 0251: exec_func_shell(func, d, runfile, cwd=adir) 0252: 0253: try: 0254: curcwd = os.getcwd() 0255: except: File: '/home/dl9pf/AGL/master/external/poky/bitbake/lib/bb/build.py', lineno: 452, function: exec_func_shell 0448: with open(fifopath, 'r+b', buffering=0) as fifo: 0449: try: 0450: bb.debug(2, "Executing shell function %s" % func) 0451: with open(os.devnull, 'r+') as stdin, logfile: *** 0452: bb.process.run(cmd, shell=False, stdin=stdin, log=logfile, extrafiles=[(fifo,readfifo)]) 0453: finally: 0454: os.unlink(fifopath) 0455: 0456: bb.debug(2, "Shell function %s finished" % func) File: '/home/dl9pf/AGL/master/external/poky/bitbake/lib/bb/process.py', lineno: 182, function: run 0178: if not stderr is None: 0179: stderr = stderr.decode("utf-8") 0180: 0181: if pipe.returncode != 0: *** 0182: raise ExecutionError(cmd, pipe.returncode, stdout, stderr) 0183: return stdout, stderr Exception: bb.process.ExecutionError: Execution of '/home/dl9pf/yocto/build-qemux86-64/tmp/work/all-agl-linux/agl-users/0.1-r0/temp/run.useradd_sysroot.12719' failed with exit code 1: /home/dl9pf/yocto/build-qemux86-64/tmp/work/all-agl-linux/agl-users/0.1-r0/recipe-sysroot-native/usr/sbin/useradd Running groupadd commands... Running useradd commands... WARNING: /home/dl9pf/yocto/build-qemux86-64/tmp/work/all-agl-linux/agl-users/0.1-r0/temp/run.useradd_sysroot.12719:1 exit 1 from 'exit 1' ERROR: Logfile of failure stored in: /home/dl9pf/yocto/build-qemux86-64/tmp/work/all-agl-linux/agl-users/0.1-r0/temp/log.do_prepare_recipe_sysroot.12719 ERROR: Task (/home/dl9pf/AGL/master/meta-agl/meta-agl-profile-core/recipes-config/agl-users/agl-users_0.1.bb:do_prepare_recipe_sysroot) failed with exit code '1'