Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 15 Nov 2017 19:58:16 +0000
From:      Brooks Davis <brooks@freebsd.org>
To:        Yuri <yuri@rawbw.com>
Cc:        "ports@freebsd.org" <ports@freebsd.org>
Subject:   Re: What is the correct way to require a specific version of clang?
Message-ID:  <20171115195816.GA35747@spindle.one-eyed-alien.net>
In-Reply-To: <408397b5-f2ff-9798-fca1-6e7567c5a4fd@rawbw.com>
References:  <408397b5-f2ff-9798-fca1-6e7567c5a4fd@rawbw.com>

next in thread | previous in thread | raw e-mail | index | archive | help

--ZPt4rx8FFjLCG7dd
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Wed, Nov 15, 2017 at 10:37:37AM -0800, Yuri wrote:
> There is no such thing as USES=3Dclang:38, for example.
>=20
> When I try this:
>=20
> .include <bsd.port.options.mk>
>=20
> .if ${OPSYS} =3D=3D FreeBSD && ${OSVERSION} < 1100000
> BUILD_DEPENDS=3D?? clang38:lang/clang38
> RUN_DEPENDS=3D?????? clang38:lang/clang38
> CC=3D???????????????????????? clang38
> CXX=3D?????????????????????? clang++38
>=20
> .endif
>=20
>=20
> It prints warnings in pourdriere 10i386 machine:
>=20
> clang38: not found
> make: "/usr/ports/Mk/Uses/compiler.mk" line 69: warning: "clang38=20
> --version" returned non-zero status
> make: "/usr/ports/Mk/Uses/compiler.mk" line 112: warning: "clang++38=20
> -### /dev/null 2>&1" returned non-zero status
>=20
>=20
> How to do this without such messages?

You'll need to start a shell in your poudreire instance and see what is
failing.  I'd expect that to work.

Note that it is possible to misconfigure the llvm38 port such that this
config is broken by disabling the CLANG option.

-- Brooks

--ZPt4rx8FFjLCG7dd
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----

iQEcBAEBAgAGBQJaDJxYAAoJEKzQXbSebgfAtvkH/RwY8EWPU1XtJEhOQwfW939g
OLrgZwA2OWCN0GhKVxaT+URR83rZChkzy3ZI5Q58XieOt3Vp2jJeg/R2Rjm2K1Kd
980Jaf7ojXHNx4Wp2f5uRdlywS+5PwqFWpXQj/XJDTMGwdY3NdH7yw/WQRB7qCNj
veJONpryTYYXcesTysna/kz/PeWtlSjlgR9VBy5jOhIQ5MHDHFG+nCD2oH6NylCx
3TXeDR4Ve6sMw77dmL3C2kCoFhxDqekGoEE2Tnz4VDoYaRa7WJtPlEo/0RACAdl7
LzknsacZ8yVhZUDYMouCEv9d+Vs7Czf47aMuaDGx1fYEJaY3USM7EYkrQrw8BQ4=
=MXyV
-----END PGP SIGNATURE-----

--ZPt4rx8FFjLCG7dd--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20171115195816.GA35747>