From owner-freebsd-ports-bugs@FreeBSD.ORG Thu Sep 8 08:40:01 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 A9F6B1065672 for ; Thu, 8 Sep 2011 08:40:01 +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 821CC8FC12 for ; Thu, 8 Sep 2011 08:40:01 +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 p888e1AD035125 for ; Thu, 8 Sep 2011 08:40:01 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id p888e1dA035124; Thu, 8 Sep 2011 08:40:01 GMT (envelope-from gnats) Resent-Date: Thu, 8 Sep 2011 08:40:01 GMT Resent-Message-Id: <201109080840.p888e1dA035124@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 1F07F1065672 for ; Thu, 8 Sep 2011 08:31:20 +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 E5D8A8FC0C for ; Thu, 8 Sep 2011 08:31:19 +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 p888VJJZ073189 for ; Thu, 8 Sep 2011 08:31:19 GMT (envelope-from nobody@red.freebsd.org) Received: (from nobody@localhost) by red.freebsd.org (8.14.4/8.14.4/Submit) id p888VJv3073188; Thu, 8 Sep 2011 08:31:19 GMT (envelope-from nobody) Message-Id: <201109080831.p888VJv3073188@red.freebsd.org> Date: Thu, 8 Sep 2011 08:31:19 GMT From: Hartmann@FreeBSD.org, "O." To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: ports/160551: graphics/mapserver: CLANG: ./include/agg_renderer_outline_aa.h:1378:45: error: binding of reference to type 'agg::line_profile_aa' to a value of type 'const agg::line_profile_aa' drops qualifiers line_profile_aa& profile() { return *m_profile; } 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: Thu, 08 Sep 2011 08:40:01 -0000 >Number: 160551 >Category: ports >Synopsis: graphics/mapserver: CLANG: ./include/agg_renderer_outline_aa.h:1378:45: error: binding of reference to type 'agg::line_profile_aa' to a value of type 'const agg::line_profile_aa' drops qualifiers line_profile_aa& profile() { retu >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: Thu Sep 08 08:40:00 UTC 2011 >Closed-Date: >Last-Modified: >Originator: Hartmann, O. >Release: FreeBSD 0.0-BETA2/amd64 >Organization: FU Berlin >Environment: >Description: Building graphics/mapserver with clang fails to build due to the following error: clang++: warning: argument unused during compilation: '-L/usr/local/lib' clang++: warning: argument unused during compilation: '-L./' libtool: compile: clang++ -DHAVE_CONFIG_H -I. -I../include -I../include -O3 -pipe -fno-strict-aliasing -march=native -I/usr/local/include -L/usr/local/lib -I../include -L./ -c agg_line_aa_basics.cpp -o agg_line_aa_basics.o >/dev/null 2>&1 /bin/sh ../libtool --tag=CXX --mode=compile clang++ -DHAVE_CONFIG_H -I. -I../include -I../include -O3 -pipe -fno-strict-aliasing -march=native -I/usr/local/include -L/usr/local/lib -I../include -L./ -c -o agg_line_profile_aa.lo agg_line_profile_aa.cpp libtool: compile: clang++ -DHAVE_CONFIG_H -I. -I../include -I../include -O3 -pipe -fno-strict-aliasing -march=native -I/usr/local/include -L/usr/local/lib -I../include -L./ -c agg_line_profile_aa.cpp -fPIC -DPIC -o .libs/agg_line_profile_aa.o clang++: warning: argument unused during compilation: '-L/usr/local/lib' clang++: warning: argument unused during compilation: '-L./' In file included from agg_line_profile_aa.cpp:25: ./include/agg_renderer_outline_aa.h:1378:45: error: binding of reference to type 'agg::line_profile_aa' to a value of type 'const agg::line_profile_aa' drops qualifiers line_profile_aa& profile() { return *m_profile; } ^~~~~~~~~~ 1 error generated. gmake[2]: *** [agg_line_profile_aa.lo] Error 1 gmake[2]: Leaving directory `/usr/ports/graphics/agg/work/agg-2.5/src' gmake[1]: *** [all-recursive] Error 1 gmake[1]: Leaving directory `/usr/ports/graphics/agg/work/agg-2.5/src' gmake: *** [all-recursive] Error 1 *** Error code 1 Stop in /usr/ports/graphics/agg. *** Error code 1 Stop in /usr/ports/graphics/mapserver. *** Error code 1 >How-To-Repeat: >Fix: Try building graphics/mapserver on FreeBSD 9.0-BETA2/amd64 (the optimization flags do not matter, although this report shows strenthened options selected, but it also fails with weaker set options). >Release-Note: >Audit-Trail: >Unformatted: rn *m_profile; }