[Pkg-haskell-maintainers] Bug#781649: ghc-doc: trigger problem during wheezy->jessie upgrade: haddock: error while loading shared libraries: libffi.so.6: cannot open shared object file: No such file or directory

Joachim Breitner nomeata at debian.org
Wed Apr 1 09:17:04 UTC 2015


control: tag -1 + help

Hi,

Am Mittwoch, den 01.04.2015, 10:55 +0200 schrieb Andreas Beckmann:
> during a test with piuparts I noticed your package fails to upgrade from
> 'wheezy'.
> It installed fine in 'wheezy', then the upgrade to 'jessie' fails.
> 
> >From the attached log (scroll to the bottom...):
> 
> [...]
>   Preparing to unpack .../ghc-haddock_7.6.3-20_amd64.deb ...
>   Unpacking ghc-haddock (7.6.3-20) over (7.4.1-4) ...
> [...]
>   Processing triggers for ghc-doc (7.4.1-4) ...
>   haddock: error while loading shared libraries: libffi.so.6: cannot open shared object file: No such file or directory
>   dpkg: error processing package ghc-doc (--unpack):
>    subprocess installed post-installation script returned error exit status 127
> [...]
> 
> This is the trigger from the wheezy package being called after some
> *ghc* packages from jessie have been unpacked.
> libffi6 has been scheduled for installation, but is not yet unpacked.
> 
> Looks like this is currently reproducible with many libghc-*-doc packages
> in piuparts tests that use --install-recommends.
> 
> Probably something needs to Breaks: ghc-doc (<< ???)
> or ghc-haddock needs to Pre-Depends: libffi6
> or ...

eek. This is #769554 which I was hoping to have fixed by changing the
trigger to a trigger-noawait, but it seems that it has not helped.

I have asked at haskell-dpkg for help getting this right without
guessing, but have not received a reply yet. Let’s try again:

Hence my question to those in the know: How do I make sure that
ghc-doc’s trigger is not run until all of ghc-doc’s dependencies (and
their dependencies) are installed (not necessarily configured).

The current chain of dependencies is:
Package: ghc-doc
Depends: haddock-interface-22, perl

Package: ghc-haddock
Provides: haddock, haddock-interface-21, haddock-interface-22
Depends: ghc (= 7.6.3-19), libc6 (>= 2.14), libffi6 (>= 3.0.4), libgmp10


Greetings,
Joachim

-- 
Joachim "nomeata" Breitner
Debian Developer
  nomeata at debian.org | ICQ# 74513189 | GPG-Keyid: F0FBF51F
  JID: nomeata at joachim-breitner.de | http://people.debian.org/~nomeata
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: This is a digitally signed message part
URL: <http://lists.alioth.debian.org/pipermail/pkg-haskell-maintainers/attachments/20150401/3a06a67a/attachment.sig>


More information about the Pkg-haskell-maintainers mailing list