From owner-freebsd-ports-bugs@FreeBSD.ORG Wed Sep 12 07:40:02 2012 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 B8AB5106566C for ; Wed, 12 Sep 2012 07:40:02 +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 8989C8FC18 for ; Wed, 12 Sep 2012 07:40:02 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.5/8.14.5) with ESMTP id q8C7e2DD099606 for ; Wed, 12 Sep 2012 07:40:02 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id q8C7e2To099593; Wed, 12 Sep 2012 07:40:02 GMT (envelope-from gnats) Resent-Date: Wed, 12 Sep 2012 07:40:02 GMT Resent-Message-Id: <201209120740.q8C7e2To099593@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, Oliver Hartmann Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 880171065678 for ; Wed, 12 Sep 2012 07:36:38 +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 693C08FC0A for ; Wed, 12 Sep 2012 07:36:38 +0000 (UTC) Received: from red.freebsd.org (localhost [127.0.0.1]) by red.freebsd.org (8.14.5/8.14.5) with ESMTP id q8C7acHv052693 for ; Wed, 12 Sep 2012 07:36:38 GMT (envelope-from nobody@red.freebsd.org) Received: (from nobody@localhost) by red.freebsd.org (8.14.5/8.14.5/Submit) id q8C7acIH052677; Wed, 12 Sep 2012 07:36:38 GMT (envelope-from nobody) Message-Id: <201209120736.q8C7acIH052677@red.freebsd.org> Date: Wed, 12 Sep 2012 07:36:38 GMT From: Oliver Hartmann To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: ports/171566: www/libxul: ./jscompartment.h:394:8: error: visibility does not match previous declaration 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: Wed, 12 Sep 2012 07:40:02 -0000 >Number: 171566 >Category: ports >Synopsis: www/libxul: ./jscompartment.h:394:8: error: visibility does not match previous declaration >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 Sep 12 07:40:01 UTC 2012 >Closed-Date: >Last-Modified: >Originator: Oliver Hartmann >Release: FreeBSD 10.0-CURRENT/amd64 r240369, CLANG buildworld/kernel >Organization: FU Berlin >Environment: >Description: Updating www/libxul from version libxul-1.9.2.28_1 to new 10.0.7 via portupgrade fails with the follwoing error emitted: [...] clang++ -o jsapi.o -c -I./../../dist/system_wrappers_js -include ./config/gcc_hidden.h -DOSTYPE=\"FreeBSD10\" -DOSARCH=FreeBSD -DEXPORT_JS_API -DIMPL_MFBT -DJS_HAS_CTYPES -DDLL_PREFIX=\"lib\" -DDLL_SUFFIX=\".so\" -I/usr/local/lib/libffi-3.0.9/include -I. -I. -I. -I./../../dist/include -I./../../dist/include/nsprpub -I/usr/local/include/nspr -I. -I./assembler -I./yarr -fPIC -isystem/usr/local/include -I/usr/local/include/nss -I/usr/local/include/nss/nss -I/usr/local/include -fno-rtti -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wno-invalid-offsetof -Wno-variadic-macros -Werror=return-type -O2 -pipe -pipe -O3 -march=native -fno-strict-aliasing -Wno-return-type-c-linkage -pipe -DNDEBUG -DTRIMMED -fno-omit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_JIT=1 -DENABLE_ASSEMBLER=1 -isystem/usr/local/include -I/usr/local/include/nss -I/usr/local/include/nss/nss -I/usr/local/include -DMOZILLA_CLIENT -include ./ js-confdefs.h -MD -MF .deps/jsapi.pp /usr/ports/www/libxul/work/mozilla-esr10/js/src/jsapi.cpp In file included from /usr/ports/www/libxul/work/mozilla-esr10/js/src/jsanalyze.cpp:40: In file included from ./jsanalyze.h:44: ./jscompartment.h:394:8: error: visibility does not match previous declaration struct JS_FRIEND_API(JSCompartment) { ^ ./jstypes.h:162:29: note: expanded from macro 'JS_FRIEND_API' #define JS_FRIEND_API(t) JS_PUBLIC_API(t) ^ ./jstypes.h:152:29: note: expanded from macro 'JS_PUBLIC_API' # define JS_PUBLIC_API(t) JS_EXPORT_API(t) ^ ./jstypes.h:113:33: note: expanded from macro 'JS_EXPORT_API' # define JS_EXPORT_API(__type) JS_EXTERNAL_VIS __type ^ ./jstypes.h:94:42: note: expanded from macro 'JS_EXTERNAL_VIS' # define JS_EXTERNAL_VIS __attribute__((visibility ("default"))) ^ ./config/gcc_hidden.h:2:13: note: previous attribute is here #pragma GCC visibility push(hidden) ^ In file included from /usr/ports/www/libxul/work/mozilla-esr10/js/src/jsanalyze.cpp:45: In file included from ./jsinferinlines.h:50: In file included from ./vm/Stack-inl.h:49: In file included from ./jsscriptinlines.h:54: In file included from ./jsscopeinlines.h:58: In file included from ./jsobjinlines.h:53: ./jsproxy.h:52:7: error: visibility does not match previous declaration class JS_FRIEND_API(ProxyHandler) { [...] >How-To-Repeat: Update/install www/libxul (10.0.7) on FreeBSD 10.0-CURRENT/amd64 with the current CLANG v3.2 as the main compiler and buildworld/buildkernel with clang. >Fix: >Release-Note: >Audit-Trail: >Unformatted: