Bug 671177 - groovy requires ant which leads to the install of several devel package
Summary: groovy requires ant which leads to the install of several devel package
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Fedora
Classification: Fedora
Component: groovy
Version: 14
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Lubomir Rintel
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-01-20 17:21 UTC by hannes
Modified: 2011-02-09 09:43 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-02-09 09:43:46 UTC
Type: ---


Attachments (Terms of Use)
Groovy classpath dependency graph (111.35 KB, image/png)
2011-02-09 09:31 UTC, Lubomir Rintel
no flags Details

Description hannes 2011-01-20 17:21:14 UTC
Description of problem:
Groovy requires ant which leads to the installation of java-devel and ant if you for example only would like to install freemind. Could we prevent this with the removal of ant in the groovy spec or put the part of groovy which requires ant into a subpackage.
Hope this is easy to solve.

Greetings,

johannes

repoquery --whatrequires ant
ant-0:1.7.1-13.fc13.i686
ant-antlr-0:1.7.1-13.fc13.i686
ant-antunit-0:1.1-3.fc13.noarch
ant-apache-bcel-0:1.7.1-13.fc13.i686
ant-apache-bsf-0:1.7.1-13.fc13.i686
ant-apache-log4j-0:1.7.1-13.fc13.i686
ant-apache-oro-0:1.7.1-13.fc13.i686
ant-apache-regexp-0:1.7.1-13.fc13.i686
ant-apache-resolver-0:1.7.1-13.fc13.i686
ant-commons-logging-0:1.7.1-13.fc13.i686
ant-commons-net-0:1.7.1-13.fc13.i686
ant-contrib-0:1.0-0.10.b2.fc12.noarch
ant-findbugs-0:1.3.9-2.fc13.noarch
ant-javamail-0:1.7.1-13.fc13.i686
ant-jdepend-0:1.7.1-13.fc13.i686
ant-jmf-0:1.7.1-13.fc13.i686
ant-jsch-0:1.7.1-13.fc13.i686
ant-junit-0:1.7.1-13.fc13.i686
ant-nodeps-0:1.7.1-13.fc13.i686
ant-scala-0:2.7.7-1.fc13.noarch
ant-scala-0:2.8.1-1.fc13.noarch
ant-scripts-0:1.7.1-13.fc13.i686
ant-swing-0:1.7.1-13.fc13.i686
ant-trax-0:1.7.1-13.fc13.i686
checkstyle-0:4.1-7.fc12.noarch
cobertura-0:1.9-3.fc12.noarch
cpptasks-0:1.0b5-5.fc12.noarch
eclipse-findbugs-0:1.3.9-2.fc13.noarch
groovy-0:1.7.0-1.fc13.1.noarch
jarbundler-0:2.1.0-5.fc13.noarch
jetty-0:6.1.21-4.fc13.noarch
josm-0:0-0.13.3751svn.fc13.noarch
maven-shared-ant-0:1.0-4.fc13.noarch
maven-shared-plugin-tools-ant-0:2.2-4.fc13.noarch
maven2-0:2.0.8-3.fc12.noarch
maven2-plugin-ant-0:2.0.8-3.fc12.noarch
maven2-plugin-antrun-0:2.0.8-3.fc12.noarch
netbeans-java-0:6.8-6.fc13.noarch
netbeans-platform-harness-0:6.8-2.fc13.noarch
opengrok-0:0.8.1-1.fc13.noarch
plexus-ant-factory-0:1.0-0.4.a2.1.2.fc13.noarch
selenium-core-0:1.0.2-0.4.20100324svn.fc13.noarch
selenium-server-0:1.0.3-5.20100318svn.fc13.noarch



yum install freemind
Loaded plugins: remove-with-leaves
Setting up Install Process
[...]
Dependencies Resolved

==============================================================================
 Package                     Arch    Version                   Repository
                                                                         Size
==============================================================================
Installing:
 freemind                    noarch  0.9.0-0.7.rc11.fc13       updates  5.2 M
