Hi, the error is not suggesting you have some dependencies on the build machine. It is rather the image problem. This seems to be a pandas package problem. Which architecture is your board? If it is zynq7000, make sure its arch is set to arm. If it is zynq ultrascale, make sure it is set to aarch64.
Also, when such an error fails, you need to unmount the image before you build again.
sudo losetup -a
This will show the mounted image
Then if bionic.arm is mounted (depending on where you failed, it might be another disk mounted).
sudo umount . /build/bionic.arm/boot
sudo umount ./build/bionic.arm
sudo kpartx -d <image_file>
You failure is about bionic.arm.stage2.img. So you can also delete this image file and do make again.
If you did something wrong about the architecture, probably you need to do a make clean and then make again.