Bug 2101183

Summary: Circular dependency: apache-parent depends on apache-resource-bundles depends on apache-parent
Product: [Fedora] Fedora Reporter: Graham Leggett <minfrin>
Component: apache-parentAssignee: Mikolaj Izdebski <mizdebsk>
Status: CLOSED NOTABUG QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: high Docs Contact:
Priority: unspecified    
Version: 37CC: agrimm, ctubbsii, java-sig-commits, mizdebsk, mkoncek
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2023-02-03 11:28:41 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Graham Leggett 2022-06-26 10:22:19 UTC
Description of problem:

apache-parent depends on apache-resource-bundles depends on apache-parent

Version-Release number of selected component (if applicable):

apache-resource-bundles-36-1.el9.noarch
apache-parent-26-2.el9.noarch

How reproducible:

Always

Steps to Reproduce:
1. Build from RPM source
2.
3.

Actual results:

[minfrin@seawitch SPECS]$ rpmbuild -bb apache-parent.spec 
setting SOURCE_DATE_EPOCH=1651017600
error: Failed build dependencies:
	mvn(org.apache:apache-jar-resource-bundle) is needed by apache-parent-26-2.el9.noarch
[minfrin@seawitch SPECS]$ rpmbuild -bb apache-resource-bundles.spec 
setting SOURCE_DATE_EPOCH=1651622400
error: Failed build dependencies:
	mvn(org.apache.maven:maven-parent:pom:) is needed by apache-resource-bundles-36-1.el9.noarch

Expected results:

Successful build.

Additional info:

Comment 1 Ben Cotton 2022-08-09 13:19:24 UTC
This bug appears to have been reported against 'rawhide' during the Fedora Linux 37 development cycle.
Changing version to 37.

Comment 2 Mikolaj Izdebski 2023-02-03 11:28:41 UTC
Circular dependencies are common among Java packages and are not an issue.
There is nothing we can do about this, sorry.

Comment 3 Marián Konček 2023-02-03 11:40:33 UTC
In fact, circular dependencies are the reason for creation of https://github.com/fedora-java/javapackages-bootstrap project which is used to build maven and its dependencies in Fedora.