Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 07 Aug 2015 20:50:55 +0000
From:      bugzilla-noreply@freebsd.org
To:        gecko@FreeBSD.org
Subject:   maintainer-feedback requested: [Bug 202165] www/firefox 40.0 fails to build
Message-ID:  <bug-202165-21738-uimIrMLPA6@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-202165-21738@https.bugs.freebsd.org/bugzilla/>
References:  <bug-202165-21738@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
rsmith@xs4all.nl has reassigned Bugzilla Automation <bugzilla@FreeBSD.org>'s
request for maintainer-feedback to gecko@FreeBSD.org:
Bug 202165: www/firefox 40.0 fails to build
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D202165



--- Description ---
Created attachment 159651
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D159651&action=
=3Dedit
Full build log of the failed build

Trying to build the new firefox 40.0, the build failed.
Tested with both clang and gcc.

Configuration:
=3D=3D=3D> The following configuration options are available for firefox-40=
.0,1:
     CANBERRA=3Doff: Sound theme alerts
     DBUS=3Doff: D-Bus IPC system support
     DEBUG=3Doff: Build with debugging support
     DTRACE=3Doff: Build with DTrace probes
     GCONF=3Doff: GConf configuration backend support
     GIO=3Don: Use GIO for file I/O
     GNOMEUI=3Doff: libgnomeui support module
     GSTREAMER=3Doff: Multimedia support via GStreamer
     LIBPROXY=3Doff: Proxy support via libproxy
     LOGGING=3Doff: Additional log messages
     OPTIMIZED_CFLAGS=3Don: Use extra compiler optimizations
     PGO=3Doff: Use Profile-Guided Optimization
     PROFILE=3Doff: Build with profiling support
     TEST=3Doff: Build and/or run tests
=3D=3D=3D=3D> Options available for the multi AUDIO: you have to choose at =
least one of
them
     ALSA=3Doff: ALSA audio architecture support
     PULSEAUDIO=3Don: PulseAudio sound server support
=3D=3D=3D=3D> Options available for the single TOOLKIT: you have to select =
exactly one
of them
     GTK2=3Doff: GTK+ 2 GUI toolkit support
     GTK3=3Don: GTK+ 3 GUI toolkit support



Error message (full build log attached);

