Be careful with Buster: even I went through hoops after installing it on a RPi 3.... and I am very experienced.
Stretch is no longer available. You get default Buster. I'm glad with it since it has Lazarus 2.0.0 (better then 1.6.2), so that's fine for me
I did some more testing and I think I found the reason why it doesn't recompile. I removed the compiled files of fpdebug as follows:
cd /etc/alternatives/components/fpdebug/lib/arm-linux
sudo rm *.*
So this removes all .ppu and .o files. Then I tried again in Lazarus rebuild. It stops at the same error "lazarus.pp(1,1) Fatal cannot find fpdebug used by Lazarus"
So why are the *.o and *.ppu *.compiled not generated by the rebuild? Is it not simply administrative rights? Lazarus is in /usr/lib/lazarus/2.0.0 What would be the correct approach to get the required rights? (Normally I work under Windows, so I'm unfamiliar with this)
Han