undefined symbol: open64?
Compiling Firefox ESR 102.14.0 on Alpine edge x86_64 results in this error:
221:36.99 media/ffvpx/libavcodec/libmozavcodec.so
221:37.22 ld.lld: warning: version script assignment of 'libmozavcodec.so' to symbol 'av_hwdevice_ctx_init' failed: symbol not defined
221:37.22 ld.lld: warning: version script assignment of 'libmozavcodec.so' to symbol 'av_hwdevice_ctx_alloc' failed: symbol not defined
221:37.22 ld.lld: warning: version script assignment of 'libmozavcodec.so' to symbol 'av_hwdevice_ctx_create_derived' failed: symbol not defined
221:37.22 ld.lld: warning: version script assignment of 'libmozavcodec.so' to symbol 'av_hwframe_transfer_get_formats' failed: symbol not defined
221:37.22 ld.lld: warning: version script assignment of 'libmozavcodec.so' to symbol 'av_hwframe_ctx_alloc' failed: symbol not defined
223:55.08 toolkit/library/build/libxul.so
223:58.29 ld.lld: error: undefined symbol: open64
223:58.29 >>> referenced by gkrust.c918c2aa0ab21873-cgu.0
223:58.29 >>> gkrust-6572fcd83e1ab77b.gkrust.c918c2aa0ab21873-cgu.0.rcgu.o:(_$LT$rand_core..os..OsRng$u20$as$u20$rand_core..RngCore$GT$::try_fill_bytes::hf0f291db08e16ce2) in archive /home/mogj/aports/commun
ity/firefox-esr/src/firefox-102.14.0/obj/x86_64-alpine-linux-musl/release/libgkrust.a
ity/firefox-esr/src/firefox-102.14.0/obj/x86_64-alpine-linux-musl/release/libgkrust.a
223:58.29 >>> referenced by gkrust.c918c2aa0ab21873-cgu.0
223:58.30 >>> gkrust-6572fcd83e1ab77b.gkrust.c918c2aa0ab21873-cgu.0.rcgu.o:(_$LT$rand_core..os..OsRng$u20$as$u20$rand_core..RngCore$GT$::try_fill_bytes::hf0f291db08e16ce2) in archive /home/mogj/aports/community/firefox-esr/src/firefox-102.14.0/obj/x86_64-alpine-linux-musl/release/libgkrust.a
223:59.09 clang-16: error: linker command failed with exit code 1 (use -v to see invocation)
223:59.10 gmake[4]: *** [/home/mogj/aports/community/firefox-esr/src/firefox-102.14.0/config/rules.mk:540: libxul.so] Error 1
223:59.10 gmake[3]: *** [/home/mogj/aports/community/firefox-esr/src/firefox-102.14.0/config/recurse.mk:72: toolkit/library/build/target] Error 2
223:59.10 gmake[2]: *** [/home/mogj/aports/community/firefox-esr/src/firefox-102.14.0/config/recurse.mk:34: compile] Error 2
223:59.10 gmake[1]: *** [/home/mogj/aports/community/firefox-esr/src/firefox-102.14.0/config/rules.mk:361: default] Error 2
223:59.10 gmake: *** [client.mk:63: build] Error 2
223:59.10 143 compiler warnings present.
>>> ERROR: firefox-esr: build failed
Any ideas on what I can do to fix it?