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 1196653 - istack-commons shouldn't depend on ant build system
Summary: istack-commons shouldn't depend on ant build system
Keywords:
Status: CLOSED NEXTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: istack-commons
Version: 22
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Michal Srb
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: depchain
TreeView+ depends on / blocked
 
Reported: 2015-02-26 13:08 UTC by Peter Robinson
Modified: 2015-03-20 15:19 UTC (History)
2 users (show)

Fixed In Version: istack-commons-2.21-2.fc22
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-03-20 11:57:02 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Bugzilla 1204187 0 unspecified CLOSED glassfish-jaxb: split into subpackages 2022-05-16 11:32:56 UTC

Internal Links: 1204187

Description Peter Robinson 2015-02-26 13:08:59 UTC
The istack-commons core components shouldn't depend on ant as a run time requirement as it's a build system. As a result it pulls in a lot of extra dependencies that shouldn't be required for run time apps.

Main bit:
---> Package istack-commons.noarch 0:2.21-1.fc22 will be installed
--> Processing Dependency: mvn(org.apache.ant:ant-junit) for package: istack-commons-2.21-1.fc22.noarch
--> Processing Dependency: mvn(org.apache.ant:ant) for package: istack-commons-2.21-1.fc22.noarch


Full output:
# yum install istack-commons
Resolving Dependencies
--> Running transaction check
---> Package istack-commons.noarch 0:2.21-1.fc22 will be installed
--> Processing Dependency: mvn(org.apache.ant:ant-junit) for package: istack-commons-2.21-1.fc22.noarch
--> Processing Dependency: mvn(org.apache.ant:ant) for package: istack-commons-2.21-1.fc22.noarch
--> Processing Dependency: mvn(junit:junit) for package: istack-commons-2.21-1.fc22.noarch
--> Processing Dependency: mvn(dom4j:dom4j) for package: istack-commons-2.21-1.fc22.noarch
--> Processing Dependency: mvn(com.sun:tools) for package: istack-commons-2.21-1.fc22.noarch
--> Processing Dependency: mvn(com.sun.codemodel:codemodel) for package: istack-commons-2.21-1.fc22.noarch
--> Processing Dependency: mvn(args4j:args4j) for package: istack-commons-2.21-1.fc22.noarch
--> Processing Dependency: jpackage-utils for package: istack-commons-2.21-1.fc22.noarch
--> Processing Dependency: java-headless for package: istack-commons-2.21-1.fc22.noarch
--> Running transaction check
---> Package ant.noarch 0:1.9.4-7.fc22 will be installed
--> Processing Dependency: java-devel >= 1:1.8.0 for package: ant-1.9.4-7.fc22.noarch
--> Processing Dependency: xml-commons-apis for package: ant-1.9.4-7.fc22.noarch
--> Processing Dependency: xerces-j2 for package: ant-1.9.4-7.fc22.noarch
---> Package ant-junit.noarch 0:1.9.4-7.fc22 will be installed
--> Processing Dependency: xalan-j2 for package: ant-junit-1.9.4-7.fc22.noarch
---> Package args4j.noarch 0:2.0.30-2.fc22 will be installed
---> Package codemodel.noarch 0:2.6-16.fc22 will be installed
---> Package dom4j.noarch 0:1.6.1-22.fc21 will be installed
--> Processing Dependency: jaxen-bootstrap >= 1.1-0.b7 for package: dom4j-1.6.1-22.fc21.noarch
--> Processing Dependency: xpp3 for package: dom4j-1.6.1-22.fc21.noarch
--> Processing Dependency: xpp2 for package: dom4j-1.6.1-22.fc21.noarch
--> Processing Dependency: ws-jaxme for package: dom4j-1.6.1-22.fc21.noarch
--> Processing Dependency: relaxngDatatype for package: dom4j-1.6.1-22.fc21.noarch
--> Processing Dependency: msv-xsdlib for package: dom4j-1.6.1-22.fc21.noarch
--> Processing Dependency: msv-msv for package: dom4j-1.6.1-22.fc21.noarch
--> Processing Dependency: isorelax for package: dom4j-1.6.1-22.fc21.noarch
--> Processing Dependency: bea-stax-api for package: dom4j-1.6.1-22.fc21.noarch
--> Processing Dependency: bea-stax for package: dom4j-1.6.1-22.fc21.noarch
---> Package java-1.8.0-openjdk-headless.armv7hl 1:1.8.0.40-19.b12.fc22 will be installed
--> Processing Dependency: tzdata-java >= 2014f-1 for package: 1:java-1.8.0-openjdk-headless-1.8.0.40-19.b12.fc22.armv7hl
--> Processing Dependency: liblcms2.so.2 for package: 1:java-1.8.0-openjdk-headless-1.8.0.40-19.b12.fc22.armv7hl
--> Processing Dependency: libjpeg.so.62(LIBJPEG_6.2) for package: 1:java-1.8.0-openjdk-headless-1.8.0.40-19.b12.fc22.armv7hl
--> Processing Dependency: libjpeg.so.62 for package: 1:java-1.8.0-openjdk-headless-1.8.0.40-19.b12.fc22.armv7hl
---> Package javapackages-tools.noarch 0:4.3.2-4.fc22 will be installed
--> Processing Dependency: python3-javapackages = 4.3.2-4.fc22 for package: javapackages-tools-4.3.2-4.fc22.noarch
---> Package junit.noarch 1:4.12-2.fc22 will be installed
--> Processing Dependency: mvn(org.hamcrest:hamcrest-core) for package: 1:junit-4.12-2.fc22.noarch
--> Running transaction check
---> Package bea-stax.noarch 0:1.2.0-10.fc21 will be installed
---> Package bea-stax-api.noarch 0:1.2.0-10.fc21 will be installed
---> Package hamcrest-core.noarch 0:1.3-11.fc22 will be installed
---> Package isorelax.noarch 1:0-0.16.release20050331.fc21 will be installed
---> Package java-1.8.0-openjdk-devel.armv7hl 1:1.8.0.40-19.b12.fc22 will be installed
--> Processing Dependency: java-1.8.0-openjdk = 1:1.8.0.40-19.b12.fc22 for package: 1:java-1.8.0-openjdk-devel-1.8.0.40-19.b12.fc22.armv7hl
--> Processing Dependency: libawt_xawt.so(SUNWprivate_1.1) for package: 1:java-1.8.0-openjdk-devel-1.8.0.40-19.b12.fc22.armv7hl
--> Processing Dependency: libawt_xawt.so for package: 1:java-1.8.0-openjdk-devel-1.8.0.40-19.b12.fc22.armv7hl
---> Package jaxen.noarch 0:1.1.6-5.fc22 will be installed
--> Processing Dependency: mvn(jdom:jdom) for package: jaxen-1.1.6-5.fc22.noarch
---> Package lcms2.armv7hl 0:2.6-4.fc22 will be installed
---> Package libjpeg-turbo.armv7hl 0:1.4.0-1.fc22 will be installed
---> Package msv-msv.noarch 1:2013.6.1-4.fc22 will be installed
--> Processing Dependency: mvn(xml-resolver:xml-resolver) for package: 1:msv-msv-2013.6.1-4.fc22.noarch
---> Package msv-xsdlib.noarch 1:2013.6.1-4.fc22 will be installed
---> Package python3-javapackages.noarch 0:4.3.2-4.fc22 will be installed
--> Processing Dependency: python3-PyXB = 1.2.4 for package: python3-javapackages-4.3.2-4.fc22.noarch
--> Processing Dependency: python3-lxml for package: python3-javapackages-4.3.2-4.fc22.noarch
---> Package relaxngDatatype.noarch 0:2011.1-1.fc22 will be installed
---> Package tzdata-java.noarch 0:2015a-1.fc22 will be installed
---> Package ws-jaxme.noarch 0:0.5.2-13.fc22 will be installed
--> Processing Dependency: log4j12 for package: ws-jaxme-0.5.2-13.fc22.noarch
--> Processing Dependency: hsqldb1 for package: ws-jaxme-0.5.2-13.fc22.noarch
--> Processing Dependency: apache-commons-codec for package: ws-jaxme-0.5.2-13.fc22.noarch
--> Processing Dependency: antlr for package: ws-jaxme-0.5.2-13.fc22.noarch
---> Package xalan-j2.noarch 0:2.7.1-25.fc22 will be installed
---> Package xerces-j2.noarch 0:2.11.0-22.fc22 will be installed
---> Package xml-commons-apis.noarch 0:1.4.01-18.fc21 will be installed
---> Package xpp2.noarch 0:2.1.10-19.fc21 will be installed
---> Package xpp3.noarch 0:1.1.4-5.c.fc22 will be installed
--> Running transaction check
---> Package antlr-tool.noarch 0:2.7.7-34.fc22 will be installed
---> Package apache-commons-codec.noarch 0:1.10-1.fc22 will be installed
---> Package hsqldb1.noarch 0:1.8.1.3-5.fc22 will be installed
--> Processing Dependency: tomcat-servlet-3.0-api for package: hsqldb1-1.8.1.3-5.fc22.noarch
---> Package java-1.8.0-openjdk.armv7hl 1:1.8.0.40-19.b12.fc22 will be installed
--> Processing Dependency: xorg-x11-fonts-Type1 for package: 1:java-1.8.0-openjdk-1.8.0.40-19.b12.fc22.armv7hl
--> Processing Dependency: libgif.so.4 for package: 1:java-1.8.0-openjdk-1.8.0.40-19.b12.fc22.armv7hl
--> Processing Dependency: libasound.so.2(ALSA_0.9.0rc4) for package: 1:java-1.8.0-openjdk-1.8.0.40-19.b12.fc22.armv7hl
--> Processing Dependency: libasound.so.2(ALSA_0.9) for package: 1:java-1.8.0-openjdk-1.8.0.40-19.b12.fc22.armv7hl
--> Processing Dependency: libasound.so.2 for package: 1:java-1.8.0-openjdk-1.8.0.40-19.b12.fc22.armv7hl
--> Processing Dependency: libXtst.so.6 for package: 1:java-1.8.0-openjdk-1.8.0.40-19.b12.fc22.armv7hl
--> Processing Dependency: libXi.so.6 for package: 1:java-1.8.0-openjdk-1.8.0.40-19.b12.fc22.armv7hl
---> Package jdom.noarch 0:1.1.3-7.fc21 will be installed
---> Package log4j12.noarch 0:1.2.17-9.fc22 will be installed
--> Processing Dependency: mvn(org.apache.geronimo.specs:geronimo-jms_1.1_spec) for package: log4j12-1.2.17-9.fc22.noarch
--> Processing Dependency: mvn(javax.mail:mail) for package: log4j12-1.2.17-9.fc22.noarch
---> Package python3-PyXB.noarch 0:1.2.4-2.fc22 will be installed
---> Package python3-lxml.armv7hl 0:3.3.6-1.fc22 will be installed
--> Processing Dependency: python3-cssselect for package: python3-lxml-3.3.6-1.fc22.armv7hl
---> Package xml-commons-resolver.noarch 0:1.2-17.fc21 will be installed
--> Running transaction check
---> Package alsa-lib.armv7hl 0:1.0.28-3.fc22 will be installed
---> Package geronimo-jms.noarch 0:1.1.1-19.fc21 will be installed
---> Package giflib.armv7hl 0:4.1.6-12.fc22 will be installed
--> Processing Dependency: libSM.so.6 for package: giflib-4.1.6-12.fc22.armv7hl
--> Processing Dependency: libICE.so.6 for package: giflib-4.1.6-12.fc22.armv7hl
---> Package javamail.noarch 0:1.5.1-4.fc22 will be installed
---> Package libXi.armv7hl 0:1.7.4-2.fc22 will be installed
---> Package libXtst.armv7hl 0:1.2.2-4.fc22 will be installed
---> Package python3-cssselect.noarch 0:0.9.1-5.fc22 will be installed
---> Package tomcat-servlet-3.1-api.noarch 0:8.0.18-2.fc22 will be installed
---> Package xorg-x11-fonts-Type1.noarch 0:7.5-14.fc22 will be installed
--> Processing Dependency: ttmkfdir for package: xorg-x11-fonts-Type1-7.5-14.fc22.noarch
--> Processing Dependency: ttmkfdir for package: xorg-x11-fonts-Type1-7.5-14.fc22.noarch
--> Processing Dependency: mkfontdir for package: xorg-x11-fonts-Type1-7.5-14.fc22.noarch
--> Processing Dependency: mkfontdir for package: xorg-x11-fonts-Type1-7.5-14.fc22.noarch
--> Running transaction check
---> Package libICE.armv7hl 0:1.0.9-2.fc22 will be installed
---> Package libSM.armv7hl 0:1.2.2-2.fc22 will be installed
---> Package ttmkfdir.armv7hl 0:3.0.9-44.fc22 will be installed
---> Package xorg-x11-font-utils.armv7hl 1:7.5-26.fc22 will be installed
--> Processing Dependency: libfontenc.so.1 for package: 1:xorg-x11-font-utils-7.5-26.fc22.armv7hl
--> Processing Dependency: libXfont.so.1 for package: 1:xorg-x11-font-utils-7.5-26.fc22.armv7hl
--> Running transaction check
---> Package libXfont.armv7hl 0:1.5.0-2.fc22 will be installed
---> Package libfontenc.armv7hl 0:1.1.2-3.fc22 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

