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 1168404 - velocity has a runtime dependency on junit
Summary: velocity has a runtime dependency on junit
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: velocity
Version: 21
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Mikolaj Izdebski
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: RejectedFreezeException
Depends On:
Blocks: depchain
TreeView+ depends on / blocked
 
Reported: 2014-11-26 20:16 UTC by Peter Robinson
Modified: 2014-12-06 10:29 UTC (History)
8 users (show)

Fixed In Version: velocity-1.7-16.fc21
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-12-06 10:29:43 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Peter Robinson 2014-11-26 20:16:28 UTC
velocity has a runtime dependency on junit which in turn pulls in a raft of dependencies including X components.

junit is a regression testing framework which in turns pulls in hamcrest -> qdox -> ant -> java-devel etc

hamcrest appears to be used for "testing frameworks, mocking libraries and UI validation" so likely shouldn't be needed by velocity (but is obviously a reasonable dep for junit)

I think junit should either be removed as an explicit dependency or the components that need it should be put in a sub package.

velocity is a dependency of pki-server, ipa-server, wildfly etc so it pulls in quite a large set of X deps for web apps

$ yum install velocity
Resolving Dependencies
--> Running transaction check
---> Package velocity.noarch 0:1.7-14.fc21 will be installed
--> Processing Dependency: servlet3 for package: velocity-1.7-14.fc21.noarch
--> Processing Dependency: junit for package: velocity-1.7-14.fc21.noarch
--> Processing Dependency: jdom for package: velocity-1.7-14.fc21.noarch
--> Processing Dependency: jaxen for package: velocity-1.7-14.fc21.noarch
--> Processing Dependency: jakarta-oro for package: velocity-1.7-14.fc21.noarch
--> Processing Dependency: hsqldb for package: velocity-1.7-14.fc21.noarch
--> Processing Dependency: bcel for package: velocity-1.7-14.fc21.noarch
--> Processing Dependency: apache-commons-lang for package: velocity-1.7-14.fc21.noarch
--> Processing Dependency: apache-commons-collections for package: velocity-1.7-14.fc21.noarch
--> Running transaction check
---> Package apache-commons-collections.noarch 0:3.2.1-20.fc21 will be installed
---> Package apache-commons-lang.noarch 0:2.6-16.fc21 will be installed
---> Package bcel.noarch 0:6.0-0.2.20140406svn1592769.fc21 will be installed
--> Processing Dependency: mvn(regexp:regexp) for package: bcel-6.0-0.2.20140406svn1592769.fc21.noarch
---> Package hsqldb.noarch 1:2.3.1-7.fc21 will be installed
---> Package jakarta-oro.noarch 0:2.0.8-16.fc21 will be installed
---> Package jaxen.noarch 0:1.1.6-4.fc21 will be installed
--> Processing Dependency: mvn(dom4j:dom4j) for package: jaxen-1.1.6-4.fc21.noarch
---> Package jdom.noarch 0:1.1.3-7.fc21 will be installed
--> Processing Dependency: xalan-j2 >= 2.2.0 for package: jdom-1.1.3-7.fc21.noarch
---> Package junit.noarch 1:4.11-14.fc21 will be installed
--> Processing Dependency: osgi(org.hamcrest.core) for package: 1:junit-4.11-14.fc21.noarch
--> Processing Dependency: hamcrest for package: 1:junit-4.11-14.fc21.noarch
---> Package tomcat-servlet-3.0-api.noarch 0:7.0.54-3.fc21 will be installed
--> Running transaction check
---> Package dom4j.noarch 0:1.6.1-22.fc21 will be installed
--> 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: xerces-j2 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 hamcrest.noarch 0:1.3-8.fc21 will be installed
--> Processing Dependency: qdox for package: hamcrest-1.3-8.fc21.noarch
--> Processing Dependency: easymock3 for package: hamcrest-1.3-8.fc21.noarch
---> Package regexp.noarch 1:1.5-18.fc21 will be installed
---> Package xalan-j2.noarch 0:2.7.1-23.fc21 will be installed
--> 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 easymock.noarch 0:3.2-3.fc21 will be installed
--> Processing Dependency: mvn(org.objenesis:objenesis) for package: easymock-3.2-3.fc21.noarch
--> Processing Dependency: mvn(net.sf.cglib:cglib) for package: easymock-3.2-3.fc21.noarch
---> Package isorelax.noarch 1:0-0.16.release20050331.fc21 will be installed
---> Package msv-msv.noarch 1:2013.6.1-4.fc21 will be installed
--> Processing Dependency: mvn(xml-resolver:xml-resolver) for package: 1:msv-msv-2013.6.1-4.fc21.noarch
---> Package msv-xsdlib.noarch 1:2013.6.1-4.fc21 will be installed
---> Package qdox.noarch 0:1.12.1-10.fc21 will be installed
--> Processing Dependency: mvn(org.apache.ant:ant) for package: qdox-1.12.1-10.fc21.noarch
---> Package relaxngDatatype.noarch 0:1.0-12.5.fc21 will be installed
---> Package ws-jaxme.noarch 0:0.5.2-12.fc21 will be installed
--> Processing Dependency: hsqldb1 for package: ws-jaxme-0.5.2-12.fc21.noarch
--> Processing Dependency: apache-commons-codec for package: ws-jaxme-0.5.2-12.fc21.noarch
--> Processing Dependency: antlr for package: ws-jaxme-0.5.2-12.fc21.noarch
---> Package xerces-j2.noarch 0:2.11.0-22.fc21 will be installed
--> Processing Dependency: xml-commons-apis >= 1.4.01 for package: xerces-j2-2.11.0-22.fc21.noarch
--> Processing Dependency: osgi(javax.xml) for package: xerces-j2-2.11.0-22.fc21.noarch
---> Package xpp2.noarch 0:2.1.10-19.fc21 will be installed
---> Package xpp3.noarch 0:1.1.4-3.c.fc21 will be installed
--> Running transaction check
---> Package ant.noarch 0:1.9.4-3.fc21 will be installed
--> Processing Dependency: java-devel >= 1:1.8.0 for package: ant-1.9.4-3.fc21.noarch
---> Package antlr-tool.noarch 0:2.7.7-34.fc21 will be installed
---> Package apache-commons-codec.noarch 0:1.9-4.fc21 will be installed
---> Package cglib.noarch 0:3.1-4.fc21 will be installed
---> Package hsqldb1.noarch 0:1.8.1.3-4.fc21 will be installed
---> Package objenesis.noarch 0:1.2-16.fc21 will be installed
---> Package xml-commons-apis.noarch 0:1.4.01-18.fc21 will be installed
---> Package xml-commons-resolver.noarch 0:1.2-17.fc21 will be installed
--> Running transaction check
---> Package java-1.8.0-openjdk-devel.armv7hl 1:1.8.0.25-4.b18.fc21 will be installed
--> Processing Dependency: java-1.8.0-openjdk = 1:1.8.0.25-4.b18.fc21 for package: 1:java-1.8.0-openjdk-devel-1.8.0.25-4.b18.fc21.armv7hl
--> Processing Dependency: libawt_xawt.so(SUNWprivate_1.1) for package: 1:java-1.8.0-openjdk-devel-1.8.0.25-4.b18.fc21.armv7hl
--> Processing Dependency: libawt_xawt.so for package: 1:java-1.8.0-openjdk-devel-1.8.0.25-4.b18.fc21.armv7hl
--> Running transaction check
---> Package java-1.8.0-openjdk.armv7hl 1:1.8.0.25-4.b18.fc21 will be installed
--> Processing Dependency: xorg-x11-fonts-Type1 for package: 1:java-1.8.0-openjdk-1.8.0.25-4.b18.fc21.armv7hl
--> Processing Dependency: libgif.so.4 for package: 1:java-1.8.0-openjdk-1.8.0.25-4.b18.fc21.armv7hl
--> Processing Dependency: libasound.so.2(ALSA_0.9.0rc4) for package: 1:java-1.8.0-openjdk-1.8.0.25-4.b18.fc21.armv7hl
--> Processing Dependency: libasound.so.2(ALSA_0.9) for package: 1:java-1.8.0-openjdk-1.8.0.25-4.b18.fc21.armv7hl
--> Processing Dependency: libasound.so.2 for package: 1:java-1.8.0-openjdk-1.8.0.25-4.b18.fc21.armv7hl
--> Processing Dependency: libXtst.so.6 for package: 1:java-1.8.0-openjdk-1.8.0.25-4.b18.fc21.armv7hl
--> Processing Dependency: libXrender.so.1 for package: 1:java-1.8.0-openjdk-1.8.0.25-4.b18.fc21.armv7hl
--> Processing Dependency: libXi.so.6 for package: 1:java-1.8.0-openjdk-1.8.0.25-4.b18.fc21.armv7hl
--> Processing Dependency: libXext.so.6 for package: 1:java-1.8.0-openjdk-1.8.0.25-4.b18.fc21.armv7hl
--> Processing Dependency: fontconfig for package: 1:java-1.8.0-openjdk-1.8.0.25-4.b18.fc21.armv7hl
--> Running transaction check
---> Package alsa-lib.armv7hl 0:1.0.28-2.fc21 will be installed
---> Package fontconfig.armv7hl 0:2.11.1-5.fc21 will be installed
--> Processing Dependency: fontpackages-filesystem for package: fontconfig-2.11.1-5.fc21.armv7hl
--> Processing Dependency: font(:lang=en) for package: fontconfig-2.11.1-5.fc21.armv7hl
---> Package giflib.armv7hl 0:4.1.6-12.fc21 will be installed
--> Processing Dependency: libSM.so.6 for package: giflib-4.1.6-12.fc21.armv7hl
--> Processing Dependency: libICE.so.6 for package: giflib-4.1.6-12.fc21.armv7hl
---> Package libXext.armv7hl 0:1.3.3-2.fc21 will be installed
---> Package libXi.armv7hl 0:1.7.4-2.fc21 will be installed
---> Package libXrender.armv7hl 0:0.9.8-4.fc21 will be installed
---> Package libXtst.armv7hl 0:1.2.2-4.fc21 will be installed
---> Package xorg-x11-fonts-Type1.noarch 0:7.5-14.fc21 will be installed
--> Processing Dependency: ttmkfdir for package: xorg-x11-fonts-Type1-7.5-14.fc21.noarch
--> Processing Dependency: ttmkfdir for package: xorg-x11-fonts-Type1-7.5-14.fc21.noarch
--> Processing Dependency: mkfontdir for package: xorg-x11-fonts-Type1-7.5-14.fc21.noarch
--> Processing Dependency: mkfontdir for package: xorg-x11-fonts-Type1-7.5-14.fc21.noarch
--> Running transaction check
---> Package fontpackages-filesystem.noarch 0:1.44-10.fc21 will be installed
---> Package libICE.armv7hl 0:1.0.9-2.fc21 will be installed
---> Package libSM.armv7hl 0:1.2.2-2.fc21 will be installed
---> Package lyx-fonts.noarch 0:2.1.2-1.fc21 will be installed
---> Package ttmkfdir.armv7hl 0:3.0.9-44.fc21 will be installed
---> Package xorg-x11-font-utils.armv7hl 1:7.5-25.fc21 will be installed
--> Processing Dependency: libfontenc.so.1 for package: 1:xorg-x11-font-utils-7.5-25.fc21.armv7hl
--> Processing Dependency: libXfont.so.1 for package: 1:xorg-x11-font-utils-7.5-25.fc21.armv7hl
--> Running transaction check
---> Package libXfont.armv7hl 0:1.5.0-2.fc21 will be installed
---> Package libfontenc.armv7hl 0:1.1.2-3.fc21 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

