Date: Thu, 15 Feb 2024 16:35:20 +0000 From: bugzilla-noreply@freebsd.org To: gecko@FreeBSD.org Subject: maintainer-feedback requested: [Bug 277075] www/firefox: build failure on 14-STABLE Message-ID: <bug-277075-21738-eGq58UYGky@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-277075-21738@https.bugs.freebsd.org/bugzilla/> References: <bug-277075-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 277075: www/firefox: build failure on 14-STABLE https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D277075 --- Description --- After the update to version 123 www/firefox startedhaving build failures. T= he relevant part of the build log is this: ld.lld: error: version script assignment of 'libgkcodecs.so' to symbol 'aom_codec_av1_cx' failed: symbol not defined ld.lld: error: version script assignment of 'libgkcodecs.so' to symbol 'aom_codec_av1_dx' failed: symbol not defined ld.lld: error: version script assignment of 'libgkcodecs.so' to symbol 'aom_codec_build_config' failed: symbol not defined ld.lld: error: version script assignment of 'libgkcodecs.so' to symbol 'aom_codec_control' failed: symbol not defined ld.lld: error: version script assignment of 'libgkcodecs.so' to symbol 'aom_codec_dec_init_ver' failed: symbol not defined ld.lld: error: version script assignment of 'libgkcodecs.so' to symbol 'aom_codec_decode' failed: symbol not defined ld.lld: error: version script assignment of 'libgkcodecs.so' to symbol 'aom_codec_destroy' failed: symbol not defined ld.lld: error: version script assignment of 'libgkcodecs.so' to symbol 'aom_codec_destroy' failed: symbol not defined ld.lld: error: version script assignment of 'libgkcodecs.so' to symbol 'aom_codec_enc_config_default' failed: symbol not defined ld.lld: error: version script assignment of 'libgkcodecs.so' to symbol 'aom_codec_enc_init_ver' failed: symbol not defined ld.lld: error: version script assignment of 'libgkcodecs.so' to symbol 'aom_codec_encode' failed: symbol not defined ld.lld: error: version script assignment of 'libgkcodecs.so' to symbol 'aom_codec_err_to_string' failed: symbol not defined ld.lld: error: version script assignment of 'libgkcodecs.so' to symbol 'aom_codec_error' failed: symbol not defined ld.lld: error: version script assignment of 'libgkcodecs.so' to symbol 'aom_codec_error_detail' failed: symbol not defined ld.lld: error: version script assignment of 'libgkcodecs.so' to symbol 'aom_codec_get_caps' failed: symbol not defined ld.lld: error: version script assignment of 'libgkcodecs.so' to symbol 'aom_codec_get_cx_data' failed: symbol not defined ld.lld: error: version script assignment of 'libgkcodecs.so' to symbol 'aom_codec_get_frame' failed: symbol not defined ld.lld: error: version script assignment of 'libgkcodecs.so' to symbol 'aom_codec_peek_stream_info' failed: symbol not defined ld.lld: error: version script assignment of 'libgkcodecs.so' to symbol 'aom_codec_set_option' failed: symbol not defined ld.lld: error: version script assignment of 'libgkcodecs.so' to symbol 'aom_codec_version' failed: symbol not defined ld.lld: error: too many errors emitted, stopping now (use --error-limit=3D0= to see all errors) /wrkdirs/usr/ports/www/firefox/work/.mozbuild/srcdirs/firefox-123.0-4655e11= 5eb5 3/_virtualenvs/build/bin/python -m mozbuild.action.check_binary libfakeopenh264.so clang: error: linker command failed with exit code 1 (use -v to see invocat= ion) Fortunately, the error messages reminded me of this recent bug report: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D276542 Therefore I tried adding LDFLAGS+=3D "-Wl,--undefined-version" to the port Makefile, which resulted in a successful build. As with the heimdal issue, I'm quite convinced while this does solve the immediate issue (and therefore probably should be in the ports tree for the time being), it just masks the underlying problem. As I'm not very familiar with the code base but lacking spare time instead, I'll probably not investigate this further on my own, but certainly can help with that, if needed.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-277075-21738-eGq58UYGky>