Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 19 Feb 2013 01:21:26 -0800
From:      Craig Rodrigues <rodrigc@FreeBSD.org>
To:        freebsd-ports@FreeBSD.org
Subject:   Build error with firefix 18.0.2
Message-ID:  <CAG=rPVfna-7-3vPWSYBLNT_16a0ShfOWjwJMtEOptbtNUO9tHg@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
Hi,

I tried to build firefox on amd64 inside a 9-STABLE jail using
poudriere.  I got the following build error:

The full build log is here:

http://people.freebsd.org/~rodrigc/ports/firefox-18.0.2%2c1.log.txt

The part that is causing the error is some C++ error related
to partial template specialization (see below).

Any ideas what the problem is?

Thanks.

===============================================================================
c++ -o nsDocElementBoxFrame.o -c -I../../../../dist/stl_wrappers
-I../../../../dist/system_wrappers -include
../../../../../config/gcc_hidden.h -DMOZ_GLUE_IN_PROGRAM
-DMOZILLA_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 -D_IMPL_NS_LAYOUT
-I../../../../../layout/xul/base/src
-I../../../../../layout/xul/base/src/../../../base
-I../../../../../layout/xul/base/src/../../../../content/base/src
-I../../../../../layout/xul/base/src/../../../../content/events/src
-I../../../../../layout/xul/base/src/../../../generic
-I../../../../../layout/xul/base/src/../../../style
 -I../../../../../layout/xul/base/src -I. -I../../../../dist/include
 -I/usr/local/include/nspr -I/usr/local/include/nss
-I/usr/local/include/nss/nss -I/usr/local/include -I/usr/local/include
 -fPIC -isystem/usr/local/include  -I/usr/local/include -Wall
-Wpointer-arith -Woverloaded-virtual -Werror=return-type
-Wno-ctor-dtor-privacy -Wno-overlength-strings -Wno-invalid-offsetof
-Wno-variadic-macros -Wcast-align -O2 -pipe -fno-strict-aliasing
-fno-exceptions -fno-strict-aliasing -fno-rtti -ffunction-sections
-fdata-sections -fno-exceptions -fshort-wchar -pipe  -DNDEBUG -DTRIMMED
-fno-omit-frame-pointer   -isystem/usr/local/include  -I/usr/local/include
-DMOZILLA_CLIENT -include ../../../../mozilla-config.h -MD -MF
.deps/nsDocElementBoxFrame.o.pp
 /wrkdirs/usr/ports/www/firefox/work/mozilla-release/layout/xul/base/src/nsDocElementBoxFrame.cpp
nsLeafBoxFrame.cpp
c++ -o nsLeafBoxFrame.o -c -I../../../../dist/stl_wrappers
-I../../../../dist/system_wrappers -include
../../../../../config/gcc_hidden.h -DMOZ_GLUE_IN_PROGRAM
-DMOZILLA_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 -D_IMPL_NS_LAYOUT
-I../../../../../layout/xul/base/src
-I../../../../../layout/xul/base/src/../../../base
-I../../../../../layout/xul/base/src/../../../../content/base/src
-I../../../../../layout/xul/base/src/../../../../content/events/src
-I../../../../../layout/xul/base/src/../../../generic
-I../../../../../layout/xul/base/src/../../../style
 -I../../../../../layout/xul/base/src -I. -I../../../../dist/include
 -I/usr/local/include/nspr -I/usr/local/include/nss
-I/usr/local/include/nss/nss -I/usr/local/include -I/usr/local/include
 -fPIC -isystem/usr/local/include  -I/usr/local/include -Wall
-Wpointer-arith -Woverloaded-virtual -Werror=return-type
-Wno-ctor-dtor-privacy -Wno-overlength-strings -Wno-invalid-offsetof
-Wno-variadic-macros -Wcast-align -O2 -pipe -fno-strict-aliasing
-fno-exceptions -fno-strict-aliasing -fno-rtti -ffunction-sections
-fdata-sections -fno-exceptions -fshort-wchar -pipe  -DNDEBUG -DTRIMMED
-fno-omit-frame-pointer   -isystem/usr/local/include  -I/usr/local/include
-DMOZILLA_CLIENT -include ../../../../mozilla-config.h -MD -MF
.deps/nsLeafBoxFrame.o.pp
 /wrkdirs/usr/ports/www/firefox/work/mozilla-release/layout/xul/base/src/nsLeafBoxFrame.cpp
In file included from
../../../../../layout/xul/base/src/../../../base/nsPresContext.h:26,
                 from
../../../../../layout/xul/base/src/../../../style/nsRuleNode.h:14,
                 from
