Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Emerge Error after "emerge eclipse-cdt"
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
sk8ertux
n00b
n00b


Joined: 19 Sep 2003
Posts: 12
Location: Korea

PostPosted: Sun Oct 10, 2004 7:44 am    Post subject: Emerge Error after "emerge eclipse-cdt" Reply with quote

While running "emerge sync" emerge was quit with following error:

Code:
     [exec] /usr/lib/eclipse-3/plugins/org.eclipse.ui.console_3.0.0/icons/full:
     [exec] /usr/lib/eclipse-3/plugins/org.eclipse.ui.console_3.0.0/icons/full/cview16:
     [exec] /usr/lib/eclipse-3/plugins/org.eclipse.ui.console_3.0.0/icons/full/eview16:
     [exec] /usr/lib/eclipse-3/plugins/org.eclipse.ui.console_3.0.0/icons/full/clcl16:
     [exec] /usr/lib/eclipse-3/plugins/org.eclipse.ui.console_3.0.0/icons/full/dlcl16:
     [exec] /usr/lib/eclipse-3/plugins/org.eclipse.ui.console_3.0.0/icons/full/elcl16:

zips:

BUILD FAILED
/var/tmp/portage/eclipse-cdt-2.0-r2/work/eclipse-cdt-2.0/build.xml:59: Basedir /var/tmp/portage/eclipse-cdt-2.0-r2/work/eclipse-cdt-2.0/results/eclipse-copy/plugins/org.eclipse.pde.build_3.0.0/scripts does not exist

Total time: 2 seconds

!!! ERROR: dev-util/eclipse-cdt-2.0-r2 failed.
!!! Function src_compile, Line 57, Exitcode 0
!!! Compilation of final SDK zip failed
!!! If you need support, post the topmost build error, NOT this status message.


Is there anybody solved this problem??
_________________
Hello~~ ^^*
Back to top
View user's profile Send private message
emilerl
n00b
n00b


Joined: 05 May 2004
Posts: 6

PostPosted: Tue Oct 12, 2004 1:32 pm    Post subject: Reply with quote

I have the same problem. Did you find any solution?
Back to top
View user's profile Send private message
sk8ertux
n00b
n00b


Joined: 19 Sep 2003
Posts: 12
Location: Korea

PostPosted: Tue Oct 12, 2004 2:04 pm    Post subject: Reply with quote

Not yet... help me anybody know the solution!!! Plz!!
_________________
Hello~~ ^^*
Back to top
View user's profile Send private message
Apexman
Tux's lil' helper
Tux's lil' helper


Joined: 07 Apr 2004
Posts: 141

PostPosted: Tue Oct 12, 2004 10:03 pm    Post subject: Reply with quote

I had same problem while emerging eclipse-cdt after eclipse-sdk-3.0.1
Code:

# cd /usr/lib/eclipse-3/plugins/
# ln -s org.eclipse.pde.build_3.0.1 org.eclipse.pde.build_3.0.0

Maybe it's not a best solution, but... :)
Back to top
View user's profile Send private message
sk8ertux
n00b
n00b


Joined: 19 Sep 2003
Posts: 12
Location: Korea

PostPosted: Tue Oct 12, 2004 11:20 pm    Post subject: Reply with quote

wow~ it works fine.
Thank you~!
_________________
Hello~~ ^^*
Back to top
View user's profile Send private message
nahpets
Veteran
Veteran


Joined: 05 Oct 2003
Posts: 1178
Location: Montreal, Canada

PostPosted: Wed Oct 13, 2004 9:52 pm    Post subject: Reply with quote

Is there no real fix yet? I looked in build.xml and it seems that only one line needs to be changed to reflect the current version of "org.eclipse.pde.build".
Back to top
View user's profile Send private message
eros
n00b
n00b


Joined: 13 Mar 2004
Posts: 34

PostPosted: Fri Oct 15, 2004 12:33 am    Post subject: Reply with quote

Same problem here.

Any tips?
_________________
w00t
Back to top
View user's profile Send private message
nahpets
Veteran
Veteran


Joined: 05 Oct 2003
Posts: 1178
Location: Montreal, Canada

PostPosted: Fri Oct 15, 2004 3:39 am    Post subject: Reply with quote

eros wrote:
Same problem here.

