[Bug 259055] www/firefox fails to build with DEBUG option enabled on FreeBSD_12-RELEASE
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 11 Oct 2021 00:04:25 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=259055 Bug ID: 259055 Summary: www/firefox fails to build with DEBUG option enabled on FreeBSD_12-RELEASE Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: gecko@FreeBSD.org Reporter: ddrinnon@cdor.net Assignee: gecko@FreeBSD.org Flags: maintainer-feedback?(gecko@FreeBSD.org) 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=gnu++17 -o Unified_cpp_image_decoders0.o -c -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=2 -fstack-protector-strong -fstack-clash-protection -ftrivial-auto-var-init=pattern -DDEBUG=1 -DOS_POSIX=1 -DOS_FREEBSD=1 -DOS_BSD=1 -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/include -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-arguments -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-compare -Wtype-limits -Wno-error=tautological-type-limit-compare -Wunreachable-code -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=deprecated-declarations -Wno-error=array-bounds -Wno-error=backend-plugin -Wno-error=free-nonheap-object -Wno-error=return-std-move -Wno-error=atomic-alignment -Wno-error=deprecated-copy -Wformat -Wformat-security -Wno-gnu-zero-variadic-macro-arguments -Wno-psabi -Wno-unknown-warning-option -fno-sized-deallocation -fno-aligned-new -O2 -pipe -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=shadow -Werror=switch -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/nsAVIFDecoder.cpp:1031:60: error: use of undeclared identifier 'AOM_PLANE_ALPHA' MOZ_ASSERT(aImage->stride[AOM_PLANE_Y] == aImage->stride[AOM_PLANE_ALPHA]); ^ /wrkdirs/usr/ports/www/firefox/work/firefox-93.0/image/decoders/nsAVIFDecoder.cpp: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 -- You are receiving this mail because: You are the assignee for the bug.