From owner-freebsd-ports-bugs@FreeBSD.ORG Wed Apr 9 12:20:01 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 949C4E69 for ; Wed, 9 Apr 2014 12:20:01 +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)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 57D081FD8 for ; Wed, 9 Apr 2014 12:20:01 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.8/8.14.8) with ESMTP id s39CK16n077264 for ; Wed, 9 Apr 2014 12:20:01 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.8/8.14.8/Submit) id s39CK1ua077263; Wed, 9 Apr 2014 12:20:01 GMT (envelope-from gnats) Resent-Date: Wed, 9 Apr 2014 12:20:01 GMT Resent-Message-Id: <201404091220.s39CK1ua077263@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, Volodymyr Kostyrko 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 15C738C4 for ; Wed, 9 Apr 2014 12:10:12 +0000 (UTC) Received: from cgiserv.freebsd.org (cgiserv.freebsd.org [IPv6:2001:1900:2254:206a::50:4]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id EB3AC1DE9 for ; Wed, 9 Apr 2014 12:10:11 +0000 (UTC) Received: from cgiserv.freebsd.org ([127.0.1.6]) by cgiserv.freebsd.org (8.14.8/8.14.8) with ESMTP id s39CA8SP021068 for ; Wed, 9 Apr 2014 12:10:08 GMT (envelope-from nobody@cgiserv.freebsd.org) Received: (from nobody@localhost) by cgiserv.freebsd.org (8.14.8/8.14.8/Submit) id s39CA8og021064; Wed, 9 Apr 2014 12:10:08 GMT (envelope-from nobody) Message-Id: <201404091210.s39CA8og021064@cgiserv.freebsd.org> Date: Wed, 9 Apr 2014 12:10:08 GMT From: Volodymyr Kostyrko To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Subject: ports/188398: mail/thunderbird - clang fails to build with qt X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 09 Apr 2014 12:20:01 -0000 >Number: 188398 >Category: ports >Synopsis: mail/thunderbird - clang fails to build with qt >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: Wed Apr 09 12:20:00 UTC 2014 >Closed-Date: >Last-Modified: >Originator: Volodymyr Kostyrko >Release: ^/stable/10 >Organization: none >Environment: FreeBSD ar1l0u.maxima.local 10.0-STABLE FreeBSD 10.0-STABLE #5 r264251M: Tue Apr 8 09:43:16 EEST 2014 arcade@ar1l0u.maxima.local:/usr/obj/usr/src/sys/MINIMAL amd64 >Description: Can this be caused by QT headers incompatibility with clang? nsLocaleService.cpp c++ -o nsLocaleService.o -c -I../../../dist/stl_wrappers -I../../../dist/system_wrappers -include /tmp/ports/usr/ports/mail/thunderbird/work/comm-esr24/mozilla/config/gcc_hidden.h -DMOZ_GLUE_IN_PROGRAM -DMOZIL LA_INTERNAL_API -D_IMPL_NS_COM -DEXPORT_XPT_API -DEXPORT_XPTC_API -D_IMPL_NS_GFX -D_IMPL_NS_WIDGET -DIMPL_XREAPI -DIMPL_NS_NET -DIMPL_THEBES -DSTATIC_EXPORTABLE_JS_API -DMOZ_THUNDERBIRD=1 -DNO_NSPR_10_SUPPORT -I/tmp/ports/usr/ports/mail/thunderbird/work/comm-esr24/mozilla/intl/uconv/src -I/tmp/ports/usr/ports/mail/thunderbird/work/comm-esr24/mozilla/intl/locale/src -I. -I../../../dist/include -I/usr/local/includ e/nspr -I/usr/local/include/nss -I/usr/local/include/nss/nss -I/usr/local/include/qt4/QtNetwork -I/usr/local/include/qt4/QtOpenGL -I/usr/local/include/qt4/QtGui -DQT_SHARED -I/usr/local/include/qt4 -I/usr/loca l/include/qt4/QtCore -I/usr/local/include -I/usr/local/include -fPIC -Qunused-arguments -isystem/usr/local/include -DLIBICONV_PLUG -Qunused-arguments -Wall -Wpointer-arith -Woverloaded-virtual -Werror=re turn-type -Wtype-limits -Wempty-body -Wsign-compare -Wno-invalid-offsetof -Wno-c++0x-extensions -Wno-extended-offsetof -Wno-unknown-warning-option -Wno-return-type-c-linkage -Wno-mismatched-tags -O2 -pipe -mar ch=native -O3 -DLIBICONV_PLUG -fno-strict-aliasing -DLIBICONV_PLUG -fno-exceptions -fno-strict-aliasing -fno-rtti -ffunction-sections -fdata-sections -fno-exceptions -std=gnu++0x -pipe -DNDEBUG -DTRIMMED -O2 -O3 -fomit-frame-pointer -Qunused-arguments -isystem/usr/local/include -DLIBICONV_PLUG -DMOZILLA_CLIENT -include ../../../mozilla-config.h -MD -MP -MF .deps/nsLocaleService.o.pp /tmp/ports/usr/ports/mail/th underbird/work/comm-esr24/mozilla/intl/locale/src/nsLocaleService.cpp In file included from /tmp/ports/usr/ports/mail/thunderbird/work/comm-esr24/mozilla/intl/locale/src/nsLocaleService.cpp:7: In file included from /usr/local/include/qt4/QtCore/QString:1: In file included from /usr/local/include/qt4/QtCore/qstring.h:46: /usr/local/include/qt4/QtCore/qbytearray.h:135:7: error: visibility does not match previous declaration class Q_CORE_EXPORT QByteArray ^ /usr/local/include/qt4/QtCore/qglobal.h:1431:27: note: expanded from macro 'Q_CORE_EXPORT' # define Q_CORE_EXPORT Q_DECL_EXPORT ^ /usr/local/include/qt4/QtCore/qglobal.h:1288:42: note: expanded from macro 'Q_DECL_EXPORT' # define Q_DECL_EXPORT __attribute__((visibility("default"))) ^ /tmp/ports/usr/ports/mail/thunderbird/work/comm-esr24/mozilla/config/gcc_hidden.h:6:13: note: previous attribute is here #pragma GCC visibility push(hidden) ^ In file included from /tmp/ports/usr/ports/mail/thunderbird/work/comm-esr24/mozilla/intl/locale/src/nsLocaleService.cpp:7: In file included from /usr/local/include/qt4/QtCore/QString:1: In file included from /usr/local/include/qt4/QtCore/qstring.h:46: /usr/local/include/qt4/QtCore/qbytearray.h:455:7: error: visibility does not match previous declaration class Q_CORE_EXPORT QByteRef { ^ /usr/local/include/qt4/QtCore/qglobal.h:1431:27: note: expanded from macro 'Q_CORE_EXPORT' # define Q_CORE_EXPORT Q_DECL_EXPORT ^ /usr/local/include/qt4/QtCore/qglobal.h:1288:42: note: expanded from macro 'Q_DECL_EXPORT' # define Q_DECL_EXPORT __attribute__((visibility("default"))) ^ /tmp/ports/usr/ports/mail/thunderbird/work/comm-esr24/mozilla/config/gcc_hidden.h:6:13: note: previous attribute is here #pragma GCC visibility push(hidden) ^ In file included from /tmp/ports/usr/ports/mail/thunderbird/work/comm-esr24/mozilla/intl/locale/src/nsLocaleService.cpp:7: In file included from /usr/local/include/qt4/QtCore/QString:1: /usr/local/include/qt4/QtCore/qstring.h:83:7: error: visibility does not match previous declaration class Q_CORE_EXPORT QString ^ /usr/local/include/qt4/QtCore/qglobal.h:1431:27: note: expanded from macro 'Q_CORE_EXPORT' # define Q_CORE_EXPORT Q_DECL_EXPORT ^ /usr/local/include/qt4/QtCore/qglobal.h:1288:42: note: expanded from macro 'Q_DECL_EXPORT' # define Q_DECL_EXPORT __attribute__((visibility("default"))) ^ /tmp/ports/usr/ports/mail/thunderbird/work/comm-esr24/mozilla/config/gcc_hidden.h:6:13: note: previous attribute is here #pragma GCC visibility push(hidden) ^ In file included from /tmp/ports/usr/ports/mail/thunderbird/work/comm-esr24/mozilla/intl/locale/src/nsLocaleService.cpp:7: In file included from /usr/local/include/qt4/QtCore/QString:1: /usr/local/include/qt4/QtCore/qstring.h:654:7: error: visibility does not match previous declaration class Q_CORE_EXPORT QLatin1String ^ /usr/local/include/qt4/QtCore/qglobal.h:1431:27: note: expanded from macro 'Q_CORE_EXPORT' # define Q_CORE_EXPORT Q_DECL_EXPORT ^ /usr/local/include/qt4/QtCore/qglobal.h:1288:42: note: expanded from macro 'Q_DECL_EXPORT' # define Q_DECL_EXPORT __attribute__((visibility("default"))) ^ /tmp/ports/usr/ports/mail/thunderbird/work/comm-esr24/mozilla/config/gcc_hidden.h:6:13: note: previous attribute is here #pragma GCC visibility push(hidden) ^ In file included from /tmp/ports/usr/ports/mail/thunderbird/work/comm-esr24/mozilla/intl/locale/src/nsLocaleService.cpp:7: In file included from /usr/local/include/qt4/QtCore/QString:1: /usr/local/include/qt4/QtCore/qstring.h:785:7: error: visibility does not match previous declaration class Q_CORE_EXPORT QCharRef { ^ /usr/local/include/qt4/QtCore/qglobal.h:1431:27: note: expanded from macro 'Q_CORE_EXPORT' # define Q_CORE_EXPORT Q_DECL_EXPORT ^ /usr/local/include/qt4/QtCore/qglobal.h:1288:42: note: expanded from macro 'Q_DECL_EXPORT' # define Q_DECL_EXPORT __attribute__((visibility("default"))) ^ /tmp/ports/usr/ports/mail/thunderbird/work/comm-esr24/mozilla/config/gcc_hidden.h:6:13: note: previous attribute is here #pragma GCC visibility push(hidden) ^ In file included from /tmp/ports/usr/ports/mail/thunderbird/work/comm-esr24/mozilla/intl/locale/src/nsLocaleService.cpp:7: In file included from /usr/local/include/qt4/QtCore/QString:1: /usr/local/include/qt4/QtCore/qstring.h:1099:7: error: visibility does not match previous declaration class Q_CORE_EXPORT QStringRef { ^ /usr/local/include/qt4/QtCore/qglobal.h:1431:27: note: expanded from macro 'Q_CORE_EXPORT' # define Q_CORE_EXPORT Q_DECL_EXPORT ^ /usr/local/include/qt4/QtCore/qglobal.h:1288:42: note: expanded from macro 'Q_DECL_EXPORT' # define Q_DECL_EXPORT __attribute__((visibility("default"))) ^ /tmp/ports/usr/ports/mail/thunderbird/work/comm-esr24/mozilla/config/gcc_hidden.h:6:13: note: previous attribute is here #pragma GCC visibility push(hidden) ^ In file included from /tmp/ports/usr/ports/mail/thunderbird/work/comm-esr24/mozilla/intl/locale/src/nsLocaleService.cpp:8: In file included from /usr/local/include/qt4/QtCore/QLocale:1: In file included from /usr/local/include/qt4/QtCore/qlocale.h:45: In file included from /usr/local/include/qt4/QtCore/qvariant.h:48: In file included from /usr/local/include/qt4/QtCore/qmetatype.h:49: In file included from /usr/local/include/qt4/QtCore/qdatastream.h:46: In file included from /usr/local/include/qt4/QtCore/qiodevice.h:46: /usr/local/include/qt4/QtCore/qobject.h:111:7: error: visibility does not match previous declaration class Q_CORE_EXPORT QObject ^ /usr/local/include/qt4/QtCore/qglobal.h:1431:27: note: expanded from macro 'Q_CORE_EXPORT' # define Q_CORE_EXPORT Q_DECL_EXPORT ^ /usr/local/include/qt4/QtCore/qglobal.h:1288:42: note: expanded from macro 'Q_DECL_EXPORT' # define Q_DECL_EXPORT __attribute__((visibility("default"))) ^ /tmp/ports/usr/ports/mail/thunderbird/work/comm-esr24/mozilla/config/gcc_hidden.h:6:13: note: previous attribute is here #pragma GCC visibility push(hidden) ^ In file included from /tmp/ports/usr/ports/mail/thunderbird/work/comm-esr24/mozilla/intl/locale/src/nsLocaleService.cpp:8: In file included from /usr/local/include/qt4/QtCore/QLocale:1: In file included from /usr/local/include/qt4/QtCore/qlocale.h:45: In file included from /usr/local/include/qt4/QtCore/qvariant.h:48: In file included from /usr/local/include/qt4/QtCore/qmetatype.h:49: In file included from /usr/local/include/qt4/QtCore/qdatastream.h:46: In file included from /usr/local/include/qt4/QtCore/qiodevice.h:46: /usr/local/include/qt4/QtCore/qobject.h:342:7: error: visibility does not match previous declaration class Q_CORE_EXPORT QObjectUserData { ^ /usr/local/include/qt4/QtCore/qglobal.h:1431:27: note: expanded from macro 'Q_CORE_EXPORT' # define Q_CORE_EXPORT Q_DECL_EXPORT ^ /usr/local/include/qt4/QtCore/qglobal.h:1288:42: note: expanded from macro 'Q_DECL_EXPORT' # define Q_DECL_EXPORT __attribute__((visibility("default"))) ^ /tmp/ports/usr/ports/mail/thunderbird/work/comm-esr24/mozilla/config/gcc_hidden.h:6:13: note: previous attribute is here #pragma GCC visibility push(hidden) ^ In file included from /tmp/ports/usr/ports/mail/thunderbird/work/comm-esr24/mozilla/intl/locale/src/nsLocaleService.cpp:8: In file included from /usr/local/include/qt4/QtCore/QLocale:1: In file included from /usr/local/include/qt4/QtCore/qlocale.h:45: In file included from /usr/local/include/qt4/QtCore/qvariant.h:48: In file included from /usr/local/include/qt4/QtCore/qmetatype.h:49: /usr/local/include/qt4/QtCore/qdatastream.h:71:7: error: visibility does not match previous declaration class Q_CORE_EXPORT QDataStream ^ /usr/local/include/qt4/QtCore/qglobal.h:1431:27: note: expanded from macro 'Q_CORE_EXPORT' # define Q_CORE_EXPORT Q_DECL_EXPORT ^ /usr/local/include/qt4/QtCore/qglobal.h:1288:42: note: expanded from macro 'Q_DECL_EXPORT' # define Q_DECL_EXPORT __attribute__((visibility("default"))) ^ /tmp/ports/usr/ports/mail/thunderbird/work/comm-esr24/mozilla/config/gcc_hidden.h:6:13: note: previous attribute is here #pragma GCC visibility push(hidden) ^ In file included from /tmp/ports/usr/ports/mail/thunderbird/work/comm-esr24/mozilla/intl/locale/src/nsLocaleService.cpp:8: In file included from /usr/local/include/qt4/QtCore/QLocale:1: In file included from /usr/local/include/qt4/QtCore/qlocale.h:45: In file included from /usr/local/include/qt4/QtCore/qvariant.h:48: /usr/local/include/qt4/QtCore/qmetatype.h:256:5: warning: 'register' storage class specifier is deprecated [-Wdeprecated-register] register int id = qMetaTypeId(); ^~~~~~~~~ In file included from /tmp/ports/usr/ports/mail/thunderbird/work/comm-esr24/mozilla/intl/locale/src/nsLocaleService.cpp:8: In file included from /usr/local/include/qt4/QtCore/QLocale:1: In file included from /usr/local/include/qt4/QtCore/qlocale.h:45: /usr/local/include/qt4/QtCore/qvariant.h:92:7: error: visibility does not match previous declaration class Q_CORE_EXPORT QVariant ^ /usr/local/include/qt4/QtCore/qglobal.h:1431:27: note: expanded from macro 'Q_CORE_EXPORT' # define Q_CORE_EXPORT Q_DECL_EXPORT ^ /usr/local/include/qt4/QtCore/qglobal.h:1288:42: note: expanded from macro 'Q_DECL_EXPORT' # define Q_DECL_EXPORT __attribute__((visibility("default"))) ^ /tmp/ports/usr/ports/mail/thunderbird/work/comm-esr24/mozilla/config/gcc_hidden.h:6:13: note: previous attribute is here #pragma GCC visibility push(hidden) ^ In file included from /tmp/ports/usr/ports/mail/thunderbird/work/comm-esr24/mozilla/intl/locale/src/nsLocaleService.cpp:8: In file included from /usr/local/include/qt4/QtCore/QLocale:1: /usr/local/include/qt4/QtCore/qlocale.h:133:7: error: visibility does not match previous declaration class Q_CORE_EXPORT QLocale ^ /usr/local/include/qt4/QtCore/qglobal.h:1431:27: note: expanded from macro 'Q_CORE_EXPORT' # define Q_CORE_EXPORT Q_DECL_EXPORT ^ /usr/local/include/qt4/QtCore/qglobal.h:1288:42: note: expanded from macro 'Q_DECL_EXPORT' # define Q_DECL_EXPORT __attribute__((visibility("default"))) ^ /tmp/ports/usr/ports/mail/thunderbird/work/comm-esr24/mozilla/config/gcc_hidden.h:6:13: note: previous attribute is here #pragma GCC visibility push(hidden) ^ 1 warning and 11 errors generated. >How-To-Repeat: >Fix: >Release-Note: >Audit-Trail: >Unformatted: