Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » Buckminster » Buckminster fails with "Invalid signature file digest for Manifest"
Buckminster fails with "Invalid signature file digest for Manifest" [message #376007] Thu, 29 May 2008 16:17 Go to next message
Florian Hackenberger is currently offline Florian HackenbergerFriend
Messages: 123
Registered: July 2009
Senior Member
Hi!

I have a very strange problem with my buckminster installation. Upon
building a product (which built fine a few hours ago) I get the exception
below. Could someone please point me into the right direction? Strangely I
sometime have this problem on our buildserver too and it is solved
immediately after a reboot. A reboot of my development machine does however
not have the same effect.

Cheers,
Florian

[start
org.acoveo.dialplan.diagram:osgi.bundle$1.0.0.qualifier#OSGi #bundle.jar]
[end
org.acoveo.dialplan.diagram:osgi.bundle$1.0.0.qualifier#OSGi #bundle.jar]
[start
org.eclipse.rcp:eclipse.feature$3.3.2.R33x_r20071022-8y8eE9C EV3FspP8HJrY1M2dS#OSGi#manifest]
ERROR:
org.eclipse.core.runtime.CoreException: /home/fhackenberger/eclipse/configuration/org.eclipse.osgi/b undles/887/1/.cp/org/eclipse/buckminster/pde/antscripts/buil d.xml:237:
java.lang.SecurityException: Invalid signature file digest for Manifest
main attributes
org.eclipse.core.runtime.CoreException: /home/fhackenberger/eclipse/configuration/org.eclipse.osgi/b undles/887/1/.cp/org/eclipse/buckminster/pde/antscripts/buil d.xml:237:
java.lang.SecurityException: Invalid signature file digest for Manifest
main attributes
at
org.eclipse.buckminster.ant.AntRunner.handleInvocationTarget Exception(AntRunner.java:363)
at org.eclipse.buckminster.ant.AntRunner.run(AntRunner.java:290 )
at
org.eclipse.buckminster.ant.actor.AntActor.internalPerform(A ntActor.java:162)
at
org.eclipse.buckminster.core.actor.AbstractActor.perform(Abs tractActor.java:128)
at
org.eclipse.buckminster.core.internal.actor.PerformManager.p erform(PerformManager.java:146)
at
org.eclipse.buckminster.core.internal.actor.PerformManager.p erform(PerformManager.java:75)
at
org.eclipse.buckminster.core.internal.actor.PerformManager.p erform(PerformManager.java:64)
at
org.eclipse.buckminster.ui.actions.InvokeAction$ActionJob.ru nInWorkspace(InvokeAction.java:257)
at
org.eclipse.core.internal.resources.InternalWorkspaceJob.run (InternalWorkspaceJob.java:38)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
org.eclipse.core.runtime.CoreException[1]: /home/fhackenberger/eclipse/configuration/org.eclipse.osgi/b undles/887/1/.cp/org/eclipse/buckminster/pde/antscripts/buil d.xml:237:
java.lang.SecurityException: Invalid signature file digest for Manifest
main attributes
at
org.eclipse.buckminster.pde.ant.FeatureConsolidatorTask.exec ute(FeatureConsolidatorTask.java:104)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.j ava:288)
at sun.reflect.GeneratedMethodAccessor18.invoke(Unknown Source)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe thodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at
org.apache.tools.ant.dispatch.DispatchUtils.execute(Dispatch Utils.java:105)
at org.apache.tools.ant.Task.perform(Task.java:348)
at org.apache.tools.ant.Target.execute(Target.java:357)
at org.apache.tools.ant.Target.performTasks(Target.java:385)
at org.apache.tools.ant.Project.executeSortedTargets(Project.ja va:1329)
at org.apache.tools.ant.Project.executeTarget(Project.java:1298 )
at
org.apache.tools.ant.helper.DefaultExecutor.executeTargets(D efaultExecutor.java:41)
at
org.eclipse.ant.internal.core.ant.EclipseDefaultExecutor.exe cuteTargets(EclipseDefaultExecutor.java:32)
at org.apache.tools.ant.Project.executeTargets(Project.java:118 1)
at
org.eclipse.ant.internal.core.ant.InternalAntRunner.run(Inte rnalAntRunner.java:623)
at
org.eclipse.ant.internal.core.ant.InternalAntRunner.run(Inte rnalAntRunner.java:456)
at sun.reflect.GeneratedMethodAccessor39.invoke(Unknown Source)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe thodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.eclipse.buckminster.ant.AntRunner.run(AntRunner.java:282 )
at
org.eclipse.buckminster.ant.actor.AntActor.internalPerform(A ntActor.java:162)
at
org.eclipse.buckminster.core.actor.AbstractActor.perform(Abs tractActor.java:128)
at
org.eclipse.buckminster.core.internal.actor.PerformManager.p erform(PerformManager.java:146)
at
org.eclipse.buckminster.core.internal.actor.PerformManager.p erform(PerformManager.java:75)
at
org.eclipse.buckminster.core.internal.actor.PerformManager.p erform(PerformManager.java:64)
at
org.eclipse.buckminster.ui.actions.InvokeAction$ActionJob.ru nInWorkspace(InvokeAction.java:257)
at
org.eclipse.core.internal.resources.InternalWorkspaceJob.run (InternalWorkspaceJob.java:38)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
Caused by: java.lang.SecurityException: Invalid signature file digest for
Manifest main attributes
at
sun.security.util.SignatureFileVerifier.processImpl(Signatur eFileVerifier.java:221)
at
sun.security.util.SignatureFileVerifier.process(SignatureFil eVerifier.java:176)
at java.util.jar.JarVerifier.processEntry(JarVerifier.java:234)
at java.util.jar.JarVerifier.update(JarVerifier.java:188)
at java.util.jar.JarFile.initializeVerifier(JarFile.java:321)
at java.util.jar.JarFile.getInputStream(JarFile.java:386)
at
org.eclipse.buckminster.pde.tasks.FeatureConsolidator.getInp ut(FeatureConsolidator.java:178)
at
org.eclipse.buckminster.pde.tasks.FeatureConsolidator.<init >(FeatureConsolidator.java:301)
at
org.eclipse.buckminster.pde.ant.FeatureConsolidatorTask.exec ute(FeatureConsolidatorTask.java:99)
... 27 more
--- Nested Exception ---
java.lang.SecurityException: Invalid signature file digest for Manifest main
attributes
at
sun.security.util.SignatureFileVerifier.processImpl(Signatur eFileVerifier.java:221)
at
sun.security.util.SignatureFileVerifier.process(SignatureFil eVerifier.java:176)
at java.util.jar.JarVerifier.processEntry(JarVerifier.java:234)
at java.util.jar.JarVerifier.update(JarVerifier.java:188)
at java.util.jar.JarFile.initializeVerifier(JarFile.java:321)
at java.util.jar.JarFile.getInputStream(JarFile.java:386)
at
org.eclipse.buckminster.pde.tasks.FeatureConsolidator.getInp ut(FeatureConsolidator.java:178)
at
org.eclipse.buckminster.pde.tasks.FeatureConsolidator.<init >(FeatureConsolidator.java:301)
at
org.eclipse.buckminster.pde.ant.FeatureConsolidatorTask.exec ute(FeatureConsolidatorTask.java:99)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.j ava:288)
at sun.reflect.GeneratedMethodAccessor18.invoke(Unknown Source)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe thodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at
org.apache.tools.ant.dispatch.DispatchUtils.execute(Dispatch Utils.java:105)
at org.apache.tools.ant.Task.perform(Task.java:348)
at org.apache.tools.ant.Target.execute(Target.java:357)
at org.apache.tools.ant.Target.performTasks(Target.java:385)
at org.apache.tools.ant.Project.executeSortedTargets(Project.ja va:1329)
at org.apache.tools.ant.Project.executeTarget(Project.java:1298 )
at
org.apache.tools.ant.helper.DefaultExecutor.executeTargets(D efaultExecutor.java:41)
at
org.eclipse.ant.internal.core.ant.EclipseDefaultExecutor.exe cuteTargets(EclipseDefaultExecutor.java:32)
at org.apache.tools.ant.Project.executeTargets(Project.java:118 1)
at
org.eclipse.ant.internal.core.ant.InternalAntRunner.run(Inte rnalAntRunner.java:623)
at
org.eclipse.ant.internal.core.ant.InternalAntRunner.run(Inte rnalAntRunner.java:456)
at sun.reflect.GeneratedMethodAccessor39.invoke(Unknown Source)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe thodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.eclipse.buckminster.ant.AntRunner.run(AntRunner.java:282 )
at
org.eclipse.buckminster.ant.actor.AntActor.internalPerform(A ntActor.java:162)
at
org.eclipse.buckminster.core.actor.AbstractActor.perform(Abs tractActor.java:128)
at
org.eclipse.buckminster.core.internal.actor.PerformManager.p erform(PerformManager.java:146)
at
org.eclipse.buckminster.core.internal.actor.PerformManager.p erform(PerformManager.java:75)
at
org.eclipse.buckminster.core.internal.actor.PerformManager.p erform(PerformManager.java:64)
at
org.eclipse.buckminster.ui.actions.InvokeAction$ActionJob.ru nInWorkspace(InvokeAction.java:257)
at
org.eclipse.core.internal.resources.InternalWorkspaceJob.run (InternalWorkspaceJob.java:38)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)

--
Florian Hackenberger
Re: Buckminster fails with "Invalid signature file digest for Manifest" [message #376009 is a reply to message #376007] Thu, 29 May 2008 18:52 Go to previous messageGo to next message
Thomas Hallgren is currently offline Thomas HallgrenFriend
Messages: 3240
Registered: July 2009
Senior Member
Hi Florian,
Some jar somewhere contains an invalid manifest. It's likely that the
jar has somehow been tampered with after it was signed. I seem to recall
errors like this related to pack200 reconditioning.

I'm not sure how I can help you. Try googling for "Invalid signature
file digest for Manifest". There might be some forum threads etc. that
can help.

Regards,
Thomas Hallgren



DI Florian Hackenberger wrote:
> Hi!
>
> I have a very strange problem with my buckminster installation. Upon
> building a product (which built fine a few hours ago) I get the exception
> below. Could someone please point me into the right direction? Strangely I
> sometime have this problem on our buildserver too and it is solved
> immediately after a reboot. A reboot of my development machine does however
> not have the same effect.
>
> Cheers,
> Florian
>
> [start
> org.acoveo.dialplan.diagram:osgi.bundle$1.0.0.qualifier#OSGi #bundle.jar]
> [end
> org.acoveo.dialplan.diagram:osgi.bundle$1.0.0.qualifier#OSGi #bundle.jar]
> [start
> org.eclipse.rcp:eclipse.feature$3.3.2.R33x_r20071022-8y8eE9C EV3FspP8HJrY1M2dS#OSGi#manifest]
> ERROR:
> org.eclipse.core.runtime.CoreException: /home/fhackenberger/eclipse/configuration/org.eclipse.osgi/b undles/887/1/.cp/org/eclipse/buckminster/pde/antscripts/buil d.xml:237:
> java.lang.SecurityException: Invalid signature file digest for Manifest
> main attributes
> org.eclipse.core.runtime.CoreException: /home/fhackenberger/eclipse/configuration/org.eclipse.osgi/b undles/887/1/.cp/org/eclipse/buckminster/pde/antscripts/buil d.xml:237:
> java.lang.SecurityException: Invalid signature file digest for Manifest
> main attributes
> at
> org.eclipse.buckminster.ant.AntRunner.handleInvocationTarget Exception(AntRunner.java:363)
> at org.eclipse.buckminster.ant.AntRunner.run(AntRunner.java:290 )
> at
> org.eclipse.buckminster.ant.actor.AntActor.internalPerform(A ntActor.java:162)
> at
> org.eclipse.buckminster.core.actor.AbstractActor.perform(Abs tractActor.java:128)
> at
> org.eclipse.buckminster.core.internal.actor.PerformManager.p erform(PerformManager.java:146)
> at
> org.eclipse.buckminster.core.internal.actor.PerformManager.p erform(PerformManager.java:75)
> at
> org.eclipse.buckminster.core.internal.actor.PerformManager.p erform(PerformManager.java:64)
> at
> org.eclipse.buckminster.ui.actions.InvokeAction$ActionJob.ru nInWorkspace(InvokeAction.java:257)
> at
> org.eclipse.core.internal.resources.InternalWorkspaceJob.run (InternalWorkspaceJob.java:38)
> at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
> org.eclipse.core.runtime.CoreException[1]: /home/fhackenberger/eclipse/configuration/org.eclipse.osgi/b undles/887/1/.cp/org/eclipse/buckminster/pde/antscripts/buil d.xml:237:
> java.lang.SecurityException: Invalid signature file digest for Manifest
> main attributes
> at
> org.eclipse.buckminster.pde.ant.FeatureConsolidatorTask.exec ute(FeatureConsolidatorTask.java:104)
> at org.apache.tools.ant.UnknownElement.execute(UnknownElement.j ava:288)
> at sun.reflect.GeneratedMethodAccessor18.invoke(Unknown Source)
> at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe thodAccessorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:597)
> at
> org.apache.tools.ant.dispatch.DispatchUtils.execute(Dispatch Utils.java:105)
> at org.apache.tools.ant.Task.perform(Task.java:348)
> at org.apache.tools.ant.Target.execute(Target.java:357)
> at org.apache.tools.ant.Target.performTasks(Target.java:385)
> at org.apache.tools.ant.Project.executeSortedTargets(Project.ja va:1329)
> at org.apache.tools.ant.Project.executeTarget(Project.java:1298 )
> at
> org.apache.tools.ant.helper.DefaultExecutor.executeTargets(D efaultExecutor.java:41)
> at
> org.eclipse.ant.internal.core.ant.EclipseDefaultExecutor.exe cuteTargets(EclipseDefaultExecutor.java:32)
> at org.apache.tools.ant.Project.executeTargets(Project.java:118 1)
> at
> org.eclipse.ant.internal.core.ant.InternalAntRunner.run(Inte rnalAntRunner.java:623)
> at
> org.eclipse.ant.internal.core.ant.InternalAntRunner.run(Inte rnalAntRunner.java:456)
> at sun.reflect.GeneratedMethodAccessor39.invoke(Unknown Source)
> at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe thodAccessorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:597)
> at org.eclipse.buckminster.ant.AntRunner.run(AntRunner.java:282 )
> at
> org.eclipse.buckminster.ant.actor.AntActor.internalPerform(A ntActor.java:162)
> at
> org.eclipse.buckminster.core.actor.AbstractActor.perform(Abs tractActor.java:128)
> at
> org.eclipse.buckminster.core.internal.actor.PerformManager.p erform(PerformManager.java:146)
> at
> org.eclipse.buckminster.core.internal.actor.PerformManager.p erform(PerformManager.java:75)
> at
> org.eclipse.buckminster.core.internal.actor.PerformManager.p erform(PerformManager.java:64)
> at
> org.eclipse.buckminster.ui.actions.InvokeAction$ActionJob.ru nInWorkspace(InvokeAction.java:257)
> at
> org.eclipse.core.internal.resources.InternalWorkspaceJob.run (InternalWorkspaceJob.java:38)
> at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
> Caused by: java.lang.SecurityException: Invalid signature file digest for
> Manifest main attributes
> at
> sun.security.util.SignatureFileVerifier.processImpl(Signatur eFileVerifier.java:221)
> at
> sun.security.util.SignatureFileVerifier.process(SignatureFil eVerifier.java:176)
> at java.util.jar.JarVerifier.processEntry(JarVerifier.java:234)
> at java.util.jar.JarVerifier.update(JarVerifier.java:188)
> at java.util.jar.JarFile.initializeVerifier(JarFile.java:321)
> at java.util.jar.JarFile.getInputStream(JarFile.java:386)
> at
> org.eclipse.buckminster.pde.tasks.FeatureConsolidator.getInp ut(FeatureConsolidator.java:178)
> at
> org.eclipse.buckminster.pde.tasks.FeatureConsolidator.<init >(FeatureConsolidator.java:301)
> at
> org.eclipse.buckminster.pde.ant.FeatureConsolidatorTask.exec ute(FeatureConsolidatorTask.java:99)
> ... 27 more
> --- Nested Exception ---
> java.lang.SecurityException: Invalid signature file digest for Manifest main
> attributes
> at
> sun.security.util.SignatureFileVerifier.processImpl(Signatur eFileVerifier.java:221)
> at
> sun.security.util.SignatureFileVerifier.process(SignatureFil eVerifier.java:176)
> at java.util.jar.JarVerifier.processEntry(JarVerifier.java:234)
> at java.util.jar.JarVerifier.update(JarVerifier.java:188)
> at java.util.jar.JarFile.initializeVerifier(JarFile.java:321)
> at java.util.jar.JarFile.getInputStream(JarFile.java:386)
> at
> org.eclipse.buckminster.pde.tasks.FeatureConsolidator.getInp ut(FeatureConsolidator.java:178)
> at
> org.eclipse.buckminster.pde.tasks.FeatureConsolidator.<init >(FeatureConsolidator.java:301)
> at
> org.eclipse.buckminster.pde.ant.FeatureConsolidatorTask.exec ute(FeatureConsolidatorTask.java:99)
> at org.apache.tools.ant.UnknownElement.execute(UnknownElement.j ava:288)
> at sun.reflect.GeneratedMethodAccessor18.invoke(Unknown Source)
> at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe thodAccessorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:597)
> at
> org.apache.tools.ant.dispatch.DispatchUtils.execute(Dispatch Utils.java:105)
> at org.apache.tools.ant.Task.perform(Task.java:348)
> at org.apache.tools.ant.Target.execute(Target.java:357)
> at org.apache.tools.ant.Target.performTasks(Target.java:385)
> at org.apache.tools.ant.Project.executeSortedTargets(Project.ja va:1329)
> at org.apache.tools.ant.Project.executeTarget(Project.java:1298 )
> at
> org.apache.tools.ant.helper.DefaultExecutor.executeTargets(D efaultExecutor.java:41)
> at
> org.eclipse.ant.internal.core.ant.EclipseDefaultExecutor.exe cuteTargets(EclipseDefaultExecutor.java:32)
> at org.apache.tools.ant.Project.executeTargets(Project.java:118 1)
> at
> org.eclipse.ant.internal.core.ant.InternalAntRunner.run(Inte rnalAntRunner.java:623)
> at
> org.eclipse.ant.internal.core.ant.InternalAntRunner.run(Inte rnalAntRunner.java:456)
> at sun.reflect.GeneratedMethodAccessor39.invoke(Unknown Source)
> at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe thodAccessorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:597)
> at org.eclipse.buckminster.ant.AntRunner.run(AntRunner.java:282 )
> at
> org.eclipse.buckminster.ant.actor.AntActor.internalPerform(A ntActor.java:162)
> at
> org.eclipse.buckminster.core.actor.AbstractActor.perform(Abs tractActor.java:128)
> at
> org.eclipse.buckminster.core.internal.actor.PerformManager.p erform(PerformManager.java:146)
> at
> org.eclipse.buckminster.core.internal.actor.PerformManager.p erform(PerformManager.java:75)
> at
> org.eclipse.buckminster.core.internal.actor.PerformManager.p erform(PerformManager.java:64)
> at
> org.eclipse.buckminster.ui.actions.InvokeAction$ActionJob.ru nInWorkspace(InvokeAction.java:257)
> at
> org.eclipse.core.internal.resources.InternalWorkspaceJob.run (InternalWorkspaceJob.java:38)
> at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
>
Re: Buckminster fails with "Invalid signature file digest for Manifest" [message #376011 is a reply to message #376009] Fri, 30 May 2008 08:28 Go to previous messageGo to next message
Florian Hackenberger is currently offline Florian HackenbergerFriend
Messages: 123
Registered: July 2009
Senior Member
Thomas Hallgren wrote:
> Some jar somewhere contains an invalid manifest. It's likely that the
> jar has somehow been tampered with after it was signed. I seem to recall
> errors like this related to pack200 reconditioning.
>
> I'm not sure how I can help you. Try googling for "Invalid signature
> file digest for Manifest". There might be some forum threads etc. that
> can help.
Hi Thomas,

Of course I have tried to google for an answer, but the problem is that the
eclipse feature (org.eclipse.rcp) which causes the problem, is not a jar
file, but a directory in my eclipse installation. I suspect that
buckminster tries to produce a jar file from this feature directory and
somehow fails to generate a valid signature for it.

Cheers,
Florian

>> [start
>>
org.eclipse.rcp:eclipse.feature$3.3.2.R33x_r20071022-8y8eE9C EV3FspP8HJrY1M2dS#OSGi#manifest]
>> ERROR:
>> org.eclipse.core.runtime.CoreException:
>> /home/fhackenberger/eclipse/configuration/org.eclipse.osgi/b undles/887/1/.cp/org/eclipse/buckminster/pde/antscripts/buil d.xml:237:
>> java.lang.SecurityException: Invalid signature file digest for Manifest

--
new
Re: Buckminster fails with "Invalid signature file digest for Manifest" [message #376012 is a reply to message #376009] Fri, 30 May 2008 08:33 Go to previous messageGo to next message
Florian Hackenberger is currently offline Florian HackenbergerFriend
Messages: 123
Registered: July 2009
Senior Member
Thomas Hallgren wrote:
> I'm not sure how I can help you. Try googling for "Invalid signature
> file digest for Manifest". There might be some forum threads etc. that
> can help.

BTW, I captured some more log messages from buckminster, if that helps.

Cheers,
Florian

[ant] parsing
buildfile /home/fhackenberger/eclipse/configuration/org.eclipse.osgi/b undles/887/1/.cp/org/eclipse/buckminster/pde/antscripts/buil d.xml
with URI =
file:/home/fhackenberger/eclipse/configuration/org.eclipse.o sgi/bundles/887/1/.cp/org/eclipse/buckminster/pde/antscripts /build.xml
[ant] Setting ro project property: ant.project.name ->
org.eclipse.buckminster.pde.misc
[ant] Adding reference: org.eclipse.buckminster.pde.misc
[ant] Setting ro project property:
ant.file.org.eclipse.buckminster.pde.misc -> /home/fhackenberger/eclipse/configuration/org.eclipse.osgi/b undles/887/1/.cp/org/eclipse/buckminster/pde/antscripts/buil d.xml
[ant] Project base dir set
to: /home/fhackenberger/eclipse/features/org.eclipse.rcp_3.3.2.R 33x_r20071022-8y8eE9CEV3FspP8HJrY1M2dS
[ant] +Target:
[ant] +Target: create.output.dir
[ant] +Target: create.jar
[ant] +Target: create.jar.with.manifest
[ant] +Target: create.bundle.jar
[ant] +Target: create.feature.jar
[ant] +Target: create.zip
[ant] +Target: create.eclipse.product
[ant] +Target: create.eclipse.jnlp.product
[ant] +Target: create.site.xml
[ant] +Target: create.site.common
[ant] +Target: create.site
[ant] +Target: create.complex.site
[ant] +Target: copy.group
[ant] +Target: delete.group
[ant] +Target: delete.dir
[ant] +Target: delete.file
[ant] +Target: expand.bundle.version
[ant] +Target: expand.feature.version
[ant] +Target: unzip
[ant] +Target: unjar.named
[ant] Could not load definitions from resource
org/apache/tools/ant/antlib.xml. It could not be found.
[ant] +Datatype extractBundleVersion
org.apache.tools.ant.taskdefs.MacroInstance
[ant] creating macro extractBundleVersion
[ant] +Datatype extractBundleId org.apache.tools.ant.taskdefs.MacroInstance
[ant] creating macro extractBundleId
[ant] +Datatype extractFeatureVersion
org.apache.tools.ant.taskdefs.MacroInstance
[ant] creating macro extractFeatureVersion
[ant] +Datatype extractFeatureId
org.apache.tools.ant.taskdefs.MacroInstance
[ant] creating macro extractFeatureId
[ant] Adding reference: eclipse.ant.targetVector
[ant] Build sequence for target(s) `expand.feature.version' is
[create.output.dir, expand.feature.version]
[ant] Complete build sequence is [create.output.dir, expand.feature.version,
create.site.xml, create.eclipse.product, create.site.common, create.site,
delete.group, create.jar, create.jar.with.manifest, copy.group,
create.eclipse.jnlp.product, create.bundle.jar, unzip, create.complex.site,
delete.file, unjar.named, expand.bundle.version, create.zip,
create.feature.jar, delete.dir, ]
[ant]
[ant] create.output.dir:
[ant] Adding reference: eclipse.progress.monitor
[ant] Setting project property:
output.dir -> /tmp/buckminster/org.eclipse.rcp_3.3.2-eclipse.feature/build /temp
[ant] Adding reference: eclipse.progress.monitor
[ant]
Skipping /tmp/buckminster/org.eclipse.rcp_3.3.2-eclipse.feature/build /temp
because it already exists.
[ant]
[ant] expand.feature.version:
[ant] Adding reference: eclipse.progress.monitor
[ant] Setting project property: sp:properties ->
[ant] Adding reference: eclipse.progress.monitor
[ant] Setting project property: generateVersionSuffix -> true
[ant] Adding reference: eclipse.progress.monitor
[ant] fileset: Setup scanner in
dir /tmp/buckminster/org.eclipse.equinox.launcher.gtk.linux.x86_ 1.0.2-osgi.bundle/build/jar
with patternSet{ includes: [] excludes: [] }
[ant] fileset: Setup scanner in
dir /tmp/buckminster/org.eclipse.equinox.launcher_1.0.1-osgi.bun dle/build/fragments
with patternSet{ includes: [] excludes: [] }
[ant] fileset: Setup scanner in
dir /tmp/buckminster/org.eclipse.swt_3.3.2-osgi.bundle/build/fra gments with
patternSet{ includes: [] excludes: [] }
[ant] fileset: Setup scanner in dir /home/fhackenberger/eclipse/plugins with
patternSet{ includes: [com.ibm.icu_3.6.1.v20070906.jar,
org.eclipse.core.commands_3.3.0.I20070605-0010.jar,
org.eclipse.core.databinding_1.0.1.M20070822-0800.jar,
org.eclipse.core.databinding.beans_1.0.1.M20070910-0800b.jar ,
org.eclipse.core.jobs_3.3.1.R33x_v20070709.jar,
org.eclipse.core.expressions_3.3.0.v20070606-0010.jar,
org.eclipse.core.runtime_3.3.100.v20070530.jar,
org.eclipse.core.runtime.compatibility.auth_3.2.100.v2007050 2.jar,
org.eclipse.osgi_3.3.1.R33x_v20070828.jar,
org.eclipse.help_3.3.1.v20070726_33x.jar, org.eclipse.swt_3.3.2.v3347.jar,
org.eclipse.jface_3.3.1.M20070910-0800b.jar,
org.eclipse.jface.databinding_1.1.1.M20070910-0800b.jar,
org.eclipse.ui_3.3.1.M20070910-0800b.jar,
org.eclipse.ui.workbench_3.3.1.M20070921-1200.jar,
org.eclipse.update.configurator_3.2.101.R33x_v20070810.jar,
org.eclipse.swt.gtk.linux.x86_3.3.2.v3347.jar,
org.eclipse.rcp_3.2.0.v20070612.jar,
org.eclipse.core.contenttype_3.2.100.v20070319.jar,
org.eclipse.equinox.app_1.0.1.R33x_v20070828.jar,
org.eclipse.equinox.common_3.3.0.v20070426.jar,
org.eclipse.equinox.preferences_3.2.100.v20070522.jar,
org.eclipse.equinox.registry_3.3.1.R33x_v20070802.jar,
org.eclipse.equinox.launcher_1.0.1.R33x_v20070828.jar] excludes: [] }
ERROR:
org.eclipse.core.runtime.CoreException: /home/fhackenberger/eclipse/configuration/org.eclipse.osgi/b undles/887/1/.cp/org/eclipse/buckminster/pde/antscripts/buil d.xml:237:
java.lang.SecurityException: Invalid signature file digest for Manifest
main attributes
org.eclipse.core.runtime.CoreException: /home/fhackenberger/eclipse/configuration/org.eclipse.osgi/b undles/887/1/.cp/org/eclipse/buckminster/pde/antscripts/buil d.xml:237:
java.lang.SecurityException: Invalid signature file digest for Manifest
main attributes
at
org.eclipse.buckminster.ant.AntRunner.handleInvocationTarget Exception(AntRunner.java:363)


--
Florian Hackenberger
Re: Buckminster fails with "Invalid signature file digest for Manifest" [message #376048 is a reply to message #376009] Wed, 11 June 2008 15:33 Go to previous messageGo to next message
Florian Hackenberger is currently offline Florian HackenbergerFriend
Messages: 123
Registered: July 2009
Senior Member
Thomas Hallgren wrote:
> Some jar somewhere contains an invalid manifest. It's likely that the
> jar has somehow been tampered with after it was signed. I seem to recall
> errors like this related to pack200 reconditioning.

Has anyone got some more ideas?

Cheers,
Florian

--
DI Florian Hackenberger
florian@hackenberger.at
www.hackenberger.at
Re: Buckminster fails with "Invalid signature file digest for Manifest" [message #376050 is a reply to message #376048] Wed, 11 June 2008 15:59 Go to previous messageGo to next message
Thomas Hallgren is currently offline Thomas HallgrenFriend
Messages: 3240
Registered: July 2009
Senior Member
Hi Florian,
Would it be possible for you to debug this and see in exactly what file
you get the error? Perhaps that will give some clue as to what's going on.

Regards,
Thomas Hallgren

DI Florian Hackenberger wrote:
> Thomas Hallgren wrote:
>> Some jar somewhere contains an invalid manifest. It's likely that the
>> jar has somehow been tampered with after it was signed. I seem to recall
>> errors like this related to pack200 reconditioning.
>
> Has anyone got some more ideas?
>
> Cheers,
> Florian
>
Re: Buckminster fails with "Invalid signature file digest for Manifest" [message #376065 is a reply to message #376048] Thu, 12 June 2008 14:11 Go to previous message
Thomas Hallgren is currently offline Thomas HallgrenFriend
Messages: 3240
Registered: July 2009
Senior Member
I think I may have tracked this down. This is what I think is happening:

1. Eclipse.org is normilizing and signing their launcher jars. They den
run pack200 on them.
2. All jars are then unpacked into a plugins folder and then zipped into
the distribution file.
3. You unzip the distribution file into your target platform.
4. When buckminster builds, it repacks the jar.

The result of #4 is corrupt since a normal packed jar isn't normalized
and the old manifest digest are included.

I'll look into this today and hopefully come up with a fix very soon.

Regards,
Thomas Hallgren


DI Florian Hackenberger wrote:
> Thomas Hallgren wrote:
>> Some jar somewhere contains an invalid manifest. It's likely that the
>> jar has somehow been tampered with after it was signed. I seem to recall
>> errors like this related to pack200 reconditioning.
>
> Has anyone got some more ideas?
>
> Cheers,
> Florian
>
Previous Topic:default maxParallelMaterializations setting causes java build to fail (Eclipse 3.4 RC3 - headless)
Next Topic:Subversive and Subclipse headless
Goto Forum:
  


Current Time: Fri Apr 26 07:10:51 GMT 2024

Powered by FUDForum. Page generated in 0.04172 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top