Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 730922

Summary: www-client/firefox-78.0.1 - error: could not compile `ffi-support`
Product: Gentoo Linux Reporter: ernsteiswuerfel <erhard_f>
Component: Current packagesAssignee: Mozilla Gentoo Team <mozilla>
Status: RESOLVED OBSOLETE    
Severity: normal CC: herrtimson
Priority: Normal    
Version: unspecified   
Hardware: PPC64   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: emerge --info
build.log.xz

Description ernsteiswuerfel archtester 2020-07-05 13:04:33 UTC
Created attachment 647788 [details]
emerge --info

Oh the joy of various ways of not being able to build FF on ppc64.

rust used was dev-lang/rust-1.44.1 built with USE='libressl system-llvm'.

[...]
811:41.39      Running `CARGO=/usr/bin/cargo-1.44.1 CARGO_MANIFEST_DIR=/var/tmp/portage/www-client/firefox-78.0.1/work/firefox-78.0.1/dom/webauthn/libudev-sys CARGO_PKG_AUTHORS='Tim Taubert <ttaubert@mozilla.com>' CARGO_PKG_DESCRIPTION='FFI bindings to libudev' CARGO_PKG_HOMEPAGE= CARGO_PKG_NAME=libudev-sys CARGO_PKG_REPOSITORY= CARGO_PKG_VERSION=0.1.3 CARGO_PKG_VERSION_MAJOR=0 CARGO_PKG_VERSION_MINOR=1 CARGO_PKG_VERSION_PATCH=3 CARGO_PKG_VERSION_PRE= LD_LIBRARY_PATH='/var/tmp/portage/www-client/firefox-78.0.1/work/firefox-78.0.1/ff/release/deps:/usr/lib' /usr/bin/rustc --crate-name libudev_sys dom/webauthn/libudev-sys/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts --crate-type lib --emit=dep-info,metadata,link -C opt-level=2 -C panic=abort -C metadata=466e2b67dd67c82d -C extra-filename=-466e2b67dd67c82d --out-dir /var/tmp/portage/www-client/firefox-78.0.1/work/firefox-78.0.1/ff/powerpc64-unknown-linux-gnu/release/deps --target powerpc64-unknown-linux-gnu -C linker=/var/tmp/portage/www-client/firefox-78.0.1/work/firefox-78.0.1/build/cargo-linker -L dependency=/var/tmp/portage/www-client/firefox-78.0.1/work/firefox-78.0.1/ff/powerpc64-unknown-linux-gnu/release/deps -L dependency=/var/tmp/portage/www-client/firefox-78.0.1/work/firefox-78.0.1/ff/release/deps --extern lazy_static=/var/tmp/portage/www-client/firefox-78.0.1/work/firefox-78.0.1/ff/powerpc64-unknown-linux-gnu/release/deps/liblazy_static-fddc3469a7f55265.rmeta --extern libc=/var/tmp/portage/www-client/firefox-78.0.1/work/firefox-78.0.1/ff/powerpc64-unknown-linux-gnu/release/deps/liblibc-0381ca0679dce75c.rmeta -C opt-level=2 --cap-lints warn -C codegen-units=1`
811:41.56 error: could not compile `ffi-support`.
811:41.56 Caused by:
811:41.56   process didn't exit successfully: `CARGO=/usr/bin/cargo-1.44.1 CARGO_MANIFEST_DIR=/var/tmp/portage/www-client/firefox-78.0.1/work/firefox-78.0.1/third_party/rust/ffi-support CARGO_PKG_AUTHORS='Thom Chiovoloni <tchiovoloni@mozilla.com>' CARGO_PKG_DESCRIPTION='A crate to help expose Rust functions over the FFI.' CARGO_PKG_HOMEPAGE= CARGO_PKG_NAME=ffi-support CARGO_PKG_REPOSITORY='https://github.com/mozilla/application-services' CARGO_PKG_VERSION=0.4.0 CARGO_PKG_VERSION_MAJOR=0 CARGO_PKG_VERSION_MINOR=4 CARGO_PKG_VERSION_PATCH=0 CARGO_PKG_VERSION_PRE= LD_LIBRARY_PATH='/var/tmp/portage/www-client/firefox-78.0.1/work/firefox-78.0.1/ff/release/deps:/usr/lib' /usr/bin/rustc --crate-name ffi_support --edition=2018 /var/tmp/portage/www-client/firefox-78.0.1/work/firefox-78.0.1/third_party/rust/ffi-support/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts --crate-type lib --emit=dep-info,metadata,link -C opt-level=2 -C panic=abort --cfg 'feature="default"' -C metadata=e12c8bc011821897 -C extra-filename=-e12c8bc011821897 --out-dir /var/tmp/portage/www-client/firefox-78.0.1/work/firefox-78.0.1/ff/powerpc64-unknown-linux-gnu/release/deps --target powerpc64-unknown-linux-gnu -C linker=/var/tmp/portage/www-client/firefox-78.0.1/work/firefox-78.0.1/build/cargo-linker -L dependency=/var/tmp/portage/www-client/firefox-78.0.1/work/firefox-78.0.1/ff/powerpc64-unknown-linux-gnu/release/deps -L dependency=/var/tmp/portage/www-client/firefox-78.0.1/work/firefox-78.0.1/ff/release/deps --extern lazy_static=/var/tmp/portage/www-client/firefox-78.0.1/work/firefox-78.0.1/ff/powerpc64-unknown-linux-gnu/release/deps/liblazy_static-fddc3469a7f55265.rmeta --extern log=/var/tmp/portage/www-client/firefox-78.0.1/work/firefox-78.0.1/ff/powerpc64-unknown-linux-gnu/release/deps/liblog-bef6ad345d068701.rmeta --cap-lints warn -C opt-level=2 --cap-lints warn -C codegen-units=1` (signal: 6, SIGABRT: process abort signal)
Comment 1 ernsteiswuerfel archtester 2020-07-05 13:04:58 UTC
Created attachment 647790 [details]
build.log.xz
Comment 2 ernsteiswuerfel archtester 2020-08-10 19:03:29 UTC
www-client/firefox-79.0-r2 (finally!) builds again on ppc64 BE with current toolchain and following rdeps:

sys-devel/llvm-10.0.1:10::gentoo  USE="debug gold libffi ncurses xml -doc -exegesis -libedit -test -xar -z3" LLVM_TARGETS="AMDGPU BPF (PowerPC) -AArch64 -ARC -ARM -AVR -Hexagon -Lanai -MSP430 -Mips -NVPTX -RISCV -Sparc -SystemZ -WebAssembly -X86 -XCore" 0 KiB
dev-lang/rust-1.45.2:stable/1.45::gentoo  USE="libressl system-llvm -clippy -debug -doc -miri -nightly -parallel-compiler -rls -rustfmt -system-bootstrap -wasm" LLVM_TARGETS="AMDGPU BPF (PowerPC) -AArch64 -ARM -Hexagon -Lanai -MSP430 -Mips -NVPTX -RISCV -Sparc -SystemZ -WebAssembly -X86 -XCore" 0 KiB
net-libs/nodejs-14.5.0::gentoo  USE="icu npm snapshot ssl -debug -doc -inspector -pax_kernel -system-ssl -systemtap -test" 0 KiB
www-client/firefox-79.0-r2::gentoo  USE="gmp-autoupdate openh264 pulseaudio screenshot system-av1 system-harfbuzz system-icu system-jpeg system-libevent system-libvpx system-web"

It still crashes when trying to view anything other than settings pages, but build is ok now.