Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 19 Aug 2011 23:39:02 -0500
From:      Rusty Nejdl <rnejdl@ringofsaturn.com>
To:        <gecko@FreeBSD.org>
Subject:   Can't compile Firefox 6 on Freebsd 8 64 bit
Message-ID:  <assp.021302abca.a050e9e2592f7873d9fe11eeceaae5d5@ringofsaturn.com>

next in thread | raw e-mail | index | archive | help
Many times when I see a port that I can't compile, I wait a few days 
and something appears that fixes it but that didn't happen this time so 
I must be in a minority in my config or something but I can't get 
Firefox 6 to compile with the last part of my compile output listed 
below.

Thanks!
Rusty Nejdl

c++ -o ExternalHelperAppParent.o -c -I../../dist/stl_wrappers 
-I../../dist/system_wrappers -include ../../config/gcc_hidden.h 
-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 -DOSTYPE=\"FreeBSD8\" 
-DOSARCH=FreeBSD -DEXCLUDE_SKIA_DEPENDENCIES -DCHROMIUM_MOZILLA_BUILD  
-DOS_LINUX=1 -DOS_POSIX=1  -I. -I../../dom/base -I../../dom/ipc 
-I../../content/base/src -I../../content/events/src 
-I../../netwerk/base/src -I../../netwerk/protocol/http -D_THREAD_SAFE 
-D_REENTRANT -I/usr/local/include/gtk-2.0 
-I/usr/local/lib/gtk-2.0/include -I/usr/local/include/atk-1.0 
-I/usr/local/include/cairo -I/usr/local/include/gdk-pixbuf-2.0 
-I/usr/local/include/pango-1.0 -I/usr/local/include/gio-unix-2.0/ 
-I/usr/local/include -I/usr/local/include/glib-2.0 
-I/usr/local/include/pixman-1 -I/usr/local/include/freetype2 
-I/usr/local/include/gtk-unix-print-2.0   -I/usr/local/include/dbus-1.0 
-I/usr/local/include/dbus-1.0/include   -I../../ipc/chromium/src 
-I../../ipc/glue -I../../ipc/ipdl/_ipdlheaders  -I. -I. 
-I../../dist/include -I../../dist/include/nsprpub  
-I/usr/local/include/nspr 
-I/usr/ports/www/firefox/work/mozilla-release/dist/include/nss       
-fPIC -I/usr/local/include -fno-rtti -fno-exceptions -Wall 
-Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy 
-Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof 
-Wno-variadic-macros -Werror=return-type -O2 -pipe -fno-strict-aliasing 
-march=nocona -O2 -fno-strict-aliasing -O2 -fno-strict-aliasing 
-fshort-wchar -pipe -DNDEBUG -DTRIMMED -O2 -D_THREAD_SAFE -D_REENTRANT 
-I/usr/local/include/gtk-2.0 -I/usr/local/lib/gtk-2.0/include 
-I/usr/local/include/atk-1.0 -I/usr/local/include/cairo 
-I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include/pango-1.0 
-I/usr/local/include/gio-unix-2.0/ -I/usr/local/include 
-I/usr/local/include/glib-2.0 -I/usr/local/include/pixman-1 
-I/usr/local/include/freetype2 -I/usr/local/include/gtk-unix-print-2.0   
-D_REENTRANT -I/usr/local/include/dbus-1.0 
-I/usr/local/include/dbus-1.0/include -I/usr/local/include/glib-2.0    
-I/usr/local/include -DMOZILLA_CLIENT -include ../../mozilla-config.h 
/usr/ports/www/firefox/work/mozilla-release/uriloader/exthandler/ExternalHelperAppParent.cpp
gmake[4]: Entering directory 
`/usr/ports/www/firefox/work/mozilla-release/uriloader/base'
/usr/ports/www/firefox/work/mozilla-release/config/nsinstall -R -m 644 
_xpidlgen/uriloader.xpt ../../dist/bin/components
gmake[4]: Leaving directory 
`/usr/ports/www/firefox/work/mozilla-release/uriloader/prefetch'
nsDBusHandlerApp.cpp
c++ -o nsDBusHandlerApp.o -c -I../../dist/stl_wrappers 
-I../../dist/system_wrappers -include ../../config/gcc_hidden.h 
-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 -DOSTYPE=\"FreeBSD8\" 
-DOSARCH=FreeBSD -DEXCLUDE_SKIA_DEPENDENCIES -DCHROMIUM_MOZILLA_BUILD  
-DOS_LINUX=1 -DOS_POSIX=1  -I. -I../../dom/base -I../../dom/ipc 
-I../../content/base/src -I../../content/events/src 
-I../../netwerk/base/src -I../../netwerk/protocol/http -D_THREAD_SAFE 
-D_REENTRANT -I/usr/local/include/gtk-2.0 
-I/usr/local/lib/gtk-2.0/include -I/usr/local/include/atk-1.0 
-I/usr/local/include/cairo -I/usr/local/include/gdk-pixbuf-2.0 
-I/usr/local/include/pango-1.0 -I/usr/local/include/gio-unix-2.0/ 
-I/usr/local/include -I/usr/local/include/glib-2.0 
-I/usr/local/include/pixman-1 -I/usr/local/include/freetype2 
-I/usr/local/include/gtk-unix-print-2.0   -I/usr/local/include/dbus-1.0 
-I/usr/local/include/dbus-1.0/include   -I../../ipc/chromium/src 
-I../../ipc/glue -I../../ipc/ipdl/_ipdlheaders  -I. -I. 
-I../../dist/include -I../../dist/include/nsprpub  
-I/usr/local/include/nspr 
-I/usr/ports/www/firefox/work/mozilla-release/dist/include/nss       
-fPIC -I/usr/local/include -fno-rtti -fno-exceptions -Wall 
-Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy 
-Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof 
-Wno-variadic-macros -Werror=return-type -O2 -pipe -fno-strict-aliasing 
-march=nocona -O2 -fno-strict-aliasing -O2 -fno-strict-aliasing 
-fshort-wchar -pipe -DNDEBUG -DTRIMMED -O2 -D_THREAD_SAFE -D_REENTRANT 
-I/usr/local/include/gtk-2.0 -I/usr/local/lib/gtk-2.0/include 
-I/usr/local/include/atk-1.0 -I/usr/local/include/cairo 
-I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include/pango-1.0 
-I/usr/local/include/gio-unix-2.0/ -I/usr/local/include 
-I/usr/local/include/glib-2.0 -I/usr/local/include/pixman-1 
-I/usr/local/include/freetype2 -I/usr/local/include/gtk-unix-print-2.0   
-D_REENTRANT -I/usr/local/include/dbus-1.0 
-I/usr/local/include/dbus-1.0/include -I/usr/local/include/glib-2.0    
-I/usr/local/include -DMOZILLA_CLIENT -include ../../mozilla-config.h 
/usr/ports/www/firefox/work/mozilla-release/uriloader/exthandler/nsDBusHandlerApp.cpp
gmake[4]: Leaving directory 
`/usr/ports/www/firefox/work/mozilla-release/uriloader/base'
nsCExternalHandlerService.idl
/usr/ports/www/firefox/work/mozilla-release/dist/bin/xpidl -m typelib 
-w -I. -I../../dist/idl -e _xpidlgen/nsCExternalHandlerService.xpt -d 
.deps/nsCExternalHandlerService.pp 
/usr/ports/www/firefox/work/mozilla-release/uriloader/exthandler/nsCExternalHandlerService.idl
nsIExternalProtocolService.idl
/usr/ports/www/firefox/work/mozilla-release/dist/bin/xpidl -m typelib 
-w -I. -I../../dist/idl -e _xpidlgen/nsIExternalProtocolService.xpt -d 
.deps/nsIExternalProtocolService.pp 
/usr/ports/www/firefox/work/mozilla-release/uriloader/exthandler/nsIExternalProtocolService.idl
nsIExternalHelperAppService.idl
/usr/ports/www/firefox/work/mozilla-release/dist/bin/xpidl -m typelib 
-w -I. -I../../dist/idl -e _xpidlgen/nsIExternalHelperAppService.xpt -d 
.deps/nsIExternalHelperAppService.pp 
/usr/ports/www/firefox/work/mozilla-release/uriloader/exthandler/nsIExternalHelperAppService.idl
nsIHelperAppLauncherDialog.idl
/usr/ports/www/firefox/work/mozilla-release/dist/bin/xpidl -m typelib 
-w -I. -I../../dist/idl -e _xpidlgen/nsIHelperAppLauncherDialog.xpt -d 
.deps/nsIHelperAppLauncherDialog.pp 
/usr/ports/www/firefox/work/mozilla-release/uriloader/exthandler/nsIHelperAppLauncherDialog.idl
nsIContentDispatchChooser.idl
/usr/ports/www/firefox/work/mozilla-release/dist/bin/xpidl -m typelib 
-w -I. -I../../dist/idl -e _xpidlgen/nsIContentDispatchChooser.xpt -d 
.deps/nsIContentDispatchChooser.pp 
/usr/ports/www/firefox/work/mozilla-release/uriloader/exthandler/nsIContentDispatchChooser.idl
nsIHandlerService.idl
/usr/ports/www/firefox/work/mozilla-release/dist/bin/xpidl -m typelib 
-w -I. -I../../dist/idl -e _xpidlgen/nsIHandlerService.xpt -d 
.deps/nsIHandlerService.pp 
/usr/ports/www/firefox/work/mozilla-release/uriloader/exthandler/nsIHandlerService.idl
nsIExternalSharingAppService.idl
/usr/ports/www/firefox/work/mozilla-release/dist/bin/xpidl -m typelib 
-w -I. -I../../dist/idl -e _xpidlgen/nsIExternalSharingAppService.xpt -d 
.deps/nsIExternalSharingAppService.pp 
/usr/ports/www/firefox/work/mozilla-release/uriloader/exthandler/nsIExternalSharingAppService.idl
nsIExternalURLHandlerService.idl
/usr/ports/www/firefox/work/mozilla-release/dist/bin/xpidl -m typelib 
-w -I. -I../../dist/idl -e _xpidlgen/nsIExternalURLHandlerService.xpt -d 
.deps/nsIExternalURLHandlerService.pp 
/usr/ports/www/firefox/work/mozilla-release/uriloader/exthandler/nsIExternalURLHandlerService.idl
/usr/local/bin/python2.7 
/usr/ports/www/firefox/work/mozilla-release/dist/sdk/bin/xpt.py link 
_xpidlgen/exthandler.xpt _xpidlgen/nsCExternalHandlerService.xpt 
_xpidlgen/nsIExternalProtocolService.xpt 
_xpidlgen/nsIExternalHelperAppService.xpt 
_xpidlgen/nsIHelperAppLauncherDialog.xpt 
_xpidlgen/nsIContentDispatchChooser.xpt _xpidlgen/nsIHandlerService.xpt 
_xpidlgen/nsIExternalSharingAppService.xpt 
_xpidlgen/nsIExternalURLHandlerService.xpt
In file included from ../../dist/include/jsval.h:48,
                  from ../../dist/include/jspubtd.h:47,
                  from ../../dist/include/nsIDOMWindowInternal.h:17,
                  from ../../dist/include/nsPIDOMWindow.h:47,
                  from ../../dist/include/nsNPAPIPluginInstance.h:45,
                  from ../../dist/include/nsPluginHost.h:48,
                  from 
/usr/ports/www/firefox/work/mozilla-release/uriloader/exthandler/nsExternalHelperAppService.cpp:112:
../../dist/include/jsutil.h:474: error: expected constructor, 
destructor, or type conversion before 'static'
../../dist/include/jsutil.h:474: error: expected constructor, 
destructor, or type conversion before 'static'
../../dist/include/jsutil.h:474: error: expected constructor, 
destructor, or type conversion before 'static'
../../dist/include/jsutil.h:474: error: expected constructor, 
destructor, or type conversion before 'static'
../../dist/include/jsutil.h:474: error: expected constructor, 
destructor, or type conversion before 'static'
../../dist/include/jsutil.h:474: error: expected constructor, 
destructor, or type conversion before 'static'
../../dist/include/jsutil.h:474: error: expected constructor, 
destructor, or type conversion before 'static'
../../dist/include/jsutil.h:474: error: expected constructor, 
destructor, or type conversion before 'static'
../../dist/include/jsutil.h:474: error: expected constructor, 
destructor, or type conversion before 'static'
../../dist/include/jsutil.h:474: error: expected constructor, 
destructor, or type conversion before 'static'
../../dist/include/jsutil.h:474: error: expected constructor, 
destructor, or type conversion before 'static'
../../dist/include/jsutil.h:474: error: expected constructor, 
destructor, or type conversion before 'static'
../../dist/include/jsutil.h:474: error: expected constructor, 
destructor, or type conversion before 'static'
../../dist/include/jsutil.h:474: error: expected constructor, 
destructor, or type conversion before 'static'
../../dist/include/jsutil.h:496: error: ISO C++ forbids declaration of 
'JS_ALWAYS_INLINE' with no type
../../dist/include/jsutil.h:496: error: expected ';' before 'void'
../../dist/include/jsutil.h:500: error: expected `;' before 'template'
../../dist/include/jsutil.h:500: error: expected constructor, 
destructor, or type conversion before 'static'
../../dist/include/jsutil.h:500: error: expected constructor, 
destructor, or type conversion before 'static'
../../dist/include/jsutil.h:622: error: expected constructor, 
destructor, or type conversion before 'static'
../../dist/include/jsutil.h:629: error: expected constructor, 
destructor, or type conversion before 'static'
../../dist/include/jsutil.h:646: error: expected constructor, 
destructor, or type conversion before 'static'
../../dist/include/jsutil.h:653: error: expected constructor, 
destructor, or type conversion before 'static'
../../dist/include/jsutil.h:669: error: expected constructor, 
destructor, or type conversion before 'static'
In file included from ../../dist/include/jspubtd.h:47,
                  from ../../dist/include/nsIDOMWindowInternal.h:17,
                  from ../../dist/include/nsPIDOMWindow.h:47,
                  from ../../dist/include/nsNPAPIPluginInstance.h:45,
                  from ../../dist/include/nsPluginHost.h:48,
                  from 
