Yes, I definitely agree with af0815, do not run that last step.
Firstly, lazarus has some clever code that fixes things up when you try and rebuild the IDE and the variously libraries/components as a user but they exist in root space. In practice, it makes a complete copy in your home directory. So, at very best, that root build makes yet more unnecessary files up in root space, at worst, it could confuse Lazarus.
Second, it should not be necessary, running compiles as root is always undesirable. Just what problem are you trying to solve here ?
(and, as usual, I ask, why not build Lazarus from source ? Simple and you end up with all of Lazarus, any version, in user space right from the start.)
Davo