===> tbb-2017.1_2 depends on file: /usr/local/sbin/pkg - found => tbb2017_20160916oss_src.tgz doesn't seem to exist in /usr/ports/distfiles/. => Attempting to fetch http://threadingbuildingblocks.org/sites/default/files/software_releases/source/tbb2017_20160916oss_src.tgz tbb2017_20160916oss_src.tgz 100% of 2869 kB 430 kBps 00m07s ===> Fetching all distfiles required by tbb-2017.1_2 for building ===> Extracting for tbb-2017.1_2 => SHA256 Checksum OK for tbb2017_20160916oss_src.tgz. ln: /tmp/ports/usr/ports/devel/tbb/work/tbb2017_20160916oss/build/FreeBSD./usr/local/bin/clang38.inc: No such file or directory *** Error code 1 After system clang upgraded from 3.8 to 3.9.1
Hi, Thanks for your report. Indeed, tbb itself does not seem to be ready to use an absolute path for $CC and $CXX. I have attached a patch that fixes that situation. I have tried to build the port that way : # make CC=/usr/local/bin/clang38 CXX=/usr/local/bin/clang++38 and it builds fine with my patch. Is it OK on your side ? Best regards, Ganael.
Created attachment 178563 [details] Accept absolute paths for CC and CXX
I add to make.conf and build ok.
A commit references this bug: Author: martymac Date: Fri Jan 6 17:33:05 UTC 2017 New revision: 430719 URL: https://svnweb.freebsd.org/changeset/ports/430719 Log: Accept absolute paths for CC and CXX PR: 215656 Submitted by: rozhuk.im@gmail.com Changes: head/devel/tbb/Makefile head/devel/tbb/files/patch-common.inc
Patch committed, thanks!