I have seen this one before and compiled it.  The problem is raspberry does not have a math co-processor.  That's what all those ft*** commands are.  There is a change to source required to make it compile.  If you got around the distro ID problem then you are half way there.
Look here: 
https://www.qb64.org/forum/index.php?topic=1550.0I got an answer back for the co-processor and I gave an answer for the distro ID problem.  I wish the two fixes where merged into the normal download and compile.  BTW, any 1 GB version of PI may not compile or work well.  QB64 on PI is a resource hog.  I would recommend the 2GB or 4GB raspberry PI 4.  I know it works on the 4 4gb.
Here is a hint to using QB64 on a PI.  Keep a pointer on the desktop for the "Task Manager".  You will require it often for crashes.  Clearing the IDE and QB executing compiles.