From owner-svn-ports-head@FreeBSD.ORG Wed Feb 5 23:27:39 2014 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 78C55F83; Wed, 5 Feb 2014 23:27:39 +0000 (UTC) Received: from smtpout3.timeweb.ru (smtpout3.timeweb.ru [92.53.117.25]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 2AADB16E8; Wed, 5 Feb 2014 23:27:38 +0000 (UTC) Received: from [213.148.20.85] (helo=hive.panopticon) by smtp.timeweb.ru with esmtpsa (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.76) (envelope-from ) id 1WBBsV-0008W5-If; Thu, 06 Feb 2014 03:27:35 +0400 Received: from hades.panopticon (hades.panopticon [192.168.0.32]) by hive.panopticon (Postfix) with ESMTP id 2DEA093D; Thu, 6 Feb 2014 03:27:35 +0400 (MSK) Received: by hades.panopticon (Postfix, from userid 1000) id 0BAAE31E79; Thu, 6 Feb 2014 03:27:35 +0400 (MSK) Date: Thu, 6 Feb 2014 03:27:35 +0400 From: Dmitry Marakasov To: Brooks Davis Subject: Re: svn commit: r341489 - in head/lang/clang34: . files Message-ID: <20140205232734.GC9806@hades.panopticon> References: <201401280004.s0S04l7I076528@svn.freebsd.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <201401280004.s0S04l7I076528@svn.freebsd.org> User-Agent: Mutt/1.5.22 (2013-10-16) Cc: svn-ports-head@freebsd.org, svn-ports-all@freebsd.org, ports-committers@freebsd.org X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 05 Feb 2014 23:27:39 -0000 * Brooks Davis (brooks@FreeBSD.org) wrote: I've also just discovered that though scan-build script is patched to fix path to css/js files which go into output directory: --- $FreeBSD: head/lang/clang34/files/patch-tools_clang_tools_scan-build_scan-build 340725 2014-01-22 17:40:44Z mat $ --- tools/clang/tools/scan-build/scan-build.orig +++ tools/clang/tools/scan-build/scan-build @@ -423,7 +423,7 @@ my $Dir = shift; - my $JS = Cwd::realpath("$RealBin/sorttable.js"); + my $JS = Cwd::realpath("%%DATADIR%%/sorttable.js"); DieDiag("Cannot find 'sorttable.js'.\n") if (! -r $JS); @@ -433,7 +433,7 @@ DieDiag("Could not copy 'sorttable.js' to '$Dir'.\n") if (! -r "$Dir/sorttable.js"); - my $CSS = Cwd::realpath("$RealBin/scanview.css"); + my $CSS = Cwd::realpath("%%DATADIR%%/scanview.css"); DieDiag("Cannot find 'scanview.css'.\n") if (! -r $CSS); --- These placeholders are not changed to actual paths, thus --- Use of uninitialized value $JS in -r at /usr/local/llvm34/bin/scan-build line 424. scan-build: Cannot find 'sorttable.js'. --- -- Dmitry Marakasov . 55B5 0596 FF1E 8D84 5F56 9510 D35A 80DD F9D2 F77D amdmi3@amdmi3.ru ..: jabber: amdmi3@jabber.ru http://www.amdmi3.ru