devel/llvm38 install seems to be missing files (e.g., FileCheck)

David Wolfskill david at catwhisker.org
Sat Nov 5 16:55:53 UTC 2016


On Sat, Nov 05, 2016 at 05:08:46PM +0100, Dimitry Andric wrote:
> On 05 Nov 2016, at 16:58, Rainer Hurling <rhurlin at gwdg.de> wrote:
> ... 
> >> 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?
> > 
> > not sure, if I missed something in your postings.
> > 
> > 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.)
> ....

I just re-ran "portmaster devel/llvm38" under script(1) (along with a
bit of additional trivia, such as results from "ls -lT
/usr/local/llvm38/bin" before and after the portmaster run (showing the
distinct lack of "FileCheck" in either case)

I have placed the typescript at
<http://www.catwhisker.org/~david/FreeBSD/ports/llvm38_test.txt>;
there's a gzipped copy (llvm38_test.txt.gz) available, as well.

In particular, I believe this result is salient:

albert(11.0-S)[18] grep -n '[Ii]nstall.*FileCheck' llvm38_test.txt
77:     LIT=on: Install lit and FileCheck test tools
7359:-- Installing:
/common/ports/devel/llvm38/work/stage/usr/local/llvm38/share/doc/llvm/html/_sources/CommandGuide/FileCheck.txt
7482:-- Installing:
/common/ports/devel/llvm38/work/stage/usr/local/llvm38/share/doc/llvm/html/CommandGuide/FileCheck.html
7658:-- Installing:
/common/ports/devel/llvm38/work/stage/usr/local/llvm38/share/man/man1/FileCheck.1
7807:install  -s -m 555
/common/ports/devel/llvm38/work/.build/bin/FileCheck
/common/ports/devel/llvm38/work/stage/usr/local/llvm38/bin/
albert(11.0-S)[19] 


[In this environment, the machine has 4 individually-bootable slices,
each of which has its own /usr file system when the slice in question
is the boot slice.  For each of the 4, /usr/ports is a symlink to
/common/ports -- the file system at /common being mounted "the same"
regardless of boot slice.)

Peace,
david
-- 
David H. Wolfskill				david at catwhisker.org
Those who would murder in the name of God or prophet are blasphemous cowards.

See http://www.catwhisker.org/~david/publickey.gpg for my public key.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 603 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/freebsd-ports/attachments/20161105/9e9e656f/attachment.sig>


More information about the freebsd-ports mailing list