pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/50721: www/firefox build failure on NetBSD/i386 7.0_STABLE



>Number:         50721
>Category:       pkg
>Synopsis:       www/firefox build failure on NetBSD/i386 7.0_STABLE
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Jan 28 23:15:00 +0000 2016
>Originator:     David H. Gutteridge
>Release:        current
>Organization:
>Environment:
NetBSD arcusvii.nonus-porta.net 7.0_STABLE NetBSD 7.0_STABLE (GENERIC) #13: Wed Jan  6 00:24:11 EST 2016  disciple%arcusvii.nonus-porta.net@localhost:/home/disciple/netbsd-7/src/sys/arch/i386/compile/obj/GENERIC i386

>Description:
After updating pkgsrc as of this afternoon, www/firefox fails to build:

gmake[3]: Entering directory '/home/disciple/pkgsrc/www/firefox/work/build/ipc/chromium'
Unified_cpp_ipc_chromium0.o
c++ -o Unified_cpp_ipc_chromium0.o -c -I../../dist/stl_wrappers -I../../dist/system_wrappers -include /home/disciple/pkgsrc/www/firefox/work/firefox-44.0/config/gcc_hidden.h -DOS_POSIX=1 -DOS_NETBSD=1 -DOS_BSD=1 -DSTATIC_EXPORTABLE_JS_API -DMOZILLA_INTERNAL_API -DIMPL_LIBXUL -DAB_CD=en-US -DNO_NSPR_10_SUPPORT -I/home/disciple/pkgsrc/www/firefox/work/firefox-44.0/ipc/chromium -I. -I/home/disciple/pkgsrc/www/firefox/work/build/ipc/ipdl/_ipdlheaders -I/home/disciple/pkgsrc/www/firefox/work/firefox-44.0/ipc/chromium/src -I/home/disciple/pkgsrc/www/firefox/work/firefox-44.0/ipc/glue -I../../dist/include  -I/usr/pkg/include/nspr -I/usr/pkg/include/nss/nss -I/usr/pkg/include/nss -I/usr/pkg/include/nspr     -I/usr/X11R7/include/pixman-1    -fPIC -DPIC  -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/nspr -I/usr/pkg/include/nss/nss -I/usr/X11R7/include -I/usr/X11R7/include/libdrm -I/usr/X11R7/include/freetype2  -DMOZILLA_CLIENT -include ../../mozilla-config.h -MD -MP -MF .deps/Unified_cp
 p_ipc_chromium0.o.pp -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/nspr -I/usr/pkg/include/nss/nss -I/usr/X11R7/include -I/usr/X11R7/include/libdrm -I/usr/X11R7/include/freetype2  -Wall -Wempty-body -Woverloaded-virtual -Wsign-compare -Wwrite-strings -Wno-invalid-offsetof -Wcast-align -O2 -pipe -O2 -march=atom -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/nspr -I/usr/pkg/include/nss/nss -I/usr/X11R7/include -I/usr/X11R7/include/libdrm -I/usr/X11R7/include/freetype2 -mstackrealign -fno-exceptions -fno-strict-aliasing -Dunix -fno-rtti -fno-exceptions -fno-math-errno -std=gnu++0x -pthread -pipe -I/home/disciple/pkgsrc/www/firefox/work/firefox-44.0/widget/gtk/compat -pthread -D_REENTRANT -I/usr/pkg/include/gtk-2.0 -I/usr/pkg/include/gtk-unix-print-2.0 -I/usr/pkg/include/gtk-2.0 -I/usr/pkg/include/atk-1.0 -I/usr/pkg/include/gtk-2.0 -I/usr/pkg/lib/gtk-2.0/include -I/usr/pkg/include/pango-1.0 -I/usr/pkg/include/harfbuzz -I/usr/pkg/include/pango-1.0 -I/usr/pkg/include/glib/gio
 -unix-2.0/ -I/usr/X11R7/include -I/usr/pkg/include/gdk-pixbuf-2.0 -I/usr/pkg/include/libpng16 -I/usr/pkg/include/glib/glib-2.0 -I/usr/pkg/lib/glib-2.0/include -I/usr/pkg/include -I/usr/pkg/include/cairo -I/usr/X11R7/include/pixman-1 -I/usr/X11R7/include -I/usr/X11R7/include/freetype2 -I/usr/X11R7/include -I/usr/X11R7/include/freetype2 -I/usr/pkg/include/libpng16 -I/usr/X11R7/include  -DNDEBUG -DTRIMMED -O2 -fomit-frame-pointer     /home/disciple/pkgsrc/www/firefox/work/build/ipc/chromium/Unified_cpp_ipc_chromium0.cpp
