Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 28 Aug 2022 00:08:14 +0800
From:      Po-Chuan Hsieh <sunpoet@freebsd.org>
To:        Stefan Esser <se@freebsd.org>
Cc:        Jan Beich <jbeich@freebsd.org>, ports-committers@freebsd.org,  dev-commits-ports-all@freebsd.org, dev-commits-ports-main@freebsd.org
Subject:   Re: git: 538a001f90bb - main - archivers/zstd: Change build system from meson to gmake
Message-ID:  <CAMHz58QkoS_HiUkAEjTp-97x_rpEM7NVqRDVUnc0pr=DfmNRKA@mail.gmail.com>
In-Reply-To: <2e41e094-563b-250c-5e64-777901a944e9@FreeBSD.org>
References:  <202208271031.27RAV5RN047637@gitrepo.freebsd.org> <35dh-x4w0-wny@FreeBSD.org> <2e41e094-563b-250c-5e64-777901a944e9@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
--0000000000000e3f3605e73b3f87
Content-Type: text/plain; charset="UTF-8"

On Sat, Aug 27, 2022 at 9:30 PM Stefan Esser <se@freebsd.org> wrote:

> Am 27.08.22 um 14:11 schrieb Jan Beich:
> > Po-Chuan Hsieh <sunpoet@FreeBSD.org> writes:
> >
> >> The branch main has been updated by sunpoet:
> >>
> >> URL:
> https://cgit.FreeBSD.org/ports/commit/?id=538a001f90bbf14b5bdaa556119925699adb1849
> >>
> >> commit 538a001f90bbf14b5bdaa556119925699adb1849
> >> Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
> >> AuthorDate: 2022-08-27 10:23:30 +0000
> >> Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
> >> CommitDate: 2022-08-27 10:23:30 +0000
> >>
> >>      archivers/zstd: Change build system from meson to gmake
> >>
> >>      - Use BINARY_ALIAS and remove TEST_DEPENDS: md5sum from base
> system works fine
> >
> > FreeBSD 13.0 is not EOL until 2022-08-31, so this fails:
> >
> > $ poudriere testport -j 130amd64 archivers/zstd
> > [...]
> > =======================<phase: configure
> >============================
> > ===== env: DEVELOPER_MODE=yes STRICT_DEPENDS=yes
> > ===>   zstd-1.5.2_1 depends on package: gmake>=4.3 - found
> > ===>   zstd-1.5.2_1 depends on shared library: liblz4.so - found
> (/usr/local/lib/liblz4.so)
> > ===>  Missing "md5sum" to create a binary alias at
> "/wrkdirs/usr/ports/archivers/zstd/work/.bin/gmd5sum"
> > *** Error code 1
>
> The checksum programs have been improved to be compatible with the GNU
> versions after 13.0 was released.
>
> The port must depend on gmd5sum until the improved version of md5sum is
> available in all supported releases.
>
> I'm not sure that I have merged these changes back to 12.x (but could
> do this in time for 12.4).
>

gmd5sum is used to generate hash in order to differentiate builds using
different flags.
The usage is "foo | gmd5sum" where md5sum from the base system works fine
(tested with 12.3 and 13.1).

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

<div dir=3D"ltr"><div dir=3D"ltr">On Sat, Aug 27, 2022 at 9:30 PM Stefan Es=
ser &lt;<a href=3D"mailto:se@freebsd.org" target=3D"_blank">se@freebsd.org<=
/a>&gt; wrote:<br></div><div class=3D"gmail_quote"><blockquote class=3D"gma=
il_quote" style=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,2=
04,204);padding-left:1ex">Am 27.08.22 um 14:11 schrieb Jan Beich:<br>
&gt; Po-Chuan Hsieh &lt;sunpoet@FreeBSD.org&gt; writes:<br>
&gt; <br>
&gt;&gt; The branch main has been updated by sunpoet:<br>
&gt;&gt;<br>
&gt;&gt; URL: <a href=3D"https://cgit.FreeBSD.org/ports/commit/?id=3D538a00=
1f90bbf14b5bdaa556119925699adb1849" rel=3D"noreferrer" target=3D"_blank">ht=
tps://cgit.FreeBSD.org/ports/commit/?id=3D538a001f90bbf14b5bdaa556119925699=
adb1849</a><br>
&gt;&gt;<br>
&gt;&gt; commit 538a001f90bbf14b5bdaa556119925699adb1849<br>
&gt;&gt; Author:=C2=A0 =C2=A0 =C2=A0Po-Chuan Hsieh &lt;sunpoet@FreeBSD.org&=
gt;<br>
&gt;&gt; AuthorDate: 2022-08-27 10:23:30 +0000<br>
&gt;&gt; Commit:=C2=A0 =C2=A0 =C2=A0Po-Chuan Hsieh &lt;sunpoet@FreeBSD.org&=
gt;<br>
&gt;&gt; CommitDate: 2022-08-27 10:23:30 +0000<br>
&gt;&gt;<br>
&gt;&gt;=C2=A0 =C2=A0 =C2=A0 archivers/zstd: Change build system from meson=
 to gmake<br>
&gt;&gt;=C2=A0 =C2=A0 =C2=A0 <br>
&gt;&gt;=C2=A0 =C2=A0 =C2=A0 - Use BINARY_ALIAS and remove TEST_DEPENDS: md=
5sum from base system works fine<br>
&gt; <br>
&gt; FreeBSD 13.0 is not EOL until 2022-08-31, so this fails:<br>
&gt; <br>
&gt; $ poudriere testport -j 130amd64 archivers/zstd<br>
&gt; [...]<br>
&gt; =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D&=
lt;phase: configure=C2=A0 =C2=A0 =C2=A0 &gt;=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D<br>
&gt; =3D=3D=3D=3D=3D env: DEVELOPER_MODE=3Dyes STRICT_DEPENDS=3Dyes<br>
&gt; =3D=3D=3D&gt;=C2=A0 =C2=A0zstd-1.5.2_1 depends on package: gmake&gt;=
=3D4.3 - found<br>
&gt; =3D=3D=3D&gt;=C2=A0 =C2=A0zstd-1.5.2_1 depends on shared library: libl=
z4.so - found (/usr/local/lib/liblz4.so)<br>
&gt; =3D=3D=3D&gt;=C2=A0 Missing &quot;md5sum&quot; to create a binary alia=
s at &quot;/wrkdirs/usr/ports/archivers/zstd/work/.bin/gmd5sum&quot;<br>
&gt; *** Error code 1<br>
<br>
The checksum programs have been improved to be compatible with the GNU<br>
versions after 13.0 was released.<br>
<br>
The port must depend on gmd5sum until the improved version of md5sum is<br>
available in all supported releases.<br>
<br>
I&#39;m not sure that I have merged these changes back to 12.x (but could<b=
r>
do this in time for 12.4).<br></blockquote><div><br></div><div>gmd5sum is u=
sed to generate hash in order to=C2=A0differentiate builds using different =
flags.</div><div>The usage is &quot;foo | gmd5sum&quot; where md5sum from t=
he base system works fine (tested with 12.3 and 13.1).</div></div></div>

--0000000000000e3f3605e73b3f87--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAMHz58QkoS_HiUkAEjTp-97x_rpEM7NVqRDVUnc0pr=DfmNRKA>