I try to emerge firefox on my RPi4 - have tried it with versions beginning from about 96 or so. But it seems it works for everyone but not for me...
I have this in /etc/portage/package.accept_keywords/package.keywords.original:
Code: Select all
# Firefox
www-client/firefox **
<=dev-util/cbindgen-0.20.0 ~arm
<=dev-libs/nss-3.77 ~arm
<=media-libs/libvpx-1.10.0 ~arm
<=media-libs/dav1d-1.0.0 ~arm
<virtual/rust-1.60 ~arm
<dev-lang/rust-bin-1.60 ~armThese are the last lines I got:
Code: Select all
42:06.37 running: "/usr/lib/ccache/bin/armv7a-unknown-linux-gnueabihf-clang++" "-O1" "-ffunction-sections" "-fdata-sections" "-fPIC" "--target=armv7-unknown-linux-gnueabihf" "-std=gnu++17" "-I/var/tmp/portage/www-client/firefox-99.0.1/work/firefox_build/dist/stl_wrappers" "-I/var/tmp/portage/www-client/firefox-99.0.1/work/firefox_build/dist/system_wrappers" "-include" "/var/tmp/portage/www-client/firefox-99.0.1/work/firefox-99.0.1/config/gcc_hidden.h" "-U_FORTIFY_SOURCE" "-D_FORTIFY_SOURCE=2" "-fstack-protector-strong" "-DNDEBUG=1" "-DTRIMMED=1" "-I/var/tmp/portage/www-client/firefox-99.0.1/work/firefox-99.0.1/toolkit/library/rust" "-I/var/tmp/portage/www-client/firefox-99.0.1/work/firefox_build/toolkit/library/rust" "-I/var/tmp/portage/www-client/firefox-99.0.1/work/firefox_build/dist/include" "-I/usr/include/nspr" "-I/usr/include/nss" "-I/usr/include/nspr" "-I/var/tmp/portage/www-client/firefox-99.0.1/work/firefox_build/dist/include/nss" "-I/usr/include/libpng16" "-I/usr/include/pixman-1" "-DMOZILLA_CLIENT" "-include" "/var/tmp/portage/www-client/firefox-99.0.1/work/firefox_build/mozilla-config.h" "-Qunused-arguments" "-Qunused-arguments" "-Wall" "-Wbitfield-enum-conversion" "-Wdeprecated-this-capture" "-Wempty-body" "-Wformat-type-confusion" "-Wignored-qualifiers" "-Wpointer-arith" "-Wshadow-field-in-constructor-modified" "-Wsign-compare" "-Wtype-limits" "-Wno-error=tautological-type-limit-compare" "-Wunreachable-code" "-Wunreachable-code-return" "-Wunused-but-set-parameter" "-Wno-invalid-offsetof" "-Wclass-varargs" "-Wempty-init-stmt" "-Wfloat-overflow-conversion" "-Wfloat-zero-conversion" "-Wloop-analysis" "-Wno-range-loop-analysis" "-Wc++2a-compat" "-Wcomma" "-Wenum-compare-conditional" "-Wimplicit-fallthrough" "-Wstring-conversion" "-Wno-inline-new-delete" "-Wno-error=deprecated-declarations" "-Wno-error=array-bounds" "-Wno-error=backend-plugin" "-Wno-error=free-nonheap-object" "-Wno-error=return-std-move" "-Wno-error=atomic-alignment" "-Wno-error=deprecated-copy" "-Wformat" "-Wformat-security" "-Wno-gnu-zero-variadic-macro-arguments" "-Wno-psabi" "-Wno-unknown-warning-option" "-fno-sized-deallocation" "-fno-aligned-new" "-pipe" "-march=armv7-a" "-mfpu=vfpv3-d16" "-mfloat-abi=hard" "-mfpu=neon" "-mfloat-abi=hard" "-fno-exceptions" "-fPIC" "-fno-rtti" "-ffunction-sections" "-fdata-sections" "-fno-exceptions" "-fno-math-errno" "-pthread" "-pipe" "-O2" "-fomit-frame-pointer" "-funwind-tables" "-fno-strict-aliasing" "-DMOZILLA_CONFIG_H" "-I" "glsl-optimizer/include" "-I" "glsl-optimizer/src/mesa" "-I" "glsl-optimizer/src/mapi" "-I" "glsl-optimizer/src/compiler" "-I" "glsl-optimizer/src/compiler/glsl" "-I" "glsl-optimizer/src/gallium/auxiliary" "-I" "glsl-optimizer/src/gallium/include" "-I" "glsl-optimizer/src" "-I" "glsl-optimizer/src/util" "-D__STDC_FORMAT_MACROS" "-D_GNU_SOURCE" "-DHAVE_ENDIAN_H" "-DHAVE_PTHREAD" "-DHAVE_TIMESPEC_GET" "-DMOZ_INCLUDE_MOZALLOC_H" "-Dmozilla_throw_gcc_h" "-o" "/var/tmp/portage/www-client/firefox-99.0.1/work/firefox_build/release/build/glslopt-92bcba5d1bcaa656/out/glsl-optimizer/src/compiler/glsl_types.o" "-c" "glsl-optimizer/src/compiler/glsl_types.cpp"
42:06.37 cargo:warning=distcc[6905] ERROR: compile (null) on localhost failed
42:06.38 cargo:warning=In file included from glsl-optimizer/src/compiler/glsl_types.cpp:25:
42:06.38 cargo:warning=In file included from glsl-optimizer/src/mesa/main/macros.h:35:
42:06.38 cargo:warning=In file included from glsl-optimizer/src/util/u_math.h:42:
42:06.38 cargo:warning=In file included from glsl-optimizer/include/c99_math.h:194:
42:06.38 cargo:warning=In file included from /var/tmp/portage/www-client/firefox-99.0.1/work/firefox_build/dist/stl_wrappers/cmath:64:
42:06.38 cargo:warning=/var/tmp/portage/www-client/firefox-99.0.1/work/firefox_build/dist/system_wrappers/cmath:3:15: fatal error: 'cmath' file not found
42:06.38 cargo:warning=#include_next <cmath>
42:06.38 cargo:warning= ^~~~~~~
42:06.38 cargo:warning=1 error generated.
42:06.38 cargo:warning=distcc[6901] ERROR: compile glsl-optimizer/src/compiler/glsl_types.cpp on ishtar/7 failed
42:06.39 cargo:warning=distcc[6901] (dcc_build_somewhere) Warning: remote compilation of 'glsl-optimizer/src/compiler/glsl_types.cpp' failed, retrying locally
42:06.39 cargo:warning=distcc[6901] Warning: failed to distribute glsl-optimizer/src/compiler/glsl_types.cpp to ishtar/7, running locally instead
42:06.39 cargo:warning=In file included from glsl-optimizer/src/compiler/glsl_types.cpp:25:
42:06.39 cargo:warning=In file included from glsl-optimizer/src/mesa/main/macros.h:35:
42:06.39 cargo:warning=In file included from glsl-optimizer/src/util/u_math.h:42:
42:06.39 cargo:warning=In file included from glsl-optimizer/include/c99_math.h:194:
42:06.39 cargo:warning=In file included from /var/tmp/portage/www-client/firefox-99.0.1/work/firefox_build/dist/stl_wrappers/cmath:64:
42:06.39 cargo:warning=/var/tmp/portage/www-client/firefox-99.0.1/work/firefox_build/dist/system_wrappers/cmath:3:15: fatal error: 'cmath' file not found
42:06.39 cargo:warning=#include_next <cmath>
42:06.39 cargo:warning= ^~~~~~~
42:06.39 cargo:warning=1 error generated.
42:06.39 cargo:warning=distcc[6901] ERROR: compile glsl-optimizer/src/compiler/glsl_types.cpp on localhost failed
42:06.40 exit status: 1
42:06.40 --- stderr
42:06.40 error occurred: Command "/usr/lib/ccache/bin/armv7a-unknown-linux-gnueabihf-clang++" "-O1" "-ffunction-sections" "-fdata-sections" "-fPIC" "--target=armv7-unknown-linux-gnueabihf" "-std=gnu++17" "-I/var/tmp/portage/www-client/firefox-99.0.1/work/firefox_build/dist/stl_wrappers" "-I/var/tmp/portage/www-client/firefox-99.0.1/work/firefox_build/dist/system_wrappers" "-include" "/var/tmp/portage/www-client/firefox-99.0.1/work/firefox-99.0.1/config/gcc_hidden.h" "-U_FORTIFY_SOURCE" "-D_FORTIFY_SOURCE=2" "-fstack-protector-strong" "-DNDEBUG=1" "-DTRIMMED=1" "-I/var/tmp/portage/www-client/firefox-99.0.1/work/firefox-99.0.1/toolkit/library/rust" "-I/var/tmp/portage/www-client/firefox-99.0.1/work/firefox_build/toolkit/library/rust" "-I/var/tmp/portage/www-client/firefox-99.0.1/work/firefox_build/dist/include" "-I/usr/include/nspr" "-I/usr/include/nss" "-I/usr/include/nspr" "-I/var/tmp/portage/www-client/firefox-99.0.1/work/firefox_build/dist/include/nss" "-I/usr/include/libpng16" "-I/usr/include/pixman-1" "-DMOZILLA_CLIENT" "-include" "/var/tmp/portage/www-client/firefox-99.0.1/work/firefox_build/mozilla-config.h" "-Qunused-arguments" "-Qunused-arguments" "-Wall" "-Wbitfield-enum-conversion" "-Wdeprecated-this-capture" "-Wempty-body" "-Wformat-type-confusion" "-Wignored-qualifiers" "-Wpointer-arith" "-Wshadow-field-in-constructor-modified" "-Wsign-compare" "-Wtype-limits" "-Wno-error=tautological-type-limit-compare" "-Wunreachable-code" "-Wunreachable-code-return" "-Wunused-but-set-parameter" "-Wno-invalid-offsetof" "-Wclass-varargs" "-Wempty-init-stmt" "-Wfloat-overflow-conversion" "-Wfloat-zero-conversion" "-Wloop-analysis" "-Wno-range-loop-analysis" "-Wc++2a-compat" "-Wcomma" "-Wenum-compare-conditional" "-Wimplicit-fallthrough" "-Wstring-conversion" "-Wno-inline-new-delete" "-Wno-error=deprecated-declarations" "-Wno-error=array-bounds" "-Wno-error=backend-plugin" "-Wno-error=free-nonheap-object" "-Wno-error=return-std-move" "-Wno-error=atomic-alignment" "-Wno-error=deprecated-copy" "-Wformat" "-Wformat-security" "-Wno-gnu-zero-variadic-macro-arguments" "-Wno-psabi" "-Wno-unknown-warning-option" "-fno-sized-deallocation" "-fno-aligned-new" "-pipe" "-march=armv7-a" "-mfpu=vfpv3-d16" "-mfloat-abi=hard" "-mfpu=neon" "-mfloat-abi=hard" "-fno-exceptions" "-fPIC" "-fno-rtti" "-ffunction-sections" "-fdata-sections" "-fno-exceptions" "-fno-math-errno" "-pthread" "-pipe" "-O2" "-fomit-frame-pointer" "-funwind-tables" "-fno-strict-aliasing" "-DMOZILLA_CONFIG_H" "-I" "glsl-optimizer/include" "-I" "glsl-optimizer/src/mesa" "-I" "glsl-optimizer/src/mapi" "-I" "glsl-optimizer/src/compiler" "-I" "glsl-optimizer/src/compiler/glsl" "-I" "glsl-optimizer/src/gallium/auxiliary" "-I" "glsl-optimizer/src/gallium/include" "-I" "glsl-optimizer/src" "-I" "glsl-optimizer/src/util" "-D__STDC_FORMAT_MACROS" "-D_GNU_SOURCE" "-DHAVE_ENDIAN_H" "-DHAVE_PTHREAD" "-DHAVE_TIMESPEC_GET" "-DMOZ_INCLUDE_MOZALLOC_H" "-Dmozilla_throw_gcc_h" "-o" "/var/tmp/portage/www-client/firefox-99.0.1/work/firefox_build/release/build/glslopt-92bcba5d1bcaa656/out/glsl-optimizer/src/compiler/glsl_types.o" "-c" "glsl-optimizer/src/compiler/glsl_types.cpp" with args "armv7a-unknown-linux-gnueabihf-clang++" did not execute successfully (status code exit status: 1).
42:06.40 gmake[4]: *** [/var/tmp/portage/www-client/firefox-99.0.1/work/firefox-99.0.1/config/makefiles/rust.mk:426: force-cargo-library-build] Error 101
42:06.40 gmake[4]: Leaving directory '/var/tmp/portage/www-client/firefox-99.0.1/work/firefox_build/toolkit/library/rust'
42:06.40 gmake[3]: *** [/var/tmp/portage/www-client/firefox-99.0.1/work/firefox-99.0.1/config/recurse.mk:72: toolkit/library/rust/target] Error 2
42:06.40 gmake[3]: Leaving directory '/var/tmp/portage/www-client/firefox-99.0.1/work/firefox_build'
42:06.40 gmake[2]: *** [/var/tmp/portage/www-client/firefox-99.0.1/work/firefox-99.0.1/config/recurse.mk:34: compile] Error 2
42:06.40 gmake[2]: Leaving directory '/var/tmp/portage/www-client/firefox-99.0.1/work/firefox_build'
42:06.40 gmake[1]: *** [/var/tmp/portage/www-client/firefox-99.0.1/work/firefox-99.0.1/config/rules.mk:352: default] Error 2
42:06.41 gmake[1]: Leaving directory '/var/tmp/portage/www-client/firefox-99.0.1/work/firefox_build'
42:06.41 gmake: *** [client.mk:63: build] Error 2
42:06.41 0 compiler warnings present.
* ERROR: www-client/firefox-99.0.1::gentoo failed (compile phase):
* (no error message)
*
* Call stack:
* ebuild.sh, line 127: Called src_compile
* environment, line 5260: Called die
* The specific snippet of code:
* ${virtx_cmd} ./mach build --verbose || die
*
* If you need support, post the output of `emerge --info '=www-client/firefox-99.0.1::gentoo'`,
* the complete build log and the output of `emerge -pqv '=www-client/firefox-99.0.1::gentoo'`.
* The complete build log is located at '/var/tmp/portage/www-client/firefox-99.0.1/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/www-client/firefox-99.0.1/temp/environment'.
* Working directory: '/var/tmp/portage/www-client/firefox-99.0.1/work/firefox-99.0.1'
* S: '/var/tmp/portage/www-client/firefox-99.0.1/work/firefox-99.0.1'https://dpaste.com/9TPL33P3Q
Please, tell me, why does it compile for others but not for me?
Thanks a lot for some insights!
Andy
btw: chromium also fails - epiphany emerges but is not a decent choice of browser...



