Bug#834026: libghc-yi-rope-dev: links against libicu but doesn't depend on it

Sean Whitton spwhitton at spwhitton.name
Tue Aug 16 03:22:24 UTC 2016


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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: add-extra-lib.patch
Type: text/x-diff
Size: 372 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-haskell-maintainers/attachments/20160815/2ae52ca8/attachment-0001.patch>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-haskell-maintainers/attachments/20160815/2ae52ca8/attachment-0001.sig>


More information about the Pkg-haskell-maintainers mailing list