Bug#902197: mozjs52 FTBFS with icu 60.2

Simon McVittie smcv at debian.org
Wed Jul 4 00:14:25 BST 2018


Control: tags -1 + patch

On Sat, 23 Jun 2018 at 16:33:40 +0100, Simon McVittie wrote:
> On Sat, 23 Jun 2018 at 12:52:01 +0300, Adrian Bunk wrote:
> > make[3]: *** No rule to make target 'ParagraphLayout.ao', needed by '../lib/libiculx.a'.  Stop.
> 
> It looks as though Ubuntu might have a fix for this
> ...
> +  * Don't build-depend on libicu-dev

This didn't work for me: even with a Build-Conflicts, I got the same
failure. However, a better solution seems to be to pass --disable-layoutex
to the bundled icu's configure script, as in the attached. That makes
some sense to me at least: the bundled icu's configure script has an
"automagic" dependency on the icu-le-hb layout engine library, which until
recently we didn't have. However, the bundled icu is incomplete/minimal
and doesn't actually have the source code for the optional paragraph
layout feature that requires icu-le-hb. We can resolve that by turning
the feature off, which isn't a regression because the versions of mozjs52
that compiled successfully didn't have it either.

Having fixed that, I get a different FTBFS: the mozjs command-line entry
point fails to start up. I'll open a separate bug to track that. I can
work around it, but I'm reasonably sure my workaround isn't the proper
solution.

    smcv
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Add-disable-layoutex-when-running-ICU-configure.-r-froydn.patch
Type: text/x-diff
Size: 958 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-gnome-maintainers/attachments/20180704/a5377c55/attachment.patch>


More information about the pkg-gnome-maintainers mailing list