Date: Wed, 31 Jul 2013 13:19:51 -0600 From: Gary Aitken <vagabond@blackfoot.net> To: James <james4591@hotmail.com> Cc: freebsd-ports@freebsd.org, Jan Beich <jbeich@tormail.org> Subject: Re: firefox won't build Message-ID: <51F96357.9050907@blackfoot.net> In-Reply-To: <BLU0-SMTP164B64CB94FA78CFEBDEAD2B6570@phx.gbl> References: <BLU0-SMTP164B64CB94FA78CFEBDEAD2B6570@phx.gbl>
next in thread | previous in thread | raw e-mail | index | archive | help
On 07/31/13 02:48, James wrote: > What is the exact build stop error? It was in the original post, but here's a bit more detail: ===> Building for firefox-22.0,1 ... gmake -C 2d libs Blur.cpp gmake[4]: Entering directory `/usr/ports/www/firefox/work/mozilla-release/obj-x8 6_64-portbld-freebsd9.0/gfx/2d' /usr/bin/clang++ -o Blur.o -c -I../../dist/stl_wrappers -I../../dist/system_wrap pers -include ../../../config/gcc_hidden.h -DMOZ_GFX -DUSE_CAIRO -DGFX2D_INTERNA L -DMOZ_ENABLE_FREETYPE -DSK_A32_SHIFT=24 -DSK_R32_SHIFT=16 -DSK_G32_SHIFT=8 -DS K_B32_SHIFT=0 -DUSE_SSE2 -DMOZ_GLUE_IN_PROGRAM -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 -DNO_NSPR_10_SUPPO RT -DEXCLUDE_SKIA_DEPENDENCIES -DOS_POSIX=1 -DOS_FREEBSD=1 -DOS_BSD=1 -I../../.. /ipc/chromium/src -I../../../ipc/glue -I../../ipc/ipdl/_ipdlheaders -I../../../ gfx/2d -I. -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 -f PIC -Qunused-arguments -isystem/usr/local/include -I/usr/local/include -Qunused -arguments -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Wtype -limits -Wempty-body -Wsign-compare -Wno-invalid-offsetof -Wno-c++0x-extensions -Wno-unknown-warning-option -Wno-return-type-c-linkage -Wno-mismatched-tags -O2 -pipe -fno-strict-aliasing -fno-exceptions -fno-strict-aliasing -fno-rtti -ffunc tion-sections -fdata-sections -fno-exceptions -std=gnu++0x -pipe -DNDEBUG -DTRI MMED -fno-omit-frame-pointer -I/usr/local/include/cairo -I/usr/local/include/gl ib-2.0 -I/usr/local/include/pixman-1 -I/usr/local/include/freetype2 -I/usr/local /include/drm -I/usr/local/include/libpng15 -D_THREAD_SAFE -I/usr/local/include -I/usr/local/include/cairo -I/usr/local/include/glib-2.0 -I/usr/local/include/p ixman-1 -I/usr/local/include/freetype2 -I/usr/local/include/drm -I/usr/local/inc lude/libpng15 -D_THREAD_SAFE -I/usr/local/include -I/usr/local/include/pixman- 1 -Qunused-arguments -isystem/usr/local/include -I/usr/local/include -DMOZIL LA_CLIENT -include ../../mozilla-config.h -MD -MF .deps/Blur.o.pp /usr/ports/ww w/firefox/work/mozilla-release/gfx/2d/Blur.cpp In file included from /usr/ports/www/firefox/work/mozilla-release/gfx/2d/Blur.cp p:7: In file included from ../../dist/include/mozilla/gfx/Blur.h:12: ../../dist/include/mozilla/CheckedInt.h:179:31: error: non-type template argument of type 'const bool' is not an integral constant expression static const bool value = IntegerType(-1) <= IntegerType(0); ^ ../../dist/include/mozilla/CheckedInt.h:343:28: note: while checking a default template argument used here return IsInRangeImpl<T, U>::run(x); ~~~~~~~~~~~~~~~~~~^ ../../dist/include/mozilla/CheckedInt.h:578:18: note: in instantiation of function template specialization 'mozilla::detail::IsInRange<int, float>' requested here mIsValid(detail::IsInRange<T>(value)) ^ /usr/ports/www/firefox/work/mozilla-release/gfx/2d/Blur.cpp:404:37: note: in instantiation of function template specialization 'mozilla::CheckedInt<int>::CheckedInt<float>' requested here CheckedInt<int32_t> minDataSize = CheckedInt<... ^ 1 error generated. gmake[4]: *** [Blur.o] Error 1 gmake[4]: *** Waiting for unfinished jobs.... gmake[4]: Leaving directory `/usr/ports/www/firefox/work/mozilla-release/obj-x86 _64-portbld-freebsd9.0/gfx/2d' ... (other processes exit with error 2) gmake: *** [default] Error 2 ===> Compilation failed unexpectedly. Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure to the maintainer. *** Error code 1 Stop in /usr/ports/www/firefox.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?51F96357.9050907>