I know this bug was fixed before, https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=224471 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=232183 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=233369 but it appears to be back. I have WITH_CCACHE_BUILD=yes CCACHE_DIR=/root/.ccache The port does not enable ccache, see below for a --without-ccache configure option. Result: For me, it directly calls the compiler with direct path, without ccache or sccache wrappers, and takes a loooong time to build on an octocore SMT-enabled Ryzen 7 1700 (i. e. 16 threads). Full poudriere log at http://people.freebsd.org/~mandree/firefox-80.0.1_1,2-121amd64-svn.log.xz https://firefox-source-docs.mozilla.org/testing/marionette/Building.html?highlight=ccache Random pick from the log, truncated line: 15028:[00:21:11] /usr/local/bin/clang++90 -std=gnu++17 -o Unified_cpp_dom_offline0.o -c -I/wrkdirs/usr/ports/www/firefox/work/.bui> $ ag -iC ccache /usr/local/poudriere/data/logs/bulk/latest-per-pkg/firefox/80.0.1_1,2/121amd64-svn.log 107-[00:00:05] PKG_CREATE= ${PKG_BIN} create -l2 108-[00:00:05] PKG_CREATE_VERBOSE= yes 109:[00:00:05] WITH_CCACHE_BUILD=yes 110:[00:00:05] CCACHE_DIR=/root/.ccache 111-[00:00:05] #### /usr/ports/Mk/Scripts/ports_env.sh #### 112-[00:00:05] _CCVERSION_921dbbb2=FreeBSD clang version 8.0.1 (tags/RELEASE_801/final 366581) (based on LLVM 8.0.1) Target: x86_64-unknown-freebsd12.1 Thread model: posix InstalledDir: /usr/bin -- 744-[00:05:33] ===> Returning to build of firefox-80.0.1_1,2 745-[00:05:33] ===> firefox-80.0.1_1,2 depends on package: perl5>=5.32.r0<5.33 - found 746:[00:05:33] ===> firefox-80.0.1_1,2 depends on file: /usr/local/bin/ccache - not found 747:[00:05:33] ===> Installing existing package /packages/All/ccache-3.7.1_1.txz 748:[00:05:33] [121amd64-svn-job-06] Installing ccache-3.7.1_1... 749:[00:05:33] [121amd64-svn-job-06] Extracting ccache-3.7.1_1: .......... done 750-[00:05:33] Create compiler links... 751-[00:05:33] create symlink for cc -- 764-[00:05:33] create symlink for clang++90 (world) 765-[00:05:33] ===== 766:[00:05:33] Message from ccache-3.7.1_1: 767-[00:05:33] 768-[00:05:33] -- 769-[00:05:33] NOTE: 770:[00:05:33] Please read /usr/local/share/doc/ccache/ccache-howto-freebsd.txt for 771:[00:05:33] information on using ccache with FreeBSD ports and src. 772:[00:05:33] ===> firefox-80.0.1_1,2 depends on file: /usr/local/bin/ccache - found 773-[00:05:33] ===> Returning to build of firefox-80.0.1_1,2 774-[00:05:33] =========================================================================== -- 1081-[00:05:59] ===> firefox-80.0.1_1,2 depends on file: /usr/local/libdata/pkgconfig/xt.pc - found 1082-[00:05:59] ===> firefox-80.0.1_1,2 depends on package: perl5>=5.32.r0<5.33 - found 1083:[00:05:59] ===> firefox-80.0.1_1,2 depends on file: /usr/local/bin/ccache - found 1084-[00:05:59] ===> firefox-80.0.1_1,2 depends on shared library: libdrm.so - found (/usr/local/lib/libdrm.so) 1085-[00:05:59] ===> firefox-80.0.1_1,2 depends on shared library: libfontconfig.so - found (/usr/local/lib/libfontconfig.so) -- 1516-[00:06:42] creating ./config.data 1517-[00:06:42] js/src> configuring 1518:[00:06:42] js/src> running /wrkdirs/usr/ports/www/firefox/work/firefox-80.0.1/configure.py --enable-project=js --host=x86_64-unknown-freebsd12.1 --target=x86_64-unknown-freebsd12.1 MOZILLA_OFFICIAL= MOZBUILD_STATE_PATH= --disable-tests --disable-debug --without-debug-label --disable-rust-debug MOZ_PGO= --enable-release --enable-optimize --without-ccache CCACHE_PREFIX= RUSTC_WRAPPER= --without-toolchain-prefix --disable-debug-symbols --disable-address-sanitizer --disable-memory-sanitizer --disable-thread-sanitizer --disable-undefined-sanitizer --disable-signed-overflow-sanitizer --disable-unsigned-overflow-sanitizer --enable-frame-pointers --disable-coverage RUSTC_OPT_LEVEL=2 --enable-cargo-incremental --disable-linker AS= --disable-clang-plugin --disable-clang-plugin-alpha --disable-mozsearch-plugin --disable-stdcxx-compat --disable-fuzzing --disable-cpp-rtti --disable-jemalloc --without-linux-headers --disable-warnings-as-errors --disable-profile-generate --disable-profile-use --without-pgo-profile-path --disable-lto MOZ_LD64_KNOWN_GOOD= --enable-new-pass-manager --disable-valgrind --disable-smoosh --with-system-nspr RUSTC= CARGO= RUSTDOC= RUSTFMT= --without-libclang-path --without-clang-path BINDGEN_CFLAGS= --disable-js-shell --enable-jit --disable-simulator --disable-instruments --disable-callgrind --enable-profiling --disable-vtune --disable-gc-probes --disable-gczeal --disable-small-chunk-size --disable-trace-logging --disable-oom-breakpoint --disable-perf --disable-jitspew --disable-masm-verbose --disable-more-deterministic --enable-ctypes --with-system-ffi --disable-pipeline-operator --enable-rust-simd --disable-cranelift --disable-wasm-codegen-debug --disable-typed-objects --enable-wasm-bulk-memory --enable-wasm-reftypes --disable-wasm-gc --disable-wasm-private-reftypes --enable-wasm-multi-value --enable-shared-memory --disable-wasm-simd --without-qemu-exe --with-cross-lib=/usr/x86_64-unknown-freebsd12.1 --without-sixgill --with-jitreport-granularity=3 --with-system-icu --with-intl-api --disable-dtrace --enable-icf --disable-strip --disable-install-strip --with-system-zlib --prefix=/wrkdirs/usr/ports/www/firefox/work/.build/dist JS_STANDALONE= 1519-[00:06:42] js/src> checking for vcs source checkout... no 1520-[00:06:43] js/src> checking for a shell... /bin/sh
oh I see it wasn't fixed in all PRs... *** This bug has been marked as a duplicate of bug 224471 ***