From owner-freebsd-ports@FreeBSD.ORG Wed Jul 31 19:21:12 2013 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 4BB7E6CD for ; Wed, 31 Jul 2013 19:21:12 +0000 (UTC) (envelope-from vagabond@blackfoot.net) Received: from nightmare.dreamchaser.org (nightmare.dreamchaser.org [12.32.44.142]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 0AFB323C9 for ; Wed, 31 Jul 2013 19:21:11 +0000 (UTC) Received: from breakaway.dreamchaser.org (breakaway.dreamchaser.org. [12.32.36.73]) by nightmare.dreamchaser.org (8.13.6/8.13.6) with ESMTP id r6VJJpnB036553; Wed, 31 Jul 2013 13:19:52 -0600 (MDT) (envelope-from vagabond@blackfoot.net) Message-ID: <51F96357.9050907@blackfoot.net> Date: Wed, 31 Jul 2013 13:19:51 -0600 From: Gary Aitken User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:17.0) Gecko/20130730 Thunderbird/17.0.7 MIME-Version: 1.0 To: James Subject: Re: firefox won't build References: In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-2.0.2 (nightmare.dreamchaser.org [12.32.36.65]); Wed, 31 Jul 2013 13:19:53 -0600 (MDT) Cc: freebsd-ports@freebsd.org, Jan Beich X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 31 Jul 2013 19:21:12 -0000 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::run(x); ~~~~~~~~~~~~~~~~~~^ ../../dist/include/mozilla/CheckedInt.h:578:18: note: in instantiation of function template specialization 'mozilla::detail::IsInRange' requested here mIsValid(detail::IsInRange(value)) ^ /usr/ports/www/firefox/work/mozilla-release/gfx/2d/Blur.cpp:404:37: note: in instantiation of function template specialization 'mozilla::CheckedInt::CheckedInt' requested here CheckedInt 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.