/usr/ports/www/firefox/work/mozilla-release/uriloader/exthandler/nsExternalHelperAppService.cpp:112:
../../dist/include/jsval.h:571: error: 'JS_ALWAYS_INLINE' does not name 
a type
../../dist/include/jsval.h:577: error: 'JS_ALWAYS_INLINE' does not name 
a type
../../dist/include/jsval.h:586: error: 'JS_ALWAYS_INLINE' does not name 
a type
../../dist/include/jsval.h:592: error: 'JS_ALWAYS_INLINE' does not name 
a type
../../dist/include/jsval.h:598: error: 'JS_ALWAYS_INLINE' does not name 
a type
../../dist/include/jsval.h:606: error: 'JS_ALWAYS_INLINE' does not name 
a type
../../dist/include/jsval.h:612: error: 'JS_ALWAYS_INLINE' does not name 
a type
../../dist/include/jsval.h:618: error: 'JS_ALWAYS_INLINE' does not name 
a type
../../dist/include/jsval.h:624: error: 'JS_ALWAYS_INLINE' does not name 
a type
../../dist/include/jsval.h:635: error: 'JS_ALWAYS_INLINE' does not name 
a type
../../dist/include/jsval.h:641: error: 'JS_ALWAYS_INLINE' does not name 
a type
../../dist/include/jsval.h:647: error: 'JS_ALWAYS_INLINE' does not name 
a type
../../dist/include/jsval.h:653: error: 'JS_ALWAYS_INLINE' does not name 
a type
../../dist/include/jsval.h:661: error: 'JS_ALWAYS_INLINE' does not name 
a type
../../dist/include/jsval.h:667: error: 'JS_ALWAYS_INLINE' does not name 
a type
../../dist/include/jsval.h:676: error: 'JS_ALWAYS_INLINE' does not name 
a type
../../dist/include/jsval.h:682: error: 'JS_ALWAYS_INLINE' does not name 
a type
../../dist/include/jsval.h:689: error: 'JS_ALWAYS_INLINE' does not name 
a type
../../dist/include/jsval.h:696: error: 'JS_ALWAYS_INLINE' does not name 
a type
../../dist/include/jsval.h:704: error: 'JS_ALWAYS_INLINE' does not name 
a type
../../dist/include/jsval.h:715: error: 'JS_ALWAYS_INLINE' does not name 
a type
../../dist/include/jsval.h:721: error: 'JS_ALWAYS_INLINE' does not name 
a type
../../dist/include/jsval.h:727: error: expected initializer before 
'void'
../../dist/include/jsval.h:735: error: 'JS_ALWAYS_INLINE' does not name 
a type
../../dist/include/jsval.h:741: error: 'JS_ALWAYS_INLINE' does not name 
a type
../../dist/include/jsval.h:747: error: 'JS_ALWAYS_INLINE' does not name 
a type
../../dist/include/jsval.h:758: error: expected initializer before 
'void'
../../dist/include/jsval.h:767: error: expected initializer before 
'double'
In file included from ../../dist/include/nsBaseHashtable.h:42,
                  from ../../dist/include/nsInterfaceHashtable.h:41,
                  from ../../dist/include/nsNPAPIPluginInstance.h:50,
                  from ../../dist/include/nsPluginHost.h:48,
                  from 
