[Bug 260706] www/firefox: build fails with DEFAULT_VERSIONS+= llvm=13
- Reply: bugzilla-noreply_a_freebsd.org: "maintainer-feedback requested: [Bug 260706] www/firefox: build fails with DEFAULT_VERSIONS+= llvm=13"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 260706] Mk/bsd.gecko.mk: www/firefox fails to build with DEFAULT_VERSIONS+= llvm=13: depends on file: /usr/local/llvm13/lib/clang//lib/wasi/libclang_rt.builtins-wasm32.a - not found"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 260706] Mk/bsd.gecko.mk: LLVM_VERSION not set when LTO=OFF and DEFAULT_VERSIONS+= llvm=13 causing www/firefox build failure"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 260706] Mk/bsd.gecko.mk: LLVM_VERSION not set when LTO=OFF and DEFAULT_VERSIONS+= llvm=13 causing www/firefox build failure"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 260706] Mk/bsd.gecko.mk: LLVM_VERSION not set when LTO=OFF and DEFAULT_VERSIONS+= llvm=13 causing www/firefox build failure"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 260706] Mk/bsd.gecko.mk: LLVM_VERSION not set when LTO=OFF and DEFAULT_VERSIONS+= llvm=13 causing www/firefox build failure"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 260706] Mk/bsd.gecko.mk: LLVM_VERSION not set when LTO=OFF and DEFAULT_VERSIONS+= llvm=13 causing www/firefox build failure"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 26 Dec 2021 18:03:04 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=260706 Bug ID: 260706 Summary: www/firefox: build fails with DEFAULT_VERSIONS+= llvm=13 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: ``` ===> firefox-95.0.2,2 depends on file: /usr/local/llvm13/lib/clang//lib/wasi/libclang_rt.builtins-wasm32.a - not found ===> Installing existing package /packages/All/wasi-compiler-rt13-13.0.0.pkg [13amd64-usrports] Installing wasi-compiler-rt13-13.0.0... [13amd64-usrports] Extracting wasi-compiler-rt13-13.0.0: .... done ===> firefox-95.0.2,2 depends on file: /usr/local/llvm13/lib/clang//lib/wasi/libclang_rt.builtins-wasm32.a - not found ``` This occurs because of Mk/bsd.gecko.mk:L96#L99 ``` 95 # Ignore Mk/bsd.default-versions.mk but respect make.conf(5) unless LTO is enabled 96 .if !defined(DEFAULT_VERSIONS) || ! ${DEFAULT_VERSIONS:Mllvm*} || ${PORT_OPTIONS:MLTO} 97 LLVM_DEFAULT= 13 # chase bundled LLVM in lang/rust for LTO 98 LLVM_VERSION= 13.0.0 # keep in sync with devel/wasi-compiler-rt${LLVM_DEFAULT} 99 .endif ``` So with no LTO but llvm=13 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} -- You are receiving this mail because: You are the assignee for the bug.