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

Sean Whitton spwhitton at spwhitton.name
Tue Dec 3 03:14:12 GMT 2019


control: severity -1 serious
control: tag -1 - moreinfo

Hello,

On Tue 16 Aug 2016 at 09:55AM -04, Joachim Breitner wrote:

> I believe the problem is the following: When linking libghc-yi-rope-
> dev, ghc (or Caba?) will look at all its dependencies, and their
> "extra-libraries" fields ("icuuc icui18n icudata" for text-icu) and
> pass that to the linker (as "-licuuc -licui18n -licudata"). This is how
> we get this unwanted dependency.
>
> But since yi-rope does itself not actually use any of these symbols,
> this is probably not required! And not passing these libraries here
> should solve the problem.

If this diagnosis of the problem is correct, then I believe that the bug
severity should be set back to 'serious'.

If libicu is not present on the system, attempts to open yi-rope will
crash because the dynamic linker will try and fail to open libicu, even
though no symbols from that library actually get used.

-- 
Sean Whitton
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 832 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-haskell-maintainers/attachments/20191202/b1167c91/attachment.sig>


More information about the Pkg-haskell-maintainers mailing list