From owner-freebsd-ports-bugs@FreeBSD.ORG Thu Sep 15 21:00:22 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 972201065672 for ; Thu, 15 Sep 2011 21:00:22 +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 20C8B8FC0A for ; Thu, 15 Sep 2011 21:00:22 +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 p8FL0MjC039091 for ; Thu, 15 Sep 2011 21:00:22 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id p8FL0LHK039090; Thu, 15 Sep 2011 21:00:21 GMT (envelope-from gnats) Resent-Date: Thu, 15 Sep 2011 21:00:21 GMT Resent-Message-Id: <201109152100.p8FL0LHK039090@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 13BAF1065676 for ; Thu, 15 Sep 2011 20:56:30 +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 DC62C8FC1A for ; Thu, 15 Sep 2011 20:56:29 +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 p8FKuTDd097147 for ; Thu, 15 Sep 2011 20:56:29 GMT (envelope-from nobody@red.freebsd.org) Received: (from nobody@localhost) by red.freebsd.org (8.14.4/8.14.4/Submit) id p8FKuTWN097146; Thu, 15 Sep 2011 20:56:29 GMT (envelope-from nobody) Message-Id: <201109152056.p8FKuTWN097146@red.freebsd.org> Date: Thu, 15 Sep 2011 20:56:29 GMT From: Hartmann@FreeBSD.org, "O." To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: ports/160755: devel/qtcreator: CLANG fails compiling the port. port fails to start if qt4 is compiled with CLANG 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, 15 Sep 2011 21:00:22 -0000 >Number: 160755 >Category: ports >Synopsis: devel/qtcreator: CLANG fails compiling the port. port fails to start if qt4 is compiled 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: Thu Sep 15 21:00:21 UTC 2011 >Closed-Date: >Last-Modified: >Originator: Hartmann, O. >Release: FreeBSD 9.0-BETA2/amd64 CLANG built >Organization: FU Berlin >Environment: >Description: Compiling devel/qtcreator with CLANG fails with following error. Using a legacy gcc-built qtcreator ends up in an error, when Qt4 has been built with CLANG. A check for a "g++ versu clang++" in some of the config files fail. In file included from algo_factory/algo_factory.cpp:11: In file included from ../build/botan/engine.h:13: In file included from ../build/botan/block_cipher.h:11: clang++ -c -O3 -fno-strict-aliasing -pipe -march=native -fPIC -ansi -fpermissive -finline-functions -Wno-long-long -O2 -fvisibility=hidden -Wall -W -fPIC -DIDE_LIBRARY_BASENAME=\"lib\" -DQT_NO_CAST_TO_ASCII -DQT_USE_FAST_OPERATOR_PLUS -DQT_USE_FAST_CONCATENATION -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/local/share/qt4/mkspecs/freebsd-clang -I. -I/usr/local/include/qt4/QtCore -I/usr/local/include/qt4/QtGui -I/usr/local/include/qt4 -I../../../../libs -I/usr/ports/devel/qtcreator/work/qt-creator-2.0.1-src/tools -I. -I../build -I../build/botan -I.moc/release-shared -I/usr/local/include -o .obj/release-shared/mem_pool.o alloc/mem_pool/mem_pool.cpp clang++: warning: argument unused during compilation: '-fpermissive' In file included from ../build/botan/sym_algo.h:13: In file included from ../build/botan/symkey.h:11: ./build/botan/secmem.h:362:28: error: use of undeclared identifier 'set' { if(this != &in) set(in); return (*this); } ^ this-> ./build/botan/symkey.h:36:56: note: in instantiation of member function 'Botan::SecureVector::operator=' requested here void change(const MemoryRegion& in) { bits = in; } ^ ./build/botan/secmem.h:146:12: note: must qualify identifier to find this declaration in dependent base class void set(const T in[], u32bit n) { create(n); copy(in, n); } ^ ./build/botan/secmem.h:153:12: note: must qualify identifier to find this declaration in dependent base class void set(const MemoryRegion& in) { set(in.begin(), in.size()); } ^ 3 warnings and 1 error generated. *** Error code 1 1 error *** Error code 2 1 error *** Error code 2 1 error *** Error code 2 1 error *** Error code 2 1 error *** Error code 2 1 error *** Error code 1 Stop in /usr/ports/devel/qtcreator. >How-To-Repeat: Try compiling devel/qtcreator with CLANG. try building Qt4 with CLANG and build qtcreator with legacy gcc and watch things happening. >Fix: >Release-Note: >Audit-Trail: >Unformatted: