Does the BGRABitmapPack (which gives the error) have LazUtils as dependency?
Have you tried to open that package, and done "compile clean" (from the drop down, at the right end of the toolbar)?
If the error remains, then this may be an old issue in fpc. Open the Package LazUtils and recompile it twice
- first clean
- then just compile (no clean)
Then build the project (should recompile the bgra package)
If it still remains, then open LazUtil again, and recompile it with the "custom option" -Ur (I thing -Ur, not sure might be -UR / check fpc doc for "build release ppu).
Mind that if you do that, and you make changes in your copy of LazUtils, it will not rebuild. You must trigger that by manually rebuild clean.