control: tag -1 +moreinfo
control: severity -1 important

Dear Emilio,

On Thu, Aug 11, 2016 at 03:32:28PM +0200, Emilio Pozuelo Monfort wrote:
> Package: libghc-yi-rope-dev
> Version: 0.7.0.1-3
> Severity: serious
> 
> $ objdump -x 
> usr/lib/haskell-packages/ghc/lib/x86_64-linux-ghc-7.10.3/yi-rope-0.7.0.1-HiTY8p3VPT60NpepXpO5r3/libHSyi-rope-0.7.0.1-HiTY8p3VPT60NpepXpO5r3-ghc7.10.3.so
>  | grep libicu
>   NEEDED               libicuuc.so.55
>   NEEDED               libicui18n.so.55
>   NEEDED               libicudata.so.55
> 
> But no dependency against libicu55.

libghc-yi-rope-dev depends on libghc-text-icu-dev (by means of a virtual
package the latter provides), and libghc-text-icu-dev depends on
libicu57.  If libicu57 went through a SONAME change and
libghc-text-icu-dev was binNMU'd, we would also have to binNMU
libghc-yi-rope-dev because there is no Haskell ABI stability.  So I
believe that all required shared library dependency relationships are in
place.

I'm lowering the severity to non-RC because, based on my understanding
of the shared library policy, this indirect dependency is sufficient.
If I'm wrong then please raise it back up.  Note that if you're right
that this is a bug, it probably affects all Haskell libraries that link
with non-Haskell shared libraries (all the reverse build dependencies of
libghc-text-icu-dev for a start).

The attached patch "fixes" the bug in that if it is applied, the binary
package gets a dependency on libicu57.  Though I don't think it should
be applied.

> This may be because of:
> 
> dh_shlibdeps -plibghc-yi-rope-dev -XlibHS

For the record, this isn't the problem -- dh_haskell_shlibdeps generates
the ${shlib:Depends} content by looking at a file that ghc generates.

-- 
Sean Whitton
Description: Add libicu shared library dependency
Author: Sean Whitton <spwhit...@spwhitton.name>
Forwarded: no
---
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
--- a/yi-rope.cabal
+++ b/yi-rope.cabal
@@ -30,6 +30,8 @@ library
     , text
     , text-icu
 
+  extra-libraries: icuuc
+
   hs-source-dirs:      src
   default-language:    Haskell2010
 

Attachment: signature.asc
Description: PGP signature

Reply via email to