Date: Wed, 4 Oct 2023 08:34:26 -0700 From: Mark Millard <marklmi@yahoo.com> To: Robert Huff <roberthuff@rcn.com> Cc: Dimitry Andric <dim@FreeBSD.org>, FreeBSD Mailing List <freebsd-ports@freebsd.org> Subject: Re: problem with ... make? Message-ID: <8DB4491B-1727-4EBE-8550-4B34DE8A776B@yahoo.com> In-Reply-To: <544C938D-0DAD-4606-97BA-1DB511A26840@yahoo.com> References: <544C938D-0DAD-4606-97BA-1DB511A26840@yahoo.com>
next in thread | previous in thread | raw e-mail | index | archive | help
[Resend: I missed sending to the list.] Robert Huff <roberthuff_at_rcn.com> wrote on Date: Wed, 04 Oct 2023 12:46:25 UTC : > [I sent a version of this to ports@ ... had no response > ... trying here because there's now a large back log of ports > updates.] >=20 > On a system running: >=20 > FreeBSD 14.0-CURRENT #0 main-f0a15aafcb > Mon Oct 31 08:19:54 EDT 2022 > amd64 >=20 > with the ports tree updated nightly, I suddenly have a problen > building ports.=20 > Sample case: >=20 > root@> pd /usr/ports/www/chromium/ > root@> make clean > make[2]: "/usr/ports/Mk/Uses/objc.mk" line 57: String comparison = operator must be either =3D=3D or !=3D > make[2]: Fatal errors encountered -- cannot continue > =3D=3D=3D> Cleaning for chromium-117.0.5938.132_1 > root@> > . . . The error message matches the file line 57 in my environment if COMPILER_VERSION or OBJC_CLANG_VERSION is not such that it would be treated as numeric on expansion. Note the "<" in: # We do always need clang and prefer a recent version . if (${COMPILER_TYPE} =3D=3D clang && ${COMPILER_VERSION} < = ${OBJC_CLANG_VERSION}) || ${COMPILER_TYPE} !=3D clang I see: /usr/ports/Mk/Uses/objc.mk:OBJC_CLANG_VERSION=3D ${LLVM_DEFAULT} and the comments for LLVM_DEFAULT in Mk/bsd.default-versions.mk = indicate: # Possible values: 10, 11, 12, 13, 14, 15, 16, 17, -devel (to be used = when non-base compiler is required) So for LLVM_DEFAULT being -devel the error message makes sense. =3D=3D=3D Mark Millard marklmi at yahoo.com
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?8DB4491B-1727-4EBE-8550-4B34DE8A776B>