firefox build failure for ppc64 missing third_party/rust/authenticator/src/linux/ioctl_powerpc64be.rs
Categories
(Firefox Build System :: General, defect, P5)
Tracking
(firefox77 fixed)
Tracking | Status | |
---|---|---|
firefox77 | --- | fixed |
People
(Reporter: michel_mno, Unassigned)
References
(Blocks 1 open bug)
Details
Attachments
(1 file)
4.41 MB,
text/x-log
|
Details |
User Agent: Mozilla/5.0 (X11; Fedora; Linux x86_64; rv:74.0) Gecko/20100101 Firefox/74.0
Steps to reproduce:
Trying to build firefox for ppc64 (BE)
Actual results:
build failed as per extract of attached build log
[ 2282s] 28:46.61 Running CARGO=/usr/bin/cargo CARGO_MANIFEST_DIR=/home/abuild/rpmbuild/BUILD/firefox-76.0/third_party/rust/authenticator CARGO_PKG_AUTHORS='J.C. Jones <jc@mozilla.com>:Tim Taubert <ttaubert@mozilla.com>:Kyle Machulis <kyle@nonpolynomial.com>' CARGO_PKG_DESCRIPTION='Library for interacting with CTAP1/2 security keys for Web Authentication. Used by Firefox.' CARGO_PKG_HOMEPAGE= CARGO_PKG_NAME=authenticator CARGO_PKG_REPOSITORY='https://github.com/mozilla/authenticator-rs/' CARGO_PKG_VERSION=0.2.10 CARGO_PKG_VERSION_MAJOR=0 CARGO_PKG_VERSION_MINOR=2 CARGO_PKG_VERSION_PATCH=10 CARGO_PKG_VERSION_PRE= LD_LIBRARY_PATH='/home/abuild/rpmbuild/BUILD/obj/release/deps:/usr/lib' OUT_DIR=/home/abuild/rpmbuild/BUILD/obj/powerpc64-unknown-linux-gnu/release/build/authenticator-f788387367bbff48/out /usr/bin/rustc --crate-name authenticator /home/abuild/rpmbuild/BUILD/firefox-76.0/third_party/rust/authenticator/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=32ba6a8ae21d6ee3 -C extra-filename=-32ba6a8ae21d6ee3 --out-dir /home/abuild/rpmbuild/BUILD/obj/powerpc64-unknown-linux-gnu/release/deps --target powerpc64-unknown-linux-gnu -C linker=/home/abuild/rpmbuild/BUILD/firefox-76.0/build/cargo-linker -L dependency=/home/abuild/rpmbuild/BUILD/obj/powerpc64-unknown-linux-gnu/release/deps -L dependency=/home/abuild/rpmbuild/BUILD/obj/release/deps --extern bitflags=/home/abuild/rpmbuild/BUILD/obj/powerpc64-unknown-linux-gnu/release/deps/libbitflags-510bd98271e86238.rmeta --extern boxfnonce=/home/abuild/rpmbuild/BUILD/obj/powerpc64-unknown-linux-gnu/release/deps/libboxfnonce-538499158ad4ed45.rmeta --extern libc=/home/abuild/rpmbuild/BUILD/obj/powerpc64-unknown-linux-gnu/release/deps/liblibc-c38bbc638aaf420b.rmeta --extern libudev=/home/abuild/rpmbuild/BUILD/obj/powerpc64-unknown-linux-gnu/release/deps/liblibudev-8348f7543b6084eb.rmeta --extern log=/home/abuild/rpmbuild/BUILD/obj/powerpc64-unknown-linux-gnu/release/deps/liblog-7b4af07ffbc5c156.rmeta --extern rand=/home/abuild/rpmbuild/BUILD/obj/powerpc64-unknown-linux-gnu/release/deps/librand-7fc3c34fda5c7d29.rmeta --extern runloop=/home/abuild/rpmbuild/BUILD/obj/powerpc64-unknown-linux-gnu/release/deps/librunloop-1194857c3306158f.rmeta --cap-lints warn -C opt-level=2 -C debuginfo=1 --cap-lints warn -C codegen-units=1
[ 2282s] 28:46.80 error: couldn't read /home/abuild/rpmbuild/BUILD/firefox-76.0/third_party/rust/authenticator/src/linux/ioctl_powerpc64be.rs: No such file or directory (os error 2)
[ 2282s] 28:46.80 --> /home/abuild/rpmbuild/BUILD/firefox-76.0/third_party/rust/authenticator/src/linux/hidwrapper.rs:33:1
[ 2282s] 28:46.80 |
[ 2282s] 28:46.80 33 | include!("ioctl_powerpc64be.rs");
[ 2282s] 28:46.80 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[ 2282s] 28:46.80 |
[ 2282s] 28:46.80 = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
[ 2282s] 28:46.81 error: aborting due to previous error
[ 2282s] 28:46.82 error: could not compile authenticator
.
-
problem identified for openSUSE as per OBS status
https://build.opensuse.org/package/show/openSUSE:Factory:PowerPC/MozillaFirefox -
problem also reported in gentoo for version 75 as per
https://bugs.gentoo.org/717830
Expected results:
build success
Comment 1•5 years ago
|
||
Bugbug thinks this bug should belong to this component, but please revert this change in case of error.
Updated•5 years ago
|
Comment 2•4 years ago
|
||
Once "someone" writes the big endian support, this should "just work." It builds fine on ppc64le.
Updated•4 years ago
|
Comment 3•4 years ago
|
||
I think this is the same issue I have encountered for s390x. Some guidance on how to solve this can be found here: https://bugzilla.mozilla.org/show_bug.cgi?id=1618776
Comment 4•4 years ago
|
||
This should be fixed by bug 1628772, which included authenticator 0.2.12 and https://github.com/mozilla/authenticator-rs/commit/1b1be8f6824ca925d3f434568b7baec559a10ddb
Does it work on Firefox 77 or later?
Reporter | ||
Comment 5•4 years ago
|
||
(In reply to Mathew Hodson from comment #4)
This should be fixed by bug 1628772, which included authenticator 0.2.12 and https://github.com/mozilla/authenticator-rs/commit/1b1be8f6824ca925d3f434568b7baec559a10ddb
Does it work on Firefox 77 or later?
Yes that build now with Firefox 77 as per https://build.opensuse.org/package/live_build_log/mozilla:Factory/MozillaFirefox/openSUSE_Factory_PowerPC/ppc64
Updated•4 years ago
|
Comment 6•4 years ago
|
||
rstewart, can you mark this bug as fixed and make it depend on bug 1628772 which fixed it
Updated•4 years ago
|
Description
•