Closed Bug 1637872 Opened 4 years ago Closed 4 years ago

firefox build failure for ppc64 missing third_party/rust/authenticator/src/linux/ioctl_powerpc64be.rs

Categories

(Firefox Build System :: General, defect, P5)

76 Branch
defect

Tracking

(firefox77 fixed)

RESOLVED DUPLICATE of bug 1628772
Tracking Status
firefox77 --- fixed

People

(Reporter: normand, Unassigned)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

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.

Expected results:

build success

Bugbug thinks this bug should belong to this component, but please revert this change in case of error.

Component: Untriaged → General
Product: Firefox → Firefox Build System
Priority: -- → P5

Once "someone" writes the big endian support, this should "just work." It builds fine on ppc64le.

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

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?

Flags: needinfo?(normand)

(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

Flags: needinfo?(normand)

rstewart, can you mark this bug as fixed and make it depend on bug 1628772 which fixed it

Flags: needinfo?(rstewart)
Status: UNCONFIRMED → RESOLVED
Closed: 4 years ago
Flags: needinfo?(rstewart)
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: