I had same issue. In my case this was missing packages in the system. Trying bitbake core-image-minimal
gave me better diagnostics (sorry, I didn't copy the exact output).
I installed the missing packages. In my case it was # apt install chrpath diffstat lz4
. Then bitbake-layers
started to work.