Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.
Bug 1987485 - fpc: FTBFS in Fedora rawhide/f35
Summary: fpc: FTBFS in Fedora rawhide/f35
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: fpc
Version: 35
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Artur Frenszek-Iwicki
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: F35FTBFS 1987401 1987407 1987426 1987497 1987560 1987579 1987632 1987633 1987729 1988000 1988062 F36FTBFS
TreeView+ depends on / blocked
 
Reported: 2021-07-29 14:59 UTC by Fedora Release Engineering
Modified: 2021-09-29 00:17 UTC (History)
4 users (show)

Fixed In Version: fpc-3.2.2-3.fc35
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2021-09-29 00:17:53 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
build.log (deleted)
2021-07-29 14:59 UTC, Fedora Release Engineering
no flags Details
root.log (deleted)
2021-07-29 14:59 UTC, Fedora Release Engineering
no flags Details
state.log (deleted)
2021-07-29 14:59 UTC, Fedora Release Engineering
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Gitlab freepascal.org/fpc source issues 39295 0 None None None 2021-09-19 14:17:58 UTC

Description Fedora Release Engineering 2021-07-29 14:59:40 UTC
fpc failed to build from source in Fedora rawhide/f35

https://koji.fedoraproject.org/koji/taskinfo?taskID=72347037


For details on the mass rebuild see:

https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
Please fix fpc at your earliest convenience and set the bug's status to
ASSIGNED when you start fixing it. If the bug remains in NEW state for 8 weeks,
fpc will be orphaned. Before branching of Fedora 36,
fpc will be retired, if it still fails to build.

For more details on the FTBFS policy, please visit:
https://docs.fedoraproject.org/en-US/fesco/Fails_to_build_from_source_Fails_to_install/

Comment 1 Fedora Release Engineering 2021-07-29 14:59:45 UTC
Created attachment 1807497 [details]
build.log

file build.log too big, will only attach last 32768 bytes

Comment 2 Fedora Release Engineering 2021-07-29 14:59:49 UTC
Created attachment 1807498 [details]
root.log

file root.log too big, will only attach last 32768 bytes

Comment 3 Fedora Release Engineering 2021-07-29 14:59:53 UTC
Created attachment 1807499 [details]
state.log

Comment 4 Fedora Release Engineering 2021-08-01 04:26:29 UTC
Dear Maintainer,

your package has an open Fails To Build From Source bug for Fedora 35.
Action is required from you.

If you can fix your package to build, perform a build in koji, and either create
an update in bodhi, or close this bug without creating an update, if updating is
not appropriate [1]. If you are working on a fix, set the status to ASSIGNED to
acknowledge this. If you have already fixed this issue, please close this Bugzilla report.

Following the policy for such packages [2], your package will be orphaned if
this bug remains in NEW state more than 8 weeks (not sooner than 2021-09-23).

A week before the mass branching of Fedora 36 according to the schedule [3],
any packages not successfully rebuilt at least on Fedora 34 will be
retired regardless of the status of this bug.

[1] https://docs.fedoraproject.org/en-US/fesco/Updates_Policy/
[2] https://docs.fedoraproject.org/en-US/fesco/Fails_to_build_from_source_Fails_to_install/
[3] https://fedorapeople.org/groups/schedule/f-36/f-36-key-tasks.html

Comment 5 Ben Cotton 2021-08-10 13:18:55 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 35 development cycle.
Changing version to 35.

Comment 6 Artur Frenszek-Iwicki 2021-08-12 18:01:03 UTC
Underlying issue reported upstream: https://gitlab.com/freepascal.org/fpc/source/-/issues/39295

Comment 7 Fedora Release Engineering 2021-08-22 04:23:50 UTC
Dear Maintainer,

your package has an open Fails To Build From Source bug for Fedora 35.
Action is required from you.

If you can fix your package to build, perform a build in koji, and either create
an update in bodhi, or close this bug without creating an update, if updating is
not appropriate [1]. If you are working on a fix, set the status to ASSIGNED to
acknowledge this. If you have already fixed this issue, please close this Bugzilla report.

