Hello, I'm trying to build the code, but for two consecutive days the build finishes with the same error:
33:09.14 gfx/thebes
33:09.37 Compiling glean-core v51.2.0
33:10.00 parser/htmlparser
33:10.26 Compiling uniffi v0.19.6
33:20.42 Compiling glean v51.2.0
33:21.64 Compiling fog v0.1.0 (/homes/box/Nightly/src/mozilla-central/toolkit/components/glean/api)
33:51.63 Compiling jog v0.1.0 (/homes/box/Nightly/src/mozilla-central/toolkit/components/glean/bindings/jog)
33:53.80 Compiling fog_control v0.1.0 (/homes/box/Nightly/src/mozilla-central/toolkit/components/glean)
33:55.37 Compiling geckoservo v0.0.1 (/homes/box/Nightly/src/mozilla-central/servo/ports/geckolib)
34:11.93 Compiling webrender_bindings v0.1.0 (/homes/box/Nightly/src/mozilla-central/gfx/webrender_bindings)
34:12.66 Compiling gkrust-shared v0.1.0 (/homes/box/Nightly/src/mozilla-central/toolkit/library/rust/shared)
36:03.86 Compiling gkrust v0.1.0 (/homes/box/Nightly/src/mozilla-central/toolkit/library/rust)
43:14.35 Finished release [optimized] target(s) in 42m 37s
43:14.50 security/manager/ssl/ipcclientcerts/force-cargo-library-build
43:14.51 toolkit/library/build/libxul.so
43:16.15 Compiling memchr v2.5.0
43:16.15 Compiling proc-macro2 v1.0.43
43:16.15 Compiling libc v0.2.132
43:16.15 Compiling quote v1.0.21
43:16.17 Compiling regex v1.6.0
43:16.76 Compiling nom v7.1.1
43:16.81 ld.lld: error: undefined hidden symbol: uprofiler_register_thread
43:16.81 >>> referenced by cubeb_alsa.c:583 (/homes/box/Nightly/src/mozilla-central/media/libcubeb/src/cubeb_alsa.c:583)
43:16.81 >>> /homes/box/Nightly/src/mozilla-central/obj/toolkit/library/build/../../../media/libcubeb/src/cubeb_alsa.o:(alsa_run_thread)
43:16.81 >>> did you mean to declare uprofiler_register_thread(char const*, void*) as extern "C"?
43:16.81 >>> defined in: /homes/box/Nightly/src/mozilla-central/obj/toolkit/library/build/../../../tools/profiler/Unified_cpp_tools_profiler0.o
43:16.98 ld.lld: error: undefined hidden symbol: uprofiler_unregister_thread
43:16.98 >>> referenced by cubeb_alsa.c:589 (/homes/box/Nightly/src/mozilla-central/media/libcubeb/src/cubeb_alsa.c:589)
43:16.98 >>> /homes/box/Nightly/src/mozilla-central/obj/toolkit/library/build/../../../media/libcubeb/src/cubeb_alsa.o:(alsa_run_thread)
43:16.98 >>> did you mean to declare uprofiler_unregister_thread() as extern "C"?
43:16.98 >>> defined in: /homes/box/Nightly/src/mozilla-central/obj/toolkit/library/build/../../../tools/profiler/Unified_cpp_tools_profiler0.o
43:17.24 clang-14: error: linker command failed with exit code 1 (use -v to see invocation)
43:17.24 make[4]: *** [/homes/box/Nightly/src/mozilla-central/config/rules.mk:540: libxul.so] Error 1
43:17.24 make[3]: *** [/homes/box/Nightly/src/mozilla-central/config/recurse.mk:72: toolkit/library/build/target] Error 2
43:17.24 make[3]: *** Waiting for unfinished jobs....
43:17.24 Compiling clang-sys v1.3.3
43:18.62 Compiling cexpr v0.6.0
43:19.34 Compiling bindgen v0.59.2
43:25.26 Compiling pkcs11-bindings v0.1.0
43:25.73 Compiling rsclientcerts v0.1.0 (/homes/box/Nightly/src/mozilla-central/security/manager/ssl/rsclientcerts)
43:26.69 Compiling ipcclientcerts-static v0.1.0 (/homes/box/Nightly/src/mozilla-central/security/manager/ssl/ipcclientcerts)
43:33.40 Finished release [optimized] target(s) in 18.90s
43:33.53 make[2]: *** [/homes/box/Nightly/src/mozilla-central/config/recurse.mk:34: compile] Error 2
43:33.53 make[1]: *** [/homes/box/Nightly/src/mozilla-central/config/rules.mk:361: default] Error 2
43:33.53 make: *** [client.mk:63: build] Error 2
43:33.55 406 compiler warnings present.
Is there any way out?
Pinned Comments
heftig commented on 2022-07-27 22:26 (UTC)
Instead of building this yourself, please use the repository from https://bbs.archlinux.org/viewtopic.php?id=117157.
Not only do you skip the very time-consuming builds, but the published package also has debug symbols at Mozilla's crash reports service, which helps tremendously with finding or filing bugs for any crashes you get.
I consider this the canonical
firefox-nightly
package for Arch Linux.Alternatively, download Firefox Nightly straight from Mozilla, extract it to a writable place (e.g.
~/.local/firefox-nightly
) and let it update itself using the integrated updater.