Bug 489686 - Some bundles in Orbit Recipes cannot be used in target platform, p2 hangs
Summary: Some bundles in Orbit Recipes cannot be used in target platform, p2 hangs
Status: RESOLVED FIXED
Alias: None
Product: Equinox
Classification: Eclipse Project
Component: Framework (show other bugs)
Version: unspecified   Edit
Hardware: PC Linux
: P3 normal (vote)
Target Milestone: Neon M7   Edit
Assignee: equinox.framework-inbox CLA Friend
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on: 489387
Blocks:
  Show dependency tree
 
Reported: 2016-03-15 16:16 EDT by David Williams CLA Friend
Modified: 2016-03-29 14:15 EDT (History)
5 users (show)

See Also:


Attachments
jar.pack.gz file that exhibits the problem (810.78 KB, application/octet-stream)
2016-03-15 17:06 EDT, David Williams CLA Friend
no flags Details
corresponding jar file (2.88 MB, application/x-java-archive)
2016-03-15 20:57 EDT, David Williams CLA Friend
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description David Williams CLA Friend 2016-03-15 16:16:09 EDT
+++ This bug was initially created as a clone of Bug #489387 +++

The bundle in Orbit does need to be fixed, so will leave that original bug in Orbit, but yes, Equinox should prevent "infinite loop" just because a bundle is signed wrong. :) 

I am hoping "just the bundle" will suffice for Equinox to reproduce? I can attach that, but the repo it was in was 44 Meg, so if you need that "saved" somewhere, let me know.
Comment 1 David Williams CLA Friend 2016-03-15 17:06:15 EDT
Created attachment 260323 [details]
jar.pack.gz file that exhibits the problem

It seems only pack.gz versions are available from that repository at 

https://hudson.eclipse.org/orbit/job/orbit-recipes/lastSuccessfulBuild/artifact/releng/repository/target/repository

and it seems to be at the "converting it to a jar" that hangs. So ... not sure it is what I originally though.
Comment 2 David Williams CLA Friend 2016-03-15 20:57:58 EDT
Created attachment 260325 [details]
corresponding jar file

I was wrong that only pack.gz files existed there. 
So this is the source jar. 

This is a sample of the MANIFEST.MF where the "IDEA*" class as been removed from the jar but MANIFEST entry remains. 

Name: org/bouncycastle/crypto/BufferedBlockCipher.class
SHA-256-Digest: 1+x2NhT7P3sGcgv3Wv0aBFgkftyeZS+HkWI76OPSjsw=
SHA1-Digest: DvsB7oYQEFakEK277dVAj7pvfmE=

Name: org/bouncycastle/jcajce/provider/symmetric/IDEA.class
SHA1-Digest: pjB0KcYHul58lClA7k5JzUmkpqQ=

Name: org/bouncycastle/crypto/tls/DefaultTlsServer.class
SHA-256-Digest: JSsSh4hwqo5gpzQFsXPYRGo9s2qhL2yzAypp7g8aO5c=
SHA1-Digest: kxDUeJZzv4eYmuh+L/tzA9MRsis=
Comment 3 Eclipse Genie CLA Friend 2016-03-29 12:07:17 EDT
New Gerrit change created: https://git.eclipse.org/r/69464
Comment 5 Thomas Watson CLA Friend 2016-03-29 14:15:21 EDT
Fixed.