Please add python-zstandard
as makedepends because of below error:
7:36.31 packing symbols
7:36.41 Adding to "firefox-84.0.en-US.linux-x86_64.crashreporter-symbols.zip":
7:36.41 "crashreporter/E5F1E0550E2289EB22654FF7DF78561C0/crashreporter.sym"
7:36.41 Adding to "firefox-84.0.en-US.linux-x86_64.crashreporter-symbols.zip":
7:36.41 "firefox/4082AAF206D40F4026C4A778F4B4FE2F0/firefox.sym"
7:36.43 Adding to "firefox-84.0.en-US.linux-x86_64.crashreporter-symbols-full.tar.zst":
7:36.43 "crashreporter/E5F1E0550E2289EB22654FF7DF78561C0/crashreporter.dbg"
7:36.43 Adding to "firefox-84.0.en-US.linux-x86_64.crashreporter-symbols.zip":
7:36.43 "libclearkey.so/8523D2547E1356EEEAE6B3948B91D9380/libclearkey.so.sym"
7:36.44 Adding to "firefox-84.0.en-US.linux-x86_64.crashreporter-symbols.zip":
7:36.44 "libfake.so/985921E256459606D83AD745DC39D4FE0/libfake.so.sym"
7:36.48 Adding to "firefox-84.0.en-US.linux-x86_64.crashreporter-symbols.zip":
7:36.48 "libfakeopenh264.so/83BED6CE32EA39646981851964B0BB830/libfakeopenh264.so.sym"
7:36.48 Adding to "firefox-84.0.en-US.linux-x86_64.crashreporter-symbols.zip":
7:36.48 "liblgpllibs.so/5FE38B6101348D8078F0F1AD760794130/liblgpllibs.so.sym"
7:36.49 Adding to "firefox-84.0.en-US.linux-x86_64.crashreporter-symbols.zip":
7:36.49 "libmozavcodec.so/1811FD0A057702519469C8B9EF21CAFF0/libmozavcodec.so.sym"
7:36.49 Traceback (most recent call last):
7:36.49 File "/build/firefox-beta/src/firefox-84.0/taskcluster/scripts/misc/zstdpy", line 12, in <module>
7:36.49 import zstandard
7:36.49 ModuleNotFoundError: No module named 'zstandard'
Pinned Comments
Anthony25 commented on 2020-05-10 01:04
I enabled LTO and PGO (using a profile generated by running the test suite). They are also used by Mozilla to compile the official firefox-beta binaries they provide, as they allow some performance boost, therefore it is synced in this package.
It is possible to keep the compilation options of the old versions of this package, by setting the options at the top the PKGBUILD (they are documented) to
enable_pgo=n
andenable_lto=n
, or by building it with:env enable_pgo=n enable_lto=n makepkg
However, if running out of memory is an issue, before disabling LTO, try:
env enable_no_keep_memory=y makepkg
It should tell LD to be less aggressive on the cache utilization during the compilation. It does not change anything on the generated binary, it should slow down a bit the compilation, but at least you can still enjoy a compilation with LTO.