Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 22 Oct 2023 08:32:03 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 274641] www/firefox: 119.0 error: use of undeclared identifier 'AOM_PLANE_ALPHA' with aom-3.7.0 installed
Message-ID:  <bug-274641-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D274641

            Bug ID: 274641
           Summary: www/firefox: 119.0 error: use of undeclared identifier
                    'AOM_PLANE_ALPHA' with aom-3.7.0 installed
           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: saper@saper.info
          Assignee: gecko@FreeBSD.org
             Flags: maintainer-feedback?(gecko@FreeBSD.org)

Trying to build firefox 119.0

Ports tree as of f365e5ef73651c51605903f426871224860ec92a on FreeBSD
15.0-CURRENT #9 main-n265801-f7a2eeaa75dc on amd64:

mkdir -p '.deps/'
image/encoders/png/nsPNGEncoder.o
/usr/local/bin/clang++13 -std=3Dgnu++17 -o nsPNGEncoder.o -c=20
-I/big/ports/usr/ports/www/firefox/work/.build/dist/stl_wrappers
-I/big/ports/usr/ports/www/firefox/work/.build/dist/system_wrappers -include
/big/ports/usr/ports/www/firefox/work/firefox-119.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
-DMOZ_HAS_MOZGLUE -DMOZILLA_INTERNAL_API -DIMPL_LIBXUL
-DSTATIC_EXPORTABLE_JS_API
-I/big/ports/usr/ports/www/firefox/work/firefox-119.0/image/encoders/png
-I/big/ports/usr/ports/www/firefox/work/.build/image/encoders/png
-I/big/ports/usr/ports/www/firefox/work/firefox-119.0/image
-I/big/ports/usr/ports/www/firefox/work/.build/ipc/ipdl/_ipdlheaders
-I/big/ports/usr/ports/www/firefox/work/firefox-119.0/ipc/chromium/src
-I/big/ports/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/big/ports/usr/ports/www/firefox/work/.build/dist/include/nss
-I/usr/local/include -I/usr/local/include/libpng16
-I/usr/local/include/pixman-1 -I/usr/local/include -DMOZILLA_CLIENT -include
/big/ports/usr/ports/www/firefox/work/.build/mozilla-config.h -DLIBICONV_PL=
UG
-isystem /usr/local/include -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 -fPIC -fno-rtti -fno-exceptions -fno-math-errno -pipe -gdwa=
rf-4
-O2 -O3 -fno-omit-frame-pointer -funwind-tables -Wall
-Wbitfield-enum-conversion -Wdeprecated-this-capture -Wempty-body
-Wformat-type-confusion -Wignored-qualifiers -Wpointer-arith
-Wshadow-field-in-constructor-modified -Wsign-compare
-Wtautological-constant-in-range-compare -Wtype-limits
-Wno-error=3Dtautological-type-limit-compare -Wunreachable-code
-Wunreachable-code-return -Wunused-but-set-parameter -Wno-invalid-offsetof
-Wclass-varargs -Wempty-init-stmt -Wfloat-overflow-conversion
-Wfloat-zero-conversion -Wloop-analysis -Wno-range-loop-analysis -Wc++2a-co=
mpat
-Wenum-compare-conditional -Wenum-float-conversion -Wno-error=3Ddeprecated
-Wno-error=3Ddeprecated-anon-enum-enum-conversion
-Wno-error=3Ddeprecated-enum-enum-conversion -Wno-error=3Ddeprecated-this-c=
apture
-Wcomma -Wimplicit-fallthrough -Wstring-conversion -Wno-inline-new-delete
-Wno-error=3Ddeprecated-declarations -Wno-error=3Darray-bounds
-Wno-error=3Dfree-nonheap-object -Wno-error=3Datomic-alignment -Wformat
-Wformat-security -Wno-psabi -Wthread-safety -Wno-error=3Dbuiltin-macro-red=
efined
-Wno-unknown-warning-option -fno-strict-aliasing -ffp-contract=3Doff  -MD -=
MP -MF
.deps/nsPNGEncoder.o.pp=20=20
/big/ports/usr/ports/www/firefox/work/firefox-119.0/image/encoders/png/nsPN=
GEncoder.cpp
clang-13: warning: argument unused during compilation:
'-fstack-clash-protection' [-Wunused-command-line-argument]
In file included from Unified_cpp_image_decoders0.cpp:11:
/big/ports/usr/ports/www/firefox/work/firefox-119.0/image/decoders/nsAVIFDe=
coder.cpp:1063:33:
error: use of undeclared identifier 'AOM_PLANE_ALPHA'
             colorImage->stride[AOM_PLANE_ALPHA]);
                                ^
/big/ports/usr/ports/www/firefox/work/firefox-119.0/image/decoders/nsAVIFDe=
coder.cpp:1063:33:
error: use of undeclared identifier 'AOM_PLANE_ALPHA'

If I force remove aom and try to continue the build, it fails with

gmake[4]: *** Waiting for unfinished jobs....
In file included from Unified_cpp_dom_media_mp40.cpp:29:
In file included from
/big/ports/usr/ports/www/firefox/work/firefox-119.0/dom/media/mp4/MP4Decode=
r.cpp:11:
In file included from
/big/ports/usr/ports/www/firefox/work/.build/dist/include/AOMDecoder.h:13:
/big/ports/usr/ports/www/firefox/work/.build/dist/system_wrappers/aom/aom_d=
ecoder.h:3:15:
fatal error: 'aom/aom_decoder.h' file not found
#include_next <aom/aom_decoder.h>
              ^~~~~~~~~~~~~~~~~~~
1 error generated.

--=20
You are receiving this mail because:
You are the assignee for the bug.=



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