From owner-freebsd-ports-bugs@FreeBSD.ORG Thu Feb 6 21:00:00 2014 Return-Path: Delivered-To: freebsd-ports-bugs@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id A030388C for ; Thu, 6 Feb 2014 21:00:00 +0000 (UTC) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 7D9A61520 for ; Thu, 6 Feb 2014 21:00:00 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.7/8.14.7) with ESMTP id s16L00sw072077 for ; Thu, 6 Feb 2014 21:00:00 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.8/8.14.8/Submit) id s16L00fb072076; Thu, 6 Feb 2014 21:00:00 GMT (envelope-from gnats) Resent-Date: Thu, 6 Feb 2014 21:00:00 GMT Resent-Message-Id: <201402062100.s16L00fb072076@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Diane Bruce 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 774F477E for ; Thu, 6 Feb 2014 20:57:56 +0000 (UTC) Received: from diana.db.net (diana.db.net [66.113.102.10]) by mx1.freebsd.org (Postfix) with ESMTP id 4B0151501 for ; Thu, 6 Feb 2014 20:57:56 +0000 (UTC) Received: from night.db.net (localhost [127.0.0.1]) by diana.db.net (Postfix) with ESMTP id E29932AA4F2 for ; Thu, 6 Feb 2014 13:57:44 -0700 (MST) Received: by night.db.net (Postfix, from userid 1000) id BD32F1CC0B; Thu, 6 Feb 2014 15:57:08 -0500 (EST) Message-Id: <20140206205708.BD32F1CC0B@night.db.net> Date: Thu, 6 Feb 2014 15:57:08 -0500 (EST) From: Diane Bruce To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.114 Subject: ports/186521: swig20 generated wrappers incompatibility with clang X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list Reply-To: Diane Bruce List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 06 Feb 2014 21:00:00 -0000 >Number: 186521 >Category: ports >Synopsis: swig20 generated wrappers incompatibility with clang >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Thu Feb 06 21:00:00 UTC 2014 >Closed-Date: >Last-Modified: >Originator: Diane Bruce >Release: FreeBSD 9.1-STABLE amd64 >Organization: You must be joking. >Environment: System: FreeBSD night.db.net 9.1-STABLE FreeBSD 9.1-STABLE #17 r249713: Sat Apr 20 18:27:18 EST 2013 root@night.db.net:/usr/obj/usr/src/sys/GENERIC amd64 >Description: discovered in building gnuradio 3.7.2 ... [ 48%] Building CXX object gr-vocoder/lib/CMakeFiles/gnuradio-vocoder.dir/g721_d ecode_bs_impl.cc.o /home/db/ports/gnuradio/work/.build/gr-fec/swig/fec_swigPYTHON_wrap.cxx:3267:51: error: implicit instantiation of undefined template 'std::__1::basic_string, std::__1::allocator >' static swig_type_info *type_query(std::string name) { /usr/include/c++/v1/iosfwd:188:33: note: template is declared here class _LIBCPP_TYPE_VIS_ONLY basic_string; ^ ... Old style #include would work with c++ std:: but is deprecated This bug should affect OSX as well and although I spotted several similar bugs on SF bug tracker I did not spot this exact one. It may still be a probem worth reporting upstream. I am not sure if this will require a [exp-run]. swig template fails to include c++ >How-To-Repeat: Build gnuradio 3.7.2 >Fix: Index: swig20/files/patch-Lib_swigrun.swg =================================================================== --- swig20/files/patch-Lib_swigrun.swg (revision 0) +++ swig20/files/patch-Lib_swigrun.swg (working copy) @@ -0,0 +1,10 @@ +--- Lib/swigrun.swg.orig 2013-09-15 09:11:43.000000000 -0500 ++++ Lib/swigrun.swg 2014-02-06 14:04:08.000000000 -0500 +@@ -176,6 +176,7 @@ + #include + + #ifdef __cplusplus ++#include + extern "C" { + #endif + Property changes on: swig20/files/patch-Lib_swigrun.swg ___________________________________________________________________ Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property >Release-Note: >Audit-Trail: >Unformatted: