Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 717830 - www-client/firefox-75.0 - error: couldn't read /var/tmp/portage/www-client/firefox-75.0/work/firefox-75.0/third_party/rust/authenticator/src/linux/ioctl_powerpc64be.rs: No such file or directory (os error 2)
Summary: www-client/firefox-75.0 - error: couldn't read /var/tmp/portage/www-client/fi...
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: PPC64 Linux
: Normal normal (vote)
Assignee: ppc64 architecture team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-04-17 07:56 UTC by ernsteiswuerfel
Modified: 2020-08-10 19:03 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
build.log.xz (firefox-75.0:20200417-064015.log.xz,191.29 KB, application/x-xz)
2020-04-17 07:56 UTC, ernsteiswuerfel
Details
emerge --info (file_717830.txt,6.21 KB, text/plain)
2020-04-17 07:59 UTC, ernsteiswuerfel
Details

Note You need to log in before you can comment on or make changes to this bug.
Description ernsteiswuerfel archtester 2020-04-17 07:56:58 UTC
Created attachment 633370 [details]
build.log.xz

[...]
 4:40.01 /usr/bin/powerpc64-unknown-linux-gnu-g++ -std=gnu++17 -o nsHttpChannelAuthProvider.o -c  -I/var/tmp/portage/www-client/firefox-75.0/work/firefox-75.0/ff/dist/stl_wrappers -I/var/tmp/portage/www-client/firefox-75.0/work/firefox-75.0/ff/dist/system_wrappers -include /var/tmp/portage/www-client/firefox-75.0/work/firefox-75.0/config/gcc_hidden.h -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DNDEBUG=1 -DTRIMMED=1 -DOS_POSIX=1 -DOS_LINUX=1 -DMOZ_HAS_MOZGLUE -DMOZILLA_INTERNAL_API -DIMPL_LIBXUL -DSTATIC_EXPORTABLE_JS_API -I/var/tmp/portage/www-client/firefox-75.0/work/firefox-75.0/netwerk/protocol/http -I/var/tmp/portage/www-client/firefox-75.0/work/firefox-75.0/ff/netwerk/protocol/http -I/var/tmp/portage/www-client/firefox-75.0/work/firefox-75.0/ff/ipc/ipdl/_ipdlheaders -I/var/tmp/portage/www-client/firefox-75.0/work/firefox-75.0/ipc/chromium/src -I/var/tmp/portage/www-client/firefox-75.0/work/firefox-75.0/ipc/glue -I/var/tmp/portage/www-client/firefox-75.0/work/firefox-75.0/dom/base -I/var/tmp/portage/www-client/firefox-75.0/work/firefox-75.0/extensions/auth -I/var/tmp/portage/www-client/firefox-75.0/work/firefox-75.0/netwerk/base -I/var/tmp/portage/www-client/firefox-75.0/work/firefox-75.0/netwerk/cookie -I/var/tmp/portage/www-client/firefox-75.0/work/firefox-75.0/netwerk/ipc -I/var/tmp/portage/www-client/firefox-75.0/work/firefox-75.0/netwerk/socket/neqo_glue -I/var/tmp/portage/www-client/firefox-75.0/work/firefox-75.0/netwerk/url-classifier -I/var/tmp/portage/www-client/firefox-75.0/work/firefox-75.0/ff/dist/include -I/usr/include/nspr -I/usr/include/nss -I/var/tmp/portage/www-client/firefox-75.0/work/firefox-75.0/ff/dist/include/nss -I/usr/include/pixman-1 -fPIC -DMOZILLA_CLIENT -include /var/tmp/portage/www-client/firefox-75.0/work/firefox-75.0/ff/mozilla-config.h -Wall -Wempty-body -Wignored-qualifiers -Woverloaded-virtual -Wpointer-arith -Wsign-compare -Wtype-limits -Wunreachable-code -Wwrite-strings -Wno-invalid-offsetof -Wduplicated-cond -Wimplicit-fallthrough -Wunused-function -Wunused-variable -Wno-error=maybe-uninitialized -Wno-error=deprecated-declarations -Wno-error=array-bounds -Wno-error=coverage-mismatch -Wno-error=free-nonheap-object -Wno-multistatement-macros -Wno-error=class-memaccess -Wno-error=deprecated-copy -Wformat -Wformat-security -Wformat-overflow=2 -fno-sized-deallocation -fno-aligned-new -mcpu=power9 -pipe -flifetime-dse=1 -fno-exceptions -fno-strict-aliasing -fno-rtti -ffunction-sections -fdata-sections -fno-exceptions -fno-math-errno -pthread -pipe -freorder-blocks -O2 -fomit-frame-pointer -funwind-tables  -MD -MP -MF .deps/nsHttpChannelAuthProvider.o.pp  -fdiagnostics-color  /var/tmp/portage/www-client/firefox-75.0/work/firefox-75.0/netwerk/protocol/http/nsHttpChannelAuthProvider.cpp
 4:40.01 gmake[4]: Leaving directory '/var/tmp/portage/www-client/firefox-75.0/work/firefox-75.0/ff/netwerk/protocol/http'
 4:40.17 error: couldn't read /var/tmp/portage/www-client/firefox-75.0/work/firefox-75.0/third_party/rust/authenticator/src/linux/ioctl_powerpc64be.rs: No such file or directory (os error 2)
 4:40.17   --> /var/tmp/portage/www-client/firefox-75.0/work/firefox-75.0/third_party/rust/authenticator/src/linux/hidwrapper.rs:30:1
 4:40.17    |
 4:40.18 30 | include!("ioctl_powerpc64be.rs");
 4:40.18    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
 4:40.18 error: aborting due to previous error
 4:40.18 error: could not compile `authenticator`.
 4:40.18 Caused by:
 4:40.19   process didn't exit successfully: `LD_LIBRARY_PATH='/var/tmp/portage/www-client/firefox-75.0/work/firefox-75.0/ff/release/deps:/opt/rust-bin-1.41.1/lib' CARGO_PKG_VERSION_MAJOR=0 CARGO_PKG_VERSION_PRE= CARGO_PKG_HOMEPAGE= CARGO_PKG_VERSION=0.2.9 CARGO_PKG_DESCRIPTION='Library for interacting with CTAP1/2 security keys for Web Authentication. Used by Firefox.' CARGO=/opt/rust-bin-1.41.1/bin/cargo-bin-1.41.1 OUT_DIR=/var/tmp/portage/www-client/firefox-75.0/work/firefox-75.0/ff/powerpc64-unknown-linux-gnu/release/build/authenticator-0cec1065b4c69965/out CARGO_MANIFEST_DIR=/var/tmp/portage/www-client/firefox-75.0/work/firefox-75.0/third_party/rust/authenticator CARGO_PKG_NAME=authenticator CARGO_PKG_VERSION_MINOR=2 CARGO_PKG_VERSION_PATCH=9 CARGO_PKG_REPOSITORY='https://github.com/mozilla/authenticator-rs/' CARGO_PKG_AUTHORS='J.C. Jones <jc@mozilla.com>:Tim Taubert <ttaubert@mozilla.com>:Kyle Machulis <kyle@nonpolynomial.com>' /usr/bin/rustc --crate-name authenticator /var/tmp/portage/www-client/firefox-75.0/work/firefox-75.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 codegen-units=1 -C metadata=43700e029f0b71c0 -C extra-filename=-43700e029f0b71c0 --out-dir /var/tmp/portage/www-client/firefox-75.0/work/firefox-75.0/ff/powerpc64-unknown-linux-gnu/release/deps --target powerpc64-unknown-linux-gnu -C linker=/var/tmp/portage/www-client/firefox-75.0/work/firefox-75.0/build/cargo-linker -L dependency=/var/tmp/portage/www-client/firefox-75.0/work/firefox-75.0/ff/powerpc64-unknown-linux-gnu/release/deps -L dependency=/var/tmp/portage/www-client/firefox-75.0/work/firefox-75.0/ff/release/deps --extern bitflags=/var/tmp/portage/www-client/firefox-75.0/work/firefox-75.0/ff/powerpc64-unknown-linux-gnu/release/deps/libbitflags-cf42e4cdafff19d3.rmeta --extern boxfnonce=/var/tmp/portage/www-client/firefox-75.0/work/firefox-75.0/ff/powerpc64-unknown-linux-gnu/release/deps/libboxfnonce-e046efbf721650fe.rmeta --extern libc=/var/tmp/portage/www-client/firefox-75.0/work/firefox-75.0/ff/powerpc64-unknown-linux-gnu/release/deps/liblibc-01ebc500b2d2b7d0.rmeta --extern libudev=/var/tmp/portage/www-client/firefox-75.0/work/firefox-75.0/ff/powerpc64-unknown-linux-gnu/release/deps/liblibudev-eebe92dafe960265.rmeta --extern log=/var/tmp/portage/www-client/firefox-75.0/work/firefox-75.0/ff/powerpc64-unknown-linux-gnu/release/deps/liblog-316bd7b6550c8d44.rmeta --extern rand=/var/tmp/portage/www-client/firefox-75.0/work/firefox-75.0/ff/powerpc64-unknown-linux-gnu/release/deps/librand-567999a99a4bcc6d.rmeta --extern runloop=/var/tmp/portage/www-client/firefox-75.0/work/firefox-75.0/ff/powerpc64-unknown-linux-gnu/release/deps/librunloop-ea0545ac0cc15c29.rmeta --cap-lints warn -C opt-level=2 --cap-lints warn` (exit code: 1)
 4:40.19 warning: build failed, waiting for other jobs to finish...
[...]

Tried to build with these flags:
[ebuild  N    ~] www-client/firefox-75.0::gentoo  USE="gmp-autoupdate pulseaudio screenshot startup-notification system-av1 system-harfbuzz system-icu system-jpeg system-libevent system-libvpx system-webp -bindist -clang -custom-cflags -custom-optimization -debug (-eme-free) -geckodriver -hardened -hwaccel -jack -lto (-pgo) (-selinux) -test -wayland -wifi"
Comment 1 ernsteiswuerfel archtester 2020-04-17 07:59:25 UTC
Created attachment 633372 [details]
emerge --info
Comment 2 michel_mno 2020-05-12 16:06:42 UTC
FYIO, still problem with Firefox-76 on openSUSE as per https://build.opensuse.org/package/show/mozilla:Factory/MozillaFirefox
Comment 3 ernsteiswuerfel archtester 2020-08-10 19:03:44 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.