Re: git: 538a001f90bb - main - archivers/zstd: Change build system from meson to gmake

From: Po-Chuan Hsieh <sunpoet_at_freebsd.org>
Date: Sat, 27 Aug 2022 16:08:14 UTC
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).