================================================================================================================================================
 Package                                         Arch                         Version                         Repository                 Size
================================================================================================================================================
Installing:
 velocity                                        noarch                       1.7-14.fc21                     fedora                      417 k
Installing for dependencies:
 alsa-lib                                        armv7hl                      1.0.28-2.fc21                   fedora                      340 k
 ant                                             noarch                       1.9.4-3.fc21                    fedora                      2.0 M
 antlr-tool                                      noarch                       2.7.7-34.fc21                   fedora                      362 k
 apache-commons-codec                            noarch                       1.9-4.fc21                      fedora                      228 k
 apache-commons-collections                      noarch                       3.2.1-20.fc21                   fedora                      505 k
 apache-commons-lang                             noarch                       2.6-16.fc21                     fedora                      277 k
 bcel                                            noarch                       6.0-0.2.20140406svn1592769.fc21 fedora                      559 k
 bea-stax                                        noarch                       1.2.0-10.fc21                   fedora                      178 k
 bea-stax-api                                    noarch                       1.2.0-10.fc21                   fedora                       32 k
 cglib                                           noarch                       3.1-4.fc21                      fedora                      261 k
 dom4j                                           noarch                       1.6.1-22.fc21                   fedora                      285 k
 easymock                                        noarch                       3.2-3.fc21                      fedora                      124 k
 fontconfig                                      armv7hl                      2.11.1-5.fc21                   fedora                      221 k
 fontpackages-filesystem                         noarch                       1.44-10.fc21                    fedora                       10 k
 giflib                                          armv7hl                      4.1.6-12.fc21                   fedora                       42 k
 hamcrest                                        noarch                       1.3-8.fc21                      fedora                      129 k
 hsqldb                                          noarch                       1:2.3.1-7.fc21                  fedora                      1.5 M
 hsqldb1                                         noarch                       1.8.1.3-4.fc21                  fedora                      715 k
 isorelax                                        noarch                       1:0-0.16.release20050331.fc21   fedora                       76 k
 jakarta-oro                                     noarch                       2.0.8-16.fc21                   fedora                       82 k
 java-1.8.0-openjdk                              armv7hl                      1:1.8.0.25-4.b18.fc21           fedora                      190 k
 java-1.8.0-openjdk-devel                        armv7hl                      1:1.8.0.25-4.b18.fc21           fedora                      7.3 M
 jaxen                                           noarch                       1.1.6-4.fc21                    fedora                      204 k
 jdom                                            noarch                       1.1.3-7.fc21                    fedora                      176 k
 junit                                           noarch                       1:4.11-14.fc21                  fedora                      260 k
 libICE                                          armv7hl                      1.0.9-2.fc21                    fedora                       64 k
 libSM                                           armv7hl                      1.2.2-2.fc21                    fedora                       42 k
 libXext                                         armv7hl                      1.3.3-2.fc21                    fedora                       38 k
 libXfont                                        armv7hl                      1.5.0-2.fc21                    fedora                      141 k
 libXi                                           armv7hl                      1.7.4-2.fc21                    fedora                       40 k
 libXrender                                      armv7hl                      0.9.8-4.fc21                    fedora                       27 k
 libXtst                                         armv7hl                      1.2.2-4.fc21                    fedora                       23 k
 libfontenc                                      armv7hl                      1.1.2-3.fc21                    fedora                       33 k
 lyx-fonts                                       noarch                       2.1.2-1.fc21                    fedora                      170 k
 msv-msv                                         noarch                       1:2013.6.1-4.fc21               fedora                      626 k
 msv-xsdlib                                      noarch                       1:2013.6.1-4.fc21               fedora                      223 k
 objenesis                                       noarch                       1.2-16.fc21                     fedora                       64 k
 qdox                                            noarch                       1.12.1-10.fc21                  fedora                      170 k
 regexp                                          noarch                       1:1.5-18.fc21                   fedora                       51 k
 relaxngDatatype                                 noarch                       1.0-12.5.fc21                   fedora                       16 k
 tomcat-servlet-3.0-api                          noarch                       7.0.54-3.fc21                   fedora                      208 k
 ttmkfdir                                        armv7hl                      3.0.9-44.fc21                   fedora                       48 k
 ws-jaxme                                        noarch                       0.5.2-12.fc21                   fedora                      1.1 M
 xalan-j2                                        noarch                       2.7.1-23.fc21                   fedora                      1.9 M
 xerces-j2                                       noarch                       2.11.0-22.fc21                  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-25.fc21                   fedora                       83 k
 xorg-x11-fonts-Type1                            noarch                       7.5-14.fc21                     fedora                      522 k
 xpp2                                            noarch                       2.1.10-19.fc21                  fedora                      266 k
 xpp3                                            noarch                       1.1.4-3.c.fc21                  fedora                      325 k

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

