[ports-i386@bento.FreeBSD.org: jakarta-commons-dbcp-1.1 failed on i386 4]

Herve Quiroz herve.quiroz at esil.univ-mrs.fr
Thu Apr 8 23:48:01 PDT 2004


On Thu, Apr 08, 2004 at 05:50:35PM -0700, Kris Kennaway wrote:
> FYI
> 
> ----- Forwarded message from User Ports-i386 <ports-i386 at bento.FreeBSD.org> -----
> 
> X-Original-To: kkenn at localhost
> Delivered-To: kkenn at localhost.obsecurity.org
> Delivered-To: kris at freebsd.org
> Date: Thu, 8 Apr 2004 15:18:12 -0700 (PDT)
> From: User Ports-i386 <ports-i386 at bento.FreeBSD.org>
> To: kris at FreeBSD.org
> Subject: jakarta-commons-dbcp-1.1 failed on i386 4
> X-UIDL: ~#b"!e8H"!4Rn"!\Ii!!
> X-Bogosity: No, tests=bogofilter, spamicity=0.000000, version=0.16.4
>
>  [...]
>
> ===>   jakarta-commons-dbcp-1.1 depends on file: /usr/local/bin/ant - found
> ===>   jakarta-commons-dbcp-1.1 depends on file: /usr/local/share/java/classes/commons-pool.jar - found
> ===>   jakarta-commons-dbcp-1.1 depends on file: /usr/local/diablo-jdk1.3.1/bin/java - found

So the port is built with JDK 1.3...

>
> [...]
>
> compile:
>     [mkdir] Created dir: /tmp/a/ports/java/jakarta-commons-dbcp/work/commons-dbcp-1.1/build/classes
>     [javac] Compiling 39 source files to /tmp/a/ports/java/jakarta-commons-dbcp/work/commons-dbcp-1.1/build/classes
>     [javac] /tmp/a/ports/java/jakarta-commons-dbcp/work/commons-dbcp-1.1/build/src/java/org/apache/commons/dbcp/BasicDataSource.java:70: cannot resolve symbol
>     [javac] symbol  : class DataSource  
>     [javac] location: package sql
>     [javac] import javax.sql.DataSource;
>     [javac]                  ^

..and javax.sql.* is a new feature from JDK 1.4

Which advocates (again) for binary Java ports. ;)

Anyway, I can send a fix for that if you want but we have two options
here:

- Update Makefile to enforce the use of JDK 1.4 (JAVA_VERSION=1.4+)
  which is bad as JDK 1.2/1.3 users should be able to use it anyway.
- Switch to a binary port (NO_BUILD=yes) which is bad for many ethic
  reasons (debated in many occasions by many people).

Up to the maintainer...

Herve


More information about the freebsd-java mailing list