Following the policy for such packages [2], your package will be orphaned if
this bug remains in NEW state more than 8 weeks (not sooner than 2021-09-23).

A week before the mass branching of Fedora 36 according to the schedule [3],
any packages not successfully rebuilt at least on Fedora 34 will be
retired regardless of the status of this bug.

[1] https://docs.fedoraproject.org/en-US/fesco/Updates_Policy/
[2] https://docs.fedoraproject.org/en-US/fesco/Fails_to_build_from_source_Fails_to_install/
[3] https://fedorapeople.org/groups/schedule/f-36/f-36-key-tasks.html

Comment 8 Fedora Release Engineering 2021-09-12 04:23:30 UTC
Dear Maintainer,

your package has an open Fails To Build From Source bug for Fedora 35.
Action is required from you.

If you can fix your package to build, perform a build in koji, and either create
an update in bodhi, or close this bug without creating an update, if updating is
not appropriate [1]. If you are working on a fix, set the status to ASSIGNED to
acknowledge this. If you have already fixed this issue, please close this Bugzilla report.

Following the policy for such packages [2], your package will be orphaned if
this bug remains in NEW state more than 8 weeks (not sooner than 2021-09-23).

A week before the mass branching of Fedora 36 according to the schedule [3],
any packages not successfully rebuilt at least on Fedora 34 will be
retired regardless of the status of this bug.

[1] https://docs.fedoraproject.org/en-US/fesco/Updates_Policy/
[2] https://docs.fedoraproject.org/en-US/fesco/Fails_to_build_from_source_Fails_to_install/
[3] https://fedorapeople.org/groups/schedule/f-36/f-36-key-tasks.html

Comment 9 Mattia Verga 2021-09-19 14:17:58 UTC
Upstream isn't putting so much effort in trying to fix this. Should we disable building fpc on architectures where it fails? It would mean we will only have Pascal on arm and x86_64, but at least we will have things working again.

Comment 10 Artur Frenszek-Iwicki 2021-09-19 14:49:20 UTC
I was planning on posting to the devel@ mailing about this. As you said, upstream hasn't come up with a solution yet. When I tried the workaround solution suggested by Florian in the original "Free Pascal and F35 Mass Rebuild" thread [1], I ran into segmentation faults. Also - that one was for ppc64 only, we'd need separate patches for aarch64 and i686.

I guess that, yes, given the current state of the issue, the most sensible thing is to limit FPC to arm and x86_64 for the moment, and then reintroduce other architectures once either upstream solves the issue, or we come up with Fedora-specific patches.

[1] https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org/thread/RLTQ5CJ7F2FAFYVPBZZHVRJK2LZX7D36/

Comment 12 Fedora Update System 2021-09-21 13:54:14 UTC
FEDORA-2021-032397269f has been submitted as an update to Fedora 35. https://bodhi.fedoraproject.org/updates/FEDORA-2021-032397269f

Comment 13 Fedora Update System 2021-09-21 18:52:41 UTC
FEDORA-2021-032397269f has been pushed to the Fedora 35 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2021-032397269f`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2021-032397269f

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 14 Mattia Verga 2021-09-23 06:18:04 UTC
I've unpushed the above update. I'll create a new update from f35-build-side-46123 with all the packages that need to be rebuilt with fpc.

Comment 15 Fedora Update System 2021-09-23 16:22:59 UTC
FEDORA-2021-6c20029f5d has been submitted as an update to Fedora 35. https://bodhi.fedoraproject.org/updates/FEDORA-2021-6c20029f5d

Comment 16 Fedora Update System 2021-09-24 02:51:48 UTC
FEDORA-2021-6c20029f5d has been pushed to the Fedora 35 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2021-6c20029f5d`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2021-6c20029f5d

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 17 Fedora Update System 2021-09-29 00:17:53 UTC
FEDORA-2021-6c20029f5d has been pushed to the Fedora 35 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.