In file included from /home/disciple/pkgsrc/www/firefox/work/build/ipc/chromium/Unified_cpp_ipc_chromium0.cpp:128:0:
/home/disciple/pkgsrc/www/firefox/work/firefox-44.0/ipc/chromium/src/base/message_pump_libevent.cc:24:19: error: '_EVENT_SIZEOF_LONG' was not declared in this scope
     static_assert(_EVENT_SIZEOF_##TYPE == sizeof(type), \
                   ^
/home/disciple/pkgsrc/www/firefox/work/firefox-44.0/ipc/chromium/src/base/message_pump_libevent.cc:27:1: note: in expansion of macro 'CHECK_EVENT_SIZEOF'
 CHECK_EVENT_SIZEOF(LONG,      long);
 ^
/home/disciple/pkgsrc/www/firefox/work/firefox-44.0/ipc/chromium/src/base/message_pump_libevent.cc:24:19: error: '_EVENT_SIZEOF_LONG_LONG' was not declared in this scope
     static_assert(_EVENT_SIZEOF_##TYPE == sizeof(type), \
                   ^
/home/disciple/pkgsrc/www/firefox/work/firefox-44.0/ipc/chromium/src/base/message_pump_libevent.cc:28:1: note: in expansion of macro 'CHECK_EVENT_SIZEOF'
 CHECK_EVENT_SIZEOF(LONG_LONG, long long);
 ^
/home/disciple/pkgsrc/www/firefox/work/firefox-44.0/ipc/chromium/src/base/message_pump_libevent.cc:24:19: error: '_EVENT_SIZEOF_PTHREAD_T' was not declared in this scope
     static_assert(_EVENT_SIZEOF_##TYPE == sizeof(type), \
                   ^
/home/disciple/pkgsrc/www/firefox/work/firefox-44.0/ipc/chromium/src/base/message_pump_libevent.cc:29:1: note: in expansion of macro 'CHECK_EVENT_SIZEOF'
 CHECK_EVENT_SIZEOF(PTHREAD_T, pthread_t);
 ^
/home/disciple/pkgsrc/www/firefox/work/firefox-44.0/ipc/chromium/src/base/message_pump_libevent.cc:24:19: error: '_EVENT_SIZEOF_SIZE_T' was not declared in this scope
     static_assert(_EVENT_SIZEOF_##TYPE == sizeof(type), \
                   ^
/home/disciple/pkgsrc/www/firefox/work/firefox-44.0/ipc/chromium/src/base/message_pump_libevent.cc:31:1: note: in expansion of macro 'CHECK_EVENT_SIZEOF'
 CHECK_EVENT_SIZEOF(SIZE_T,    size_t);
 ^
/home/disciple/pkgsrc/www/firefox/work/firefox-44.0/ipc/chromium/src/base/message_pump_libevent.cc:24:19: error: '_EVENT_SIZEOF_VOID_P' was not declared in this scope
     static_assert(_EVENT_SIZEOF_##TYPE == sizeof(type), \
                   ^
/home/disciple/pkgsrc/www/firefox/work/firefox-44.0/ipc/chromium/src/base/message_pump_libevent.cc:32:1: note: in expansion of macro 'CHECK_EVENT_SIZEOF'
 CHECK_EVENT_SIZEOF(VOID_P,    void*);
 ^
/home/disciple/pkgsrc/www/firefox/work/firefox-44.0/config/rules.mk:959: recipe for target 'Unified_cpp_ipc_chromium0.o' failed
gmake[3]: *** [Unified_cpp_ipc_chromium0.o] Error 1
gmake[3]: Leaving directory '/home/disciple/pkgsrc/www/firefox/work/build/ipc/chromium'
/home/disciple/pkgsrc/www/firefox/work/firefox-44.0/config/recurse.mk:71: recipe for target 'ipc/chromium/target' failed
gmake[2]: *** [ipc/chromium/target] Error 2
gmake[2]: Leaving directory '/home/disciple/pkgsrc/www/firefox/work/build'
/home/disciple/pkgsrc/www/firefox/work/firefox-44.0/config/recurse.mk:32: recipe for target 'compile' failed
gmake[1]: *** [compile] Error 2
gmake[1]: Leaving directory '/home/disciple/pkgsrc/www/firefox/work/build'
/home/disciple/pkgsrc/www/firefox/work/firefox-44.0/config/rules.mk:549: recipe for target 'all' failed
gmake: *** [all] Error 2
*** Error code 2

Stop.
make[1]: stopped in /home/disciple/pkgsrc/www/firefox
*** Error code 1

>How-To-Repeat:
Try compiling www/firefox on NetBSD/i386 7.0_STABLE. I don't know if
this is relevant, but my version of the package differs from stock in
one respect. In mozilla-common.mk I have:

.if ${MACHINE_ARCH} == "i386"
# Fix for PR pkg/48152.
CXXFLAGS?=              -march=i586

... instead of:

.if ${MACHINE_ARCH} == "i386"
# Fix for PR pkg/48152.
CXXFLAGS+=              -march=i586

... since I didn't like the fact it was clobbering my -march=atom with
-march=i586. This hasn't caused any issues with previous firefox
releases.

>Fix:
Unknown at present.



Home | Main Index | Thread Index | Old Index