So, I've successfully installed Bullseye and Xorg seems to work as well.
But the problem is that dwm requires GLIBC 2.33 and there is only 2.31-12 version in the repositories. So, I decided to download the source code for it.
I followed the LFS instructions and I remember fixing it at the time when I was messing with LFS, but I do not remember how exactly.
When I run make, the error appears:
https://pastebin.com/XVJ5XrYm