Bug 1987483

Summary: fop: FTBFS in Fedora rawhide/f35
Product: [Fedora] Fedora Reporter: Fedora Release Engineering <releng>
Component: fopAssignee: Peter Lemenkov <lemenkov>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 35CC: java-sig-commits, lemenkov, mizdebsk, rhbugs, rlandman, TicoTimo, tim
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: fop-2.6-2.fc35 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-09-24 20:09:34 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1927309, 1992484    
Attachments:
Description Flags
build.log
none
root.log
none
state.log none

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

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


For details on the mass rebuild see:

https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
Please fix fop 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,
fop will be orphaned. Before branching of Fedora 36,
fop 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:20 UTC
Created attachment 1807490 [details]
build.log

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

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

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

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

Comment 4 Fedora Release Engineering 2021-08-01 04:26:25 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:50 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 35 development cycle.
Changing version to 35.

Comment 6 Fedora Release Engineering 2021-08-22 04:23:47 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 7 Tim Landscheidt 2021-08-22 10:28:30 UTC
AFAIUI, the (first) bug is that the spec file uses the %add_maven_depmap macro which has been removed.  https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org/thread/R3KZ7VI5DPCMCELFIVJQ4AXB2WQED35C/ has some announcement regarding that and refers to https://fedora-java.github.io/howto/latest/#_add_maven_depmap_macro for how to solve this.

Comment 8 Peter Lemenkov 2021-08-24 15:53:13 UTC
(In reply to Tim Landscheidt from comment #7)
> AFAIUI, the (first) bug is that the spec file uses the %add_maven_depmap
> macro which has been removed. 
> https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org/
> thread/R3KZ7VI5DPCMCELFIVJQ4AXB2WQED35C/ has some announcement regarding
> that and refers to
> https://fedora-java.github.io/howto/latest/#_add_maven_depmap_macro for how
> to solve this.

I really don't know how to fix it properly. Could you please provide a patch?

Comment 9 Fedora Update System 2021-08-25 16:50:43 UTC
FEDORA-2021-9f088ab1cc has been submitted as an update to Fedora 35. https://bodhi.fedoraproject.org/updates/FEDORA-2021-9f088ab1cc

Comment 10 Tim Landscheidt 2021-08-25 18:03:42 UTC
(In reply to Peter Lemenkov from comment #8)
> […]

> I really don't know how to fix it properly. Could you please provide a patch?

Unfortunately not :-).  I don't know enough with regard to Java packaging, and the drama at Fedora in that field makes me switch my workflows to groff and LaTeX (with a Debian container as a last resort).  So I'm not invested enough to learn it from scratch.

But I appreciate every effort, past, present and future, to keep fop working in Fedora and am very happy about Orion's patch.

Comment 11 Fedora Update System 2021-08-25 18:37:44 UTC
FEDORA-2021-9f088ab1cc 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-9f088ab1cc`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2021-9f088ab1cc

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

Comment 12 Fedora Update System 2021-08-27 17:25:36 UTC
FEDORA-2021-4bcb9419ab 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-4bcb9419ab`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2021-4bcb9419ab

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

Comment 13 Fedora Update System 2021-09-24 20:09:34 UTC
FEDORA-2021-4bcb9419ab has been pushed to the Fedora 35 stable repository.
If problem still persists, please make note of it in this bug report.