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

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=202165

            Bug ID: 202165
           Summary: www/firefox 40.0 fails to build
           Product: Ports & Packages
           Version: Latest
          Hardware: amd64
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: gecko@FreeBSD.org
          Reporter: rsmith@xs4all.nl
             Flags: maintainer-feedback?(gecko@FreeBSD.org)
          Assignee: gecko@FreeBSD.org
                CC:

Created attachment 159651
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=159651&action=edit
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:
===> The following configuration options are available for firefox-40.0,1:
     CANBERRA=off: Sound theme alerts
     DBUS=off: D-Bus IPC system support
     DEBUG=off: Build with debugging support
     DTRACE=off: Build with DTrace probes
     GCONF=off: GConf configuration backend support
     GIO=on: Use GIO for file I/O
     GNOMEUI=off: libgnomeui support module
     GSTREAMER=off: Multimedia support via GStreamer
     LIBPROXY=off: Proxy support via libproxy
     LOGGING=off: Additional log messages
     OPTIMIZED_CFLAGS=on: Use extra compiler optimizations
     PGO=off: Use Profile-Guided Optimization
     PROFILE=off: Build with profiling support
     TEST=off: Build and/or run tests
====> Options available for the multi AUDIO: you have to choose at least one of
them
     ALSA=off: ALSA audio architecture support
     PULSEAUDIO=on: PulseAudio sound server support
====> Options available for the single TOOLKIT: you have to select exactly one
of them
     GTK2=off: GTK+ 2 GUI toolkit support
     GTK3=on: 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=1 -DOS_FREEBSD=1 -DOS_BSD=1
-DSTATIC_EXPORTABLE_JS_API -DMOZILLA_INTERNAL_API -DIMPL_LIBXUL
-DMOZ_GLUE_IN_PROGRAM -DAB_CD=en-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/ipc/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  
-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    
-fPIC  -Qunused-arguments -isystem/usr/local/include -DLIBICONV_PLUG 
-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-errno
-std=gnu++0x -pipe  -DNDEBUG -DTRIMMED -O2 -O3 -fomit-frame-pointer 
-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   
/usr/ports/www/firefox/work/mozilla-release/obj-x86_64-portbld-freebsd10.2/widget/Unified_cpp_widget2.cpp
In file included from
/usr/ports/www/firefox/work/mozilla-release/obj-x86_64-portbld-freebsd10.2/widget/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 here
const int LOG_WARNING = 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 = 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 = 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 = 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/widget'
/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

-- 
You are receiving this mail because:
You are the assignee for the bug.



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