Unified_cpp_widget2.o
c++ -o Unified_cpp_widget2.o -c -I../dist/stl_wrappers
-I../dist/system_wrappers -include
/usr/ports/www/firefox/work/mozilla-release/config/gcc_hidden.h
-DMOZ_CROSS_PROCESS_IME -DOS_POSIX=3D1 -DOS_FREEBSD=3D1 -DOS_BSD=3D1
-DSTATIC_EXPORTABLE_JS_API -DMOZILLA_INTERNAL_API -DIMPL_LIBXUL
-DMOZ_GLUE_IN_PROGRAM -DAB_CD=3Den-US -DNO_NSPR_10_SUPPORT
-I/usr/ports/www/firefox/work/mozilla-release/widget -I.
-I/usr/ports/www/firefox/work/mozilla-release/obj-x86_64-portbld-freebsd10.=
2/ip
c/ipdl/_ipdlheaders
-I/usr/ports/www/firefox/work/mozilla-release/ipc/chromium/src
-I/usr/ports/www/firefox/work/mozilla-release/ipc/glue
-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/layout/base
-I/usr/ports/www/firefox/work/mozilla-release/layout/forms
-I/usr/ports/www/firefox/work/mozilla-release/layout/generic
-I/usr/ports/www/firefox/work/mozilla-release/layout/xul
-I/usr/ports/www/firefox/work/mozilla-release/view
-I/usr/ports/www/firefox/work/mozilla-release/widget
-I/usr/ports/www/firefox/work/mozilla-release/widget/gtk -I../dist/include=
=20=20
-I/usr/local/include/nspr -I/usr/local/include/nss -I/usr/local/include/nss=
/nss
-I/usr/local/include -I/usr/local/include  -I/usr/local/include/pixman-1=20=
=20=20=20
-fPIC  -Qunused-arguments -isystem/usr/local/include -DLIBICONV_PLUG=20
-DMOZILLA_CLIENT -include ../mozilla-config.h -MD -MP -MF
.deps/Unified_cpp_widget2.o.pp -Qunused-arguments -isystem/usr/local/include
-DLIBICONV_PLUG  -Qunused-arguments -Wall -Wempty-body -Woverloaded-virtual
-Wsign-compare -Wwrite-strings -Wno-invalid-offsetof -Wno-inline-new-delete
-Wno-c++0x-extensions -Wno-extended-offsetof -Wno-unknown-warning-option
-Wno-return-type-c-linkage -O2 -pipe -O3 -DLIBICONV_PLUG -fstack-protector
-fno-strict-aliasing -DLIBICONV_PLUG -fno-exceptions -fno-strict-aliasing
-fno-rtti -ffunction-sections -fdata-sections -fno-exceptions -fno-math-err=
no
-std=3Dgnu++0x -pipe  -DNDEBUG -DTRIMMED -O2 -O3 -fomit-frame-pointer=20
-I/usr/ports/www/firefox/work/mozilla-release/widget/gtk/compat-gtk3
-I/usr/local/include/gtk-3.0 -I/usr/local/include/pango-1.0
-I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include
-I/usr/local/include -I/usr/local/include/cairo -I/usr/local/include/pixman=
-1
-I/usr/local/include/freetype2 -I/usr/local/include/libpng15
-I/usr/local/include/libpng16 -I/usr/local/include/gdk-pixbuf-2.0
-I/usr/local/include/gio-unix-2.0/ -I/usr/local/include/harfbuzz
-I/usr/local/include/atk-1.0 -I/usr/local/include/at-spi2-atk/2.0
-I/usr/local/include/at-spi-2.0 -I/usr/local/include/dbus-1.0
-I/usr/local/lib/dbus-1.0/include -I/usr/local/include/gtk-3.0/unix-print
-D_THREAD_SAFE -pthread=20=20=20
/usr/ports/www/firefox/work/mozilla-release/obj-x86_64-portbld-freebsd10.2/=
widg
et/Unified_cpp_widget2.cpp
In file included from
/usr/ports/www/firefox/work/mozilla-release/obj-x86_64-portbld-freebsd10.2/=
widg
et/Unified_cpp_widget2.cpp:11:
In file included from
/usr/ports/www/firefox/work/mozilla-release/widget/nsPrintSettingsImpl.cpp:=
10:
../dist/include/mozilla/gfx/Logging.h:25:18: error: unknown type name
'PRLogModuleInfo'
extern GFX2D_API PRLogModuleInfo *GetGFX2DLog();
		 ^
../dist/include/mozilla/gfx/Logging.h:45:8: error: unknown type name
'PRLogModuleLevel'
inline PRLogModuleLevel PRLogLevelForLevel(int aLevel) {
       ^
../dist/include/mozilla/gfx/Logging.h:48:12: error: use of undeclared
identifier 'PR_LOG_ERROR'
    return PR_LOG_ERROR;
	   ^
../dist/include/mozilla/gfx/Logging.h:50:12: error: use of undeclared
identifier 'PR_LOG_WARNING'; did
      you mean 'LOG_WARNING'?
    return PR_LOG_WARNING;
	   ^~~~~~~~~~~~~~
	   LOG_WARNING
../dist/include/mozilla/gfx/Logging.h:34:11: note: 'LOG_WARNING' declared h=
ere
const int LOG_WARNING =3D 2;
	  ^
../dist/include/mozilla/gfx/Logging.h:52:12: error: use of undeclared
identifier 'PR_LOG_DEBUG'; did you
      mean 'LOG_DEBUG'?
    return PR_LOG_DEBUG;
	   ^~~~~~~~~~~~
	   LOG_DEBUG
../dist/include/mozilla/gfx/Logging.h:35:11: note: 'LOG_DEBUG' declared here
const int LOG_DEBUG =3D 3;
../dist/include/mozilla/gfx/Logging.h:54:12: error: use of undeclared
identifier 'PR_LOG_DEBUG'; did you
      mean 'LOG_DEBUG'?
    return PR_LOG_DEBUG;
	   ^~~~~~~~~~~~
	   LOG_DEBUG
../dist/include/mozilla/gfx/Logging.h:35:11: note: 'LOG_DEBUG' declared here
const int LOG_DEBUG =3D 3;
	  ^
../dist/include/mozilla/gfx/Logging.h:56:12: error: use of undeclared
identifier 'PR_LOG_ALWAYS'
    return PR_LOG_ALWAYS;
	   ^
../dist/include/mozilla/gfx/Logging.h:58:10: error: use of undeclared
identifier 'PR_LOG_DEBUG'; did you
      mean 'LOG_DEBUG'?
  return PR_LOG_DEBUG;
	 ^~~~~~~~~~~~
	 LOG_DEBUG
../dist/include/mozilla/gfx/Logging.h:35:11: note: 'LOG_DEBUG' declared here
const int LOG_DEBUG =3D 3;
	  ^
../dist/include/mozilla/gfx/Logging.h:136:11: error: use of undeclared
identifier 'PR_LOG_TEST'
      if (PR_LOG_TEST(GetGFX2DLog(), PRLogLevelForLevel(aLevel))) {
	  ^
../dist/include/mozilla/gfx/Logging.h:163:11: error: use of undeclared
identifier 'PR_LOG_TEST'
      if (PR_LOG_TEST(GetGFX2DLog(), PRLogLevelForLevel(aLevel))) {
	  ^
../dist/include/mozilla/gfx/Logging.h:164:9: error: use of undeclared
identifier 'PR_LogPrint'
	PR_LogPrint("%s%s", aString.c_str(), aNoNewline ? "" : "\n");
	^
11 errors generated.
/usr/ports/www/firefox/work/mozilla-release/config/rules.mk:946: recipe for
target 'Unified_cpp_widget2.o' failed
gmake[7]: *** [Unified_cpp_widget2.o] Error 1
gmake[7]: Leaving directory
'/usr/ports/www/firefox/work/mozilla-release/obj-x86_64-portbld-freebsd10.2=
/wid
get'
/usr/ports/www/firefox/work/mozilla-release/config/recurse.mk:70: recipe for
target 'widget/target' failed
gmake[6]: *** [widget/target] Error 2
gmake[6]: Leaving directory
'/usr/ports/www/firefox/work/mozilla-release/obj-x86_64-portbld-freebsd10.2'
/usr/ports/www/firefox/work/mozilla-release/config/recurse.mk:32: recipe for
target 'compile' failed
gmake[5]: *** [compile] Error 2
gmake[5]: Leaving directory
'/usr/ports/www/firefox/work/mozilla-release/obj-x86_64-portbld-freebsd10.2'
/usr/ports/www/firefox/work/mozilla-release/config/rules.mk:538: recipe for
target 'default' failed
gmake[4]: *** [default] Error 2
gmake[4]: Leaving directory
'/usr/ports/www/firefox/work/mozilla-release/obj-x86_64-portbld-freebsd10.2'
/usr/ports/www/firefox/work/mozilla-release/client.mk:400: recipe for target
'realbuild' failed
gmake[3]: *** [realbuild] Error 2
gmake[3]: Leaving directory '/usr/ports/www/firefox/work/mozilla-release'
/usr/ports/www/firefox/work/mozilla-release/client.mk:171: recipe for target
'build' failed
gmake[2]: *** [build] Error 2
gmake[2]: Leaving directory '/usr/ports/www/firefox/work/mozilla-release'
*** Error code 1

Stop.
make[1]: stopped in /usr/ports/www/firefox
*** Error code 1=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-202165-21738-uimIrMLPA6>