pkgsrc-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: firefox build error with rustc [Was: not a PIE errors]
On Sat, Jan 29, 2022 at 04:43:42PM +0530, Mayuresh wrote:
> On Sat, Jan 29, 2022 at 09:29:52AM +0530, Mayuresh wrote:
> > /usr/pkg/bin/cargo rustc --release --frozen --manifest-path
> > /usr/local/netbsd/work/www/firefox/work/firefox-96.0.2/toolkit/library/rust/Cargo.toml
> > -vv -j1 -j1 --lib --target=x86_64-unknown-netbsd --features
> > 'cubeb_pulse_rust moz_places webrtc glean_with_gecko glean_disable_upload'
> > -- -Clto
> > error: The argument '--jobs <N>' was provided more than once, but cannot
> > be used multiple times
As a quick workaround, in work/firefox-96.0.2/config/makefiles/rust.mk I
commented the line shown. May be some patch is adding -j1 which is already
there.
61 ifeq ($(OS_ARCH),NetBSD)
62 #cargo_build_flags += -j1
63 endif
--
Mayuresh
Home |
Main Index |
Thread Index |
Old Index