Return-Path: X-Original-To: apmail-db-derby-dev-archive@www.apache.org Delivered-To: apmail-db-derby-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 18AF291A9 for ; Wed, 23 May 2012 11:52:48 +0000 (UTC) Received: (qmail 29711 invoked by uid 500); 23 May 2012 11:52:47 -0000 Delivered-To: apmail-db-derby-dev-archive@db.apache.org Received: (qmail 29426 invoked by uid 500); 23 May 2012 11:52:44 -0000 Mailing-List: contact derby-dev-help@db.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: Delivered-To: mailing list derby-dev@db.apache.org Received: (qmail 29370 invoked by uid 99); 23 May 2012 11:52:42 -0000 Received: from issues-vm.apache.org (HELO issues-vm) (140.211.11.160) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 23 May 2012 11:52:42 +0000 Received: from isssues-vm.apache.org (localhost [127.0.0.1]) by issues-vm (Postfix) with ESMTP id 59861141822 for ; Wed, 23 May 2012 11:52:42 +0000 (UTC) Date: Wed, 23 May 2012 11:52:42 +0000 (UTC) From: "Dag H. Wanvik (JIRA)" To: derby-dev@db.apache.org Message-ID: <282945034.11327.1337773962369.JavaMail.jiratomcat@issues-vm> In-Reply-To: <315013942.13613.1299858479715.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Commented] (DERBY-5125) Derby 10.7.1.1 : Build fails with javacc 5 (for Debian packaging) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/DERBY-5125?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13281538#comment-13281538 ] Dag H. Wanvik commented on DERBY-5125: -------------------------------------- Tests went ok, modulo a few errors, in which the new parser worked better: the old master to e.g. subquery2.out currently has this line: ij> -- invalid operator select * from s where s * ANY (select c from t); ERROR 42X01: Syntax error: Encountered "" at line 2, column 27. whereas the new output has: ERROR 42X01: Syntax error: Encountered "ANY" at line 2, column 27. So, an improvement, I'd say :) > Derby 10.7.1.1 : Build fails with javacc 5 (for Debian packaging) > ----------------------------------------------------------------- > > Key: DERBY-5125 > URL: https://issues.apache.org/jira/browse/DERBY-5125 > Project: Derby > Issue Type: Improvement > Components: Build tools > Affects Versions: 10.7.1.1 > Environment: Debian Linux Linux inf-7590.int-evry.fr 2.6.32-5-amd64 #1 SMP Wed Jan 12 03:40:32 UTC 2011 x86_64 GNU/Linux > java -version (also tested with sun jvm) > java version "1.6.0_18" > OpenJDK Runtime Environment (IcedTea6 1.8.7) (6b18-1.8.7-2) > OpenJDK 64-Bit Server VM (build 16.0-b13, mixed mode) > ant -version > Apache Ant version 1.8.0 compiled on March 11 2010 > Reporter: Zied ABID > Labels: build, libtool > Fix For: 10.7.1.1, 10.7.1.4, 10.8.2.2, 11.0.0.0 > > Attachments: ParseGen.diff, d5125-javacc5-and-tests.diff, derby-5125-parseException.diff, derby-5125-sqlParser.diff, javacc5.diff > > > I try to and Apache derby into Debian, so I begin to compile derby > sources [1], derby sources provide each own libs and javacc is one of > them. In Debian, javacc version is 5.0 [2]. > After some tries, I'm in a this situation : compilation success with the > official [3] javacc 4.0 and fail with the 5.0 official one. > I think that is related with javacc options passed in .jj files > (ex. java/engine/org/apache/derby/impl/sql/compile/sqlgrammar.jj lines 2-14) > I don't know much about javacc, so I can't resolve unless modifying > options blindly and I'm afraid that isn't enough ... > Best regards, > Zied > [1] http://svn.apache.org/repos/asf/db/derby/code/tags/10.7.1.1/ > [2] http://packages.debian.org/squeeze/javacc > [3] http://java.net/projects/javacc/downloads -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira