Date: Thu, 6 Feb 2014 03:27:35 +0400 From: Dmitry Marakasov <amdmi3@amdmi3.ru> To: Brooks Davis <brooks@FreeBSD.org> Cc: svn-ports-head@freebsd.org, svn-ports-all@freebsd.org, ports-committers@freebsd.org Subject: Re: svn commit: r341489 - in head/lang/clang34: . files Message-ID: <20140205232734.GC9806@hades.panopticon> In-Reply-To: <201401280004.s0S04l7I076528@svn.freebsd.org> References: <201401280004.s0S04l7I076528@svn.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
* 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20140205232734.GC9806>