ports/159831: www/firefox is broken
Sayetsky Anton
jason at linux.lg.ua
Wed Aug 17 08:20:09 UTC 2011
>Number: 159831
>Category: ports
>Synopsis: www/firefox is broken
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Wed Aug 17 08:20:09 UTC 2011
>Closed-Date:
>Last-Modified:
>Originator: Sayetsky Anton
>Release: 8.2-RELEASE-p2
>Organization:
>Environment:
FreeBSD jason.local 8.2-RELEASE-p2 FreeBSD 8.2-RELEASE-p2 #0 r224542: Sun Jul 31 14:37:12 EEST 2011 root at jason.local:/tmp/obj/mnt/garbage/build/src/sys/JASON amd64
>Description:
www/firefox fails to build after updating version in ports to 6.0
$ cc -v
Using built-in specs.
Target: amd64-undermydesk-freebsd
Configured with: FreeBSD/amd64 system compiler
Thread model: posix
gcc version 4.2.1 20070719 [FreeBSD]
$ c++ -v
Using built-in specs.
Target: amd64-undermydesk-freebsd
Configured with: FreeBSD/amd64 system compiler
Thread model: posix
gcc version 4.2.1 20070719 [FreeBSD]
$ egrep "^CPU|^CFLAGS" /etc/make.conf
CPUTYPE?=core2
CFLAGS= -O2 -fno-strict-aliasing -pipe
$ cat /var/db/ports/firefox/options
# This file is auto-generated by 'make config'.
# No user-servicable parts inside!
# Options for firefox-5.0,1
_OPTIONS_READ=firefox-5.0,1
WITH_DBUS=true
WITHOUT_PGO=true
WITHOUT_SMB=true
WITHOUT_DEBUG=true
WITHOUT_LOGGING=true
WITH_OPTIMIZED_CFLAGS=true
Regardless of MAKE_JOBS_NUMBER, i got the following errors:
c++ -o nsExternalHelperAppService.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/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../../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/tmp/obj/mnt/garbage/build/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 -fno-strict-aliasing -pipe -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/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 /tmp/obj/mnt/garbage/build/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 /tmp/obj/mnt/garbage/build/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: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'
{...}
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 /tmp/obj/mnt/garbage/build/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: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: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 /tmp/obj/mnt/garbage/build/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
>How-To-Repeat:
Update ports to latest version, cd to ${PORTSDIR}/www/firefox and run "make"
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list