DEBUG: Executing python function do_image NOTE: Executing mklibs_optimize_image ... DEBUG: Executing shell function mklibs_optimize_image DEBUG: Shell function mklibs_optimize_image finished NOTE: Executing do_generate_version_file ... DEBUG: Executing shell function do_generate_version_file + DST=/home/vaz/WP76/R17/newdir/yocto/build_bin/tmp/work/swi_mdm9x28_wp-poky-linux-gnueabi/mdm9x28-image-minimal/1.0-r0.0/rootfs/etc/legato/version + ROOTFS_DST=/home/vaz/WP76/R17/newdir/yocto/build_bin/tmp/work/swi_mdm9x28_wp-poky-linux-gnueabi/mdm9x28-image-minimal/1.0-r0.0/rootfs/etc/rootfsver.txt ++ dirname /home/vaz/WP76/R17/newdir/yocto/build_bin/tmp/work/swi_mdm9x28_wp-poky-linux-gnueabi/mdm9x28-image-minimal/1.0-r0.0/rootfs/etc/legato/version + mkdir -p /home/vaz/WP76/R17/newdir/yocto/build_bin/tmp/work/swi_mdm9x28_wp-poky-linux-gnueabi/mdm9x28-image-minimal/1.0-r0.0/rootfs/etc/legato ++ date +%F_%T + gen_date=2023-07-04_08:45:55 ++ echo /home/vaz/WP76/R17/newdir/yocto/meta-swi-wp-extras/meta-swi-wp-bin /home/vaz/WP76/R17/newdir/yocto/meta-swi-wp-extras/meta-swi-wp /home/vaz/WP76/R17/newdir/yocto/meta-swi-extras/meta-swi-mdm9x28-bin /home/vaz/WP76/R17/newdir/yocto/meta-swi-extras/meta-swi-mdm9x28 /home/vaz/WP76/R17/newdir/yocto/meta-swi-extras/meta-swi-mdm9xxx-bin /home/vaz/WP76/R17/newdir/yocto/meta-swi-extras/common /home/vaz/WP76/R17/newdir/yocto/meta-swi-wp/meta-swi-wp /home/vaz/WP76/R17/newdir/yocto/meta-swi/meta-swi-mdm9x28 /home/vaz/WP76/R17/newdir/yocto/meta-swi/meta-swi-mdm9xxx /home/vaz/WP76/R17/newdir/yocto/meta-swi/common /home/vaz/WP76/R17/newdir/yocto/meta-openembedded/meta-python /home/vaz/WP76/R17/newdir/yocto/meta-openembedded/meta-oe /home/vaz/WP76/R17/newdir/yocto/meta-openembedded/meta-networking /home/vaz/WP76/R17/newdir/yocto/poky/meta /home/vaz/WP76/R17/newdir/yocto/poky/meta-poky /home/vaz/WP76/R17/newdir/yocto/poky/meta-yocto-bsp /home/vaz/WP76/R17/newdir/yocto/meta-gplv2 ++ tr ' ' '\n' ++ grep poky ++ head -1 + poky_dir=/home/vaz/WP76/R17/newdir/yocto/poky/meta ++ cd /home/vaz/WP76/R17/newdir/yocto/poky/meta ++ git describe --tags '--match=yocto*' fatal: detected dubious ownership in repository at '/home/vaz/WP76/R17/newdir/yocto/poky' To add an exception for this directory, call: git config --global --add safe.directory /home/vaz/WP76/R17/newdir/yocto/poky + VERSION_poky= + bb_exit_handler + ret=128 + case $ret in + case $BASH_VERSION in + echo 'WARNING: /home/vaz/WP76/R17/newdir/yocto/build_bin/tmp/work/swi_mdm9x28_wp-poky-linux-gnueabi/mdm9x28-image-minimal/1.0-r0.0/temp/run.do_generate_version_file.26228:1 exit 128 from '\''VERSION_poky=$(cd $poky_dir && git describe --tags --match="yocto*")'\''' WARNING: /home/vaz/WP76/R17/newdir/yocto/build_bin/tmp/work/swi_mdm9x28_wp-poky-linux-gnueabi/mdm9x28-image-minimal/1.0-r0.0/temp/run.do_generate_version_file.26228:1 exit 128 from 'VERSION_poky=$(cd $poky_dir && git describe --tags --match="yocto*")' + exit 128 ERROR: Error executing a python function in exec_func_python() autogenerated: The stack trace of python calls that resulted in this exception/failure was: File: 'exec_func_python() autogenerated', lineno: 2, function: 0001: *** 0002:do_image(d) 0003: File: '/home/vaz/WP76/R17/newdir/yocto/poky/meta/classes/image.bbclass', lineno: 263, function: do_image 0259: 0260: d.setVarFlag('REPRODUCIBLE_TIMESTAMP_ROOTFS', 'export', '1') 0261: pre_process_cmds = d.getVar("IMAGE_PREPROCESS_COMMAND") 0262: *** 0263: execute_pre_post_process(d, pre_process_cmds) 0264:} 0265:do_image[dirs] = "${TOPDIR}" 0266:do_image[umask] = "022" 0267:addtask do_image after do_rootfs File: '/home/vaz/WP76/R17/newdir/yocto/poky/meta/lib/oe/utils.py', lineno: 264, function: execute_pre_post_process 0260: for cmd in cmds.strip().split(';'): 0261: cmd = cmd.strip() 0262: if cmd != '': 0263: bb.note("Executing %s ..." % cmd) *** 0264: bb.build.exec_func(cmd, d) 0265: 0266:# For each item in items, call the function 'target' with item as the first 0267:# argument, extraargs as the other arguments and handle any exceptions in the 0268:# parent thread File: '/home/vaz/WP76/R17/newdir/yocto/poky/bitbake/lib/bb/build.py', lineno: 254, function: exec_func 0250: with bb.utils.fileslocked(lockfiles): 0251: if ispython: 0252: exec_func_python(func, d, runfile, cwd=adir) 0253: else: *** 0254: exec_func_shell(func, d, runfile, cwd=adir) 0255: 0256: try: 0257: curcwd = os.getcwd() 0258: except: File: '/home/vaz/WP76/R17/newdir/yocto/poky/bitbake/lib/bb/build.py', lineno: 455, function: exec_func_shell 0451: with open(fifopath, 'r+b', buffering=0) as fifo: 0452: try: 0453: bb.debug(2, "Executing shell function %s" % func) 0454: with open(os.devnull, 'r+') as stdin, logfile: *** 0455: bb.process.run(cmd, shell=False, stdin=stdin, log=logfile, extrafiles=[(fifo,readfifo)]) 0456: finally: 0457: os.unlink(fifopath) 0458: 0459: bb.debug(2, "Shell function %s finished" % func) File: '/home/vaz/WP76/R17/newdir/yocto/poky/bitbake/lib/bb/process.py', lineno: 184, function: run 0180: 0181: if pipe.returncode != 0: 0182: if log: 0183: # Don't duplicate the output in the exception if logging it *** 0184: raise ExecutionError(cmd, pipe.returncode, None, None) 0185: raise ExecutionError(cmd, pipe.returncode, stdout, stderr) 0186: return stdout, stderr Exception: bb.process.ExecutionError: Execution of '/home/vaz/WP76/R17/newdir/yocto/build_bin/tmp/work/swi_mdm9x28_wp-poky-linux-gnueabi/mdm9x28-image-minimal/1.0-r0.0/temp/run.do_generate_version_file.26228' failed with exit code 128 DEBUG: Python function do_image finished