Total download size: 24 M
Installed size: 57 M
Is this ok [y/d/N]:

Comment 1 Mikolaj Izdebski 2014-11-28 05:15:02 UTC
Fixed in velocity-1.7-16

Comment 2 Mikolaj Izdebski 2014-11-28 05:24:55 UTC
I believe that this bug is fixed in velocity-1.7-16,
which is available in Fedora Rawhide, so I am closing this bug now.

The build containing the fix can be found at Koji:
http://koji.fedoraproject.org/koji/buildinfo?buildID=596053

This bug was fixed in the next release of Fedora, and is not planned
to be fixed in the release it was filed against.  If you want this bug
to be fixed in Fedora 21, please say so in a comment.
Otherwise you can update to the newer release of Fedora to get the fix.

Comment 3 Peter Robinson 2014-11-28 10:16:20 UTC
Can we get this for F-21 too please?

Comment 4 Fedora Blocker Bugs Application 2014-11-28 17:22:57 UTC
Proposed as a Freeze Exception for 21-final by Fedora user pbrobinson using the blocker tracking app because:

 sgallagh requested FE to reduce size of Server iso

Comment 5 Fedora Update System 2014-11-28 18:20:53 UTC
velocity-1.7-16.fc21 has been submitted as an update for Fedora 21.
https://admin.fedoraproject.org/updates/velocity-1.7-16.fc21

Comment 6 Fedora Update System 2014-11-29 21:00:34 UTC
Package velocity-1.7-16.fc21:
* should fix your issue,
* was pushed to the Fedora 21 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing velocity-1.7-16.fc21'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2014-15965/velocity-1.7-16.fc21
then log in and leave karma (feedback).

Comment 7 lnie 2014-12-01 08:03:29 UTC
velocity-1.7-16.fc21 works

Comment 8 Stephen Gallagher 2014-12-01 14:47:59 UTC
I looked into the savings of this and BZ #1166607 and it turns out to only be a savings of about 37 MB. That's not worth breaking Freeze over, IMHO.

-1 Freeze Exception.

Comment 9 Mike Ruckman 2014-12-01 17:52:58 UTC
Discussed in 2014-12-01 blocker review meeting. Rejected as an FE: the benefit of this change is not worth the risk of taking it at this point.

Comment 10 Fedora Update System 2014-12-06 10:29:43 UTC
velocity-1.7-16.fc21 has been pushed to the Fedora 21 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.