From owner-freebsd-ports-bugs@FreeBSD.ORG Tue Sep 13 17:40:11 2011 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 801291065672 for ; Tue, 13 Sep 2011 17:40:11 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 5F5688FC19 for ; Tue, 13 Sep 2011 17:40:06 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id p8DHe61V038165 for ; Tue, 13 Sep 2011 17:40:06 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id p8DHe62m038164; Tue, 13 Sep 2011 17:40:06 GMT (envelope-from gnats) Resent-Date: Tue, 13 Sep 2011 17:40:06 GMT Resent-Message-Id: <201109131740.p8DHe62m038164@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, Hartmann@FreeBSD.org, "O." Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 242561065677 for ; Tue, 13 Sep 2011 17:37:03 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from red.freebsd.org (red.freebsd.org [IPv6:2001:4f8:fff6::22]) by mx1.freebsd.org (Postfix) with ESMTP id 13AFB8FC18 for ; Tue, 13 Sep 2011 17:37:03 +0000 (UTC) Received: from red.freebsd.org (localhost [127.0.0.1]) by red.freebsd.org (8.14.4/8.14.4) with ESMTP id p8DHb2p8084763 for ; Tue, 13 Sep 2011 17:37:02 GMT (envelope-from nobody@red.freebsd.org) Received: (from nobody@localhost) by red.freebsd.org (8.14.4/8.14.4/Submit) id p8DHb2NW084762; Tue, 13 Sep 2011 17:37:02 GMT (envelope-from nobody) Message-Id: <201109131737.p8DHb2NW084762@red.freebsd.org> Date: Tue, 13 Sep 2011 17:37:02 GMT From: Hartmann@FreeBSD.org, "O." To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: ports/160712: graphics/geos: CLANG compilation error X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 13 Sep 2011 17:40:11 -0000 >Number: 160712 >Category: ports >Synopsis: graphics/geos: CLANG compilation error >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Tue Sep 13 17:40:06 UTC 2011 >Closed-Date: >Last-Modified: >Originator: Hartmann, O. >Release: FreeBSD 9.0-BETA2/amd64, CLANG built >Organization: FU Berlin >Environment: >Description: Compiling/updating port graphics/geos with CLANG fails with the following error: mv -f .deps/CentroidPoint.Tpo .deps/CentroidPoint.Plo /bin/sh /usr/local/bin/libtool --tag=CXX --mode=compile clang++ -DHAVE_CONFIG_H -I. -I../../include -I../../include/geos -I../../include -DGEOS_INLINE -pedantic -Wall -ansi -Wno-long-long -O3 -fno-strict-aliasing -pipe -march=native -march=native -MT CGAlgorithms.lo -MD -MP -MF .deps/CGAlgorithms.Tpo -c -o CGAlgorithms.lo CGAlgorithms.cpp libtool: compile: clang++ -DHAVE_CONFIG_H -I. -I../../include -I../../include/geos -I../../include -DGEOS_INLINE -pedantic -Wall -ansi -Wno-long-long -O3 -fno-strict-aliasing -pipe -march=native -march=native -MT CGAlgorithms.lo -MD -MP -MF .deps/CGAlgorithms.Tpo -c CGAlgorithms.cpp -fPIC -DPIC -o .libs/CGAlgorithms.o libtool: compile: clang++ -DHAVE_CONFIG_H -I. -I../../include -I../../include/geos -I../../include -DGEOS_INLINE -pedantic -Wall -ansi -Wno-long-long -O3 -fno-strict-aliasing -pipe -march=native -march=native -MT CGAlgorithms.lo -MD -MP -MF .deps/CGAlgorithms.Tpo -c CGAlgorithms.cpp -o CGAlgorithms.o >/dev/null 2>&1 mv -f .deps/CGAlgorithms.Tpo .deps/CGAlgorithms.Plo /bin/sh /usr/local/bin/libtool --tag=CXX --mode=compile clang++ -DHAVE_CONFIG_H -I. -I../../include -I../../include/geos -I../../include -DGEOS_INLINE -pedantic -Wall -ansi -Wno-long-long -O3 -fno-strict-aliasing -pipe -march=native -march=native -MT ConvexHull.lo -MD -MP -MF .deps/ConvexHull.Tpo -c -o ConvexHull.lo ConvexHull.cpp libtool: compile: clang++ -DHAVE_CONFIG_H -I. -I../../include -I../../include/geos -I../../include -DGEOS_INLINE -pedantic -Wall -ansi -Wno-long-long -O3 -fno-strict-aliasing -pipe -march=native -march=native -MT ConvexHull.lo -MD -MP -MF .deps/ConvexHull.Tpo -c ConvexHull.cpp -fPIC -DPIC -o .libs/ConvexHull.o In file included from ConvexHull.cpp:23: ./../include/geos/geom/GeometryFactory.h:323:14: error: no matching conversion for functional-style cast from 'geos::geom::GeometryCollection *' to 'std::auto_ptr' return std::auto_ptr( createGeometryCollection() ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/4.2/memory:189:7: note: candidate constructor not viable: cannot convert argument of incomplete type 'geos::geom::GeometryCollection *' to 'element_type *' (aka 'geos::geom::Geometry *') auto_ptr(element_type* __p = 0) throw() : _M_ptr(__p) { } ^ /usr/include/c++/4.2/memory:198:7: note: candidate constructor not viable: cannot convert argument of incomplete type 'geos::geom::GeometryCollection *' to 'std::auto_ptr &' auto_ptr(auto_ptr& __a) throw() : _M_ptr(__a.release()) { } ^ /usr/include/c++/4.2/memory:348:7: note: candidate constructor not viable: cannot convert argument of incomplete type 'geos::geom::GeometryCollection *' to 'auto_ptr_ref' auto_ptr(auto_ptr_ref __ref) throw() ^ /usr/include/c++/4.2/memory:211:9: note: candidate template ignored: failed template argument deduction auto_ptr(auto_ptr<_Tp1>& __a) throw() : _M_ptr(__a.release()) { } ^ In file included from ConvexHull.cpp:23: ./../include/geos/geom/GeometryFactory.h:346:14: error: no matching conversion for functional-style cast from 'geos::geom::GeometryCollection *' to 'std::auto_ptr' return std::auto_ptr( createGeometryCollection(fromGeoms) ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/4.2/memory:189:7: note: candidate constructor not viable: cannot convert argument of incomplete type 'geos::geom::GeometryCollection *' to 'element_type *' (aka 'geos::geom::Geometry *') auto_ptr(element_type* __p = 0) throw() : _M_ptr(__p) { } ^ /usr/include/c++/4.2/memory:198:7: note: candidate constructor not viable: cannot convert argument of incomplete type 'geos::geom::GeometryCollection *' to 'std::auto_ptr &' auto_ptr(auto_ptr& __a) throw() : _M_ptr(__a.release()) { } ^ /usr/include/c++/4.2/memory:348:7: note: candidate constructor not viable: cannot convert argument of incomplete type 'geos::geom::GeometryCollection *' to 'auto_ptr_ref' auto_ptr(auto_ptr_ref __ref) throw() ^ /usr/include/c++/4.2/memory:211:9: note: candidate template ignored: failed template argument deduction auto_ptr(auto_ptr<_Tp1>& __a) throw() : _M_ptr(__a.release()) { } ^ In file included from ConvexHull.cpp:23: ./../include/geos/geom/GeometryFactory.h:351:14: error: no matching conversion for functional-style cast from 'geos::geom::MultiPolygon *' to 'std::auto_ptr' return std::auto_ptr( createMultiPolygon(fromGeoms) ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/4.2/memory:189:7: note: candidate constructor not viable: cannot convert argument of incomplete type 'geos::geom::MultiPolygon *' to 'element_type *' (aka 'geos::geom::Geometry *') auto_ptr(element_type* __p = 0) throw() : _M_ptr(__p) { } ^ /usr/include/c++/4.2/memory:198:7: note: candidate constructor not viable: cannot convert argument of incomplete type 'geos::geom::MultiPolygon *' to 'std::auto_ptr &' auto_ptr(auto_ptr& __a) throw() : _M_ptr(__a.release()) { } ^ /usr/include/c++/4.2/memory:348:7: note: candidate constructor not viable: cannot convert argument of incomplete type 'geos::geom::MultiPolygon *' to 'auto_ptr_ref' auto_ptr(auto_ptr_ref __ref) throw() ^ /usr/include/c++/4.2/memory:211:9: note: candidate template ignored: failed template argument deduction auto_ptr(auto_ptr<_Tp1>& __a) throw() : _M_ptr(__a.release()) { } ^ In file included from ConvexHull.cpp:23: ./../include/geos/geom/GeometryFactory.h:353:14: error: no matching conversion for functional-style cast from 'geos::geom::MultiLineString *' to 'std::auto_ptr' return std::auto_ptr( createMultiLineString(fromGeoms) ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/4.2/memory:189:7: note: candidate constructor not viable: cannot convert argument of incomplete type 'geos::geom::MultiLineString *' to 'element_type *' (aka 'geos::geom::Geometry *') auto_ptr(element_type* __p = 0) throw() : _M_ptr(__p) { } ^ /usr/include/c++/4.2/memory:198:7: note: candidate constructor not viable: cannot convert argument of incomplete type 'geos::geom::MultiLineString *' to 'std::auto_ptr &' auto_ptr(auto_ptr& __a) throw() : _M_ptr(__a.release()) { } ^ /usr/include/c++/4.2/memory:348:7: note: candidate constructor not viable: cannot convert argument of incomplete type 'geos::geom::MultiLineString *' to 'auto_ptr_ref' auto_ptr(auto_ptr_ref __ref) throw() ^ /usr/include/c++/4.2/memory:211:9: note: candidate template ignored: failed template argument deduction auto_ptr(auto_ptr<_Tp1>& __a) throw() : _M_ptr(__a.release()) { } ^ In file included from ConvexHull.cpp:23: ./../include/geos/geom/GeometryFactory.h:355:14: error: no matching conversion for functional-style cast from 'geos::geom::MultiPoint *' to 'std::auto_ptr' return std::auto_ptr( createMultiPoint(fromGeoms) ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/4.2/memory:189:7: note: candidate constructor not viable: cannot convert argument of incomplete type 'geos::geom::MultiPoint *' to 'element_type *' (aka 'geos::geom::Geometry *') auto_ptr(element_type* __p = 0) throw() : _M_ptr(__p) { } ^ /usr/include/c++/4.2/memory:198:7: note: candidate constructor not viable: cannot convert argument of incomplete type 'geos::geom::MultiPoint *' to 'std::auto_ptr &' auto_ptr(auto_ptr& __a) throw() : _M_ptr(__a.release()) { } ^ /usr/include/c++/4.2/memory:348:7: note: candidate constructor not viable: cannot convert argument of incomplete type 'geos::geom::MultiPoint *' to 'auto_ptr_ref' auto_ptr(auto_ptr_ref __ref) throw() ^ /usr/include/c++/4.2/memory:211:9: note: candidate template ignored: failed template argument deduction auto_ptr(auto_ptr<_Tp1>& __a) throw() : _M_ptr(__a.release()) { } ^ 5 errors generated. gmake[3]: *** [ConvexHull.lo] Error 1 gmake[3]: Leaving directory `/usr/ports/graphics/geos/work/geos-3.3.0/src/algorithm' gmake[2]: *** [all-recursive] Error 1 gmake[2]: Leaving directory `/usr/ports/graphics/geos/work/geos-3.3.0/src/algorithm' gmake[1]: *** [all-recursive] Error 1 gmake[1]: Leaving directory `/usr/ports/graphics/geos/work/geos-3.3.0/src' gmake: *** [all-recursive] Error 1 *** Error code 1 Stop in /usr/ports/graphics/geos. *** Error code 1 Stop in /usr/ports/graphics/geos. ===>>> make failed for graphics/geos ===>>> Aborting update ===>>> Update for graphics/geos failed ===>>> Aborting update Terminated Terminated Terminated Terminated Terminated Terminated Terminated Terminated Terminated Terminated >How-To-Repeat: Try compiling port graphics/geos with CLANG. >Fix: >Release-Note: >Audit-Trail: >Unformatted: