installs broken symlinks

Bug #471859 reported by Peter Cordes
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
eclipse (Ubuntu)
Fix Released
Medium
Niels Thykier

Bug Description

Binary package hint: eclipse-platform

found with cruft(8). demonstrated as follows. up-to-date Karmic, with no broken dependencies and debsums -ac happy about every package.

peter@tesla:~$ find -L $(dpkg -L eclipse-platform) -maxdepth 0 -type l -ls
29743591 0 lrwxrwxrwx 1 root root 146 Oct 31 15:44 /usr/lib/eclipse/features/org.eclipse.platform.source_3.5.1.R35x_v20090910-9lEeG9OFtY8dO6SPxmI7z0ZuZBD-lz08RfIkCCB/eclipse_update_120.jpg -> ../../../../share/eclipse/features/org.eclipse.platform.source_3.5.1.R35x_v20090910-9lEeG9OFtY8dO6SPxmI7z0ZuZBD-lz08RfIkCCB/eclipse_update_120.jpg
33682653 0 lrwxrwxrwx 1 root root 139 Oct 31 15:44 /usr/lib/eclipse/features/org.eclipse.platform_3.5.1.R35x_v20090910-9lEeG9OFtY8dO6SPxmI7z0ZuZBD-lz08RfIkCCB/eclipse_update_120.jpg -> ../../../../share/eclipse/features/org.eclipse.platform_3.5.1.R35x_v20090910-9lEeG9OFtY8dO6SPxmI7z0ZuZBD-lz08RfIkCCB/eclipse_update_120.jpg
38086781 0 lrwxrwxrwx 1 root root 140 Oct 31 15:44 /usr/lib/eclipse/features/org.eclipse.sdk_3.5.1.R35x_v20090811-7Q7bAIAva_6wc1RFNGQu2H2gbqVdyA0fsSRF25z0RYUth/eclipse_update_120.jpg -> ../../../../share/eclipse/features/org.eclipse.sdk_3.5.1.R35x_v20090811-7Q7bAIAva_6wc1RFNGQu2H2gbqVdyA0fsSRF25z0RYUth/eclipse_update_120.jpg

It appears that the symlink targets have a typo or and old version in the id-code part of the path. (found by seeing when tab-completion would kick in, pressing left-arrow, tab repeatedly :)
../../../../share/eclipse/features/org.eclipse.platform.source_3.5.1.R35x_v20090910-9lEeG9OFtY8dO6SPxmI7z0ZuZBD-lz08RfIkCCB/eclipse_update_120.jpg
should be (note the 7z0 -> 7v)
../../../../share/eclipse/features/org.eclipse.platform.source_3.5.1.R35x_v20090910-9lEeG9OFtY8dO6SPxmI7vZuZBD-lz08MfIkCCB/eclipse_update_120.jpg

Related branches

Revision history for this message
Peter Cordes (peter-cordes) wrote :

The find output is pretty much unreadable with line wrapping. I wondered how that would come out :/
forgot to include my version:
ii eclipse-platform 3.5.1+repack~1-0ubuntu3 Eclipse platform without plug-ins to develop any language

Revision history for this message
Benjamin Drung (bdrung) wrote :

We use following command to create the links on build time: http://git.debian.org/?p=pkg-java/eclipse.git;a=blob;f=debian/extra/imagemv.sh;h=4a831b98b67b4903173965ba1cfda08c34743be0;hb=HEAD

Can it be that a part of this directory differs from build to build?

Changed in eclipse (Ubuntu):
importance: Undecided → Medium
status: New → Confirmed
Revision history for this message
Niels Thykier (niels-thykier) wrote :

Hi

I checked the i386 vs the amd64 eclipse-platform packages and it does appear to confirm your guess, Benjamin. Guess we will have to "rename" the target.

Thanks for the heads up, Peter.

~Niels

Changed in eclipse (Ubuntu):
assignee: nobody → Niels Thykier (niels-thykier)
status: Confirmed → In Progress
Revision history for this message
Niels Thykier (niels-thykier) wrote :

We have committed a fix for this problem in our repository[1] - this will be fixed with next upload to Ubuntu.

~Niels

[1]
http://git.debian.org/?p=pkg-java/eclipse.git;a=commit;h=972c2d6e36ec277036833c83e1d6d415712b49a9
 -- and --
http://git.debian.org/?p=pkg-java/eclipse.git;a=commit;h=d63c27dfae0cd8be6f26a8a78e663523cf897bd2

Changed in eclipse (Ubuntu):
status: In Progress → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package eclipse - 3.5.1+repack~3-0ubuntu1

---------------
eclipse (3.5.1+repack~3-0ubuntu1) lucid; urgency=low

  * Rebase to packaging from pkg-java/eclipse:
    + Stopped using special hacks and work arounds to find JVMs.
      (Closes: #353360)
      - This removes the need for ~/.eclipse/eclipserc (Closes: #402077)
      - This makes eclipse read eclipse.ini (Closes: #491334)
    + Moved the executable to eclipse-platform from eclipse.
      (Closes: #358594)
    + Put the osgi jar-files into its own separate package. (LP: #102717)
    + Added workaround for gtk problems. (Closes: #552480)
    + Added missing API references. (Closes: #376850)
    + Moved org.eclipse.ant.ui to eclipse-platform. (LP: #477944)
    + Added information about how to create the orig.tar.gz.
      (Closes: #505553)
    + Rewrote symlink script to handle folders that are renamed on different
      archs/builds. (LP: #471859)
    + Move eclipse.ini into /etc (LP: #43162)
  * Drop versioned dependency on libcommons-el-java, libjetty-java,
    libservlet2.4-java; they are not yet available in Ubuntu.
 -- Benjamin Drung <email address hidden> Tue, 29 Dec 2009 18:48:17 +0100

Changed in eclipse (Ubuntu):
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.