From owner-freebsd-ports@freebsd.org Sat Nov 5 16:08:55 2016 Return-Path: Delivered-To: freebsd-ports@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 5A18FAF707E for ; Sat, 5 Nov 2016 16:08:55 +0000 (UTC) (envelope-from dim@FreeBSD.org) Received: from tensor.andric.com (tensor.andric.com [IPv6:2001:7b8:3a7:1:2d0:b7ff:fea0:8c26]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "tensor.andric.com", Issuer "COMODO RSA Domain Validation Secure Server CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 1FD48FE7; Sat, 5 Nov 2016 16:08:55 +0000 (UTC) (envelope-from dim@FreeBSD.org) Received: from [IPv6:2001:7b8:3a7::58db:9460:9843:819] (unknown [IPv6:2001:7b8:3a7:0:58db:9460:9843:819]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by tensor.andric.com (Postfix) with ESMTPSA id 43B373163C; Sat, 5 Nov 2016 17:08:51 +0100 (CET) Content-Type: multipart/signed; boundary="Apple-Mail=_29DFE661-E16B-47E8-B1AF-568A0ACBF376"; protocol="application/pgp-signature"; micalg=pgp-sha1 Mime-Version: 1.0 (Mac OS X Mail 9.3 \(3124\)) Subject: Re: devel/llvm38 install seems to be missing files (e.g., FileCheck) From: Dimitry Andric In-Reply-To: <168f3b93-1e48-2c4f-e0e9-2bfeabc12613@gwdg.de> Date: Sat, 5 Nov 2016 17:08:46 +0100 Cc: David Wolfskill , ports-list freebsd , Brooks Davis Message-Id: <540ACAE8-E9FC-4B05-A109-469E3684234F@FreeBSD.org> References: <20161103125007.GP1203@albert.catwhisker.org> <20161105122633.GS1203@albert.catwhisker.org> <20161105135456.GV1203@albert.catwhisker.org> <168f3b93-1e48-2c4f-e0e9-2bfeabc12613@gwdg.de> To: Rainer Hurling X-Mailer: Apple Mail (2.3124) X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 05 Nov 2016 16:08:55 -0000 --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 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--