Your message dated Wed, 11 May 2005 20:03:08 +0100 with message-id <[EMAIL PROTECTED]> and subject line removed has caused the attached Bug report to be marked as done.
This means that you claim that the problem has been dealt with. If this is not the case it is now your responsibility to reopen the Bug report if necessary, and/or fix the problem forthwith. (NB: If you are a system administrator and have no idea what I am talking about this indicates a serious mail system misconfiguration somewhere. Please contact me immediately.) Debian bug tracking system administrator (administrator, Debian Bugs database) -------------------------------------- Received: (at submit) by bugs.debian.org; 28 Apr 2005 07:36:29 +0000 >From [EMAIL PROTECTED] Thu Apr 28 00:36:29 2005 Return-path: <[EMAIL PROTECTED]> Received: from c156142.adsl.hansenet.de (localhost.localdomain) [213.39.156.142] by spohr.debian.org with esmtp (Exim 3.35 1 (Debian)) id 1DR3ZU-00084h-00; Thu, 28 Apr 2005 00:36:28 -0700 Received: from aj by localhost.localdomain with local (Exim 4.50) id 1DR3ZU-0001Mr-EZ; Thu, 28 Apr 2005 09:36:28 +0200 To: Debian Bug Tracking System <[EMAIL PROTECTED]> From: Andreas Jochens <[EMAIL PROTECTED]> Subject: jakarta-log4j: FTBFS: 'enum' is a keyword, and may not be used as an identifier Message-Id: <[EMAIL PROTECTED]> Date: Thu, 28 Apr 2005 09:36:28 +0200 Delivered-To: [EMAIL PROTECTED] X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 (1.212-2003-09-23-exp) on spohr.debian.org X-Spam-Status: No, hits=-8.0 required=4.0 tests=BAYES_00,HAS_PACKAGE autolearn=no version=2.60-bugs.debian.org_2005_01_02 X-Spam-Level: Package: jakarta-log4j Version: 1.1.3-6 Severity: serious Tags: patch When trying to build 'jakarta-log4j' in a clean chroot with sun-j2sdk1.5 installed, I get the following error: [javac] /jakarta-log4j-1.1.3/src/java/org/apache/log4j/test/Finalize.java:76: as of release 1.5, 'enum' is a keyword, and may not be used as an identifier [javac] (try -source 1.4 or lower to use 'enum' as an identifier) [javac] ((org.apache.log4j.Appender) enum.nextElement()).close(); [javac] ^ [javac] 15 errors BUILD FAILED Please change the Build-Depends in debian/control from 'java2-compiler', which includes 'sun-j2sdk1.5', to 'j2sdk1.4' to make it clear that the package does not build with j2sdk1.5. Alternatively, the sources could be fixed to replace all uses of 'enum' as an identifier with something else like 'en'. Please also change debian/rules to support the correct JAVA_HOME_DIRS which are used by the packages created with make-jpkg from java-package. Regards Andreas Jochens diff -urN ../tmp-orig/jakarta-log4j-1.1.3/debian/control ./debian/control --- ../tmp-orig/jakarta-log4j-1.1.3/debian/control 2005-04-28 09:25:25.878644990 +0200 +++ ./debian/control 2005-04-28 09:25:06.379609294 +0200 @@ -2,7 +2,7 @@ Section: contrib/libs Priority: optional Maintainer: Debian QA Group <[EMAIL PROTECTED]> -Build-Depends-Indep: debhelper (>> 4.0.0), java2-compiler, libxerces-java +Build-Depends-Indep: debhelper, j2sdk1.4, libxerces-java Standards-Version: 3.5.10 Package: liblog4j-java diff -urN ../tmp-orig/jakarta-log4j-1.1.3/debian/rules ./debian/rules --- ../tmp-orig/jakarta-log4j-1.1.3/debian/rules 2005-04-28 09:25:25.879644838 +0200 +++ ./debian/rules 2005-04-28 09:21:07.951855822 +0200 @@ -11,9 +11,8 @@ export VER=1.1.3 -#export JAVA_HOME=/usr/lib/jdk1.1 -export JAVA_HOME=/usr/lib/j2se/1.3/ -#export JAVA_HOME=/usr/lib/j2se/1.4 +JAVA_HOME_DIRS=/usr/lib/j2sdk1.5-sun /usr/lib/j2sdk1.4-sun /usr/lib/j2sdk1.4-ibm /usr/lib/j2sdk1.4-blackdown +export JAVA_HOME ?= $(shell for j in $(JAVA_HOME_DIRS); do [ -d "$$j" ] && echo $$j && exit 0; done) export JSHARE=/usr/share/java export BUILDFILE=build/build.xml @@ -26,7 +25,7 @@ #export CLASSPATH=$(JAVA_HOME)/lib/tools.jar:$(ANT_JAR):$(PARSER_JAR) export CLASSPATH=$(JAVA_HOME)/lib/tools.jar:$(ANT_JAR):$(PARSER_JAR) -export BUILD=/usr/bin/java -classpath $(CLASSPATH) \ +export BUILD=$(JAVA_HOME)/bin/java -classpath $(CLASSPATH) \ org.apache.tools.ant.Main -buildfile $(BUILDFILE) export JDEST=debian/liblog4j-java/usr/share/java --------------------------------------- Received: (at 306739-done) by bugs.debian.org; 11 May 2005 19:03:19 +0000 >From [EMAIL PROTECTED] Wed May 11 12:03:19 2005 Return-path: <[EMAIL PROTECTED]> Received: from sorrow.cyrius.com [65.19.161.204] by spohr.debian.org with esmtp (Exim 3.35 1 (Debian)) id 1DVwUJ-0000vf-00; Wed, 11 May 2005 12:03:19 -0700 Received: by sorrow.cyrius.com (Postfix, from userid 10) id 6E8AF64D4F; Wed, 11 May 2005 19:03:17 +0000 (UTC) Received: by deprecation.cyrius.com (Postfix, from userid 1000) id 05D924F0C1; Wed, 11 May 2005 20:03:09 +0100 (BST) Date: Wed, 11 May 2005 20:03:08 +0100 From: Martin Michlmayr <[EMAIL PROTECTED]> To: [EMAIL PROTECTED] Subject: removed Message-ID: <[EMAIL PROTECTED]> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.9i Delivered-To: [EMAIL PROTECTED] X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 (1.212-2003-09-23-exp) on spohr.debian.org X-Spam-Status: No, hits=-2.0 required=4.0 tests=BAYES_00,ONEWORD autolearn=no version=2.60-bugs.debian.org_2005_01_02 X-Spam-Level: removed: RoQA; RC bug, obsoleted by jakarta-log4j1.2 -- Martin Michlmayr http://www.cyrius.com/ -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]