/usr/ports/www/firefox/work/mozilla-release/uriloader/exthandler/nsExternalHelperAppService.cpp:112:
../../dist/system_wrappers/prlock.h:2: error: expected `}' before end 
of line
../../dist/system_wrappers/prlock.h:2: error: expected declaration 
before end of line
gmake[4]: *** [nsExternalHelperAppService.o] Error 1
gmake[4]: *** Waiting for unfinished jobs....
/usr/ports/www/firefox/work/mozilla-release/uriloader/exthandler/ExternalHelperAppParent.cpp: 
In member function 'virtual bool 
mozilla::dom::ExternalHelperAppParent::RecvOnDataAvailable(const 
nsCString&, const PRUint32&, const PRUint32&)':
/usr/ports/www/firefox/work/mozilla-release/uriloader/exthandler/ExternalHelperAppParent.cpp:111: 
warning: unused variable 'rv'
gmake[4]: Leaving directory 
`/usr/ports/www/firefox/work/mozilla-release/uriloader/exthandler'
gmake[3]: *** [exthandler_libs] Error 2
gmake[3]: Leaving directory 
`/usr/ports/www/firefox/work/mozilla-release/uriloader'
gmake[2]: *** [libs_tier_platform] Error 2
gmake[2]: Leaving directory 
`/usr/ports/www/firefox/work/mozilla-release'
gmake[1]: *** [tier_platform] Error 2
gmake[1]: Leaving directory 
`/usr/ports/www/firefox/work/mozilla-release'
gmake: *** [default] Error 2
*** Error code 1

Stop in /usr/ports/www/firefox.
*** Error code 1

Stop in /usr/ports/www/firefox.
Exit 1




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?assp.021302abca.a050e9e2592f7873d9fe11eeceaae5d5>