Re: Meson build error

Tom Kacvinsky <[email protected]> Mon, 2 Mar 2026 07:29:18 -0600
Newsgroups gmane.comp.fonts.freetype.devel
Message-ID <CAG_eJLc_APeZWOiROna6gJ+UZNJA9oq6s-Owe6CMzxNOCHZ7rQ@mail.gmail.com>
--000000000000af842e064c0a9316
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

Hi again,

On Mon, Mar 2, 2026 at 7:24=E2=80=AFAM Tom Kacvinsky <[email protected]> w=
rote:

> 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
> zlib
> 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
> the
> above idea.
>
>
Didn't do enough research.  Apparently the zlib.wrap file has to be in the
subprojects folder (which is what you have already said).

Are you using this wrap file?

https://github.com/mesonbuild/wrapdb/blob/master/subprojects/zlib.wrap

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

<div dir=3D"ltr"><div dir=3D"ltr">Hi again,</div><br><div class=3D"gmail_qu=
ote gmail_quote_container"><div dir=3D"ltr" class=3D"gmail_attr">On Mon, Ma=
r 2, 2026 at 7:24=E2=80=AFAM Tom Kacvinsky &lt;<a href=3D"mailto:tkacvins@g=
mail.com">[email protected]</a>&gt; wrote:<br></div><blockquote class=3D"g=
mail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204=
,204,204);padding-left:1ex"><div dir=3D"ltr"><div dir=3D"ltr"><font face=3D=
"arial, sans-serif">Hi=C2=A0Werner,</font><div><font face=3D"arial, sans-se=
rif"><br></font></div></div><div class=3D"gmail_quote"><div dir=3D"ltr" cla=
ss=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]" target=3D"_=
blank">[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></div></blockquote><div><br></div><div>D=
idn&#39;t do enough research.=C2=A0 Apparently the zlib.wrap file has to be=
 in the</div><div>subprojects folder (which is what you have already said).=
</div><div><br></div><div>Are you using=C2=A0this wrap file?</div><div><br>=
</div><div><a href=3D"https://github.com/mesonbuild/wrapdb/blob/master/subp=
rojects/zlib.wrap">https://github.com/mesonbuild/wrapdb/blob/master/subproj=
ects/zlib.wrap</a>=C2=A0</div></div></div>

--000000000000af842e064c0a9316--