I experienced this error while trying to install bgrabitmap8.9.2 in Lazarus trunk under Ubuntu 16.04:
Compile package BGRABitmapPack 8.9.2: Exit code 256, Errors: 1, Hints: 10
bgraopengl3d.pas(425,18) Hint: Variable "$result" does not seem to be initialized
bgraopengl3d.pas(433,18) Hint: Variable "$result" does not seem to be initialized
bgraopengl3d.pas(441,18) Hint: Variable "$result" does not seem to be initialized
bgraopengl3d.pas(449,18) Hint: Variable "$result" does not seem to be initialized
bgraopengl3d.pas(457,18) Hint: Variable "$result" does not seem to be initialized
bgraopengl3d.pas(474,18) Hint: Variable "$result" does not seem to be initialized
bgraopengl3d.pas(482,18) Hint: Variable "$result" does not seem to be initialized
bgraopengl3d.pas(490,18) Hint: Variable "$result" does not seem to be initialized
bgraopengl3d.pas(498,18) Hint: Variable "$result" does not seem to be initialized
bgraopengl3d.pas(506,18) Hint: Variable "$result" does not seem to be initialized
bgraopengl3d.pas(719,1) Error: Internal error 2012090607