Any tips?


The fix posted above works fine. It's just not ideal to go making symlinks to fix things...
Back to top
View user's profile Send private message
The_Fallen
n00b
n00b


Joined: 11 Sep 2004
Posts: 64
Location: Göttingen DE

PostPosted: Sat Nov 06, 2004 9:03 pm    Post subject: Reply with quote

I still can't emerge eclipse-cdt and the fix above doesn't work, too... Anybody got this working?
Back to top
View user's profile Send private message
unlocked
n00b
n00b


Joined: 24 Oct 2004
Posts: 53
Location: Austin, Tx.

PostPosted: Sun Nov 07, 2004 11:50 pm    Post subject: Reply with quote

After I unmasked and keyworded in /etc/portage. I edited my eclipse-cdt-2.0-r2.ebuild as follows

KEYWORDS="~x86 ~amd64"

and put this at the end of src_unpack function.

sed -i.orig -r -e 's/org.eclipse.pde.build_3.0.0/org.eclipse.pde.build_3.0.1/g' build.xml


emerge =eclipse-cdt-2.0-r2

>>> dev-util/eclipse-cdt-2.0-r2 merged.

and it shows up in the eclipse-sdk-3.0.1-linux-amd64.zip (eclipse) binary, plugins and projects.

the eclipse-gtk one I built segfaults

Man all this java 1.5 mess is a pain to build and edit and replace the build.xml contents via the ebuilds with sed and or awk to use -source 1.4 or change target or drop target and change to -source. :cry:
_________________
abit av8 (939), 3000+, 1gig ram, ti4400, dc10+, 120gig sata, audigy2.
Back to top
View user's profile Send private message
jasm
Tux's lil' helper
Tux's lil' helper


Joined: 10 Sep 2003
Posts: 80
Location: Belgium

PostPosted: Mon Nov 15, 2004 9:55 pm    Post subject: Reply with quote

Bottom line, it doesn't work for me either :cry:

This is my story so far:
I wanted to emerge the latest and greatest eclipse-cdt ebuild. Because it is masked, I added it to /etc/portage/package.keywords. After running in this circle for a little while, following packages where added to that file, thanks to the hints coming from emerge:
Code:
dev-util/eclipse-cdt ~x86
dev-util/eclipse-sdk ~x86
dev-java/blackdown-jdk ~x86
dev-java/java-config

