Date: Fri, 9 Apr 2004 08:48:00 +0200 From: Herve Quiroz <herve.quiroz@esil.univ-mrs.fr> To: java@FreeBSD.org Subject: Re: [ports-i386@bento.FreeBSD.org: jakarta-commons-dbcp-1.1 failed on i386 4] Message-ID: <20040409064800.GB43513@arabica.esil.univ-mrs.fr> In-Reply-To: <20040409005035.GY42056@xor.obsecurity.org> References: <20040409005035.GY42056@xor.obsecurity.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Apr 08, 2004 at 05:50:35PM -0700, Kris Kennaway wrote: > FYI > > ----- Forwarded message from User Ports-i386 <ports-i386@bento.FreeBSD.org> ----- > > X-Original-To: kkenn@localhost > Delivered-To: kkenn@localhost.obsecurity.org > Delivered-To: kris@freebsd.org > Date: Thu, 8 Apr 2004 15:18:12 -0700 (PDT) > From: User Ports-i386 <ports-i386@bento.FreeBSD.org> > To: kris@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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040409064800.GB43513>