Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 5 Nov 2016 17:08:46 +0100
From:      Dimitry Andric <dim@FreeBSD.org>
To:        Rainer Hurling <rhurlin@gwdg.de>
Cc:        David Wolfskill <david@catwhisker.org>, ports-list freebsd <freebsd-ports@freebsd.org>, Brooks Davis <brooks@FreeBSD.org>
Subject:   Re: devel/llvm38 install seems to be missing files (e.g., FileCheck)
Message-ID:  <540ACAE8-E9FC-4B05-A109-469E3684234F@FreeBSD.org>
In-Reply-To: <168f3b93-1e48-2c4f-e0e9-2bfeabc12613@gwdg.de>
References:  <20161103125007.GP1203@albert.catwhisker.org> <20161105122633.GS1203@albert.catwhisker.org> <20161105135456.GV1203@albert.catwhisker.org> <168f3b93-1e48-2c4f-e0e9-2bfeabc12613@gwdg.de>

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

--Apple-Mail=_29DFE661-E16B-47E8-B1AF-568A0ACBF376
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
	charset=us-ascii

On 05 Nov 2016, at 16:58, Rainer Hurling <rhurlin@gwdg.de> wrote:
>=20
> Am 05.11.2016 um 14:54 schrieb David Wolfskill:
>> On Sat, Nov 05, 2016 at 05:26:33AM -0700, David Wolfskill wrote:
>>> ...
>>> I circumvented the problem: ...
>>>=20
>>> g1-252(11.0-S)[20] sudo cp -p !$ /usr/local/llvm38/bin/
>>> sudo cp -p work/stage/usr/local/llvm38/bin/FileCheck =
/usr/local/llvm38/bin/
>>> g1-252(11.0-S)[21]
>>>=20
>>> That done, lang/rust built.
>>>=20
>>> My build machine is doing the first of its weekend poudriere runs
>>> as I type; if that shows anything relevant with respect to lang/rust
>>> and devel/llvm38, I'll follow up.
>>> ....
>>=20
>> Turns out that "PORT_LLVM" is, by default, off; I had turned it on =
since
>> I had other reasons to need llvm38 anyway.
>>=20
>> And since I only use lang/rust as a build dependency (e.g., for
>> www/fierfox), I had not specified any non-default options for the
>> poudriere build.  Thus, poudriere had built rust using the "bundled"
>> llvm38, which apparently has FileCheck in the place where the rust
>> config looks for it.  So poudriere didn't have an issue building
>> www/firefox (which required lang/rust).
>>=20
>> Am I incorrect in thinking that devel/llvm38 has a problem, though, =
in
>> that "%%LIT%%llvm38/bin/FileCheck" is in that port's pkg-plist, and
>> llvm38/bin/FileCheck is found in the staging directory, but
>> llvm38/bin/FileCheck is not actually installed?
>=20
> not sure, if I missed something in your postings.
>=20
> On my boxes, all recent FreeBSD 12.0-CURRENT amd64, the port
> devel/llvm38 installed FileCheck as expected, in the two places
> /usr/local/llvm38/bin/ and /usr/local/bin/.

It's installed into /usr/local/bin with a version number suffix, e.g.:

$ pkg info -l llvm38|grep FileCheck
	/usr/local/bin/FileCheck38
	/usr/local/llvm38/bin/FileCheck
	/usr/local/man/man1/FileCheck38.1.gz
	=
/usr/local/share/doc/llvm38/llvm/html/CommandGuide/FileCheck.html
	=
/usr/local/share/doc/llvm38/llvm/html/_sources/CommandGuide/FileCheck.txt

Maybe that's the reason rust can't find it in OP's case?  (It works just =
fine for me, btw.)

-Dimitry


--Apple-Mail=_29DFE661-E16B-47E8-B1AF-568A0ACBF376
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
	filename=signature.asc
Content-Type: application/pgp-signature;
	name=signature.asc
Content-Description: Message signed with OpenPGP using GPGMail

-----BEGIN PGP SIGNATURE-----
Version: GnuPG/MacGPG2 v2.0.30

iEYEARECAAYFAlgeBBIACgkQsF6jCi4glqOjzACgjcLYmH/Ba0Gj9lsIfL64BVcP
MiUAoN1SyWG9bPdPC0sHqDdhx7KtiNj9
=Cjl+
-----END PGP SIGNATURE-----

--Apple-Mail=_29DFE661-E16B-47E8-B1AF-568A0ACBF376--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?540ACAE8-E9FC-4B05-A109-469E3684234F>