Everything went just fine, until the eclipse-cdt build started. It failed in exactly the same way as described at the start of this thread. Following the suggestions given above (the symlink, patching the ebuild, applying the patch from the bug-report), the only change is the location where the build fails: cdtui.jar. The error I'm getting is
Code:
cdtui.jar:
    [mkdir] Created dir: /var/tmp/portage/eclipse-cdt-2.0-r2/work/eclipse-cdt-2.0/results/plugins/org.eclipse.cdt.ui/temp.folder/cdtui.jar.bin
    [javac] Compiling 632 source files to /var/tmp/portage/eclipse-cdt-2.0-r2/work/eclipse-cdt-2.0/results/plugins/org.eclipse.cdt.ui/temp.folder/cdtui.jar.bin
    [javac] ----------
    [javac] 1. ERROR in /var/tmp/portage/eclipse-cdt-2.0-r2/work/eclipse-cdt-2.0/results/plugins/org.eclipse.cdt.ui/src/org/eclipse/cdt/internal/ui/cview/CViewDropAdapter.java (at line 49)
    [javac]     class CViewDropAdapter extends PluginDropAdapter implements IOverwriteQuery {
    [javac]                                    ^^^^^^^^^^^^^^^^^
    [javac] The type org.eclipse.swt.dnd.DropTargetAdapter cannot be resolved. It is indirectly referenced from required .class files
    [javac] ----------
    [javac] 1 problem (1 error)

BUILD FAILED
/var/tmp/portage/eclipse-cdt-2.0-r2/work/eclipse-cdt-2.0/build.xml:59: The following error occurredwhile executing this line:
/var/tmp/portage/eclipse-cdt-2.0-r2/work/eclipse-cdt-2.0/results/eclipse-copy/plugins/org.eclipse.pde.build_3.0.1/scripts/build.xml:23: The following error occurred while executing this line:
/var/tmp/portage/eclipse-cdt-2.0-r2/work/eclipse-cdt-2.0/results/eclipse-copy/plugins/org.eclipse.pde.build_3.0.1/scripts/build.xml:75: The following error occurred while executing this line:
/var/tmp/portage/eclipse-cdt-2.0-r2/work/eclipse-cdt-2.0/platform/customTargets.xml:19: The following error occurred while executing this line:
/var/tmp/portage/eclipse-cdt-2.0-r2/work/eclipse-cdt-2.0/results/eclipse-copy/plugins/org.eclipse.pde.build_3.0.1/scripts/genericTargets.xml:69: The following error occurred while executing this line:
/var/tmp/portage/eclipse-cdt-2.0-r2/work/eclipse-cdt-2.0/results/features/org.eclipse.cdt/build.xml:80: The following error occurred while executing this line:
/var/tmp/portage/eclipse-cdt-2.0-r2/work/eclipse-cdt-2.0/results/features/org.eclipse.cdt/build.xml:42: The following error occurred while executing this line:
/var/tmp/portage/eclipse-cdt-2.0-r2/work/eclipse-cdt-2.0/results/plugins/org.eclipse.cdt.ui/build.xml:128: The following error occurred while executing this line:
/var/tmp/portage/eclipse-cdt-2.0-r2/work/eclipse-cdt-2.0/results/plugins/org.eclipse.cdt.ui/build.xml:48: Compile failed; see the compiler error output for details.

Total time: 28 seconds

!!! ERROR: dev-util/eclipse-cdt-2.0-r2 failed.
!!! Function src_compile, Line 66, Exitcode 0
!!! Compilation of final SDK zip failed
!!! If you need support, post the topmost build error, NOT this status message.

What I can read for myself is that the build can't find some PluginDropAdapter class. But I wouldn't know where to find it myself either ...

Something else I did along the way was to change my default Java VM (to the newly emerged blackdown-jdk-1.4.2). To avoid other ghosts, I re-emerged the eclipse-sdk as well, just to make sure that the use of different VMs didn't create the problem in the first place.

Since all of this didn't resolve my quest in getting eclipse-cdt, does anyone else has a suggestion I should try?

Thanks,
Jan
Back to top
View user's profile Send private message
inspiron
Guru
Guru


Joined: 08 Nov 2004
Posts: 559

PostPosted: Tue Nov 16, 2004 7:23 am    Post subject: Reply with quote

i have the same problem...
anyone can help me?
Back to top
View user's profile Send private message
inspiron
Guru
Guru


Joined: 08 Nov 2004
Posts: 559

PostPosted: Wed Nov 17, 2004 10:44 am    Post subject: Reply with quote

anyone can help us?
Back to top
View user's profile Send private message
jasm
Tux's lil' helper
Tux's lil' helper


Joined: 10 Sep 2003
Posts: 80
Location: Belgium

PostPosted: Fri Nov 19, 2004 6:10 am    Post subject: Reply with quote

I got it solved for my setup!! 8)

I did some testing with the standard eclipse-3 environment (eclipse-sdk ebuild) and found out I didn't like the looks of it. I also realized that eclipse-sdk has a gtk USE-flag which wasn't set for my machine. So, after adding gtk to my USE flags and doing an emerge --newuse, I ended up with a smooth looking eclipse-3. The emerge rebuilt my JVM (blackdown-1.4.2) and eclipse-sdk, amongst a whole bunch of other things.
After realizing that a "PluginDropAdapter" which it was complaining about might have something to do with a windowing library, I gave eclipse-cdt another go. The ebuild still required patching (I used the sed command from unlocked above) and guess what, It all worked like a charm.

These are the details on my exact setup:
Code:
dev-java/blackdown-jdk-1.4.2  +doc -mozilla
dev-util/eclipse-sdk-3.0.1-r2  -gnome +gtk +kde +motif -mozilla
dev-util/eclipse-cdt-2.0-r2
Back to top
View user's profile Send private message
theturtle123
l33t
l33t


Joined: 19 Sep 2003
Posts: 621
Location: Lille, France

PostPosted: Fri Nov 19, 2004 9:43 am    Post subject: Reply with quote

it worked like a charm for me :wink:
thanks a lot for the ebuild fix !
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming 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