Bug 1280209 - Cyclic dependency in javapackages-tools
Cyclic dependency in javapackages-tools
Status: CLOSED RAWHIDE
Product: Fedora
Classification: Fedora
Component: javapackages-tools (Show other bugs)
rawhide
Unspecified Unspecified
urgent Severity urgent
: ---
: ---
Assigned To: Mikolaj Izdebski
Fedora Extras Quality Assurance
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2015-11-11 03:36 EST by Robert Kuska
Modified: 2016-04-18 06:17 EDT (History)
8 users (show)

See Also:
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 08:22:24 EST
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Robert Kuska 2015-11-11 03:36:05 EST
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 07:09:19 EST
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 07:36:27 EST
http://paste.fedoraproject.org/289169 ?
Comment 3 Peter Robinson 2015-11-11 07:37:59 EST
kalev: looks good, please push
Comment 4 Kalev Lember 2015-11-11 08:22:24 EST
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 08:28:36 EST
Thanks for handling this guys, much appreciated ;)

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