Installing for dependencies:
 SimplyHTML                  noarch  0.13.1-4.fc13             updates  691 k
 ant                         i686    1.7.1-13.fc13             fedora   2.2 M
 ant-junit                   i686    1.7.1-13.fc13             fedora   179 k
 ant-nodeps                  i686    1.7.1-13.fc13             fedora   695 k
 antlr                       i686    2.7.7-6.fc12              fedora   1.0 M
 apache-ivy                  noarch  2.1.0-1.fc13              fedora   855 k
 avalon-framework            i686    4.1.4-6.fc12              fedora   112 k
 batik                       noarch  1.7-9.fc13                updates  6.8 M
 batik-squiggle              noarch  1.7-9.fc13                updates  500 k
 bsf                         i686    2.4.0-5.fc13              updates  187 k
 fop                         noarch  0.95-4                    fedora   2.0 M
 gnu-regexp                  noarch  1.1.4-13.fc12             fedora    66 k
 groovy                      noarch  1.7.0-1.fc13.1            fedora   3.7 M
 jakarta-commons-cli         i686    1.1-5.fc12                fedora    65 k
 jakarta-commons-httpclient  i686    1:3.1-0.5.fc12            fedora   500 k
 jakarta-commons-io          noarch  1.4-2.fc13                fedora   108 k
 jakarta-commons-lang        i686    2.4-1.fc13                fedora   470 k
 jakarta-commons-logging     i686    1.0.4-9.8.fc12            fedora    77 k
 jakarta-oro                 i686    2.0.8-6.3.fc12            fedora   170 k
 java-1.6.0-openjdk-devel    i686    1:1.6.0.0-48.1.8.4.fc13   updates   11 M
 javahelp2                   noarch  2.0.05-8.fc12             fedora   549 k
 jgoodies-forms              noarch  1.2.0-3.fc12              fedora   608 k
 jgoodies-looks              noarch  2.2.1-3.fc12              fedora   602 k
 jibx                        noarch  1.2.2-7.fc13              updates  1.2 M
 jna                         i686    3.2.7-10.fc13             updates  234 k
 junit                       i686    3.8.2-6.4.fc12            fedora   264 k
 netbeans-platform           noarch  6.8-2.fc13                fedora   3.5 M
 objectweb-asm               noarch  3.1-7.1.fc12              fedora   190 k
 swing-layout                i686    1.0.4-1.fc13              fedora   142 k
 tomcat5-jsp-2.0-api         noarch  5.5.27-7.4.fc12           fedora    73 k
 tomcat5-servlet-2.4-api     noarch  5.5.27-7.4.fc12           fedora   114 k
 xalan-j2                    i686    2.7.0-9.5.fc12            fedora   2.9 M
 xerces-j2                   noarch  2.9.0-4.fc13              updates  1.1 M
 xml-commons-apis            noarch  1.4.01-1.fc13             fedora   272 k
 xml-commons-resolver        i686    1.1-4.17.fc13             fedora   128 k
 xmlgraphics-commons         noarch  1.3.1-1                   fedora   468 k
 xpp3                        noarch  1.1.3.8-3.3.fc13          fedora   293 k
 xstream                     noarch  1.2.2-4.fc13              fedora   333 k

Transaction Summary
==============================================================================
Install      39 Package(s)

Total download size: 49 M
Installed size: 112 M
Is this ok [y/N]: N^

Comment 1 hannes 2011-02-09 09:11:41 UTC
Any comments??

Comment 2 Lubomir Rintel 2011-02-09 09:18:20 UTC
I'm not really sure whether anything there really needs ant. I simple dragged in dependencies that seemed to be present in upstream binary bundle.

(/me shakes fist at java lacking a decent dependency mechanism)

Let me check...

Comment 3 Lubomir Rintel 2011-02-09 09:31:15 UTC
Created attachment 477773 [details]
Groovy classpath dependency graph

(In reply to comment #0)
> Description of problem:
> Groovy requires ant which leads to the installation of java-devel and ant if
> you for example only would like to install freemind. Could we prevent this with
> the removal of ant in the groovy spec or put the part of groovy which requires
> ant into a subpackage.

Ant is definitely used by main groovy jar at this point (see attached dependency graph). If you want it to be split up, tell upstream (or file a bug against ant to stop requiring java-devel for ant.jar).

Alternatively, you'd probably persuade me to remove the ant dependency altogether if you demonstrated that it won't confuse groovy user and developer expectations.

> repoquery --whatrequires ant

This is meaningless. You probably wanted to use --requires if you wanted to demonstrate that ant drags in many dependencies.

Comment 4 Lubomir Rintel 2011-02-09 09:43:46 UTC
Closing now since I believe there's not much we could do with this package at  this point. Feel free to reopen should you have any further concerns.


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