Bug 1797198 - Build failures on PPC64le due to bgrabitmap internal error 2002090904
Summary: Build failures on PPC64le due to bgrabitmap internal error 2002090904
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: lazarus
Version: 32
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Joost van der Sluis
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-02-01 11:13 UTC by Mattia Verga
Modified: 2020-05-13 02:54 UTC (History)
3 users (show)

Fixed In Version: lazarus-2.0.8-2.fc32
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-05-13 02:54:50 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Mattia Verga 2020-02-01 11:13:04 UTC
Both CCDciel and Skychart bundle Bgrabitmap. After the recent mass rebuild they fail to build on ppc64le (previously that arch was disabled, not sure if the build worked or not).
The error thrown is `bgradefaultbitmap.pas(2264,3) Fatal: Internal error 2002090904`


Links to koji tasks:
https://koji.fedoraproject.org/koji/taskinfo?taskID=41309672
https://kojipkgs.fedoraproject.org//work/tasks/9685/41309685/build.log

https://koji.fedoraproject.org/koji/taskinfo?taskID=41309935
https://kojipkgs.fedoraproject.org//work/tasks/9944/41309944/build.log

Comment 1 Ben Cotton 2020-02-11 17:21:02 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 32 development cycle.
Changing version to 32.

Comment 2 Artur Frenszek-Iwicki 2020-04-16 23:47:14 UTC
FPC in Rawhide has been updated to svn-r44680 and Lazarus has been updated to 2.0.8.

Does the problem still persist?

Comment 3 Mattia Verga 2020-04-18 08:26:43 UTC
(In reply to Artur Iwicki from comment #2)
> FPC in Rawhide has been updated to svn-r44680 and Lazarus has been updated
> to 2.0.8.
> 
> Does the problem still persist?

Yes:
https://koji.fedoraproject.org/koji/taskinfo?taskID=43507820

Comment 4 Artur Frenszek-Iwicki 2020-04-19 12:23:47 UTC
I wrote a spec file for a package that consists only of building BGRABitmap and tried a scratch build in koji: https://koji.fedoraproject.org/koji/taskinfo?taskID=43530546
It failed on ppc64le with the same internal compiler error, albeit while processing a different file.

I have submitted this as an issue to the FPC bug tracker: https://bugs.freepascal.org/view.php?id=36934

Comment 5 Artur Frenszek-Iwicki 2020-05-04 07:43:53 UTC
The bug has been fixed upstream and they backported the patch from 3.3.1-dev (https://svn.freepascal.org/cgi-bin/viewvc.cgi?view=revision&revision=45199) to 3.2.0-beta (https://svn.freepascal.org/cgi-bin/viewvc.cgi?view=revision&revision=45235).

fpc-3.2.0-0.20200503svn45235.1 has been built in rawhide, with Lazarus rebuilt accordingly. Can you check if the issue still persists?

Comment 6 Mattia Verga 2020-05-05 16:19:08 UTC
By a quick scratch build, the original problem that raised the internal error is fixed. Now it fails for another reason that I need to investigate:
`ccdciel.lpr(34,10) Fatal: Can't find unit pascalscript used by ccdciel`
https://koji.fedoraproject.org/koji/taskinfo?taskID=44092707

Comment 7 Artur Frenszek-Iwicki 2020-05-05 16:43:52 UTC
PascalScript does not work on 64-bit PowerPC arches and is disabled in Lazarus. Until ppc64 support is implemented upstream, this will not be fixed.

Comment 8 Mattia Verga 2020-05-06 05:25:13 UTC
Ah ok then, I'll let ppc64le disabled for ccdciel (and possibly for skychart also).
The original lazarus bug is fixed and the ticket can be closed.

Thank you!

Comment 9 Fedora Update System 2020-05-06 08:57:38 UTC
FEDORA-2020-0eefea3f41 has been submitted as an update to Fedora 32. https://bodhi.fedoraproject.org/updates/FEDORA-2020-0eefea3f41

Comment 10 Fedora Update System 2020-05-13 02:54:50 UTC
FEDORA-2020-0eefea3f41 has been pushed to the Fedora 32 stable repository.
If problem still persists, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.