Bug#540737: libantlr2.7-cil: installation into Mono fails (no strong name)

Michael Koch konqueror at gmx.de
Mon Sep 7 12:35:38 UTC 2009


On Sat, Sep 05, 2009 at 09:44:25PM +0200, Michael Koch wrote:
> tag 540737 + confirmed
> thanks
> 
> On Sun, Aug 09, 2009 at 09:14:49PM -0400, Aaron M. Ucko wrote:
> > | Setting up libantlr2.7-cil (2.7.7-11) ...
> > | * Installing 2 assemblies from libantlr2.7-cil into Mono
> > | E: installing Assembly /usr/lib/cli/antlr-2.7/antlr.astframe.dll failed
> > | E: Installation of libantlr2.7-cil with /usr/share/cli-common/runtimes.d/mono failed
> > | dpkg: error processing libantlr2.7-cil (--install):
> > |  subprocess installed post-installation script returned error exit status 9
> > [...]
> > | $ sudo gacutil -i /usr/lib/cli/antlr-2.7/antlr.astframe.dll
> > | Failure adding assembly /usr/lib/cli/antlr-2.7/antlr.astframe.dll to the cache: Attempt to install an assembly without a strong name
> > 
> > I observed this when upgrading to -13, but as you can see -11 exhibits
> > the same problem, presumably a long-standing bug exposed by Mono
> > 2.4.2.3.  Could you please look into it?
> 
> I can reproduce this bug. I have currently no idea what the cause of this can be...

I think I found the culprit. AssemblyInfo.cs references 'org.antlr.snk' as key file
and this key file doesnt exist in the source tarball, so signing fails. Newer
versions of Mono reject installation into the GAC for unsigned assemblies.


Cheers,
Michael





More information about the pkg-java-maintainers mailing list