# Pastebin enML6yPy dorinda@dorinda-Inspiron-7370:~/Poky/build$ bitbake core-image-minimal Loading cache: 100% |#################################################################| Time: 0:00:00 Loaded 2461 entries from dependency cache. Parsing recipes: 100% |###############################################################| Time: 0:00:00 Parsing of 1595 .bb files complete (1593 cached, 2 parsed). 2463 targets, 76 skipped, 0 masked, 0 errors. NOTE: Resolving any missing task queue dependencies Build Configuration: BB_VERSION = "1.49.0" BUILD_SYS = "x86_64-linux" NATIVELSBSTRING = "universal" TARGET_SYS = "x86_64-poky-linux" MACHINE = "qemux86-64" DISTRO = "poky" DISTRO_VERSION = "3.2+snapshot-cfcdb43f4f84c2acd0184ee32b160932e1b3692c" TUNE_FEATURES = "m64 core2" TARGET_FPU = "" meta-oe = "my-yocto:6ff4bd4f345b4e8030b9197d13097308df521576" meta meta-poky meta-yocto-bsp workspace = "my-yocto:cfcdb43f4f84c2acd0184ee32b160932e1b3692c" Initialising tasks: 100% |############################################################| Time: 0:00:01 Sstate summary: Wanted 107 Found 106 Missed 1 Current 1083 (99% match, 99% complete) NOTE: Executing Tasks ERROR: core-image-minimal-1.0-r0 do_image_complete_setscene: 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:do_image_complete_setscene(d) 0003: File: '/home/dorinda/Poky/meta/classes/image.bbclass', lineno: 283, function: do_image_complete_setscene 0279:do_image_complete[sstate-outputdirs] = "${DEPLOY_DIR_IMAGE}" 0280:do_image_complete[stamp-extra-info] = "${MACHINE_ARCH}" 0281:addtask do_image_complete after do_image before do_build 0282:python do_image_complete_setscene () { *** 0283: sstate_setscene(d) 0284:} 0285:addtask do_image_complete_setscene 0286: 0287:# Add image-level QA/sanity checks to IMAGE_QA_COMMANDS File: '/home/dorinda/Poky/meta/classes/sstate.bbclass', lineno: 751, function: sstate_setscene 0747: pass 0748: 0749:def sstate_setscene(d): 0750: shared_state = sstate_state_fromvars(d) *** 0751: accelerate = sstate_installpkg(shared_state, d) 0752: if not accelerate: 0753: bb.fatal("No suitable staging package found") 0754: 0755:python sstate_task_prefunc () { File: '/home/dorinda/Poky/meta/classes/sstate.bbclass', lineno: 380, function: sstate_installpkg 0376: d.setVar('SSTATE_FIXMEDIR', ss['fixmedir']) 0377: 0378: for f in (d.getVar('SSTATEPREINSTFUNCS') or '').split() + ['sstate_unpack_package']: 0379: # All hooks should run in the SSTATE_INSTDIR *** 0380: bb.build.exec_func(f, d, (sstateinst,)) 0381: 0382: return sstate_installpkgdir(ss, d) 0383: 0384:def sstate_installpkgdir(ss, d): File: '/home/dorinda/Poky/bitbake/lib/bb/build.py', lineno: 256, function: exec_func 0252: with bb.utils.fileslocked(lockfiles): 0253: if ispython: 0254: exec_func_python(func, d, runfile, cwd=adir) 0255: else: *** 0256: exec_func_shell(func, d, runfile, cwd=adir) 0257: 0258: try: 0259: curcwd = os.getcwd() 0260: except: File: '/home/dorinda/Poky/bitbake/lib/bb/build.py', lineno: 503, function: exec_func_shell 0499: with open(fifopath, 'r+b', buffering=0) as fifo: 0500: try: 0501: bb.debug(2, "Executing shell function %s" % func) 0502: with open(os.devnull, 'r+') as stdin, logfile: *** 0503: bb.process.run(cmd, shell=False, stdin=stdin, log=logfile, extrafiles=[(fifo,readfifo)]) 0504: except bb.process.ExecutionError as exe: 0505: # Find the backtrace that the shell trap generated 0506: backtrace_marker_regex = re.compile(r"WARNING: Backtrace \(BB generated script\)") 0507: stdout_lines = (exe.stdout or "").split("\n") File: '/home/dorinda/Poky/bitbake/lib/bb/process.py', lineno: 184, function: run 0180: if not stderr is None: 0181: stderr = stderr.decode("utf-8") 0182: 0183: if pipe.returncode != 0: *** 0184: raise ExecutionError(cmd, pipe.returncode, stdout, stderr) 0185: return stdout, stderr Exception: bb.process.ExecutionError: Execution of '/home/dorinda/Poky/build/tmp/work/qemux86_64-poky-linux/core-image-minimal/1.0-r0/temp/run.sstate_unpack_package.20799' failed with exit code 2: gzip: stdin: not in gzip format tar: Child returned status 1 tar: Error is not recoverable: exiting now WARNING: exit code 2 from a shell command. ERROR: Logfile of failure stored in: /home/dorinda/Poky/build/tmp/work/qemux86_64-poky-linux/core-image-minimal/1.0-r0/temp/log.do_image_complete_setscene.20799 WARNING: Setscene task (/home/dorinda/Poky/meta/recipes-core/images/core-image-minimal.bb:do_image_complete_setscene) failed with exit code '1' - real task will be run instead ERROR: core-image-minimal-1.0-r0 do_image_qa_setscene: 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:do_image_qa_setscene(d) 0003: File: '/home/dorinda/Poky/meta/classes/image.bbclass', lineno: 322, function: do_image_qa_setscene 0318:SSTATE_SKIP_CREATION_task-image-qa = '1' 0319:do_image_qa[sstate-inputdirs] = "" 0320:do_image_qa[sstate-outputdirs] = "" 0321:python do_image_qa_setscene () { *** 0322: sstate_setscene(d) 0323:} 0324:addtask do_image_qa_setscene 0325: 0326:def setup_debugfs_variables(d): File: '/home/dorinda/Poky/meta/classes/sstate.bbclass', lineno: 751, function: sstate_setscene 0747: pass 0748: 0749:def sstate_setscene(d): 0750: shared_state = sstate_state_fromvars(d) *** 0751: accelerate = sstate_installpkg(shared_state, d) 0752: if not accelerate: 0753: bb.fatal("No suitable staging package found") 0754: 0755:python sstate_task_prefunc () { File: '/home/dorinda/Poky/meta/classes/sstate.bbclass', lineno: 380, function: sstate_installpkg 0376: d.setVar('SSTATE_FIXMEDIR', ss['fixmedir']) 0377: 0378: for f in (d.getVar('SSTATEPREINSTFUNCS') or '').split() + ['sstate_unpack_package']: 0379: # All hooks should run in the SSTATE_INSTDIR *** 0380: bb.build.exec_func(f, d, (sstateinst,)) 0381: 0382: return sstate_installpkgdir(ss, d) 0383: 0384:def sstate_installpkgdir(ss, d): File: '/home/dorinda/Poky/bitbake/lib/bb/build.py', lineno: 256, function: exec_func 0252: with bb.utils.fileslocked(lockfiles): 0253: if ispython: 0254: exec_func_python(func, d, runfile, cwd=adir) 0255: else: *** 0256: exec_func_shell(func, d, runfile, cwd=adir) 0257: 0258: try: 0259: curcwd = os.getcwd() 0260: except: File: '/home/dorinda/Poky/bitbake/lib/bb/build.py', lineno: 503, function: exec_func_shell 0499: with open(fifopath, 'r+b', buffering=0) as fifo: 0500: try: 0501: bb.debug(2, "Executing shell function %s" % func) 0502: with open(os.devnull, 'r+') as stdin, logfile: *** 0503: bb.process.run(cmd, shell=False, stdin=stdin, log=logfile, extrafiles=[(fifo,readfifo)]) 0504: except bb.process.ExecutionError as exe: 0505: # Find the backtrace that the shell trap generated 0506: backtrace_marker_regex = re.compile(r"WARNING: Backtrace \(BB generated script\)") 0507: stdout_lines = (exe.stdout or "").split("\n") File: '/home/dorinda/Poky/bitbake/lib/bb/process.py', lineno: 184, function: run 0180: if not stderr is None: 0181: stderr = stderr.decode("utf-8") 0182: 0183: if pipe.returncode != 0: *** 0184: raise ExecutionError(cmd, pipe.returncode, stdout, stderr) 0185: return stdout, stderr Exception: bb.process.ExecutionError: Execution of '/home/dorinda/Poky/build/tmp/work/qemux86_64-poky-linux/core-image-minimal/1.0-r0/temp/run.sstate_unpack_package.20824' failed with exit code 2: gzip: stdin: not in gzip format tar: Child returned status 1 tar: Error is not recoverable: exiting now WARNING: exit code 2 from a shell command. ERROR: Logfile of failure stored in: /home/dorinda/Poky/build/tmp/work/qemux86_64-poky-linux/core-image-minimal/1.0-r0/temp/log.do_image_qa_setscene.20824 WARNING: Setscene task (/home/dorinda/Poky/meta/recipes-core/images/core-image-minimal.bb:do_image_qa_setscene) failed with exit code '1' - real task will be run instead NOTE: Tasks Summary: Attempted 3328 tasks of which 3316 didn't need to be rerun and all succeeded. NOTE: Writing buildhistory NOTE: Writing buildhistory took: 1 seconds Summary: There were 2 ERROR messages shown, returning a non-zero exit code.