db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rick Hillegas (JIRA)" <j...@apache.org>
Subject [jira] Commented: (DERBY-5125) Derby 10.7.1.1 : Build fails with javacc 5 (for Debian packaging)
Date Fri, 11 Mar 2011 16:13:59 GMT

    [ https://issues.apache.org/jira/browse/DERBY-5125?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13005697#comment-13005697
] 

Rick Hillegas commented on DERBY-5125:
--------------------------------------

Hi Zied,

I'm a little unclear on what the problem is, so please bear with me. The Derby build is supposed
to use the version of javacc which is checked into the Derby source. In this case, that javacc
jar file can be found here: http://svn.apache.org/repos/asf/db/derby/code/tags/10.7.1.1/tools/java/
The build expects to use javacc 4.0 and it is not suprising that you see problems when you
use a higher rev of javacc.

I believe that Ubuntu ships with the src distribution of Derby. That contains all of the bits
(including javacc 4.0) needed to build Derby from scratch.

Would like to help you but am not clear what improvement you are asking for. Am not clear
on why you can't build Derby from the source distribution as Ubuntu does. Thanks for your
patience in answering my questions.

> 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: SQL
>    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
>            Priority: Blocker
>              Labels: build, libtool
>             Fix For: 10.7.1.1, 10.7.1.3, 10.8.0.0, 11.0.0.0
>
>
> 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.
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message