Bug 1280209 - Cyclic dependency in javapackages-tools
Summary: Cyclic dependency in javapackages-tools
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: javapackages-tools
Version: rawhide
Hardware: Unspecified
OS: Unspecified
urgent
urgent
Target Milestone: ---
Assignee: Mikolaj Izdebski
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-11-11 08:36 UTC by Robert Kuska
Modified: 2016-04-18 10:17 UTC (History)
8 users (show)

Fixed In Version: javapackages-tools-4.6.0-11.fc24
Clone Of:
Environment:
Last Closed: 2015-11-11 13:22:24 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

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 ;)


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