Date: Sun, 26 Dec 2021 18:03:04 +0000 From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 260706] www/firefox: build fails with DEFAULT_VERSIONS+= llvm=13 Message-ID: <bug-260706-7788@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D260706 Bug ID: 260706 Summary: www/firefox: build fails with DEFAULT_VERSIONS+=3D llvm=3D13 Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: gecko@FreeBSD.org Reporter: dan.kotowski@a9development.com Flags: maintainer-feedback?(gecko@FreeBSD.org) Assignee: gecko@FreeBSD.org >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} --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-260706-7788>