Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[Solved] Problems with antlr - trying to emerge eclipse-sdk
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo on PPC
View previous topic :: View next topic  
Author Message
shivakjo
n00b
n00b


Joined: 03 Jul 2004
Posts: 40
Location: Dresden/Germany

PostPosted: Wed May 10, 2006 7:14 pm    Post subject: [Solved] Problems with antlr - trying to emerge eclipse-sdk Reply with quote

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
View user's profile Send private message
moop2000
n00b
n00b


Joined: 30 Apr 2004
Posts: 7
Location: Kensington, MD

PostPosted: Wed May 10, 2006 8:34 pm    Post subject: Reply with quote

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
View user's profile Send private message
shivakjo
n00b
n00b


Joined: 03 Jul 2004
Posts: 40
Location: Dresden/Germany

PostPosted: Wed May 10, 2006 10:03 pm    Post subject: Reply with quote

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
View user's profile Send private message
JoseJX
Retired Dev
Retired Dev


Joined: 28 Apr 2002
Posts: 2774

PostPosted: Wed May 10, 2006 10:17 pm    Post subject: Reply with quote

Please file a bug in the Gentoo bugzilla and the ppc team will take care of it.
_________________
Gentoo PPC FAQ: http://www.gentoo.org/doc/en/gentoo-ppc-faq.xml
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo on PPC All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum