Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.
Bug 1631451 - ant module breaks eclipse
Summary: ant module breaks eclipse
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora Modules
Classification: Fedora
Component: ant
Version: unspecified
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: ---
Assignee: Mikolaj Izdebski
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2018-09-20 15:31 UTC by Mikolaj Izdebski
Modified: 2018-12-04 01:56 UTC (History)
4 users (show)

Fixed In Version: ant-1.10-20181122045734.819b5873
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2018-11-23 01:55:51 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Mikolaj Izdebski 2018-09-20 15:31:27 UTC
Setting default stream of ant module in rawhide broke installation of eclipse-platform. ant available in rawhide-modular is version 1.10.4-1.module_1886+ece9a977, but eclipse requires ant >= 1.10.5

# dnf install eclipse
Last metadata expiration check: 5:35:07 ago on Thu 20 Sep 2018 09:35:17 AM UTC.
Error: 
 Problem: package eclipse-jdt-1:4.9.0-1.fc30.noarch requires eclipse-platform = 1:4.9.0-1.fc30, but none of the providers can be installed
  - package eclipse-platform-1:4.9.0-1.fc30.x86_64 requires ant >= 1.10.5, but none of the providers can be installed
  - conflicting requests
  - package ant-1.10.5-2.fc30.noarch is disabled

Comment 1 Mikolaj Izdebski 2018-09-20 15:43:07 UTC
This is caused by MBS bug https://pagure.io/fm-orchestrator/issue/914
ant module with version 1.10.5 was built on Mon, 06 Aug 2018, but MBS did not tag it properly, so the module was not included in F29 and rawhide.

Comment 2 Mikolaj Izdebski 2018-09-20 16:49:53 UTC
Updated ant should be available in next rawhide compose.
Updates for older Fedoras:
Fedora 29: https://bodhi.fedoraproject.org/updates/FEDORA-MODULAR-2018-8504997eac
Fedora 28: https://bodhi.fedoraproject.org/updates/FEDORA-MODULAR-2018-7952afa76a

Comment 3 Mikolaj Izdebski 2018-09-21 12:18:47 UTC
The problem is not fixed - eclipse requires ant-xz, which is filtered out of ant module. Tested with ODCS compose:

# dnf --repofrompath odcs-93,https://odcs.fedoraproject.org/composes/latest-odcs-93-1/compose/Temporary/x86_64/os --enablerepo odcs-93 install eclipse
Added odcs-93 repo from https://odcs.fedoraproject.org/composes/latest-odcs-93-1/compose/Temporary/x86_64/os
Error: 
 Problem: package eclipse-platform-1:4.9.0-1.fc30.x86_64 requires ant-xz, but none of the providers can be installed
  - package eclipse-jdt-1:4.9.0-1.fc30.noarch requires eclipse-platform = 1:4.9.0-1.fc30, but none of the providers can be installed
  - package ant-xz-1.10.5-2.fc30.noarch requires ant = 1.10.5-2.fc30, but none of the providers can be installed
  - conflicting requests
  - package ant-1.10.5-2.fc30.noarch is disabled

Comment 4 Yann Droneaud 2018-10-12 15:09:20 UTC
It's still an issue.

# dnf install eclipse
enabling rawhide-modular-debuginfo repository
enabling rawhide-debuginfo repository
enabling rpmfusion-free-rawhide-debuginfo repository
enabling rpmfusion-nonfree-rawhide-debuginfo repository
Last metadata expiration check: 0:08:38 ago on Fri Oct 12 16:53:51 2018.
Error: 
 Problem: package eclipse-platform-1:4.9.0-2.fc30.x86_64 requires ant-xz, but none of the providers can be installed
  - package eclipse-jdt-1:4.9.0-2.fc30.noarch requires eclipse-platform = 1:4.9.0-2.fc30, but none of the providers can be installed
  - package ant-xz-1.10.5-2.fc30.noarch requires ant = 1.10.5-2.fc30, but none of the providers can be installed
  - conflicting requests
  - package ant-1.10.5-2.fc30.noarch is excluded

# dnf info ant-xz

Available Packages
Name         : ant-xz
Version      : 1.10.5
Release      : 2.fc30
Arch         : noarch
Size         : 21 k
Source       : ant-1.10.5-2.fc30.src.rpm
Repo         : rawhide
Summary      : Optional xz tasks for ant
URL          : https://ant.apache.org/
License      : ASL 2.0
Description  : Optional xz tasks for ant.

# dnf info ant

Available Packages
Name         : ant
Version      : 1.10.5
Release      : 1.module_1972+8ea4a6fa
Arch         : noarch
Size         : 192 k
Source       : ant-1.10.5-1.module_1972+8ea4a6fa.src.rpm
Repo         : rawhide-modular
Summary      : Java build tool
URL          : https://ant.apache.org/
License      : ASL 2.0
Description  : Apache Ant is a Java library and command-line tool whose mission is to
             : drive processes described in build files as targets and extension
             : points dependent upon each other.  The main known usage of Ant is the
             : build of Java applications.  Ant supplies a number of built-in tasks
             : allowing to compile, assemble, test and run Java applications.  Ant
             : can also be used effectively to build non Java applications, for
             : instance C or C++ applications.  More generally, Ant can be used to
             : pilot any type of process which can be described in terms of targets
             : and tasks.

There's no ant-1.10.5-2 package in rawhide repository.
The one in rawhide-modular is too old (and why would I need to enable ant module stream).

Comment 5 Mikolaj Izdebski 2018-11-22 04:29:59 UTC
Fixed in https://src.fedoraproject.org/modules/ant/c/b818b0d

Comment 6 Mikolaj Izdebski 2018-11-23 01:55:51 UTC
I've just tested it with ODCS compose 110: https://odcs.fedoraproject.org/api/1/composes/110

# dnf --repofrompath odcs-110,https://odcs.fedoraproject.org/composes/latest-odcs-110-1/compose/Temporary/\$basearch/os --enablerepo odcs-110 install eclipse

Result:
- eclipse-platform installs fine
- symlinks in /usr/lib/eclipse/plugins/org.apache.ant_1.10.5.v20180808-0324/lib/ all point to existing files

# rpm -q eclipse-platform ant
eclipse-platform-4.9.0-2.fc30.x86_64
ant-1.10.5-3.module_2512+68251d4e.noarch

Therefore I believe the problem should finally be resolved. I'm sorry this took so long to fix it.

Comment 7 Fedora Update System 2018-12-04 01:46:16 UTC
ant-1.10-20181122045734.819b5873 has been pushed to the Fedora 28 Modular stable repository. If problems still persist, please make note of it in this bug report.

Comment 8 Fedora Update System 2018-12-04 01:56:33 UTC
ant-1.10-20181122140939.819b5873 has been pushed to the Fedora 29 Modular stable repository. If problems still persist, please make note of it in this bug report.


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