Hi silantyeved,
I just went through the petalinux build process on a Zyboz7 eval board. I'm not sure what the root cause of your error is based on your logs. But I can share with you the steps I performed that worked for me.
I'm running Windows Subsystem for Linux (WSL) on a windows machine that required some pre-setup. But once that was complete here was the Petalinux build process I followed:
run the installer. I'm using the 2022.1 version. Is there any reason why you are using the older version?: /mnt/c/Users/user_name/Downloads/petalinux-v2022.1-04191534-installer.run --log ~/petalinux-2022.1-install.log --dir ~/petalinux/2022.1
change directories to your 2022.1 folder: cd /petalinux/2022.1
set the source: ~/petalinux/2022.1$ source settings.sh
change directories to your project folder: cd <path/to/your/project/folder>
create a project with the specific bsp: petalinux-create --type project --name my_project --source <path/to/your/bsp>
run the build: petalinux-build
Hope this helps. Best,
NW