Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 15 Sep 2020 16:01:16 +0000
From:      bugzilla-noreply@freebsd.org
To:        gecko@FreeBSD.org
Subject:   maintainer-feedback requested: [Bug 249338] www/firefox: possibly bsd.gecko.mk - ignores ccache again
Message-ID:  <bug-249338-21738-7vgmpfFlVN@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-249338-21738@https.bugs.freebsd.org/bugzilla/>
References:  <bug-249338-21738@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
Bugzilla Automation <bugzilla@FreeBSD.org> has asked freebsd-gecko (Nobody)
<gecko@FreeBSD.org> for maintainer-feedback:
Bug 249338: www/firefox: possibly bsd.gecko.mk - ignores ccache again
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D249338



--- Description ---
I know this bug was fixed before,=20

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D224471
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D232183
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D233369

but it appears to be back.  I have

WITH_CCACHE_BUILD=3Dyes
CCACHE_DIR=3D/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?hi=
ghli
ght=3Dccache


Random pick from the log, truncated line:
15028:[00:21:11] /usr/local/bin/clang++90 -std=3Dgnu++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/121am=
d64-
svn.log=20
107-[00:00:05] PKG_CREATE=3D		${PKG_BIN} create -l2
108-[00:00:05] PKG_CREATE_VERBOSE=3D	yes
109:[00:00:05] WITH_CCACHE_BUILD=3Dyes
110:[00:00:05] CCACHE_DIR=3D/root/.ccache
111-[00:00:05] #### /usr/ports/Mk/Scripts/ports_env.sh ####
112-[00:00:05] _CCVERSION_921dbbb2=3DFreeBSD 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] =3D=3D=3D>   Returning to build of firefox-80.0.1_1,2
745-[00:05:33] =3D=3D=3D>   firefox-80.0.1_1,2 depends on package:
perl5>=3D5.32.r0<5.33 - found
746:[00:05:33] =3D=3D=3D>   firefox-80.0.1_1,2 depends on file: /usr/local/=
bin/ccache
- not found
747:[00:05:33] =3D=3D=3D>   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] =3D=3D=3D=3D=3D
766:[00:05:33] Message from ccache-3.7.1_1:
767-[00:05:33]=20
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] =3D=3D=3D>   firefox-80.0.1_1,2 depends on file: /usr/local/=
bin/ccache
- found
773-[00:05:33] =3D=3D=3D>   Returning to build of firefox-80.0.1_1,2
774-[00:05:33]
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--
1081-[00:05:59] =3D=3D=3D>   firefox-80.0.1_1,2 depends on file:
/usr/local/libdata/pkgconfig/xt.pc - found
1082-[00:05:59] =3D=3D=3D>   firefox-80.0.1_1,2 depends on package:
perl5>=3D5.32.r0<5.33 - found
1083:[00:05:59] =3D=3D=3D>   firefox-80.0.1_1,2 depends on file:
/usr/local/bin/ccache - found
1084-[00:05:59] =3D=3D=3D>   firefox-80.0.1_1,2 depends on shared library: =
libdrm.so
- found (/usr/local/lib/libdrm.so)
1085-[00:05:59] =3D=3D=3D>   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=3Djs --host=3Dx86_64-unknown-freebsd12.1
--target=3Dx86_64-unknown-freebsd12.1 MOZILLA_OFFICIAL=3D MOZBUILD_STATE_PA=
TH=3D
--disable-tests --disable-debug --without-debug-label --disable-rust-debug
MOZ_PGO=3D --enable-release --enable-optimize --without-ccache CCACHE_PREFI=
X=3D
RUSTC_WRAPPER=3D --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=3D2
--enable-cargo-incremental --disable-linker AS=3D --disable-clang-plugin
--disable-clang-plugin-alpha --disable-mozsearch-plugin --disable-stdcxx-co=
mpat
--disable-fuzzing --disable-cpp-rtti --disable-jemalloc --without-linux-hea=
ders
--disable-warnings-as-errors --disable-profile-generate --disable-profile-u=
se
--without-pgo-profile-path --disable-lto MOZ_LD64_KNOWN_GOOD=3D
--enable-new-pass-manager --disable-valgrind --disable-smoosh
--with-system-nspr RUSTC=3D CARGO=3D RUSTDOC=3D RUSTFMT=3D --without-libcla=
ng-path
--without-clang-path BINDGEN_CFLAGS=3D --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-mem=
ory
--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=3D/usr/x86_64-unknown-freebsd12.1
--without-sixgill --with-jitreport-granularity=3D3 --with-system-icu
--with-intl-api --disable-dtrace --enable-icf --disable-strip
--disable-install-strip --with-system-zlib
--prefix=3D/wrkdirs/usr/ports/www/firefox/work/.build/dist JS_STANDALONE=3D
1519-[00:06:42] js/src> checking for vcs source checkout... no
1520-[00:06:43] js/src> checking for a shell... /bin/sh



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-249338-21738-7vgmpfFlVN>