Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 11 Oct 2021 00:04:25 +0000
From:      bugzilla-noreply@freebsd.org
To:        gecko@FreeBSD.org
Subject:   maintainer-feedback requested: [Bug 259055] www/firefox fails to build with DEBUG option enabled on FreeBSD_12-RELEASE
Message-ID:  <bug-259055-21738-z8Wu3Ny6zC@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-259055-21738@https.bugs.freebsd.org/bugzilla/>
References:  <bug-259055-21738@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
Bugzilla Automation <bugzilla@FreeBSD.org> has asked freebsd-gecko (Nobody)
<gecko@FreeBSD.org> for maintainer-feedback:
Bug 259055: www/firefox fails to build with DEBUG option enabled on
FreeBSD_12-RELEASE
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D259055



--- Description ---
Firefox fails to build on my Poudriere builder FreeBSD_12-RELEASE with DEBUG
option enabled.  Clip from the build log:

/usr/local/bin/clang++12 -std=3Dgnu++17 -o Unified_cpp_image_decoders0.o -c=
=20
-I/wrkdirs/usr/ports/www/firefox/work/.build/dist/stl_wrappers
-I/wrkdirs/usr/ports/www/firefox/work/.build/dist/system_wrappers -include
/wrkdirs/usr/ports/www/firefox/work/firefox-93.0/config/gcc_hidden.h
-U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3D2 -fstack-protector-strong
-fstack-clash-protection -ftrivial-auto-var-init=3Dpattern -DDEBUG=3D1 -DOS=
_POSIX=3D1
-DOS_FREEBSD=3D1 -DOS_BSD=3D1 -DMOZ_HAS_MOZGLUE -DMOZILLA_INTERNAL_API
-DIMPL_LIBXUL -DSTATIC_EXPORTABLE_JS_API
-I/wrkdirs/usr/ports/www/firefox/work/firefox-93.0/image/decoders
-I/wrkdirs/usr/ports/www/firefox/work/.build/image/decoders
-I/wrkdirs/usr/ports/www/firefox/work/.build/ipc/ipdl/_ipdlheaders
-I/wrkdirs/usr/ports/www/firefox/work/firefox-93.0/ipc/chromium/src
-I/wrkdirs/usr/ports/www/firefox/work/firefox-93.0/gfx/2d
-I/wrkdirs/usr/ports/www/firefox/work/firefox-93.0/image
-I/wrkdirs/usr/ports/www/firefox/work/firefox-93.0/media/libyuv/libyuv/incl=
ude
-I/wrkdirs/usr/ports/www/firefox/work/firefox-93.0/gfx/skia
-I/wrkdirs/usr/ports/www/firefox/work/firefox-93.0/gfx/skia/skia
-I/wrkdirs/usr/ports/www/firefox/work/.build/dist/include
-I/usr/local/include/nspr -I/usr/local/include -I/usr/local/include/nss
-I/usr/local/include/nspr
-I/wrkdirs/usr/ports/www/firefox/work/.build/dist/include/nss
-I/usr/local/include -I/usr/local/include -I/usr/local/include/pixman-1
-I/usr/local/include -DMOZILLA_CLIENT -include
/wrkdirs/usr/ports/www/firefox/work/.build/mozilla-config.h -Qunused-argume=
nts
-DLIBICONV_PLUG -isystem /usr/local/include -Qunused-arguments -Wall
-Wbitfield-enum-conversion -Wdeprecated-this-capture -Wempty-body
-Wformat-type-confusion -Wignored-qualifiers -Wpointer-arith
-Wshadow-field-in-constructor-modified -Wshadow-uncaptured-local -Wsign-com=
pare
-Wtype-limits -Wno-error=3Dtautological-type-limit-compare -Wunreachable-co=
de
-Wunreachable-code-return -Wno-invalid-offsetof -Wclass-varargs
-Wempty-init-stmt -Wfloat-overflow-conversion -Wfloat-zero-conversion
-Wloop-analysis -Wno-range-loop-analysis -Wc++2a-compat -Wcomma
-Wenum-compare-conditional -Wimplicit-fallthrough -Wstring-conversion
-Wno-inline-new-delete -Wno-error=3Ddeprecated-declarations
-Wno-error=3Darray-bounds -Wno-error=3Dbackend-plugin
-Wno-error=3Dfree-nonheap-object -Wno-error=3Dreturn-std-move
-Wno-error=3Datomic-alignment -Wno-error=3Ddeprecated-copy -Wformat
-Wformat-security -Wno-gnu-zero-variadic-macro-arguments -Wno-psabi
-Wno-unknown-warning-option -fno-sized-deallocation -fno-aligned-new -O2 -p=
ipe
-O3 -DLIBICONV_PLUG -fstack-protector-strong -isystem /usr/local/include
-fno-strict-aliasing -DLIBICONV_PLUG -isystem /usr/local/include
-fno-exceptions -fno-strict-aliasing -fPIC -fno-rtti -fno-exceptions
-fno-math-errno -pipe -g -O2 -O3 -fno-omit-frame-pointer -funwind-tables
-Wno-error=3Dshadow -Werror=3Dswitch -fexperimental-new-pass-manager  -MD -=
MP -MF
.deps/Unified_cpp_image_decoders0.o.pp	 Unified_cpp_image_decoders0.cpp
In file included from Unified_cpp_image_decoders0.cpp:11:
/wrkdirs/usr/ports/www/firefox/work/firefox-93.0/image/decoders/nsAVIFDecod=
er.c
pp:1031:60:
error: use of undeclared identifier 'AOM_PLANE_ALPHA'
  MOZ_ASSERT(aImage->stride[AOM_PLANE_Y] =3D=3D aImage->stride[AOM_PLANE_AL=
PHA]);
							   ^
/wrkdirs/usr/ports/www/firefox/work/firefox-93.0/image/decoders/nsAVIFDecod=
er.c
pp:1031:60:
error: use of undeclared identifier 'AOM_PLANE_ALPHA'
2 errors generated.
gmake[4]: ***
[/wrkdirs/usr/ports/www/firefox/work/firefox-93.0/config/rules.mk:676:
Unified_cpp_image_decoders0.o] Error 1
gmake[4]: Leaving directory
'/wrkdirs/usr/ports/www/firefox/work/.build/image/decoders'
gmake[3]: ***
[/wrkdirs/usr/ports/www/firefox/work/firefox-93.0/config/recurse.mk:72:
image/decoders/target-objects] Error 2
gmake[3]: Leaving directory '/wrkdirs/usr/ports/www/firefox/work/.build'
gmake[2]: ***
[/wrkdirs/usr/ports/www/firefox/work/firefox-93.0/config/recurse.mk:34:
compile] Error 2
gmake[2]: Leaving directory '/wrkdirs/usr/ports/www/firefox/work/.build'
gmake[1]: ***
[/wrkdirs/usr/ports/www/firefox/work/firefox-93.0/config/rules.mk:358: all]
Error 2
gmake[1]: Leaving directory '/wrkdirs/usr/ports/www/firefox/work/.build'
*** Error code 1

Stop.
make: stopped in /usr/ports/www/firefox



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