Date: Sun, 26 Dec 2021 18:03:04 +0000 From: bugzilla-noreply@freebsd.org To: gecko@FreeBSD.org Subject: maintainer-feedback requested: [Bug 260706] www/firefox: build fails with DEFAULT_VERSIONS+= llvm=13 Message-ID: <bug-260706-21738-SfD5YslO1B@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-260706-21738@https.bugs.freebsd.org/bugzilla/> References: <bug-260706-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 260706: www/firefox: build fails with DEFAULT_VERSIONS+=3D llvm=3D13 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D260706 --- Description --- >From poudriere build log: ``` =3D=3D=3D> firefox-95.0.2,2 depends on file: /usr/local/llvm13/lib/clang//lib/wasi/libclang_rt.builtins-wasm32.a - not f= ound =3D=3D=3D> Installing existing package /packages/All/wasi-compiler-rt13-1= 3.0.0.pkg [13amd64-usrports] Installing wasi-compiler-rt13-13.0.0... [13amd64-usrports] Extracting wasi-compiler-rt13-13.0.0: .... done =3D=3D=3D> firefox-95.0.2,2 depends on file: /usr/local/llvm13/lib/clang//lib/wasi/libclang_rt.builtins-wasm32.a - not f= ound ``` This occurs because of Mk/bsd.gecko.mk:L96#L99 ``` 95 # Ignore Mk/bsd.default-versions.mk but respect make.conf(5) unless LT= O is enabled 96 .if !defined(DEFAULT_VERSIONS) || ! ${DEFAULT_VERSIONS:Mllvm*} || ${PORT_OPTIONS:MLTO} 97 LLVM_DEFAULT=3D 13 # chase bundled LLVM in lang/rust for LTO 98 LLVM_VERSION=3D 13.0.0 # keep in sync with devel/wasi-compiler-rt${LLVM_DEFAULT} 99 .endif ``` So with no LTO but llvm=3D13 explicitly set in make.conf DEFAULT_VERSIONS, = it fails to set LLVM_VERSION and thus can't find the necessary file. Possibly fix by checking for ${DEFAULT_VERSIONS:Mllvm13}
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-260706-21738-SfD5YslO1B>