View previous topic :: View next topic |
Author |
Message |
shivakjo n00b
Joined: 03 Jul 2004 Posts: 40 Location: Dresden/Germany
|
Posted: Wed May 10, 2006 7:14 pm Post subject: [Solved] Problems with antlr - trying to emerge eclipse-sdk |
|
|
I am trying to emerge eclipse-sdk. It has antlr as a dependency. But this gives some errors. :/
It is antlr-2.7.3. Newer versions are in portage but dont have ppc or ~ppc as keyword (perhaps this is the error/problem?)
Installed jdk is ibm-jdk-bin 1.42r4.
Code: |
=============================
Making antlr ...
=============================
make[1]: Entering directory `/var/tmp/portage/antlr-2.7.3/work/antlr-2.7.3/antlr
'
Makefile:77: warning: overriding commands for target `install'
/var/tmp/portage/antlr-2.7.3/work/antlr-2.7.3/scripts/Rules.make:377: warning: i
gnoring old commands for target `install'
java -cp "/var/tmp/portage/antlr-2.7.3/work/antlr-2.7.3/antlr.jar" antlr.Tool
antlr.g
ANTLR Parser Generator Version 2.7.3 1989-2004 jGuru.com
java -cp "/var/tmp/portage/antlr-2.7.3/work/antlr-2.7.3/antlr.jar" antlr.Tool
tokdef.g
ANTLR Parser Generator Version 2.7.3 1989-2004 jGuru.com
tokdef.g:175:36: warning:lexical nondeterminism between alts 1 and 2 of block up
on
tokdef.g:175:36: k==1:'0'..'9'
tokdef.g:175:36: k==2:'\u0003'..'\u00ff'
tokdef.g:175:44: warning:lexical nondeterminism between alts 1 and 2 of block up
on
tokdef.g:175:44: k==1:'0'..'9'
tokdef.g:175:44: k==2:'\u0003'..'\u00ff'
tokdef.g:176:36: warning:lexical nondeterminism between alts 1 and 2 of block up
on
tokdef.g:176:36: k==1:'0'..'9'
tokdef.g:176:36: k==2:'\u0003'..'\u00ff'
/bin/sh: -c: line 1: syntax error near unexpected token `doecho'
/bin/sh: -c: line 1: `echo ">>>>>>>>>>>>>>>>>>> $i";\'
make[1]: *** [sub_dirs] Error 2
make[1]: Leaving directory `/var/tmp/portage/antlr-2.7.3/work/antlr-2.7.3/antlr'
make: *** [subdirs] Error 2
!!! ERROR: dev-java/antlr-2.7.3 failed.
Call stack:
ebuild.sh, line 1525: Called dyn_compile
ebuild.sh, line 928: Called src_compile
antlr-2.7.3.ebuild, line 20: Called die
!!! (no error message)
|
Last edited by shivakjo on Wed May 10, 2006 10:12 pm; edited 1 time in total |
|
Back to top |
|
|
moop2000 n00b
Joined: 30 Apr 2004 Posts: 7 Location: Kensington, MD
|
Posted: Wed May 10, 2006 8:34 pm Post subject: |
|
|
I am having the same trouble, and nothing I do seems to fix it. I have noticed that everytime I run revdep-rebuild, it wants to rebuild ibm-jdk-bin due to a linking error, but it never seems to fix the error. I will post the error later when I am back at that machine. |
|
Back to top |
|
|
shivakjo n00b
Joined: 03 Jul 2004 Posts: 40 Location: Dresden/Germany
|
Posted: Wed May 10, 2006 10:03 pm Post subject: |
|
|
I added ~ppc to the keywords of the current antlr version (2.7.5-r2), emerged it with --digest and it worked perfect.
So it seems that this is a bug in 2.7.3, but still don't know why keyword ~ppc isn't there in the newer versions. Maybe i should inform the ebuild-developer. |
|
Back to top |
|
|
JoseJX Retired Dev
Joined: 28 Apr 2002 Posts: 2774
|
|
Back to top |
|
|
|