Re: Meson build error

Tom Kacvinsky <[email protected]> Mon, 2 Mar 2026 07:24:26 -0600
Newsgroups gmane.comp.fonts.freetype.devel
Message-ID <CAG_eJLeuXjmatiN=vB9jqnGZWOM4kBPY_X+idmq_4h5RR5xU7Q@mail.gmail.com>
--0000000000005306d4064c0a8277
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

Hi Werner,

On Mon, Mar 2, 2026 at 7:09=E2=80=AFAM Werner LEMBERG <[email protected]> wrote:

>
> > this likely comes from the recent change in zlib's CMake
> > configuration.  [...]
>
> Thanks, but I don't think this was the reason.  AFAICS, it's rather
> caused by the wrong way I've installed and updated the wrap files.
>
>
I see in the meson build log that "meson subprojects download"

is not run.  From what I have read, this is supposed to down the subjects
you need.

But looking at meson.build, there is logic that adds the zlib subproject
under
certain conditions only.  Perhaps move the subproject before that logic and
then as part of the CI/CD pipeline, run the subprojects download so the zli=
b
source is available if the other tests fail

I am on vacation so I don't have access to a machine on which I can test th=
e
above idea.

Tom

--0000000000005306d4064c0a8277
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div dir=3D"ltr"><font face=3D"arial, sans-serif">Hi=C2=A0=
Werner,</font><div><font face=3D"arial, sans-serif"><br></font></div></div>=
<div class=3D"gmail_quote gmail_quote_container"><div dir=3D"ltr" class=3D"=
gmail_attr"><font face=3D"arial, sans-serif">On Mon, Mar 2, 2026 at 7:09=E2=
=80=AFAM Werner LEMBERG &lt;<a href=3D"mailto:[email protected]">[email protected]</a>&gt=
; wrote:<br></font></div><blockquote class=3D"gmail_quote" style=3D"margin:=
0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">=
<font face=3D"arial, sans-serif"><br>
&gt; this likely comes from the recent change in zlib&#39;s CMake<br>
&gt; configuration.=C2=A0 [...]<br>
<br>
Thanks, but I don&#39;t think this was the reason.=C2=A0 AFAICS, it&#39;s r=
ather<br>
caused by the wrong way I&#39;ve installed and updated the wrap files.<br><=
br></font></blockquote><div><font face=3D"arial, sans-serif"><br></font></d=
iv><div><font face=3D"arial, sans-serif">I see in the meson build log that =
&quot;</font>meson subprojects download<font face=3D"arial, sans-serif"><sp=
an style=3D"background-color:rgb(243,245,246);color:rgb(10,10,10)">&quot;</=
span></font></div><div><font face=3D"arial, sans-serif"><br></font></div><d=
iv><font face=3D"arial, sans-serif">is not run.=C2=A0 From what I have read=
, this is supposed to down the subjects you need.</font></div><div><font fa=
ce=3D"arial, sans-serif"><br></font></div><div><font face=3D"arial, sans-se=
rif">But looking at meson.build, there is logic that adds the zlib subproje=
ct under</font></div><div><font face=3D"arial, sans-serif">certain=C2=A0</f=
ont><span style=3D"font-family:arial,sans-serif">conditions only.=C2=A0 Per=
haps move the subproject before that logic and</span></div><div><span style=
=3D"font-family:arial,sans-serif">then as part=C2=A0</span><span style=3D"f=
ont-family:arial,sans-serif">of the CI/CD pipeline, run the subprojects dow=
nload so the zlib</span></div><div><span style=3D"font-family:arial,sans-se=
rif">source is available=C2=A0</span><span style=3D"font-family:arial,sans-=
serif">if the </span>other<span style=3D"font-family:arial,sans-serif">=C2=
=A0tests fail</span></div><div><font face=3D"arial, sans-serif"><br></font>=
</div><div><font face=3D"arial, sans-serif">I am on vacation so I don&#39;t=
 have access to a machine on which I can test the</font></div><div><font fa=
ce=3D"arial, sans-serif">above idea.</font></div><div><font face=3D"arial, =
sans-serif"><br></font></div><div><font face=3D"arial, sans-serif">Tom</fon=
t></div><div><font face=3D"arial, sans-serif"><br></font></div></div></div>

--0000000000005306d4064c0a8277--