Bug#644595: eclipse: Eclipse 3.7 fails to (locally) install plugins

Antony Gelberg antony.gelberg at gmail.com
Fri Oct 7 23:48:27 UTC 2011


Package: eclipse
Version: 3.7~exp-5
Followup-For: Bug #644595

I see this as well with the package from experimental.  I only installed it as
I couldn't build the version in unstable (3.5.2) successfully on my system.
At this point I don't see how I can run eclipse.

I'm happy to assist in any way possible, if somebody tells me how to debug this
further.

Note: I have the solution - skip to the bottom if you're short on time.  ;)

I get a log like this:
• [labrie:~] antony $ cat .eclipse/org.eclipse.platform_3.7.0_155965261/configuration/1318030155582.log 
!SESSION 2011-10-08 01:29:15.500 -----------------------------------------------
eclipse.buildId=I20110613-1736
java.version=1.6.0_23
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=linux, ARCH=x86, WS=gtk, NL=en_GB
Command-line arguments:  -os linux -ws gtk -arch x86 -clean -initialize

!ENTRY org.eclipse.equinox.p2.engine 4 4 2011-10-08 01:29:20.173
!MESSAGE An error occurred while installing the items
!SUBENTRY 1 org.eclipse.equinox.p2.engine 4 0 2011-10-08 01:29:20.173
!MESSAGE session context was:(profile=PlatformProfile, phase=org.eclipse.equinox.internal.p2.engine.phases.Install, operand=null --> [R]org.apache.jasper 5.5.26, action=org.eclipse.equinox.internal.p2.touchpoint.eclipse.actions.InstallBundleAction).
!SUBENTRY 1 org.eclipse.equinox.p2.touchpoint.eclipse 4 0 2011-10-08 01:29:20.173
!MESSAGE The artifact file for osgi.bundle,org.apache.jasper,5.5.26 was not found.

I didn't know what this meant:
• [labrie:~] antony $ locate apache.jasper
/usr/lib/eclipse/plugins/org.apache.jasper_5.5.26.jar
• [labrie:~] antony $ dpkg -S /usr/lib/eclipse/plugins/org.apache.jasper_5.5.26.jar
eclipse-platform: /usr/lib/eclipse/plugins/org.apache.jasper_5.5.26.jar
• [labrie:~] antony $ ls -l /usr/lib/eclipse/plugins/org.apache.jasper_5.5.26.jar
lrwxrwxrwx 1 root root 37 Aug 26 05:29 /usr/lib/eclipse/plugins/org.apache.jasper_5.5.26.jar -> ../../../share/java/jasper-5.5.26.jar
• [labrie:~] antony $ ls /usr/share/java/jasper-5*
/usr/share/java/jasper-5.5.33.jar  /usr/share/java/jasper-5.5.jar

Luckily I noticed that libjasper-java_5.5.26-5_all.deb is in current stable.
labrie:~# dpkg -i libjasper-java_5.5.26-5_all.deb 
dpkg: warning: downgrading libjasper-java from 5.5.33-1 to 5.5.26-5.

At this point eclipse started and I could install the Android ADT Plugin so I'm
pretty chuffed.  It looks like bumping the apache.jasper symlink in 
eclipse-platform should do the trick, but I'm quite naive on this stuff so I'll
leave the maintainer to decide waht the best way forward is.  :)


-- System Information:
Debian Release: wheezy/sid
  APT prefers testing
  APT policy: (500, 'testing'), (1, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 3.0.0-1-686-pae (SMP w/2 CPU cores)
Locale: LANG=en_GB.utf8, LC_CTYPE=en_GB.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages eclipse depends on:
ii  eclipse-jdt  3.7~exp-5
ii  eclipse-pde  3.7~exp-5

eclipse recommends no packages.

eclipse suggests no packages.

Versions of packages eclipse-platform depends on:
ii  ant                            1.8.2-4    
ii  ant-optional                   1.8.2-4    
ii  default-jre [java6-runtime]    1:1.6-40   
ii  eclipse-platform-data          3.7~exp-5  
ii  eclipse-rcp                    3.7~exp-5  
ii  java-common                    0.40       
ii  libc6                          2.13-21    
ii  libcommons-codec-java          1.5-1      
ii  libcommons-el-java             1.0-7      
ii  libcommons-httpclient-java     3.1-10     
ii  libcommons-logging-java        1.1.1-8    
ii  libjasper-java                 5.5.33-1   
ii  libjetty-java                  6.1.24-6   
ii  libjsch-java                   0.1.42-2   
ii  liblucene2-java                2.9.4+ds1-4
ii  libservlet2.5-java             6.0.32-6   
ii  openjdk-6-jre [java6-runtime]  6b23~pre7-1
ii  perl                           5.12.4-4   
ii  sat4j                          2.3.0-2    

Versions of packages eclipse-platform recommends:
ii  eclipse-pde  3.7~exp-5

Versions of packages eclipse-platform suggests:
ii  eclipse-jdt  3.7~exp-5

Versions of packages eclipse-pde depends on:
ii  default-jre [java6-runtime]    1:1.6-40   
ii  eclipse-jdt                    3.7~exp-5  
ii  eclipse-platform               3.7~exp-5  
ii  libasm3-java                   3.3.2-1    
ii  openjdk-6-jre [java6-runtime]  6b23~pre7-1

eclipse-pde suggests no packages.

Versions of packages eclipse-jdt depends on:
ii  default-jre [java6-runtime]    1:1.6-40   
ii  eclipse-platform               3.7~exp-5  
ii  junit                          3.8.2-8    
ii  junit4                         4.8.2-2    
ii  libhamcrest-java               1.1-8      
ii  openjdk-6-jre [java6-runtime]  6b23~pre7-1

Versions of packages eclipse-jdt recommends:
ii  default-jdk  1:1.6-40

Versions of packages eclipse-jdt suggests:
pn  eclipse-plugin-cvs  <none>

-- no debconf information





More information about the pkg-java-maintainers mailing list