From owner-freebsd-ports-bugs@FreeBSD.ORG Tue Nov 20 23:20:07 2012 Return-Path: Delivered-To: freebsd-ports-bugs@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id CFF848D1; Tue, 20 Nov 2012 23:20:07 +0000 (UTC) (envelope-from jeremyhu@freedesktop.org) Received: from cid.outersquare.org (mail.outersquare.org [IPv6:2001:470:1f05:140b::6]) by mx1.freebsd.org (Postfix) with ESMTP id A09AA8FC21; Tue, 20 Nov 2012 23:20:07 +0000 (UTC) Received: from localhost (unknown [127.0.0.1]) by cid.outersquare.org (Postfix) with ESMTP id 011DE4F8B90A; Tue, 20 Nov 2012 15:20:07 -0800 (PST) X-Virus-Scanned: amavisd-new at outersquare.org Received: from cid.outersquare.org ([127.0.0.1]) by localhost (cid.outersquare.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id kCx8INqxkby8; Tue, 20 Nov 2012 15:20:04 -0800 (PST) Received: from tifa.home (pool-71-125-32-160.nycmny.fios.verizon.net [71.125.32.160]) by cid.outersquare.org (Postfix) with ESMTPSA id B66344F8B8F1; Tue, 20 Nov 2012 15:20:03 -0800 (PST) From: Jeremy Huddleston Sequoia Content-Type: multipart/mixed; boundary="Apple-Mail=_C5537C25-9561-4E82-BC3A-B0F44F3B995A" Message-Id: Mime-Version: 1.0 (Mac OS X Mail 6.3 \(1501\)) Subject: Re: ports/173741: multimedia/dirac fails to compile with clang Date: Tue, 20 Nov 2012 18:20:00 -0500 References: <201211201820.qAKIK02J027067@freefall.freebsd.org> To: FreeBSD-gnats-submit@FreeBSD.org, freebsd-ports-bugs@FreeBSD.org In-Reply-To: <201211201820.qAKIK02J027067@freefall.freebsd.org> X-Mailer: Apple Mail (2.1501) X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 20 Nov 2012 23:20:07 -0000 --Apple-Mail=_C5537C25-9561-4E82-BC3A-B0F44F3B995A Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii The problem is coming from this bit in configure.ac which assumes that = compilers starting with "cl" are for win32. This configure.ac patch = (and an autoreconf) should fix it up. --Apple-Mail=_C5537C25-9561-4E82-BC3A-B0F44F3B995A Content-Disposition: attachment; filename=dirac-clang.patch Content-Type: application/octet-stream; name="dirac-clang.patch" Content-Transfer-Encoding: 7bit --- configure.ac.orig 2012-11-20 17:18:12.000000000 -0800 +++ configure.ac 2012-11-20 17:19:09.000000000 -0800 @@ -68,6 +68,7 @@ use_msvc=no AC_SUBST([LIBFLAGS],[]) AC_SUBST([LIBEXT],[]) case "$CXX" in + *clang*) ;; cl*|CL*) CXXFLAGS="-nologo -W1 -EHsc -DWIN32" if test x"$enable_shared" = "xyes"; then @@ -208,14 +209,14 @@ AC_ARG_ENABLE(debug, AC_HELP_STRING([--e if test x"${enableval}" = x"yes" ; then AC_MSG_RESULT(yes) case "$CXX" in - g++*) + *g++*|*clang++*) CXXFLAGS=`echo $CXXFLAGS | sed 's/-O[[0-9]]*//g'` OPT_CFLAGS="" TRY_CFLAGS="-O0" AC_TRY_CXXFLAGS([],[], [$TRY_CFLAGS $CXXFLAGS],[OPT_CFLAGS="$TRY_CFLAGS"]) CXXFLAGS="$OPT_CFLAGS $CXXFLAGS -DDIRAC_DEBUG" ;; - icc) + *icc) CXXFLAGS=`echo $CXXFLAGS | sed 's/-O[[0-9]]*//g'` CXXFLAGS="-DDIRAC_DEBUG -g -O0 $CXXFLAGS" # report only errors and warnings as errors --Apple-Mail=_C5537C25-9561-4E82-BC3A-B0F44F3B995A Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=us-ascii On Nov 20, 2012, at 1:20 PM, freebsd-gnats-submit@FreeBSD.org wrote: > Thank you very much for your problem report. > It has the internal identification `ports/173741'. > The individual assigned to look at your > report is: freebsd-ports-bugs. > > You can access the state of your problem report at any time > via this link: > > http://www.freebsd.org/cgi/query-pr.cgi?pr=173741 > >> Category: ports >> Responsible: freebsd-ports-bugs >> Synopsis: multimedia/dirac fails to compile with clang >> Arrival-Date: Tue Nov 20 18:20:00 UTC 2012 > --Apple-Mail=_C5537C25-9561-4E82-BC3A-B0F44F3B995A--