yes, it also fails but with a different error.
I will check what is going on here
ERROR: mdm9x28-image-minimal-1.0-r0.0 do_image: Function failed: do_generate_version_file (log file is located at /home/user/Downloads/WP76R16/yocto/build_bin/tmp/work/swi_mdm9x28_wp-poky-linux-gnueabi/mdm9x28-image-minimal/1.0-r0.0/temp/log.do_image.2216276)
ERROR: Logfile of failure stored in: /home/user/Downloads/WP76R16/yocto/build_bin/tmp/work/swi_mdm9x28_wp-poky-linux-gnueabi/mdm9x28-image-minimal/1.0-r0.0/temp/log.do_image.2216276
Log data follows:
| 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/user/Downloads/WP76R16/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/user/Downloads/WP76R16/yocto/build_bin/tmp/work/swi_mdm9x28_wp-poky-linux-gnueabi/mdm9x28-image-minimal/1.0-r0.0/rootfs/etc/rootfsver.txt
| ++ dirname /home/user/Downloads/WP76R16/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/user/Downloads/WP76R16/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=2024-01-25_10:12:41
| ++ echo /home/user/Downloads/WP76R16/yocto/poky/meta /home/user/Downloads/WP76R16/yocto/poky/meta-poky /home/user/Downloads/WP76R16/yocto/poky/meta-yocto-bsp /home/user/Downloads/WP76R16/yocto/meta-openembedded/meta-oe /home/user/Downloads/WP76R16/yocto/meta-openembedded/meta-networking /home/user/Downloads/WP76R16/yocto/meta-openembedded/meta-python /home/user/Downloads/WP76R16/yocto/meta-gplv2 /home/user/Downloads/WP76R16/yocto/meta-swi/common /home/user/Downloads/WP76R16/yocto/meta-swi/meta-swi-mdm9xxx /home/user/Downloads/WP76R16/yocto/meta-swi/meta-swi-mdm9x28 /home/user/Downloads/WP76R16/yocto/meta-swi-extras/common /home/user/Downloads/WP76R16/yocto/meta-swi-extras/meta-swi-mdm9x28 /home/user/Downloads/WP76R16/yocto/meta-swi-extras/meta-swi-mdm9xxx-bin /home/user/Downloads/WP76R16/yocto/meta-swi-extras/meta-swi-mdm9x28-bin /home/user/Downloads/WP76R16/yocto/meta-swi-extras/meta-swi-mdm9x28-wp-bin
| ++ tr ' ' '\n'
| ++ grep poky
| ++ head -1
| + poky_dir=/home/user/Downloads/WP76R16/yocto/poky/meta
| ++ cd /home/user/Downloads/WP76R16/yocto/poky/meta
| ++ git describe --tags '--match=yocto*'
| fatal: detected dubious ownership in repository at '/home/user/Downloads/WP76R16/yocto/poky'
| To add an exception for this directory, call:
|
| git config --global --add safe.directory /home/user/Downloads/WP76R16/yocto/poky
| + VERSION_poky=
| + bb_exit_handler
| + ret=128
| + case $ret in
| + case $BASH_VERSION in
| + echo 'WARNING: /home/user/Downloads/WP76R16/yocto/build_bin/tmp/work/swi_mdm9x28_wp-poky-linux-gnueabi/mdm9x28-image-minimal/1.0-r0.0/temp/run.do_generate_version_file.2216276:1 exit 128 from '\''VERSION_poky=$(cd $poky_dir && git describe --tags --match="yocto*")'\'''
| WARNING: /home/user/Downloads/WP76R16/yocto/build_bin/tmp/work/swi_mdm9x28_wp-poky-linux-gnueabi/mdm9x28-image-minimal/1.0-r0.0/temp/run.do_generate_version_file.2216276:1 exit 128 from 'VERSION_poky=$(cd $poky_dir && git describe --tags --match="yocto*")'
| + exit 128
| DEBUG: Python function do_image finished
| ERROR: Function failed: do_generate_version_file (log file is located at /home/user/Downloads/WP76R16/yocto/build_bin/tmp/work/swi_mdm9x28_wp-poky-linux-gnueabi/mdm9x28-image-minimal/1.0-r0.0/temp/log.do_image.2216276)
ERROR: Task (/home/user/Downloads/WP76R16/yocto/meta-swi/meta-swi-mdm9x28/recipes-core/images/mdm9x28-image-minimal.bb:do_image) failed with exit code '1'
NOTE: Tasks Summary: Attempted 3802 tasks of which 7 didn't need to be rerun and 1 failed.
Summary: 1 task failed:
/home/user/Downloads/WP76R16/yocto/meta-swi/meta-swi-mdm9x28/recipes-core/images/mdm9x28-image-minimal.bb:do_image
Summary: There were 20 WARNING messages shown.
Summary: There was 1 ERROR message shown, returning a non-zero exit code.
Makefile:300: recipe for target 'image_bin' failed
make: *** [image_bin] Error 1