Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 544810

Summary: dev-java/commons-dbcp-2.1 requires >=virtual/jdk-1.7
Product: Gentoo Linux Reporter: William L. Thomson Jr. <wlt-ml>
Component: [OLD] JavaAssignee: Java team <java>
Status: RESOLVED FIXED    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: build output log

Description William L. Thomson Jr. 2015-03-28 21:06:44 UTC
Created attachment 399980 [details]
build output log

This package requires source 1.7, I would just increase deps to >=virtual/jdk-1.7.
Comment 1 Patrice Clement gentoo-dev 2015-03-29 00:53:58 UTC
Package compiles fine and all tests pass.

BUILD SUCCESSFUL
Total time: 8 seconds
>>> Source compiled.

BUILD SUCCESSFUL
Total time: 1 minute 40 seconds
>>> Completed testing dev-java/commons-dbcp-2.1

My patch:
Index: commons-dbcp-2.1.ebuild
===================================================================
RCS file: /var/cvsroot/gentoo-x86/dev-java/commons-dbcp/commons-dbcp-2.1.ebuild,v
retrieving revision 1.3
diff -r1.3 commons-dbcp-2.1.ebuild
29c29
<       >=virtual/jdk-1.6
---
>       >=virtual/jdk-1.7
32c32
<       >=virtual/jdk-1.6
---
>       >=virtual/jdk-1.7
62d61
< 

Commit:
+  29 Mar 2015; Patrice Clement <monsieurp@gentoo.org> commons-dbcp-2.1.ebuild:
+  Augment required JDK to 1.7. Fix bug 544810.
+