Image size estimation when building on zfs dataset with compression enabled is incorrect, may cause build failure
When the work path of pmbootstrap is a zfs dataset with compression enabled, the amount of disk space used by the system image is smaller than its logical size. pmbootstrap seems to use this on-disk size rather than the logical size for creating the image file for the loopback mount. This causes copying the system image to the file to fail with 'cp: write error: No space left on device', since the filesystem needs to have enough logical space to contain the image. (Despite the image file also being compressed on disk.)
The build failure can be prevented by setting compression to off for the zfs dataset. faillog.txt