Summary: | dev-java/commons-dbcp-1.2.2 and www-servers/tomcat-6.0.14-r1 circular dependency with FEATURES="test" | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Vlastimil Babka (Caster) (RETIRED) <caster> |
Component: | [OLD] Java | Assignee: | Java team <java> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | tecnic5 |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 322979 |
Description
Vlastimil Babka (Caster) (RETIRED)
2008-01-10 20:37:07 UTC
I question it as well, and I use commons-dbcp in Tomcat :) So does tomcat, they renamed that sucker to tomcat-dbcp.jar/naming-factory-dbcp.jar. Been a problem for me for a while in bug 205245. Looking at upstream home page, it says "Applications can use the commons-dbcp component directly or through the existing interface of their container / supporting framework." So I guess the tests are testing the container interface or etc? I figured it could be used directly and not require a container. Guess absolute worse case I could see about packaging catalina.jar on it's own. But would hope to avoid that. Hi all, I had a problem which seems to be related with this topic. I keep tomcat-6.x masked since we (the company I work for) are forced to stick on tomcat-5.5.x; plus, I have test feature enabled in Portage, which altogether makes commons-dbcp won't have all its dependencies satisfied (test flag -> tomcat:6). My workaround has been disabling test on commons-dbcp, but I wonder if there's any way to make commons-dbcp tests work with tomcat-5.5 or to make Portage workarounds this issue by itself. In fact, I think a new bug should be reported, since test FEATURE can be disabled for a particular call of emerge, but not permanently for a particular package (there's no package.feature). I'll open a bug and associate it with this one. Hm, common sense tells me that the test that needs tomcat6 is testing only functionality when commons-dbcp is used in tomcat6, which is not always the case. So, it could simply drop the dependency, use has_version check and if tomcat6 is not there, patch the test out and spit an ewarn. commons-dbcp-1.4-r2, for which a stable request was filed, no longer depends on tomcat for it's tests. Closing here. |