From owner-freebsd-gecko@FreeBSD.ORG Thu Aug 18 07:30:15 2011 Return-Path: Delivered-To: gecko@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D5527106564A for ; Thu, 18 Aug 2011 07:30:14 +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 B39258FC0A for ; Thu, 18 Aug 2011 07:30:14 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id p7I7UEBJ099412 for ; Thu, 18 Aug 2011 07:30:14 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id p7I7UECq099411; Thu, 18 Aug 2011 07:30:14 GMT (envelope-from gnats) Date: Thu, 18 Aug 2011 07:30:14 GMT Message-Id: <201108180730.p7I7UECq099411@freefall.freebsd.org> To: gecko@FreeBSD.org From: Sayetsky Anton Cc: Subject: Re: ports/159831: www/firefox is broken X-BeenThere: freebsd-gecko@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Sayetsky Anton List-Id: Gecko Rendering Engine issues List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 18 Aug 2011 07:30:15 -0000 The following reply was made to PR ports/159831; it has been noted by GNATS. From: Sayetsky Anton To: bug-followup@freebsd.org, Florian Smeets Cc: Subject: Re: ports/159831: www/firefox is broken Date: Thu, 18 Aug 2011 10:28:07 +0300 2011/8/18 Florian Smeets : > i cannot reproduce your problem. Are your other ports up to date? Can you > please try building without special flags in make.conf and without > OPTIMIZED_CFLAGS set? root@jason:~# update_srcports.sh {...} Updating ports Looking up portsnap.FreeBSD.org mirrors... 5 mirrors found. Fetching snapshot tag from portsnap2.FreeBSD.org... done. Fetching snapshot metadata... done. Updating from Wed Aug 17 19:32:09 EEST 2011 to Thu Aug 18 09:51:09 EEST 201= 1. Fetching 3 metadata patches.. done. Applying metadata patches... done. Fetching 0 metadata files... done. Fetching 89 patches.....10....20....30....40....50....60....70....80.... do= ne. Applying patches... done. Fetching 2 new ports or files... done. Removing old files and directories... done. Extracting new files: {...} Building new INDEX files... done. root@jason:~# portversion | grep -v "=3D" [Updating the portsdb in /usr/ports ... - 22730 port entries found .........1000.........2000.........3000.........4000.........5000.........6= 000.........7000.........8000.........9000.........10000.........11000.....= ....12000.........13000.........14000.........15000.........16000.........1= 7000.........18000.........19000.........20000.........21000.........22000.= ...... ..... done] firefox < firefox-i18n < root@jason:~# pkg_info | grep ^firefox firefox-5.0,1 Web browser based on the browser portion of Mozilla firefox-i18n-5.0 Localized interface for Firefox 5.0 root@jason:~# pkg_tree firefox-5.0,1 firefox-5.0,1 |\__ xineramaproto-1.2 |\__ xf86vidmodeproto-2.3 |\__ xextproto-7.1.1 |\__ renderproto-0.11 |\__ randrproto-1.3.2 |\__ kbproto-1.0.5 |\__ inputproto-2.0.1 |\__ fixesproto-4.1.2 |\__ dri2proto-2.3 |\__ damageproto-1.2.1 |\__ compositeproto-0.4.2 |\__ font-util-1.2.0 |\__ encodings-1.0.4,1 |\__ expat-2.0.1_1 |\__ gnome_subr-1.0 |\__ cups-client-1.4.6 |\__ hicolor-icon-theme-0.12 |\__ python27-2.7.2_1 |\__ perl-threaded-5.14.1_1 |\__ png-1.4.8 |\__ jpeg-8_3 |\__ jbigkit-1.6 |\__ tiff-4.0.0_2 |\__ pkg-config-0.25_1 |\__ xproto-7.0.16 |\__ pixman-0.22.0 |\__ libfontenc-1.1.0 |\__ libXdmcp-1.0.3 |\__ libXau-1.0.6 |\__ libICE-1.0.7,1 |\__ libSM-1.1.1_3,1 |\__ freetype2-2.4.6 |\__ mkfontscale-1.0.8 |\__ mkfontdir-1.0.6 |\__ fontconfig-2.8.0_1,1 |\__ font-misc-meltho-1.0.3 |\__ font-misc-ethiopic-1.0.3 |\__ font-bh-ttf-1.0.3 |\__ bitstream-vera-1.10_5 |\__ xorg-fonts-truetype-7.5.1 |\__ pcre-8.13 |\__ nspr-4.8.8 |\__ m4-1.4.16,1 |\__ libpthread-stubs-0.3_3 |\__ libxcb-1.7 |\__ xcb-util-0.3.6_1 |\__ libdrm-2.4.12_1 |\__ libX11-1.3.6,1 |\__ libXt-1.0.9 |\__ libXrender-0.9.5 |\__ libXft-2.1.14 |\__ libXfixes-4.0.4 |\__ libXext-1.1.2,1 |\__ libXxf86vm-1.1.0 |\__ libXrandr-1.3.0 |\__ libXmu-1.1.0,1 |\__ libXinerama-1.1,1 |\__ libXi-1.3.2,1 |\__ libXdamage-1.1.3 |\__ libXcursor-1.1.11 |\__ libXcomposite-0.4.3,1 |\__ libGL-7.4.4 |\__ libGLU-7.4.4 |\__ libglut-7.4.4 |\__ jasper-1.900.1_9 |\__ libffi-3.0.9 |\__ libexecinfo-1.1_3 |\__ libevent-1.4.14b_2 |\__ icu-4.8.1 |\__ libiconv-1.13.1_1 |\__ libxml2-2.7.8_1 |\__ gettext-0.18.1.1 |\__ glib-2.28.8 |\__ gamin-0.1.10_4 |\__ gio-fam-backend-2.28.8 |\__ shared-mime-info-0.90 |\__ libIDL-0.8.14_1 |\__ gdk-pixbuf-2.23.5 |\__ desktop-file-utils-0.18 |\__ dbus-1.4.6 |\__ dbus-glib-0.88 |\__ cairo-1.10.2_2,1 |\__ bison-2.4.3,1 |\__ gobject-introspection-0.10.8 |\__ pango-1.28.4 |\__ zip-3.0 |\__ atk-2.0.1 |\__ gtk-2.24.5_1 \__ libnotify-0.5.2 root@jason:~# cat /etc/make.conf | egrep "CFLAGS|COPTFLAGS|CPUTYPE|JOBS_NUM= BER" # The CPUTYPE variable controls which processor should be targeted for # of CFLAGS to contain the appropriate optimization directive to gcc. # The automatic setting of CFLAGS may be overridden using the # NO_CPU_CFLAGS variable below. # (?=3D allows to buildworld for a different CPUTYPE.) #CPUTYPE?=3Dcore2 #NO_CPU_CFLAGS=3D # Don't add -march=3D to CFLAGS automaticall= y #NO_CPU_COPTFLAGS=3D # Don't add -march=3D to COPTFLAGS automatic= ally # CFLAGS controls the compiler settings used when compiling C code. #CFLAGS=3D -O2 -fno-strict-aliasing -pipe # Note that CXXFLAGS is initially set to the value of CFLAGS. If you wish # alone will remove the often needed contents of CFLAGS from CXXFLAGS. # BDECFLAGS are a set of gcc warning settings that Bruce Evans has suggeste= d # putting "CFLAGS+=3D${BDECFLAGS}" in /etc/make.conf. -Wconversion is not #BDECFLAGS=3D -W -Wall -ansi -pedantic -Wbad-function-cast -Wcast-align= \ # this instead of CFLAGS (which is not applicable to kernel builds anyway). #COPTFLAGS=3D -O2 -pipe # SENDMAIL_CFLAGS=3D-I/usr/local/include/sasl1 -DSASL # SENDMAIL_CFLAGS=3D-I/usr/local/include -DSASL=3D2 #SENDMAIL_CFLAGS=3D #MAKE_JOBS_NUMBER=3D5 root@jason:~# cat /etc/make.conf | egrep "CFLAGS=3D|COPTFLAGS=3D|CPUTYPE?=3D|JOBS_NUMBER" #NO_CPU_CFLAGS=3D # Don't add -march=3D to CFLAGS automaticall= y #NO_CPU_COPTFLAGS=3D # Don't add -march=3D to COPTFLAGS automatic= ally #CFLAGS=3D -O2 -fno-strict-aliasing -pipe #BDECFLAGS=3D -W -Wall -ansi -pedantic -Wbad-function-cast -Wcast-align= \ #COPTFLAGS=3D -O2 -pipe # SENDMAIL_CFLAGS=3D-I/usr/local/include/sasl1 -DSASL # SENDMAIL_CFLAGS=3D-I/usr/local/include -DSASL=3D2 #SENDMAIL_CFLAGS=3D #MAKE_JOBS_NUMBER=3D5 root@jason:~# cat /etc/make.conf | grep firefox root@jason:~# root@jason:~# cat /etc/make.conf | grep firefox root@jason:~# cd /usr/ports/www/firefox root@jason:/usr/ports/www/firefox# make =3D=3D=3D> Vulnerability check disabled, database not found =3D=3D=3D> License check disabled, port has not defined LICENSE =3D=3D=3D> Found saved configuration for firefox-6.0,1 =3D=3D=3D> Extracting for firefox-6.0,1 =3D> SHA256 Checksum OK for firefox-6.0.source.tar.bz2. =3D=3D=3D> firefox-6.0,1 depends on file: /usr/local/bin/perl5.14.1 - fou= nd {...} c++ -o nsOfflineCacheUpdateService.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=3D\"FreeBSD8\" -DOSARCH=3DFreeBSD -DEXCLUDE_SKIA_DEPENDENCIES -DCHROMIUM_MOZILLA_BUILD -DOS_LINUX=3D1 -DOS_POSIX=3D1 -I../../content/base/src -I../../content/events/src -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/in= clude/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=3Dreturn-type -O2 -pipe -O2 -fno-strict-aliasing -O2 -fno-strict-aliasing -fshort-wchar -pipe -DNDEBUG -DTRIMMED -O2 -I/usr/local/include -DMOZILLA_CLIENT -include ../../mozilla-config.h /tmp/obj/mnt/garbage/build/ports/www/firefox/work/mozilla-release/uriloader= /prefetch/nsOfflineCacheUpdateService.cpp /tmp/obj/mnt/garbage/build/ports/www/firefox/work/mozilla-release/uriloader= /prefetch/nsOfflineCacheUpdateService.cpp:96:1: warning: "LOG" redefined In file included from ../../ipc/chromium/src/base/string_util_posix.h:13, from ../../ipc/chromium/src/base/string_util.h:105, from ../../ipc/chromium/src/chrome/common/ipc_message_utils.h:13, from ../../dist/include/IPC/IPCMessageUtils.h:42, from ../../ipc/ipdl/_ipdlheaders/mozilla/docshell/POfflineCacheUpdate.h:13, from ../../ipc/ipdl/_ipdlheaders/mozilla/docshell/POfflineCacheUpdateChild.h:9, from /tmp/obj/mnt/garbage/build/ports/www/firefox/work/mozilla-release/uriloader= /prefetch/OfflineCacheUpdateChild.h:42, from /tmp/obj/mnt/garbage/build/ports/www/firefox/work/mozilla-release/uriloader= /prefetch/nsOfflineCacheUpdateService.cpp:39: ../../ipc/chromium/src/base/logging.h:92:1: warning: this is the location of the previous definition 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: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 /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 t= ype {...} Stop in /mnt/garbage/build/ports/www/firefox. *** Error code 1 I'll try to remove nspr and rebuild.