Date: Fri, 8 Nov 2013 12:18:20 GMT From: Borja Marcos <borjam@sarenet.es> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/183785: devel/htp doesn's build with clang Message-ID: <201311081218.rA8CIKte053338@oldred.freebsd.org> Resent-Message-ID: <201311081220.rA8CK0BM053327@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 183785 >Category: ports >Synopsis: devel/htp doesn's build with clang >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Fri Nov 08 12:20:00 UTC 2013 >Closed-Date: >Last-Modified: >Originator: Borja Marcos >Release: FreeBSD 10-BETA2 >Organization: >Environment: FreeBSD splunk 10.0-BETA2 FreeBSD 10.0-BETA2 #1: Tue Oct 29 13:52:03 CET 2013 root@splunk:/usr/obj/usr/src/sys/SPLUNK10 amd64 >Description: devel/htp doesn't build with clang. PORTNAME= libhtp PORTVERSION= 0.3.0 PORTREVISION= 2 Updated today from portsnap (Nov 8th 2013) --- gtest_main.lo --- In file included from ./gtest/gtest_main.cc:32: ./gtest/gtest.h:9682:34: error: no member named 'tr1' in namespace 'std' inline void PrintTo(const ::std::tr1::tuple<>& t, ::std::ostream* os) { ~~~~~~~^ ./gtest/gtest.h:9682:44: error: expected ')' inline void PrintTo(const ::std::tr1::tuple<>& t, ::std::ostream* os) { ^ ./gtest/gtest.h:9682:20: note: to match this '(' inline void PrintTo(const ::std::tr1::tuple<>& t, ::std::ostream* os) { ^ ./gtest/gtest.h:9683:16: error: use of undeclared identifier 't' PrintTupleTo(t, os); ^ ./gtest/gtest.h:9687:27: error: no member named 'tr1' in namespace 'std' void PrintTo(const ::std::tr1::tuple<T1>& t, ::std::ostream* os) { ~~~~~~~^ ./gtest/gtest.h:9687:37: error: expected ')' void PrintTo(const ::std::tr1::tuple<T1>& t, ::std::ostream* os) { ^ ./gtest/gtest.h:9687:13: note: to match this '(' void PrintTo(const ::std::tr1::tuple<T1>& t, ::std::ostream* os) { ^ ./gtest/gtest.h:9688:16: error: use of undeclared identifier 't' PrintTupleTo(t, os); ^ ./gtest/gtest.h:9692:27: error: no member named 'tr1' in namespace 'std' void PrintTo(const ::std::tr1::tuple<T1, T2>& t, ::std::ostream* os) { ~~~~~~~^ ./gtest/gtest.h:9692:37: error: expected ')' void PrintTo(const ::std::tr1::tuple<T1, T2>& t, ::std::ostream* os) { ^ ./gtest/gtest.h:9692:13: note: to match this '(' void PrintTo(const ::std::tr1::tuple<T1, T2>& t, ::std::ostream* os) { ^ ./gtest/gtest.h:9693:16: error: use of undeclared identifier 't' PrintTupleTo(t, os); ^ ./gtest/gtest.h:9697:27: error: no member named 'tr1' in namespace 'std' void PrintTo(const ::std::tr1::tuple<T1, T2, T3>& t, ::std::ostream* os) { ~~~~~~~^ ./gtest/gtest.h:9697:37: error: expected ')' void PrintTo(const ::std::tr1::tuple<T1, T2, T3>& t, ::std::ostream* os) { ^ ./gtest/gtest.h:9697:13: note: to match this '(' void PrintTo(const ::std::tr1::tuple<T1, T2, T3>& t, ::std::ostream* os) { ^ ./gtest/gtest.h:9698:16: error: use of undeclared identifier 't' PrintTupleTo(t, os); ^ --- gtest-all.lo --- In file included from ./gtest/gtest-all.cc:39: ./gtest/gtest.h:9682:34: error: no member named 'tr1' in namespace 'std' inline void PrintTo(const ::std::tr1::tuple<>& t, ::std::ostream* os) { ~~~~~~~^ ./gtest/gtest.h:9682:44: error: expected ')' inline void PrintTo(const ::std::tr1::tuple<>& t, ::std::ostream* os) { ^ ./gtest/gtest.h:9682:20: note: to match this '(' inline void PrintTo(const ::std::tr1::tuple<>& t, ::std::ostream* os) { ^ ./gtest/gtest.h:9683:16: error: use of undeclared identifier 't' PrintTupleTo(t, os); ^ --- gtest_main.lo --- ./gtest/gtest.h:9702:27: error: no member named 'tr1' in namespace 'std' void PrintTo(const ::std::tr1::tuple<T1, T2, T3, T4>& t, ::std::ostream* os) { ~~~~~~~^ ./gtest/gtest.h:9702:37: error: expected ')' void PrintTo(const ::std::tr1::tuple<T1, T2, T3, T4>& t, ::std::ostream* os) { ^ ./gtest/gtest.h:9702:13: note: to match this '(' void PrintTo(const ::std::tr1::tuple<T1, T2, T3, T4>& t, ::std::ostream* os) { ^ ./gtest/gtest.h:9703:16: error: use of undeclared identifier 't' PrintTupleTo(t, os); ^ --- gtest-all.lo --- ./gtest/gtest.h:9687:27: error: no member named 'tr1' in namespace 'std' void PrintTo(const ::std::tr1::tuple<T1>& t, ::std::ostream* os) { ~~~~~~~^ ./gtest/gtest.h:9687:37: error: expected ')' void PrintTo(const ::std::tr1::tuple<T1>& t, ::std::ostream* os) { ^ ./gtest/gtest.h:9687:13: note: to match this '(' void PrintTo(const ::std::tr1::tuple<T1>& t, ::std::ostream* os) { ^ ./gtest/gtest.h:9688:16: error: use of undeclared identifier 't' PrintTupleTo(t, os); ^ --- gtest_main.lo --- ./gtest/gtest.h:9707:27: error: no member named 'tr1' in namespace 'std' void PrintTo(const ::std::tr1::tuple<T1, T2, T3, T4, T5>& t, ~~~~~~~^ ./gtest/gtest.h:9707:37: error: expected ')' void PrintTo(const ::std::tr1::tuple<T1, T2, T3, T4, T5>& t, ^ ./gtest/gtest.h:9707:13: note: to match this '(' void PrintTo(const ::std::tr1::tuple<T1, T2, T3, T4, T5>& t, ^ ./gtest/gtest.h:9709:16: error: use of undeclared identifier 't' PrintTupleTo(t, os); ^ --- gtest-all.lo --- ./gtest/gtest.h:9692:27: error: no member named 'tr1' in namespace 'std' void PrintTo(const ::std::tr1::tuple<T1, T2>& t, ::std::ostream* os) { ~~~~~~~^ ./gtest/gtest.h:9692:37: error: expected ')' void PrintTo(const ::std::tr1::tuple<T1, T2>& t, ::std::ostream* os) { ^ ./gtest/gtest.h:9692:13: note: to match this '(' void PrintTo(const ::std::tr1::tuple<T1, T2>& t, ::std::ostream* os) { ^ ./gtest/gtest.h:9693:16: error: use of undeclared identifier 't' PrintTupleTo(t, os); ^ --- gtest_main.lo --- ./gtest/gtest.h:9714:27: error: no member named 'tr1' in namespace 'std' void PrintTo(const ::std::tr1::tuple<T1, T2, T3, T4, T5, T6>& t, ~~~~~~~^ fatal error: too many errors emitted, stopping now [-ferror-limit=] --- gtest-all.lo --- ./gtest/gtest.h:9697:27: error: no member named 'tr1' in namespace 'std' void PrintTo(const ::std::tr1::tuple<T1, T2, T3>& t, ::std::ostream* os) { ~~~~~~~^ ./gtest/gtest.h:9697:37: error: expected ')' void PrintTo(const ::std::tr1::tuple<T1, T2, T3>& t, ::std::ostream* os) { ^ ./gtest/gtest.h:9697:13: note: to match this '(' void PrintTo(const ::std::tr1::tuple<T1, T2, T3>& t, ::std::ostream* os) { ^ ./gtest/gtest.h:9698:16: error: use of undeclared identifier 't' PrintTupleTo(t, os); ^ ./gtest/gtest.h:9702:27: error: no member named 'tr1' in namespace 'std' void PrintTo(const ::std::tr1::tuple<T1, T2, T3, T4>& t, ::std::ostream* os) { ~~~~~~~^ ./gtest/gtest.h:9702:37: error: expected ')' void PrintTo(const ::std::tr1::tuple<T1, T2, T3, T4>& t, ::std::ostream* os) { ^ ./gtest/gtest.h:9702:13: note: to match this '(' void PrintTo(const ::std::tr1::tuple<T1, T2, T3, T4>& t, ::std::ostream* os) { ^ ./gtest/gtest.h:9703:16: error: use of undeclared identifier 't' PrintTupleTo(t, os); ^ ./gtest/gtest.h:9707:27: error: no member named 'tr1' in namespace 'std' void PrintTo(const ::std::tr1::tuple<T1, T2, T3, T4, T5>& t, ~~~~~~~^ ./gtest/gtest.h:9707:37: error: expected ')' void PrintTo(const ::std::tr1::tuple<T1, T2, T3, T4, T5>& t, ^ ./gtest/gtest.h:9707:13: note: to match this '(' void PrintTo(const ::std::tr1::tuple<T1, T2, T3, T4, T5>& t, ^ ./gtest/gtest.h:9709:16: error: use of undeclared identifier 't' PrintTupleTo(t, os); ^ ./gtest/gtest.h:9714:27: error: no member named 'tr1' in namespace 'std' void PrintTo(const ::std::tr1::tuple<T1, T2, T3, T4, T5, T6>& t, ~~~~~~~^ fatal error: too many errors emitted, stopping now [-ferror-limit=] --- gtest_main.lo --- 20 errors generated. *** [gtest_main.lo] Error code 1 make[5]: stopped in /usr/ports/devel/libhtp/work/ironbee-libhtp-a334539/test --- gtest-all.lo --- 20 errors generated. *** [gtest-all.lo] Error code 1 make[5]: stopped in /usr/ports/devel/libhtp/work/ironbee-libhtp-a334539/test 2 errors make[5]: stopped in /usr/ports/devel/libhtp/work/ironbee-libhtp-a334539/test *** [all-recursive] Error code 1 make[4]: stopped in /usr/ports/devel/libhtp/work/ironbee-libhtp-a334539 1 error make[4]: stopped in /usr/ports/devel/libhtp/work/ironbee-libhtp-a334539 *** [all] Error code 2 make[3]: stopped in /usr/ports/devel/libhtp/work/ironbee-libhtp-a334539 1 error make[3]: stopped in /usr/ports/devel/libhtp/work/ironbee-libhtp-a334539 >How-To-Repeat: >Fix: It builds with gcc. I simply added USE_GCC?= yes to the Makefile. >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201311081218.rA8CIKte053338>