Fails to install library to GAC

Bug #564351 reported by Chris Halse Rogers
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
indicator-application (Ubuntu)
Confirmed
High
Chris Halse Rogers

Bug Description

Binary package hint: indicator-application

libappindicator0-cil is failing to install the library to the Global Assembly Cache; this renders the library unusable, as it's not in the (equivalent of the) library search path.

This appears to be because libappindicator0-cil doesn't have a postinst / prerm pair actually calling the late-gac install routine.

Changed in indicator-application (Ubuntu):
assignee: nobody → Chris Halse Rogers (raof)
importance: Undecided → High
status: New → In Progress
Revision history for this message
Chris Halse Rogers (raof) wrote :

Here's a debdiff fixing this.

This should go into Lucid; without it, the libappindicator0-cil package is entirely broken.

Changed in indicator-application (Ubuntu):
status: In Progress → Confirmed
Revision history for this message
Martin Pitt (pitti) wrote :

Ack, please go ahead and upload.

Revision history for this message
Sense Egbert Hofstede (sense) wrote :

Thank you for helping with making Ubuntu better by reporting this bug and providing a patch. However, the issue you reported and tried to fix was already reported in bug #564506 and there is a patch attached to that bug that fixes this issue, amongst others. I'm marking this bug as a duplicate.

Revision history for this message
Chow Loong Jin (hyperair) wrote : Re: [Bug 564351] Re: Fails to install library to GAC

On Friday 16,April,2010 10:41 PM, Sense Hofstede wrote:
> *** This bug is a duplicate of bug 560095 ***
> https://bugs.launchpad.net/bugs/560095
>
> Thank you for helping with making Ubuntu better by reporting this bug
> and providing a patch. However, the issue you reported and tried to fix
> was already reported in bug #564506 and there is a patch attached to
> that bug that fixes this issue, amongst others. I'm marking this bug as
> a duplicate.
>
> ** This bug is no longer a duplicate of bug 560095
> packaging of libappindicator0-cil is in violation of the Debian CLI Policy, making ${cli:Depends} not work
> ** This bug has been marked a duplicate of bug 564506
> libappindicator-cil-dev's .pc file points to the wrong place
>
> ** This bug is no longer a duplicate of bug 564506
> libappindicator-cil-dev's .pc file points to the wrong place
> ** This bug has been marked a duplicate of bug 560095
> packaging of libappindicator0-cil is in violation of the Debian CLI Policy, making ${cli:Depends} not work
>

This is *definitely* Bug #560095, or at least fixed as part of the fixes I made
in 0.0.19-0ubuntu2. Bug #564506 is a consequence of me breaking the .pc file as
I had forgotten to touch that along when I moved files around in .install. It
now has a patch attached and is pending upload.

  duplicate 560095

--
Kind regards,
Chow Loong Jin (GPG: 0x8F02A411)
Ubuntu Developer

Revision history for this message
Chris Halse Rogers (raof) wrote :

This is not a duplicate of bug #560095, nor is it the same problem as in bug #564506 (although directhex's patch incorporates this fix). The problem here is that the postinst & postrm fragments which actually call the late-gac installer weren't being copied to the binary deb because dh_installcligac was being called after dh_installdeb.

You can verify this by running “gacutil -l | grep appindicator”. With libappindicator0-cil 0.0.19-0ubuntu3 this returns no results, because the library hasn't been installed into the GAC

└─(19:03:%)── sudo dpkg --install libappindicator0-cil_0.0.19-0ubuntu3_all.deb ──(Sat,Apr17)─┘
dpkg: warning: downgrading libappindicator0-cil from 0.0.19-0ubuntu4 to 0.0.19-0ubuntu3.
(Reading database ... 402366 files and directories currently installed.)
Preparing to replace libappindicator0-cil 0.0.19-0ubuntu4 (using libappindicator0-cil_0.0.19-0ubuntu3_all.deb) ...
Removing libappindicator0-cil from Mono
Unpacking replacement libappindicator0-cil ...
Setting up libappindicator0-cil (0.0.19-0ubuntu3) ...
┌─(raof@Ed:pts/1)──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────(~)─┐
└─(19:07:%)── gacutil -l | grep appindicator ──(Sat,Apr17)─┘
┌─(raof@Ed:pts/1)──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────(~)─┐
└─(1:19:07:%)── sudo dpkg --install ~/pbuilder/lucid_result/libappindicator0-cil_0.0.19-0ubuntu4_all.deb ──(Sat,Apr17)─┘
(Reading database ... 402366 files and directories currently installed.)
Preparing to replace libappindicator0-cil 0.0.19-0ubuntu3 (using .../libappindicator0-cil_0.0.19-0ubuntu4_all.deb) ...
Unpacking replacement libappindicator0-cil ...
Setting up libappindicator0-cil (0.0.19-0ubuntu4) ...
* Installing 1 assembly from libappindicator0-cil into Mono

┌─(raof@Ed:pts/1)──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────(~)─┐
└─(19:07:%)── gacutil -l | grep appindicator ──(Sat,Apr17)─┘
appindicator-sharp, Version=0.0.0.0, Culture=neutral, PublicKeyToken=bcae265d1c7ab4c2
┌─(raof@Ed:pts/1)──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────(~)─┐
└─(19:08:%)── ──(Sat,Apr17)─┘

Revision history for this message
Sense Egbert Hofstede (sense) wrote :

I'll mark this bug as a duplicate of bug #564506 since the patch attached to that bug fixes this issue. Should make reviewing freeze exceptions easier.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

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