Package installation fails due to ppu checksum incompatiblitiy and failed recompilation
Original Reporter info from Mantis: Michael Adam
-
Reporter name: Michael Adam
Original Reporter info from Mantis: Michael Adam
- Reporter name: Michael Adam
Description:
Trying to install the packages BGRA Bitmap and BGRA Controls fails with the error message 'Cannot install package "bgracontrols.lpk". Continue with next one?'.
Content of the Lazarus Messages window (hints removed):
Free Pascal Compiler version 3.3.1-r41063 [2019/01/25] for i386
Copyright (c) 1993-2018 by Florian Klaempfl and others
(1002) Target OS: Win32 for i386
(3104) Compiling bgracontrols.pas
(3104) Compiling bcbutton.pas
(3104) Compiling bcthememanager.pas
(3104) Compiling bctypes.pas
(3104) Compiling bcbasectrls.pas
(3104) Compiling bctools.pas
(3104) Compiling bcbuttonfocus.pas
(3104) Compiling bceffect.pas
(3104) Compiling bcfilters.pas
(3104) Compiling bcgamegrid.pas
(3104) Compiling bcimagebutton.pas
(10001) PPU Loading C:\Laz\config_lazarus\onlinepackagemanager\packages\bgrabitmap-master\bgrabitmap\lib\i386-win32\3.3.1\bgraslicescaling.ppu
(10011) PPU Source: bgraslicescaling.pas not found
(10028) Recompiling BGRASliceScaling, checksum changed for C:\Laz\config_lazarus\onlinepackagemanager\packages\bgrabitmap-master\bgrabitmap\lib\i386-win32\3.3.1\bgrabitmap.ppu
C:\Laz\config_lazarus\onlinepackagemanager\packages\bgracontrols-master\bcimagebutton.pas(55,32) Fatal: (10022) Can't find unit BGRASliceScaling used by BCImageButton
Fatal: (1018) Compilation aborted
Error: C:\Laz\fpc\bin\i386-win32\ppc386.exe returned an error exitcode
Steps to reproduce:
- Build FPC and Lazarus from Trunk using fpcupdeluxe
- Run Lazarus
- Install the OnlinePackageManager package
- In OPM check BGRA Bitmap and BGRA Controls and click Install
Additional information:
This seems to be the same kind of problem that has been reported in #34899 (closed).
Mantis conversion info:
- Mantis ID: 34947
- OS: Windows
- OS Build: 7 x64, 10 x64
- Build: 60215 (Trunk)
- Platform: Lazarus/FPC 32 bit