pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Firefox build failure, NetBSD 8, amd64



Hi There,

I'm trying to build Firefox in 2018Q2. The build fails with error message below.

Could you please support me how to proceed?

Note: firefox60 builds without any issue.

Thanks:

FeZ


force-cargo-library-build
env   RUSTFLAGS='-C opt-level=2 '  CARGO_TARGET_DIR=/usr/pkgsrc/www/firefox/work/build/toolkit/library RUSTC=/usr/pkg/bin/rustc RUSTDOC=/usr/pkg/bin/rustdoc
+MOZ_SRC=/usr/pkgsrc/www/firefox/work/firefox-61.0 MOZ_DIST=/usr/pkgsrc/www/firefox/work/build/dist LIBCLANG_PATH="/usr/pkg/lib" CLANG_PATH="/usr/pkg/bin/clang"
+PKG_CONFIG_ALLOW_CROSS=1 RUST_BACKTRACE=full MOZ_TOPOBJDIR=/usr/pkgsrc/www/firefox/work/build  MOZ_CARGO_WRAP_LDFLAGS="-lpthread -Wl,-R/usr/pkg/lib/firefox
+-Wl,-R/usr/pkg/lib -L/usr/pkg/gcc6/lib/gcc/x86_64--netbsd/6.4.0 -Wl,-R/usr/pkg/gcc6/lib/gcc/x86_64--netbsd/6.4.0 -L/usr/pkg/gcc6/lib -Wl,-R/usr/pkg/gcc6/lib
+-L/usr/pkg/lib -L/usr/lib -Wl,-R/usr/lib -L/usr/pkg/lib/nspr -Wl,-R/usr/pkg/lib/nspr -L/usr/pkg/lib/nss -Wl,-R/usr/pkg/lib/nss -L/usr/X11R7/lib -Wl,-R/usr/X11R7/lib
+-L/usr/pkg/lib/ffmpeg3 -Wl,-R/usr/pkg/lib/ffmpeg3 -Wl,-z,noexecstack -Wl,-z,text -Wl,-z,relro -Wl,--build-id
+-Wl,-rpath-link,/usr/pkgsrc/www/firefox/work/build/dist/bin -Wl,-rpath-link,/usr/pkg/lib" MOZ_CARGO_WRAP_LD=" /usr/pkgsrc/www/firefox/work/.cwrapper/bin/gcc"
+CARGO_TARGET_X86_64_UNKNOWN_NETBSD_LINKER=/usr/pkgsrc/www/firefox/work/firefox-61.0/build/cargo-linker /usr/pkg/bin/cargo rustc  --release --frozen --manifest-path
+/usr/pkgsrc/www/firefox/work/firefox-61.0/toolkit/library/rust/Cargo.toml --lib --target=x86_64-unknown-netbsd --features "servo bindgen
+no-static-ideograph-encoder-tables oom_with_global_alloc" --  -C lto
 Compiling gkrust-shared v0.1.0 (file:///usr/pkgsrc/www/firefox/work/firefox-61.0/toolkit/library/rust/shared)
   error[E0407]: method `oom` is not a member of trait `Alloc`
        --> toolkit/library/rust/shared/lib.rs:195:9
	          |
		            195 | /         unsafe fn oom(&mut self, e: AllocErr) -> ! {
			    196 | |             match e {
			    197 | |                 AllocErr::Exhausted { request } => unsafe { GeckoHandleOOM(request.size()) },
			    198 | |                 _ => System.oom(e),
			    199 | |             }
			    200 | |         }
			        | |_________^ not a member of trait `Alloc`
				


Home | Main Index | Thread Index | Old Index