Bug 1280209

Summary: Cyclic dependency in javapackages-tools
Product: [Fedora] Fedora Reporter: Robert Kuska <rkuska>
Component: javapackages-toolsAssignee: Mikolaj Izdebski <mizdebsk>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: urgent Docs Contact:
Priority: urgent    
Version: rawhideCC: java-sig-commits, jberan, klember, mat.booth, mizdebsk, msimacek, msrb, pbrobinson
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: javapackages-tools-4.6.0-11.fc24 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-11-11 13:22:24 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 Robert Kuska 2015-11-11 08:36:05 UTC
javapackages-tools build requires itself also javapackages-tools requires python3-javapackages which is subpackage of javapackages-tools, this creates conflict when you try rebuild javapackages-tools for a new minor release of Python3.

DEBUG util.py:393:  Last metadata expiration check performed 0:02:10 ago on Tue Nov 10 20:44:32 2015.
DEBUG util.py:393:  Package make-1:4.1-4.fc24.x86_64 is already installed, skipping.
DEBUG util.py:393:  Package python3-devel-3.5.0-2.fc24.x86_64 is already installed, skipping.
DEBUG util.py:393:  Package python3-setuptools-18.5-2.fc24.noarch is already installed, skipping.
DEBUG util.py:393:  Package python3-six-1.9.0-4.fc24.noarch is already installed, skipping.
DEBUG util.py:393:  Error: nothing provides python(abi) = 3.4 needed by python3-javapackages-4.6.0-8.fc24.noarch.
DEBUG util.py:393:  nothing provides python(abi) = 3.4 needed by python3-javapackages-4.6.0-8.fc24.noarch



https://kojipkgs.fedoraproject.org//work/tasks/9595/11779595/root.log

To workaround the issue I propose to create bootstrap macro which when turned off/on will drop Requires: python3-javapackages so javapackages-tools can be rebuilt with a new minor release of Python3.

Comment 1 Peter Robinson 2015-11-11 12:09:19 UTC
bumping priority, this is blocking a number of dependent packages of the python3.5 rebuild.

If you could add a boostrap option to the package it means we can easily deal with this in the future.

Comment 2 Kalev Lember 2015-11-11 12:36:27 UTC
http://paste.fedoraproject.org/289169 ?

Comment 3 Peter Robinson 2015-11-11 12:37:59 UTC
kalev: looks good, please push

Comment 4 Kalev Lember 2015-11-11 13:22:24 UTC
OK, bootstrapping done in f24-python3. I first built javapackages-tools-4.6.0-10.fc24 with bootstrap enabled, followed by a regular javapackages-tools-4.6.0-11.fc24 build with bootstrap disabled.

Comment 5 Michal Srb 2015-11-11 13:28:36 UTC
Thanks for handling this guys, much appreciated ;)