Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 28 Feb 2024 19:14:54 +0000
From:      bugzilla-noreply@freebsd.org
To:        gecko@FreeBSD.org
Subject:   [Bug 277075] www/firefox: build failure on 14-STABLE
Message-ID:  <bug-277075-21738-ved3rVnD1x@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
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D277075

Cameron <cam@neo-zeon.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |cam@neo-zeon.de

--- Comment #4 from Cameron <cam@neo-zeon.de> ---
Same for me on a fresh install of FreeBSD 14.0-RELEASE (with llvm15-15.0.7_=
10):

gmake[5]: Leaving directory '/usr/ports/www/firefox/work/.build/dom/base'
ld.lld: warning: undefined symbol: aom_codec_version
>>> referenced by libaomenc.c
>>>               lto.tmp:(av1_init_static)
>>> referenced by libaomenc.c
>>>               lto.tmp:(av1_init_static)

ld.lld: warning: undefined symbol: aom_codec_av1_cx
>>> referenced by libaomenc.c
>>>               lto.tmp:(av1_init_static)
>>> referenced by libaomenc.c
>>>               lto.tmp:(av1_init)

ld.lld: warning: undefined symbol: aom_codec_get_caps
>>> referenced by libaomenc.c
>>>               lto.tmp:(av1_init_static)
>>> referenced by libaomenc.c
>>>               lto.tmp:(aom_init)

ld.lld: warning: undefined symbol: aom_codec_encode
>>> referenced by libaomenc.c
>>>               lto.tmp:(aom_encode)

ld.lld: warning: undefined symbol: aom_codec_get_cx_data
>>> referenced by libaomenc.c
>>>               lto.tmp:(aom_encode)
>>> referenced by libaomenc.c
>>>               lto.tmp:(aom_encode)

ld.lld: warning: undefined symbol: aom_codec_destroy
>>> referenced by libaomenc.c
>>>               lto.tmp:(aom_free)

ld.lld: warning: undefined symbol: aom_codec_version_str
>>> referenced by libaomenc.c
>>>               lto.tmp:(aom_init)

ld.lld: warning: undefined symbol: aom_codec_build_config
>>> referenced by libaomenc.c
>>>               lto.tmp:(aom_init)

ld.lld: warning: undefined symbol: aom_codec_enc_config_default
>>> referenced by libaomenc.c
>>>               lto.tmp:(aom_init)

ld.lld: warning: undefined symbol: aom_codec_err_to_string
>>> referenced by libaomenc.c
>>>               lto.tmp:(aom_init)

ld.lld: warning: undefined symbol: aom_codec_enc_init_ver
>>> referenced by libaomenc.c
>>>               lto.tmp:(aom_init)

ld.lld: warning: undefined symbol: aom_codec_set_option
>>> referenced by libaomenc.c
>>>               lto.tmp:(aom_init)

ld.lld: warning: undefined symbol: aom_img_wrap
>>> referenced by libaomenc.c
>>>               lto.tmp:(aom_init)

ld.lld: warning: undefined symbol: aom_codec_error
>>> referenced by libaomenc.c
>>>               lto.tmp:(log_encoder_error)

ld.lld: warning: undefined symbol: aom_codec_error_detail
>>> referenced by libaomenc.c
>>>               lto.tmp:(log_encoder_error)

ld.lld: warning: undefined symbol: aom_codec_control
>>> referenced by libaomenc.c
>>>               lto.tmp:(codecctl_int)
>>> referenced by libaomenc.c
>>>               lto.tmp:(codecctl_imgp)
>>> referenced by libaomenc.c
>>>               lto.tmp:(codecctl_intp)
/usr/ports/www/firefox/work/.mozbuild/srcdirs/firefox-123.0-38f2bafb2ce2/_v=
irtualenvs/build/bin/python
-m mozbuild.action.check_binary libmozavcodec.so
chmod +x libmozavcodec.so
../../../config/nsinstall -R -m 644 'libmozavcodec.so' '../../../dist/bin'
gmake[5]: Leaving directory
'/usr/ports/www/firefox/work/.build/media/ffvpx/libavcodec'
2 warnings generated.
gmake[5]: Leaving directory '/usr/ports/www/firefox/work/.build/dom/media'
gmake[4]: Leaving directory '/usr/ports/www/firefox/work/.build'
gmake[3]: *** [/usr/ports/www/firefox/work/firefox-123.0/config/recurse.mk:=
34:
compile] Error 2
gmake[3]: Leaving directory '/usr/ports/www/firefox/work/.build'
gmake[2]: *** [/usr/ports/www/firefox/work/firefox-123.0/config/rules.mk:36=
1:
all] Error 2
gmake[2]: Leaving directory '/usr/ports/www/firefox/work/.build'
=3D=3D=3D> Compilation failed unexpectedly.
Try to set MAKE_JOBS_UNSAFE=3Dyes and rebuild before reporting the failure =
to
the maintainer.
*** Error code 1

Stop.
make[1]: stopped in /usr/ports/www/firefox
*** Error code 1

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

Martin Neubauer's  fix to add "-Wl,--undefined-version" to the port's Makef=
ile
fails with (maybe I need llvm17 for this to work?):

=3D=3D=3D>>> make build failed for www/firefox
=3D=3D=3D>>> Aborting update
ld.lld: error:
/usr/ports/www/firefox/work/.build/x86_64-unknown-freebsd/release/libbuilti=
ns_static.a(builtins_static-3a1fcf7b18307834.builtins_static.96d18d21dbed04=
2d-cgu.0.rcgu.o):
Unknown attribute kind (86) (Producer: 'LLVM17.0.6-rust-1.76.0-stable' Read=
er:
'LLVM 15.0.7')
gmake[5]: Entering directory '/usr/ports/www/firefox/work/.build/layout/sty=
le'
gmake[5]: Nothing to be done for 'target-objects'.
clang-15gmake[5]: Leaving directory
'/usr/ports/www/firefox/work/.build/layout/style'
: error: linker command failed with exit code 1 (use -v to see invocation)

--=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-277075-21738-ved3rVnD1x>