From nobody Sat Aug 27 16:08:14 2022 X-Original-To: dev-commits-ports-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4MFM835wkCz4ZjNW for ; Sat, 27 Aug 2022 16:08:51 +0000 (UTC) (envelope-from sunpoet@freebsd.org) Received: from smtp.freebsd.org (smtp.freebsd.org [96.47.72.83]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "smtp.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4MFM835VT8z3kdt for ; Sat, 27 Aug 2022 16:08:51 +0000 (UTC) (envelope-from sunpoet@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1661616531; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=zFOVUwf6qmoodTRpqgF2tydKMUdhlfTcrnchCkkSCIQ=; b=jA7wdDCMYzxTaoqD97F4SD1oydhkUPlvKxeeEqE15r8XmizUTYCUEnkq1E0qtaFRd/dAjV QTGjdwGbwsIyNG64ldn+sKvcKenTMjDcYiewGVwv6h/WQ0dajP3EpXUwOM6n3BQUViXZGy PiYIN83W0OTZYyzOcLBm6CtDr6ZV8kMGP75mTPKLsop4/MTB1ITxJHEvNyeaH/bAlj1SCZ jSMDutM1iqSBcQZ8VZqM4CrZAoqLBULBJ19SmbSYcctX7snVRnp/0a19X7Hma2p82OXEum VbU2/X7eagC/h44YXrJTt1p/guaCjsAi0P4Jc/UHCMfef6UkIOiRkE2jT/F78Q== Received: from mail-pj1-f45.google.com (mail-pj1-f45.google.com [209.85.216.45]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1D4" (verified OK)) (Authenticated sender: sunpoet) by smtp.freebsd.org (Postfix) with ESMTPSA id 4MFM834Gnyz17rf for ; Sat, 27 Aug 2022 16:08:51 +0000 (UTC) (envelope-from sunpoet@freebsd.org) Received: by mail-pj1-f45.google.com with SMTP id i5-20020a17090a2a0500b001fd8708ffdfso1557830pjd.2 for ; Sat, 27 Aug 2022 09:08:51 -0700 (PDT) X-Gm-Message-State: ACgBeo1l861B4+eEQkQ/SA5+liApn7IfRZ1TF/oAt6gOApgbbKme3+hr amfCh8+Dg2aveVfY5XY4z6FrB0bf73bW9HXbXkT0HQ== X-Google-Smtp-Source: AA6agR6JA6uK48RSrOVZtM1Lq3Zmf8l8dhCzz7wqsZh+rX1UxBEKX2QYMQGmVEqGRTlQ0xlLD1fb4rcBQHh2joN05/M= X-Received: by 2002:a17:902:ab55:b0:173:4116:8d3d with SMTP id ij21-20020a170902ab5500b0017341168d3dmr8593282plb.157.1661616530531; Sat, 27 Aug 2022 09:08:50 -0700 (PDT) List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-main@freebsd.org X-BeenThere: dev-commits-ports-main@freebsd.org MIME-Version: 1.0 References: <202208271031.27RAV5RN047637@gitrepo.freebsd.org> <35dh-x4w0-wny@FreeBSD.org> <2e41e094-563b-250c-5e64-777901a944e9@FreeBSD.org> In-Reply-To: <2e41e094-563b-250c-5e64-777901a944e9@FreeBSD.org> From: Po-Chuan Hsieh Date: Sun, 28 Aug 2022 00:08:14 +0800 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: git: 538a001f90bb - main - archivers/zstd: Change build system from meson to gmake To: Stefan Esser Cc: Jan Beich , ports-committers@freebsd.org, dev-commits-ports-all@freebsd.org, dev-commits-ports-main@freebsd.org Content-Type: multipart/alternative; boundary="0000000000000e3f3605e73b3f87" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1661616531; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=zFOVUwf6qmoodTRpqgF2tydKMUdhlfTcrnchCkkSCIQ=; b=iqjP4onXETgqTXbywVovmHdDf2RuCCvrsB8+I7N9BdOi4t9d3bNmlekjdsGPuHZjpUbSzg 0I98hvDoy3GHbQnPU4a+RqTNpMkE4T6U3ZtgVZ6UVVbMclX1xpdx/Jw0bVWANASPcYrfOm iAe3Vb53Kunvf37myAlxPrx9GRVVaVy5UuUtvo/EVgs/yXxSaQF9Z1xgNdTjfqoKxiN9Rw QGzOSQn6UQGEv8MLoElKPSv7rsHCycHcbAFljZgLhfXbLeYaBoO3jYvFP2xfNdhTO3EzYI aI691gmSUvULtV2/x+v/aE6ewEEN2nYXeYOtxV9dcO4ukpOzcWeNqp3pYE6vCg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1661616531; a=rsa-sha256; cv=none; b=tp4dm51kjTvOy3MKWUm2ecGEXHvpuqeAdkDzA5Cl7vOpkgTnhvlv78wMsYKsWKv9RQStPc LLRQSm0HYg6BlQqfPyoNyPhHc9q03r4ENYdvFfIjZjtqmWN5FdW2aqSaJm131/gsByJwsc VZmLIB9DmagbXHbBwJOMGwNiHJrhHqxMzvihj2rBgnCA9YVuAs0YxsyqCE3l90s8+WQ3c/ janJenJL+vYoaRKOT1lzZn1x/jdoUBENZpUf8b2puE8/MBz5ceIcuUgR/7Dhv/cqLXj1FC uK19pl8w7eqkfniDw9bnZIzbOtLC2xOWxgKCi7Utbhh9y5SQcoS5ZTdOi4QFEA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N --0000000000000e3f3605e73b3f87 Content-Type: text/plain; charset="UTF-8" On Sat, Aug 27, 2022 at 9:30 PM Stefan Esser wrote: > Am 27.08.22 um 14:11 schrieb Jan Beich: > > Po-Chuan Hsieh writes: > > > >> The branch main has been updated by sunpoet: > >> > >> URL: > https://cgit.FreeBSD.org/ports/commit/?id=538a001f90bbf14b5bdaa556119925699adb1849 > >> > >> commit 538a001f90bbf14b5bdaa556119925699adb1849 > >> Author: Po-Chuan Hsieh > >> AuthorDate: 2022-08-27 10:23:30 +0000 > >> Commit: Po-Chuan Hsieh > >> 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 > > [...] > > ======================= >============================ > > ===== 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
On Sat, Aug 27, 2022 at 9:30 PM Stefan Es= ser <se@freebsd.org<= /a>> 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:
ht= tps://cgit.FreeBSD.org/ports/commit/?id=3D538a001f90bbf14b5bdaa556119925699= adb1849
>>
>> commit 538a001f90bbf14b5bdaa556119925699adb1849
>> Author:=C2=A0 =C2=A0 =C2=A0Po-Chuan Hsieh <sunpoet@FreeBSD.org&= gt;
>> AuthorDate: 2022-08-27 10:23:30 +0000
>> Commit:=C2=A0 =C2=A0 =C2=A0Po-Chuan Hsieh <sunpoet@FreeBSD.org&= gt;
>> CommitDate: 2022-08-27 10:23:30 +0000
>>
>>=C2=A0 =C2=A0 =C2=A0 archivers/zstd: Change build system from meson= to gmake
>>=C2=A0 =C2=A0 =C2=A0
>>=C2=A0 =C2=A0 =C2=A0 - Use BINARY_ALIAS and remove TEST_DEPENDS: md= 5sum from base system works fine
>
> FreeBSD 13.0 is not EOL until 2022-08-31, so this fails:
>
> $ poudriere testport -j 130amd64 archivers/zstd
> [...]
> =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 >=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
> =3D=3D=3D=3D=3D env: DEVELOPER_MODE=3Dyes STRICT_DEPENDS=3Dyes
> =3D=3D=3D>=C2=A0 =C2=A0zstd-1.5.2_1 depends on package: gmake>= =3D4.3 - found
> =3D=3D=3D>=C2=A0 =C2=A0zstd-1.5.2_1 depends on shared library: libl= z4.so - found (/usr/local/lib/liblz4.so)
> =3D=3D=3D>=C2=A0 Missing "md5sum" to create a binary alia= s 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 u= sed to generate hash in order to=C2=A0differentiate builds using different = flags.
The usage is "foo | gmd5sum" where md5sum from t= he base system works fine (tested with 12.3 and 13.1).
--0000000000000e3f3605e73b3f87--