OS: Ubuntu 20.04
I was trying to build rootfs for debian devel bullseye with this command
flex-builder -i mkrfs -r debian:devel:bullseye -a arm64
But, it would show this error in build/rfs/rootfs_lsdk2108_debian_devel_arm64/debootstrap/debootstrap.log
qemu: uncaught target signal 11 (Segmentation fault) - core dumped
I have tested to do this step by step, but I got the same error
sudo debootstrap --foreign --arch arm64 bullseye ./ http://deb.debian.org/debian/ sudo chroot ./ /debootstrap/debootstrap --merged-usr --variant=minbase --second-stage
This is a known upstream Debian 11 (bullseye) issue for arm64 arch, it only works for x86 arch for now, it needs to be fixed by upstream Debian community, that is why keep using Debian 10 (buster) instead of uprev to debian 11 (bullseye) in flexbuild.