Date: Wed, 9 Apr 2014 12:10:08 GMT From: Volodymyr Kostyrko <arcade@b1t.name> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/188398: mail/thunderbird - clang fails to build with qt Message-ID: <201404091210.s39CA8og021064@cgiserv.freebsd.org> Resent-Message-ID: <201404091220.s39CK1ua077263@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>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<T>(); ^~~~~~~~~ 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:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201404091210.s39CA8og021064>