From owner-freebsd-ports-bugs@freebsd.org Mon Dec 26 03:49:40 2016 Return-Path: Delivered-To: freebsd-ports-bugs@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 69637C84178 for ; Mon, 26 Dec 2016 03:49:40 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 3F0AB7AA for ; Mon, 26 Dec 2016 03:49:40 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id uBQ3ndSO032758 for ; Mon, 26 Dec 2016 03:49:40 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-ports-bugs@FreeBSD.org Subject: [Bug 215566] devel/llvm37: scan-build37 expects to find gcc and fails on 11.0 Date: Mon, 26 Dec 2016 03:49:39 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: bruce.cran@gmail.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: brooks@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter flagtypes.name Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 26 Dec 2016 03:49:40 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D215566 Bug ID: 215566 Summary: devel/llvm37: scan-build37 expects to find gcc and fails on 11.0 Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: brooks@FreeBSD.org Reporter: bruce.cran@gmail.com Flags: maintainer-feedback?(brooks@FreeBSD.org) Assignee: brooks@FreeBSD.org Trying to run scan-build37 from the devel/llvm37 port results in an error: Can't exec "gcc": No such file or directory at /usr/local/llvm37/bin/../libexec/ccc-analyzer line 459. Strangely the description at the top of ccc-analyzer says: > # A script designed to interpose between the build system and gcc. It i= nvokes > # both gcc and the static analyzer. I don't know why it doesn't mention clang. But, later on there's: ` if (`uname -a` =3D~ m/Darwin/) { $DefaultCCompiler =3D 'clang'; $DefaultCXXCompiler =3D 'clang++'; # Older versions of OSX do not have xcrun to # query the SDK location. if (-x "/usr/bin/xcrun") { $UseXCRUN =3D 1; } } else { $DefaultCCompiler =3D 'gcc'; $DefaultCXXCompiler =3D 'g++'; } ` Since FreeBSD now uses clang by default too, should the 'if' clause be upda= ted? --=20 You are receiving this mail because: You are the assignee for the bug.=