Bug 159974

Summary: Firefox 6.0.0,1 does not build on -current amd64
Product: Ports & Packages Reporter: Mathias Picker <Mathias.Picker>
Component: Individual Port(s)Assignee: freebsd-ports-bugs (Nobody) <ports-bugs>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   

Description Mathias Picker 2011-08-21 18:20:07 UTC
Building of Firefox from today fails with:


c++ -o nsExternalHelperAppService.o -c -I../../dist/stl_wrappers -I../../dist/system_wrappers -include /usr/ports/www/firefox/work/mozilla-release/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=\"FreeBSD9\" -DOSARCH=FreeBSD -DEXCLUDE_SKIA_DEPENDENCIES -DCHROMIUM_MOZILLA_BUILD  -DOS_LINUX=1 -DOS_POSIX=1  -I/usr/ports/www/firefox/work/mozilla-release/uriloader/exthandler -I/usr/ports/www/firefox/work/mozilla-release/dom/base -I/usr/ports/www/firefox/work/mozilla-release/dom/ipc -I/usr/ports/www/firefox/work/mozilla-release/content/base/src -I/usr/ports/www/firefox/work/mozilla-release/content/events/src -I/usr/ports/www/firefox/work/mozilla-release/netwerk/base/src -I/usr/ports/www/firefox/work/mozilla-release/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/drm -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/usr/ports/www/firefox/work/mozilla-release/ipc/chromium/src -I/usr/ports/www/firefox/work/mozilla-release/ipc/glue -I../../ipc/ipdl/_ipdlheaders  -I/usr/ports/www/firefox/work/mozilla-release/uriloader/exthandler -I. -I../../dist/include -I../../dist/include/nsprpub  -I/usr/local/include/nspr -I/usr/ports/www/firefox/work/mozilla-release/obj-amd64-unknown-freebsd9.0/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 -fno-strict-aliasing!
  -w -msse2 -mfpmath=sse -pipe -O2 -fno-strict-aliasing -O2 -fconserve-space -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/drm -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/nsExternalHelperAppService.cpp
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[6]: *** [nsExternalHelperAppService.o] Fehler 1
gmake[6]: Leaving directory `/usr/ports/www/firefox/work/mozilla-release/obj-amd64-unknown-freebsd9.0/uriloader/exthandler'
gmake[5]: *** [exthandler_libs] Fehler 2
gmake[5]: Leaving directory `/usr/ports/www/firefox/work/mozilla-release/obj-amd64-unknown-freebsd9.0/uriloader'
gmake[4]: *** [libs_tier_platform] Fehler 2
gmake[4]: Leaving directory `/usr/ports/www/firefox/work/mozilla-release/obj-amd64-unknown-freebsd9.0'
gmake[3]: *** [tier_platform] Fehler 2
gmake[3]: Leaving directory `/usr/ports/www/firefox/work/mozilla-release/obj-amd64-unknown-freebsd9.0'
gmake[2]: *** [default] Fehler 2
gmake[2]: Leaving directory `/usr/ports/www/firefox/work/mozilla-release/obj-amd64-unknown-freebsd9.0'
gmake[1]: *** [realbuild] Fehler 2
gmake[1]: Leaving directory `/usr/ports/www/firefox/work/mozilla-release'
gmake: *** [profiledbuild] Fehler 2
*** Error code 1

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

Stop in /usr/ports/www/firefox.

=

How-To-Repeat: cd /usr/ports/www/firefox && make with current portstree and os

mp# cat /var/db/ports/firefox/options 
# This file is auto-generated by 'make config'.
# No user-servicable parts inside!
# Options for firefox-4.0,1
_OPTIONS_READ=firefox-4.0,1
WITH_DBUS=true
WITH_PGO=true
WITHOUT_SMB=true
WITHOUT_DEBUG=true
WITHOUT_LOGGING=true
WITH_OPTIMIZED_CFLAGS=true
Comment 1 vsjcfm 2011-08-21 18:24:58 UTC
I think this is duplicate of ports/159831
Comment 2 Mark Linimon freebsd_committer freebsd_triage 2011-08-21 21:50:22 UTC
State Changed
From-To: open->closed

See ports/159831.