Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 18 Jan 2016 19:31:46 +0000
From:      Brooks Davis <brooks@freebsd.org>
To:        Graham Menhennitt <graham@menhennitt.com.au>
Cc:        freebsd-ports@freebsd.org
Subject:   Re: error upgrading graphics/dri port "/usr/local/llvm36/bin/clang: not found"
Message-ID:  <20160118193145.GA38438@spindle.one-eyed-alien.net>
In-Reply-To: <569B4BEE.4000205@menhennitt.com.au>
References:  <569B4BEE.4000205@menhennitt.com.au>

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

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

On Sun, Jan 17, 2016 at 07:08:14PM +1100, Graham Menhennitt wrote:
> Does anybody have any clues, please?
>=20
> Thanks,
>     Graham
>=20
> root@starker# uname -a
> FreeBSD starker 11.0-CURRENT FreeBSD 11.0-CURRENT #17 r294103: Sun Jan
> 17 13:26:05 AEDT 2016   =20
> gfm@starker:/usr/obj/usr/data/FreeBSD/src_11-Current/sys/starker  amd64
> root@starker# ll /usr/local/llvm36/bin
> total 22384
> -rwxr-xr-x  1 root  wheel    277720 Jan  6 19:54 bugpoint
> -rwxr-xr-x  1 root  wheel  18292472 Sep 25 07:49 clang-cpp
> -rwxr-xr-x  1 root  wheel      7288 Jan  6 19:53 count
> -r-xr-xr-x  2 root  wheel    220280 Jan  6 19:54 FileCheck
> -r-xr-xr-x  4 root  wheel        82 Jan  6 19:54 lit
> -rwxr-xr-x  1 root  wheel    117368 Jan  6 19:54 llc
> -rwxr-xr-x  1 root  wheel     96128 Jan  6 19:54 lli
> -rwxr-xr-x  1 root  wheel     14648 Jan  6 19:54 lli-child-target
> -rwxr-xr-x  1 root  wheel     58200 Jan  6 19:54 llvm-ar
> -rwxr-xr-x  1 root  wheel     16960 Jan  6 19:54 llvm-as
> -rwxr-xr-x  1 root  wheel     46088 Jan  6 19:54 llvm-bcanalyzer
> -rwxr-xr-x  1 root  wheel     91416 Jan  6 19:54 llvm-config
> -rwxr-xr-x  1 root  wheel     92552 Jan  6 19:54 llvm-cov
> -rwxr-xr-x  1 root  wheel     49200 Jan  6 19:54 llvm-diff
> -rwxr-xr-x  1 root  wheel     20432 Jan  6 19:54 llvm-dis
> -rwxr-xr-x  1 root  wheel     32992 Jan  6 19:54 llvm-dsymutil
> -rwxr-xr-x  1 root  wheel     24888 Jan  6 19:54 llvm-dwarfdump
> -rwxr-xr-x  1 root  wheel     33008 Jan  6 19:54 llvm-extract
> -rwxr-xr-x  1 root  wheel     24904 Jan  6 19:54 llvm-link
> -r-xr-xr-x  4 root  wheel        82 Jan  6 19:54 llvm-lit
> -rwxr-xr-x  1 root  wheel     74560 Jan  6 19:54 llvm-mc
> -rwxr-xr-x  1 root  wheel     18072 Jan  6 19:54 llvm-mcmarkup
> -rwxr-xr-x  1 root  wheel     79432 Jan  6 19:54 llvm-nm
> -rwxr-xr-x  1 root  wheel    244848 Jan  6 19:54 llvm-objdump
> -rwxr-xr-x  1 root  wheel     46400 Jan  6 19:54 llvm-profdata
> lrwxr-xr-x  1 root  wheel         7 Jan  6 19:54 llvm-ranlib -> llvm-ar
> -rwxr-xr-x  1 root  wheel    314824 Jan  6 19:54 llvm-readobj
> -rwxr-xr-x  1 root  wheel     52520 Jan  6 19:54 llvm-rtdyld
> -rwxr-xr-x  1 root  wheel     64744 Jan  6 19:54 llvm-size
> -rwxr-xr-x  1 root  wheel     64640 Jan  6 19:54 llvm-stress
> -rwxr-xr-x  1 root  wheel     64736 Jan  6 19:54 llvm-symbolizer
> -rwxr-xr-x  1 root  wheel   1622424 Jan  6 19:53 llvm-tblgen
> -rwxr-xr-x  1 root  wheel     39064 Jan  6 19:54 llvm-vtabledump
> -rwxr-xr-x  1 root  wheel     36944 Jan  6 19:54 macho-dump
> -rwxr-xr-x  1 root  wheel     41112 Jan  6 19:53 not
> -rwxr-xr-x  1 root  wheel     47168 Jan  6 19:54 obj2yaml
> -rwxr-xr-x  1 root  wheel    302320 Jan  6 19:54 opt
> -rwxr-xr-x  1 root  wheel     34264 Jan  6 19:54 verify-uselistorder
> -rwxr-xr-x  1 root  wheel     66032 Jan  6 19:54 yaml2obj
> root@starker# pkg info|grep llvm
> llvm36-3.6.2_2                 Low Level Virtual Machine
> root@starker# portupgrade -aWw
> [Reading data from pkg(8) ... - 854 packages found - done]
> --->  Upgrading 'dri-11.0.7_1,2' to 'dri-11.0.8,2' (graphics/dri)
> --->  Building '/usr/ports/graphics/dri'
> =3D=3D=3D>   dri-11.0.8,2 depends on executable: makedepend - found
> =3D=3D=3D>   dri-11.0.8,2 depends on package: libclc>=3D0.0.r222830 - not=
 found
> =3D=3D=3D>  Building for libclc-0.1.0.20150710
> [8/979] LLVM-CC r600--/lib/math/mad.cl.cedar.bc
> FAILED: /usr/local/llvm36/bin/clang -MMD -MF
> r600--/lib/math/mad.cl.cedar.bc.d -target r600-- -I`dirname
> generic/lib/math/mad.cl` -Igeneric/include -fno-builtin
> -Dcl_clang_storage_class_specifiers -Dcl_khr_fp64 -Dcles_khr_int64
> -D__CLC_INTERNAL -emit-llvm -mcpu=3Dcedar -c -o
> r600--/lib/math/mad.cl.cedar.bc generic/lib/math/mad.cl
> /bin/sh: /usr/local/llvm36/bin/clang: not found
> [8/979] LLVM-CC r600--/lib/math/tables.cl.cedar.bc
> FAILED: /usr/local/llvm36/bin/clang -MMD -MF
> r600--/lib/math/tables.cl.cedar.bc.d -target r600-- -I`dirname
> generic/lib/math/tables.cl` -Igeneric/include -fno-builtin
> -Dcl_clang_storage_class_specifiers -Dcl_khr_fp64 -Dcles_khr_int64
> -D__CLC_INTERNAL -emit-llvm -mcpu=3Dcedar -c -o
> r600--/lib/math/tables.cl.cedar.bc generic/lib/math/tables.cl
> /bin/sh: /usr/local/llvm36/bin/clang: not found
> ...

You appear not to have lang/clang36 installed.  I don't know why
portupgrade isn't installing it since it is a BUILD_DEPEND of
graphics/dri, but installing it by hand should work around the problem.

-- Brooks

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

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQEcBAEBAgAGBQJWnT2hAAoJEKzQXbSebgfA7+oH/ic5lFjG2gNdnUPr9ohxeVU8
SfyibjxJvLyGAFHfIkZBPjtxYHdRROAPL+fiRMTD5T+3lEbemqThZyzFn9+aG15l
jkX1rcublWVBRnV26y7Jd0JmVsaGUAt4A6szXxuWqiHlLIUhU1QyLh8ZlA605ps4
nmjq2pbUAO2rDz8Im/rLyEqHmr4wJ/UGsJo2D9L2A6cfwLS4XgfYFwKFZPhS+63R
7iGaHlvUKECL00qGhdtqI1DrcFL2hP9CbxU7ZUdhoJi1ZEpDJUjeAiS4MbpHoJU9
rcqWqPe/uJmGjWw6ofCqz1/gNwZS6vQ2ej8g5Yc323JVfXglyLAUe0pvGw0rcRc=
=1cVt
-----END PGP SIGNATURE-----

--OgqxwSJOaUobr8KG--



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