../../../../../layout/xul/base/src/../../../style/nsStyleContext.h:11,
                 from
../../../../../layout/xul/base/src/../../../generic/nsIFrame.h:25,
                 from ../../../../../layout/xul/base/src/nsBox.h:9,
                 from
../../../../../layout/xul/base/src/../../../generic/nsFrame.h:12,
                 from
../../../../../layout/xul/base/src/../../../generic/nsLeafFrame.h:12,
                 from
/wrkdirs/usr/ports/www/firefox/work/mozilla-release/layout/xul/base/src/nsLeafBoxFrame.h:9,
                 from
/wrkdirs/usr/ports/www/firefox/work/mozilla-release/layout/xul/base/src/nsLeafBoxFrame.cpp:13:
../../../../dist/include/nsCycleCollectionParticipant.h:194: error:
template parameters not used in partial specialization:
../../../../dist/include/nsCycleCollectionParticipant.h:194: error:
'T'
In file included from ../../../../dist/include/nsINode.h:15,
                 from ../../../../dist/include/nsIDocument.h:20,
                 from ../../../../dist/include/nsIContent.h:10,
                 from
../../../../../layout/xul/base/src/../../../generic/nsIFrame.h:30,
                 from ../../../../../layout/xul/base/src/nsBox.h:9,
                 from
../../../../../layout/xul/base/src/../../../generic/nsFrame.h:12,
                 from
../../../../../layout/xul/base/src/../../../generic/nsLeafFrame.h:12,
                 from
/wrkdirs/usr/ports/www/firefox/work/mozilla-release/layout/xul/base/src/nsLeafBoxFrame.h:9,
                 from
/wrkdirs/usr/ports/www/firefox/work/mozilla-release/layout/xul/base/src/nsLeafBoxFrame.cpp:13:
../../../../dist/include/nsNodeInfoManager.h: In member function 'nsrefcnt
nsNodeInfoManager::Release()':
../../../../dist/include/nsNodeInfoManager.h:38: error: 'const struct
CCParticipantVTableImpl<nsNodeInfoManager::cycleCollection,
eCycleCollectionParticipant>' has no member named 'GetParticipant'
In file included from ../../../../dist/include/nsBindingManager.h:15,
                 from
../../../../../layout/xul/base/src/../../../style/nsStyleSet.h:19,
                 from
../../../../../layout/xul/base/src/../../../base/nsLayoutUtils.h:29,
                 from
../../../../../layout/xul/base/src/../../../base/nsDisplayList.h:27,
                 from
../../../../../layout/xul/base/src/../../../generic/nsLeafFrame.h:13,
                 from
/wrkdirs/usr/ports/www/firefox/work/mozilla-release/layout/xul/base/src/nsLeafBoxFrame.h:9,
                 from
/wrkdirs/usr/ports/www/firefox/work/mozilla-release/layout/xul/base/src/nsLeafBoxFrame.cpp:13:
../../../../dist/include/nsXBLBinding.h: In member function 'nsrefcnt
nsXBLBinding::Release()':
../../../../dist/include/nsXBLBinding.h:48: error: 'const struct
CCParticipantVTableImpl<nsXBLBinding::cycleCollection,
eCycleCollectionParticipant>' has no member named 'GetParticipant'
gmake[4]: *** [nsLeafBoxFrame.o] Error 1
gmake[4]: Leaving directory
`/wrkdirs/usr/ports/www/firefox/work/mozilla-release/obj-x86_64-portbld-freebsd9.1/layout/xul/base/src'
gmake[3]: *** [xul/base/src_libs] Error 2
gmake[3]: Leaving directory
`/wrkdirs/usr/ports/www/firefox/work/mozilla-release/obj-x86_64-portbld-freebsd9.1/layout'
gmake[2]: *** [libs_tier_platform] Error 2
gmake[2]: Leaving directory
`/wrkdirs/usr/ports/www/firefox/work/mozilla-release/obj-x86_64-portbld-freebsd9.1'
gmake[1]: *** [tier_platform] Error 2
gmake[1]: Leaving directory
`/wrkdirs/usr/ports/www/firefox/work/mozilla-release/obj-x86_64-portbld-freebsd9.1'
gmake: *** [default] Error 2
*** [do-build] Error code 1

Stop in /usr/ports/www/firefox.
===>  Cleaning for firefox-18.0.2,1
build of /usr/ports/www/firefox ended at Mon Feb 18 13:02:25 PST 2013
===============================================================================



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAG=rPVfna-7-3vPWSYBLNT_16a0ShfOWjwJMtEOptbtNUO9tHg>