=================================================================================
 Package                      Arch    Version                    Repository  Size
=================================================================================
Installing:
 istack-commons               noarch  2.21-1.fc22                   fedora  107 k
Installing for dependencies:
 alsa-lib                     armv7hl 1.0.28-3.fc22                 fedora  341 k
 ant                          noarch  1.9.4-7.fc22                  fedora  2.0 M
 ant-junit                    noarch  1.9.4-7.fc22                  fedora  150 k
 antlr-tool                   noarch  2.7.7-34.fc22                 fedora  362 k
 apache-commons-codec         noarch  1.10-1.fc22                   fedora  246 k
 args4j                       noarch  2.0.30-2.fc22                 fedora   84 k
 bea-stax                     noarch  1.2.0-10.fc21                 fedora  178 k
 bea-stax-api                 noarch  1.2.0-10.fc21                 fedora   32 k
 codemodel                    noarch  2.6-16.fc22                   fedora  169 k
 dom4j                        noarch  1.6.1-22.fc21                 fedora  285 k
 geronimo-jms                 noarch  1.1.1-19.fc21                 fedora   31 k
 giflib                       armv7hl 4.1.6-12.fc22                 fedora   42 k
 hamcrest-core                noarch  1.3-11.fc22                   fedora   55 k
 hsqldb1                      noarch  1.8.1.3-5.fc22                fedora  720 k
 isorelax                     noarch  1:0-0.16.release20050331.fc21 fedora   76 k
 java-1.8.0-openjdk           armv7hl 1:1.8.0.40-19.b12.fc22        fedora  191 k
 java-1.8.0-openjdk-devel     armv7hl 1:1.8.0.40-19.b12.fc22        fedora  7.3 M
 java-1.8.0-openjdk-headless  armv7hl 1:1.8.0.40-19.b12.fc22        fedora   27 M
 javamail                     noarch  1.5.1-4.fc22                  fedora  652 k
 javapackages-tools           noarch  4.3.2-4.fc22                  fedora   99 k
 jaxen                        noarch  1.1.6-5.fc22                  fedora  208 k
 jdom                         noarch  1.1.3-7.fc21                  fedora  176 k
 junit                        noarch  1:4.12-2.fc22                 fedora  291 k
 lcms2                        armv7hl 2.6-4.fc22                    fedora  132 k
 libICE                       armv7hl 1.0.9-2.fc22                  fedora   64 k
 libSM                        armv7hl 1.2.2-2.fc22                  fedora   42 k
 libXfont                     armv7hl 1.5.0-2.fc22                  fedora  141 k
 libXi                        armv7hl 1.7.4-2.fc22                  fedora   40 k
 libXtst                      armv7hl 1.2.2-4.fc22                  fedora   23 k
 libfontenc                   armv7hl 1.1.2-3.fc22                  fedora   33 k
 libjpeg-turbo                armv7hl 1.4.0-1.fc22                  fedora  127 k
 log4j12                      noarch  1.2.17-9.fc22                 fedora  439 k
 msv-msv                      noarch  1:2013.6.1-4.fc22             fedora  625 k
 msv-xsdlib                   noarch  1:2013.6.1-4.fc22             fedora  223 k
 python3-PyXB                 noarch  1.2.4-2.fc22                  fedora  504 k
 python3-cssselect            noarch  0.9.1-5.fc22                  fedora   63 k
 python3-javapackages         noarch  4.3.2-4.fc22                  fedora   94 k
 python3-lxml                 armv7hl 3.3.6-1.fc22                  fedora  818 k
 relaxngDatatype              noarch  2011.1-1.fc22                 fedora   26 k
 tomcat-servlet-3.1-api       noarch  8.0.18-2.fc22                 fedora  255 k
 ttmkfdir                     armv7hl 3.0.9-44.fc22                 fedora   48 k
 tzdata-java                  noarch  2015a-1.fc22                  fedora  179 k
 ws-jaxme                     noarch  0.5.2-13.fc22                 fedora  1.1 M
 xalan-j2                     noarch  2.7.1-25.fc22                 fedora  1.9 M
 xerces-j2                    noarch  2.11.0-22.fc22                fedora  1.2 M
 xml-commons-apis             noarch  1.4.01-18.fc21                fedora  228 k
 xml-commons-resolver         noarch  1.2-17.fc21                   fedora  110 k
 xorg-x11-font-utils          armv7hl 1:7.5-26.fc22                 fedora   83 k
 xorg-x11-fonts-Type1         noarch  7.5-14.fc22                   fedora  522 k
 xpp2                         noarch  2.1.10-19.fc21                fedora  266 k
 xpp3                         noarch  1.1.4-5.c.fc22                fedora  329 k

Transaction Summary
=================================================================================
Install  1 Package (+51 Dependent packages)

Total download size: 50 M
Installed size: 147 M
Is this ok [y/d/N]:

Comment 1 Michal Srb 2015-02-27 14:04:35 UTC
Fixed in istack-commons-2.21-2. I moved each JAR artifact to the separate subpackage, so only packages depending on "istack-commons-buildtools" will pull in ant.

Comment 2 Michal Srb 2015-02-27 14:26:40 UTC
Now I noticed that this was reported against F-22. I will try to push it there, but I will need to do some testing first.

Comment 3 Peter Robinson 2015-02-27 14:37:36 UTC
(In reply to Michal Srb from comment #2)
> Now I noticed that this was reported against F-22. I will try to push it
> there, but I will need to do some testing first.

Yes please, that would be fab

Comment 4 Fedora Update System 2015-03-06 21:01:08 UTC
istack-commons-2.21-2.fc22 has been submitted as an update for Fedora 22.
https://admin.fedoraproject.org/updates/istack-commons-2.21-2.fc22

Comment 5 Michal Srb 2015-03-06 21:11:24 UTC
Submitted as an update for F22. However in slightly different form. The main package requires all new subpackages, so it shouldn't cause any problems. If some package in F22 wants to take advantage of istack-commons split, it needs to change its Requires on istack-commons to istack-commons-$subpackage.

Comment 6 Fedora Update System 2015-03-13 16:55:12 UTC
istack-commons-2.21-2.fc22 has been pushed to the Fedora 22 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 7 Peter Robinson 2015-03-20 11:00:02 UTC
Reopening, still an issue. Something in istack-commons-tools is still pulling in ant (and hence java-1.8.0-openjdk-devel -> java-1.8.0-openjdk -> massive X deps).

---> Package glassfish-jaxb.noarch 0:2.2.11-1.fc22 will be installed
--> Processing Dependency: mvn(relaxngDatatype:relaxngDatatype) for package: glassfish-jaxb-2.2.11-1.fc22.noarch
--> Processing Dependency: mvn(org.jvnet.staxex:stax-ex) for package: glassfish-jaxb-2.2.11-1.fc22.noarch
--> Processing Dependency: mvn(net.java.dev.msv:msv-core) for package: glassfish-jaxb-2.2.11-1.fc22.noarch
--> Processing Dependency: mvn(javax.xml.bind:jaxb-api) for package: glassfish-jaxb-2.2.11-1.fc22.noarch
--> Processing Dependency: mvn(com.sun.xsom:xsom) for package: glassfish-jaxb-2.2.11-1.fc22.noarch
--> Processing Dependency: mvn(com.sun.xml.fastinfoset:FastInfoset) for package: glassfish-jaxb-2.2.11-1.fc22.noarch
--> Processing Dependency: mvn(com.sun.xml.dtd-parser:dtd-parser) for package: glassfish-jaxb-2.2.11-1.fc22.noarch
--> Processing Dependency: mvn(com.sun.istack:istack-commons-tools) for package: glassfish-jaxb-2.2.11-1.fc22.noarch
--> Processing Dependency: mvn(com.sun.istack:istack-commons-runtime) for package: glassfish-jaxb-2.2.11-1.fc22.noarch

<snip>

---> Package istack-commons-tools.noarch 0:2.21-2.fc22 will be installed
--> Processing Dependency: mvn(org.apache.ant:ant) for package: istack-commons-tools-2.21-2.fc22.noarch

Comment 8 Michal Srb 2015-03-20 11:57:02 UTC
This is actually correct. istack-commons-tools package references classes from Ant, so the dependency is genuine. glassfish-jaxb package should be also split into subpackages, so people can install only subpackages providing functionality they need. But there is nothing else I can do in case of istack-commons. Please open a bug for glassfish-jaxb, I will look into it. Thanks.


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