Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
firefox-123.0.1-r1 does not compile on Raspberry Pi4[solved]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo on ARM
View previous topic :: View next topic  
Author Message
Lebkoungcity
Apprentice
Apprentice


Joined: 16 Nov 2008
Posts: 221
Location: near Lebkoungcity (='Gingerbreadcity' =Nuremberg)

PostPosted: Thu Mar 14, 2024 3:45 pm    Post subject: firefox-123.0.1-r1 does not compile on Raspberry Pi4[solved] Reply with quote

Hello,

so far I have been able to successfully emerge Firefox on my 32bit-system Raspberry Pi4 (most problems vanished after a while as versions progressed). But versions 123.0, 123.0.1 and 123.0.1-r1 do not compile. I tried with and without ccache&distcc, also with -j1, unfortunately without success.
Would someone with more knowledge than I have take a look at the build.log and give some hints in which direction I could go on? There's lots of cargo:warning= that I don't understand and I don't know if that's the problem... (Uh... Yes, the real problem is really that I don't understand it... But what I'm trying to say is more like whether the problem is with the cargo:warning=-thingy :wink: )

Thanks a lot!
Andy

/var/tmp/portage/www-client/firefox-123.0.1-r1/temp/build.log
https://0x0.st/HFA-.log

example:
Code:
7872:53.10(B [lmdb-rkv-sys 0.11.2] running: "/usr/lib/ccache/bin/armv7a-unknown-linux-gnueabihf-clang-17" "-O2" "-ffunction-sections" "-fdata-sections" "-fPIC" "--target=armv7-unknown-linux-gnueabihf" "-std=gnu99" "-I/var/tmp/portage/www-client/firefox-123.0.1-r1/work/firefox_build/dist/system_wrappers" "-include" "/var/tmp/portage/www-client/firefox-123.0.1-r1/work/firefox-123.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-123.0.1-r1/work/firefox_build/dist/include" "-I/usr/include/nspr" "-I/usr/include/nss" "-I/usr/include/nspr" "-I/var/tmp/portage/www-client/firefox-123.0.1-r1/work/firefox_build/dist/include/nss" "-I/usr/include/libpng16" "-I/usr/include/pixman-1" "-include" "/var/tmp/portage/www-client/firefox-123.0.1-r1/work/firefox_build/mozilla-config.h" "-DMOZILLA_CLIENT" "-pipe" "-march=armv7-a" "-mfpu=neon-vfpv4" "-mfloat-abi=hard" "-mfpu=neon" "-mfloat-abi=hard" "-fPIC" "-ffunction-sections" "-fdata-sections" "-fno-math-errno" "-pthread" "-pipe" "-O2" "-fomit-frame-pointer" "-funwind-tables" "-Wno-error=tautological-type-limit-compare" "-Wno-range-loop-analysis" "-Wno-error=deprecated-declarations" "-Wno-error=array-bounds" "-Wno-error=free-nonheap-object" "-Wno-error=atomic-alignment" "-Wno-error=deprecated-builtins" "-Wno-psabi" "-Wno-error=builtin-macro-redefined" "-Wno-unknown-warning-option" "-fno-strict-aliasing" "-ffp-contract=off" "-DMOZILLA_CONFIG_H" "-DMDB_IDL_LOGN=9" "-o" "/var/tmp/portage/www-client/firefox-123.0.1-r1/work/firefox_build/armv7-unknown-linux-gnueabihf/release/build/lmdb-rkv-sys-f181ff415dd85b5e/out/64b57ec8930bcb0d-mdb.o" "-c" "/var/tmp/portage/www-client/firefox-123.0.1-r1/work/firefox-123.0.1/third_party/rust/lmdb-rkv-sys/lmdb/libraries/liblmdb/mdb.c"(B(B
7872:53.22(B [lmdb-rkv-sys 0.11.2] cargo:warning=distcc[5932] ERROR: compile (null) on localhost failed(B(B
7872:53.91(B [lmdb-rkv-sys 0.11.2] exit status: 0(B(B
7872:54.25(B [lmdb-rkv-sys 0.11.2] cargo:warning=distcc[5934] ERROR: compile (null) on localhost failed(B(B
7873:03.92(B [lmdb-rkv-sys 0.11.2] exit status: 0(B(B
7873:03.92(B [lmdb-rkv-sys 0.11.2] cargo:rerun-if-env-changed=AR_armv7-unknown-linux-gnueabihf(B(B
7873:03.93(B [lmdb-rkv-sys 0.11.2] AR_armv7-unknown-linux-gnueabihf = None(B(B
7873:03.94(B [lmdb-rkv-sys 0.11.2] cargo:rerun-if-env-changed=AR_armv7_unknown_linux_gnueabihf(B(B
7873:03.94(B [lmdb-rkv-sys 0.11.2] AR_armv7_unknown_linux_gnueabihf = Some("/usr/lib/llvm/17/bin/llvm-ar")(B(B
7873:03.97(B [lmdb-rkv-sys 0.11.2] running: ZERO_AR_DATE="1" "/usr/lib/llvm/17/bin/llvm-ar" "cq" "/var/tmp/portage/www-client/firefox-123.0.1-r1/work/firefox_build/armv7-unknown-linux-gnueabihf/release/build/lmdb-rkv-sys-f181ff415dd85b5e/out/liblmdb.a" "/var/tmp/portage/www-client/firefox-123.0.1-r1/work/firefox_build/armv7-unknown-linux-gnueabihf/release/build/lmdb-rkv-sys-f181ff415dd85b5e/out/64b57ec8930bcb0d-mdb.o" "/var/tmp/portage/www-client/firefox-123.0.1-r1/work/firefox_build/armv7-unknown-linux-gnueabihf/release/build/lmdb-rkv-sys-f181ff415dd85b5e/out/64b57ec8930bcb0d-midl.o"(B(B
7873:04.00(B [lmdb-rkv-sys 0.11.2] exit status: 0(B(B
7873:04.01(B [lmdb-rkv-sys 0.11.2] running: "/usr/lib/llvm/17/bin/llvm-ar" "s" "/var/tmp/portage/www-client/firefox-123.0.1-r1/work/firefox_build/armv7-unknown-linux-gnueabihf/release/build/lmdb-rkv-sys-f181ff415dd85b5e/out/liblmdb.a"(B(B
7873:04.06(B [lmdb-rkv-sys 0.11.2] exit status: 0(B(B
7873:04.09(B [lmdb-rkv-sys 0.11.2] cargo:rustc-link-lib=static=lmdb(B(B
7873:04.10(B [lmdb-rkv-sys 0.11.2] cargo:rustc-link-search=native=/var/tmp/portage/www-client/firefox-123.0.1-r1/work/firefox_build/armv7-unknown-linux-gnueabihf/release/build/lmdb-rkv-sys-f181ff415dd85b5e/out(B(B
7873:04.11(B warning: distcc[5932] ERROR: compile (null) on localhost failed(B(B
7873:04.11(B warning: distcc[5934] ERROR: compile (null) on localhost failed(B(B
7873:04.15(B      Running `CARGO=/opt/rust-bin-1.74.1/bin/cargo-bin-1.74.1 CARGO_CRATE_NAME=num_integer CARGO_MANIFEST_DIR=/var/tmp/portage/www-client/firefox-123.0.1-r1/work/firefox-123.0.1/third_party/rust/num-integer CARGO_PKG_AUTHORS='The Rust Project Developers' CARGO_PKG_DESCRIPTION='Integer traits and functions' CARGO_PKG_HOMEPAGE='https://github.com/rust-num/num-integer' CARGO_PKG_LICENSE='MIT OR Apache-2.0' CARGO_PKG_LICENSE_FILE='' CARGO_PKG_NAME=num-integer CARGO_PKG_README=README.md CARGO_PKG_REPOSITORY='https://github.com/rust-num/num-integer' CARGO_PKG_RUST_VERSION='' CARGO_PKG_VERSION=0.1.45 CARGO_PKG_VERSION_MAJOR=0 CARGO_PKG_VERSION_MINOR=1 CARGO_PKG_VERSION_PATCH=45 CARGO_PKG_VERSION_PRE='' LD_LIBRARY_PATH='/var/tmp/portage/www-client/firefox-123.0.1-r1/work/firefox_build/release/deps:/opt/rust-bin-1.74.1/lib' OUT_DIR=/var/tmp/portage/www-client/firefox-123.0.1-r1/work/firefox_build/armv7-unknown-linux-gnueabihf/release/build/num-integer-0a1c0f2ac669ac03/out /usr/bin/rustc --crate-name num_integer /var/tmp/portage/www-client/firefox-123.0.1-r1/work/firefox-123.0.1/third_party/rust/num-integer/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=2 -C panic=abort -C embed-bitcode=no --cfg 'feature="default"' --cfg 'feature="std"' -C metadata=79ce5c96ebfff8c0 -C extra-filename=-79ce5c96ebfff8c0 --out-dir /var/tmp/portage/www-client/firefox-123.0.1-r1/work/firefox_build/armv7-unknown-linux-gnueabihf/release/deps --target armv7-unknown-linux-gnueabihf -C linker=/var/tmp/portage/www-client/firefox-123.0.1-r1/work/firefox-123.0.1/build/cargo-linker -L dependency=/var/tmp/portage/www-client/firefox-123.0.1-r1/work/firefox_build/armv7-unknown-linux-gnueabihf/release/deps -L dependency=/var/tmp/portage/www-client/firefox-123.0.1-r1/work/firefox_build/release/deps --extern num_traits=/var/tmp/portage/www-client/firefox-123.0.1-r1/work/firefox_build/armv7-unknown-linux-gnueabihf/release/deps/libnum_traits-cf6cc7ca434fae2a.rmeta --cap-lints warn --cap-lints warn -C codegen-units=1 --cfg has_i128`(B(B
7873:05.38(B distcc[5905] ERROR: compile (null) on localhost failed(B(B
7873:09.39(B    Compiling termcolor v1.4.0(B(B
7873:09.41(B      Running `CARGO=/opt/rust-bin-1.74.1/bin/cargo-bin-1.74.1 CARGO_CRATE_NAME=termcolor CARGO_MANIFEST_DIR=/var/tmp/portage/www-client/firefox-123.0.1-r1/work/firefox-123.0.1/third_party/rust/termcolor CARGO_PKG_AUTHORS='Andrew Gallant <jamslam@gmail.com>' CARGO_PKG_DESCRIPTION='A simple cross platform library for writing colored text to a terminal.(B(B

_________________
"The most dangerous world view is the world view of the ones who haven't viewed the world."
Alexander von Humboldt (1769-1859)


Last edited by Lebkoungcity on Mon Mar 18, 2024 2:26 pm; edited 1 time in total
Back to top
View user's profile Send private message
kgdrenefort
Guru
Guru


Joined: 19 Sep 2023
Posts: 312
Location: Somewhere in the 77

PostPosted: Thu Mar 14, 2024 3:59 pm    Post subject: Reply with quote

Hi,

not tried Gentoo on this stuff yet but Firefox is an heavy piece of software, that could be (I guess) able to compile but after a new release, a bit too much. That is pure speculation, so could you please tell us how is set the MAKEOPTS variable as USE and all lines about firefox into /etc/portage.

For example, I might remember the USE flag «jumbo-build» to decrease compilation time… while taking more RAM. Since a RPI4 as like ~4Gb it is likely to fail on big software.

So please could you paste your /etc/portage/make.conf file and tell us how many RAM you have, and if you have swap, the swapiness value too and how big it is:

Code:
cat /etc/portage/make.conf

Code:
grep -rin firefox /etc/portage/*

Code:
sysctl vm.swapiness

Code:
free -m


Sorry to not bring more useful informations.

Regards,
GASPARD DE RENEFORT
_________________
Traduction wiki, pour praticiper.
Custom logos/biz card/website.
Back to top
View user's profile Send private message
kgdrenefort
Guru
Guru


Joined: 19 Sep 2023
Posts: 312
Location: Somewhere in the 77

PostPosted: Thu Mar 14, 2024 4:02 pm    Post subject: Reply with quote

And you already had the same problem before, right here, and no fix I think ? Maybe you find a workaround and forgot to share :P ?

Regards,
GASPARD DE RENEFORT Kévin
_________________
Traduction wiki, pour praticiper.
Custom logos/biz card/website.
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54578
Location: 56N 3W

PostPosted: Thu Mar 14, 2024 5:19 pm    Post subject: Reply with quote

Lebkoungcity.


Please post the output of
Code:
emerge --info
and
Code:
resolve-march-native

You may need to install resolve-march-native.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
Lebkoungcity
Apprentice
Apprentice


Joined: 16 Nov 2008
Posts: 221
Location: near Lebkoungcity (='Gingerbreadcity' =Nuremberg)

PostPosted: Thu Mar 14, 2024 10:00 pm    Post subject: Reply with quote

NeddySeagoon,

thanks for taking a look!

Sorry, I forgot to post emerge --info. Here it comes:

Code:
# emerge --info
Portage 3.0.61 (python 3.11.8-final-0, default/linux/arm/17.0/armv7a/desktop/plasma, gcc-13, glibc-2.38-r10, 6.1.21-v8+ aarch64)
=================================================================
System uname: Linux-6.1.21-v8+-aarch64-with-glibc2.38
KiB Mem:     7948712 total,   6348388 free
KiB Swap:    5860348 total,   5860348 free
Timestamp of repository gentoo: Thu, 14 Mar 2024 13:30:00 +0000
Head commit of repository gentoo: 07038e9580ecc2045779657ebb4869de3bdadbfd
sh bash 5.1_p16-r6
ld GNU ld (Gentoo 2.40 p7) 2.40.0
distcc 3.4 armv7a-unknown-linux-gnueabihf [enabled]
ccache version 4.9.1 [enabled]
app-misc/pax-utils:        1.3.7::gentoo
app-shells/bash:           5.1_p16-r6::gentoo
dev-build/autoconf:        2.13-r8::gentoo, 2.71-r6::gentoo
dev-build/automake:        1.16.5-r2::gentoo
dev-build/cmake:           3.27.9::gentoo
dev-build/libtool:         2.4.7-r2::gentoo
dev-build/make:            4.4.1-r1::gentoo
dev-build/meson:           1.3.1-r1::gentoo
dev-java/java-config:      2.3.3-r1::gentoo
dev-lang/perl:             5.38.2-r2::gentoo
dev-lang/python:           3.11.8_p1::gentoo, 3.12.2_p1::gentoo
dev-lang/rust-bin:         1.74.1::gentoo
dev-util/ccache:           4.9.1::gentoo
sys-apps/baselayout:       2.14-r2::gentoo
sys-apps/openrc:           0.53::gentoo
sys-apps/sandbox:          2.38::gentoo
sys-devel/binutils:        2.40-r9::gentoo, 2.41-r5::gentoo
sys-devel/binutils-config: 5.5::gentoo
sys-devel/clang:           16.0.6::gentoo, 17.0.6::gentoo
sys-devel/gcc:             13.2.1_p20240113-r1::gentoo
sys-devel/gcc-config:      2.11::gentoo
sys-devel/lld:             16.0.6::gentoo, 17.0.6::gentoo
sys-devel/llvm:            16.0.6::gentoo, 17.0.6::gentoo
sys-kernel/linux-headers:  6.6::gentoo (virtual/os-headers)
sys-libs/glibc:            2.38-r10::gentoo
Repositories:

x-portage
    location: /usr/local/portage
    masters: gentoo
    priority: 0
    volatile: True

gentoo
    location: /var/db/repos/gentoo
    sync-type: rsync
    sync-uri: rsync://rsync.gentoo.org/gentoo-portage
    priority: 1
    volatile: True
    sync-rsync-extra-opts:
    sync-rsync-verify-metamanifest: yes
    sync-rsync-verify-max-age: 3
    sync-rsync-verify-jobs: 1

ACCEPT_KEYWORDS="arm"
ACCEPT_LICENSE="@FREE"
CBUILD="armv7a-unknown-linux-gnueabihf"
CFLAGS="-O2 -pipe -march=armv7-a -mfpu=neon-vfpv4 -mfloat-abi=hard"
CHOST="armv7a-unknown-linux-gnueabihf"
CONFIG_PROTECT="/boot/cmdline.txt /boot/config.txt /etc /usr/share/config /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -pipe -march=armv7-a -mfpu=neon-vfpv4 -mfloat-abi=hard"
DISTDIR="/var/cache/distfiles"
ENV_UNSET="CARGO_HOME DBUS_SESSION_BUS_ADDRESS DISPLAY GDK_PIXBUF_MODULE_FILE GOBIN GOPATH PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR XDG_STATE_HOME"
FCFLAGS="-O2 -pipe -march=armv7-a -mfpu=neon-vfpv4 -mfloat-abi=hard"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs buildpkg buildpkg-live ccache config-protect-if-modified distcc distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news parallel-fetch pid-sandbox pkgdir-index-trusted preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe -march=armv7-a -mfpu=neon-vfpv4 -mfloat-abi=hard"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="de_DE.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LEX="flex"
LINGUAS="de_1901 de_DE de en"
MAKEOPTS="-j41 -l4"
PKGDIR="/var/cache/binpkgs"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git"
PORTAGE_TMPDIR="/var/tmp"
SHELL="/bin/bash"
USE="X a52 aac acl acoustid activities alsa arm branding browser-integration bzip2 cairo chromaprint cli crc32 crypt dav1d dbus declarative dri dts edsp egl elogind encode exif fdk ffmpeg flac fortran gbm gdbm gif gles gles1 gles2 gpm gstreamer gtk gui hwaccel iconv icu id3tag ipv6 jpeg kde kms kwallet lcms libaom libdrm libkms libnotify libv4l mad mmal mng mp3 mp4 mpeg multimedia ncurses neon nls ogg opengl openh264 openmp opus pam pango pcre pdf pipewire plasma png policykit pulseaudio qml qrcode qt5 raspberry-pi raspi readline sddm sdl seccomp sound spell split-usr ssl startup-notification svg system-av1 system-cairo system-ffmpeg system-harfbuzz system-icu system-jpeg system-libevent system-libvpx system-openjpeg system-png system-sqlite system-webp taglib test-rust theora thumb thumb2 tiff truetype udev udisks unicode upower usb v4 v4l v4l2 v5 v6 v7 v8 vfp vfp-d32 vfpv3 vfpv4 vmaf vorbis vpx vulkan wayland webp widevine widgets wxwidgets x264 x265 xattr xcb xft xml xv xvid zlib zvbi" ADA_TARGET="gnat_2021" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_anon authn_dbm authn_file authz_dbm authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir env expires ext_filter file_cache filter headers include info log_config logio mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="karbon sheets words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_ARM="edsp neon thumb thumb2 vfp vfpv3 vfpv4 vfp-d32 v4 v5 v6 v7" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock greis isync itrax mtk3301 ntrip navcom oceanserver oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 tsip tripmate tnt ublox" INPUT_DEVICES="libinput" KERNEL="linux" L10N="de-1901 de en" LCD_DEVICES="bayrad cfontz glk hd44780 lb216 lcdm001 mtxorb text" LUA_SINGLE_TARGET="lua5-1" LUA_TARGETS="lua5-1" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php8-1" POSTGRES_TARGETS="postgres15" PYTHON_SINGLE_TARGET="python3_11" PYTHON_TARGETS="python3_11" RUBY_TARGETS="ruby31" VIDEO_CARDS="vc4 v3d fbdev" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipp2p iface geoip fuzzy condition tarpit sysrq proto logmark ipmark dhcpmac delude chaos account"
Unset:  ADDR2LINE, AR, ARFLAGS, AS, ASFLAGS, CC, CCLD, CONFIG_SHELL, CPP, CPPFLAGS, CTARGET, CXX, CXXFILT, ELFEDIT, EMERGE_DEFAULT_OPTS, EXTRA_ECONF, F77FLAGS, FC, GCOV, GPROF, INSTALL_MASK, LC_ALL, LD, LFLAGS, LIBTOOL, MAKE, MAKEFLAGS, NM, OBJCOPY, OBJDUMP, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PYTHONPATH, RANLIB, READELF, RUSTFLAGS, SIZE, STRINGS, STRIP, YACC, YFLAGS


Code:
# resolve-march-native
-march=armv8-a+crc+simd

_________________
"The most dangerous world view is the world view of the ones who haven't viewed the world."
Alexander von Humboldt (1769-1859)
Back to top
View user's profile Send private message
Lebkoungcity
Apprentice
Apprentice


Joined: 16 Nov 2008
Posts: 221
Location: near Lebkoungcity (='Gingerbreadcity' =Nuremberg)

PostPosted: Thu Mar 14, 2024 10:04 pm    Post subject: Reply with quote

kgdrenefort,

thanks for your answer!

No, I didn't find a solution back then. I just waited and almost a year later I tried emerging Firefox again. Then it compiled and all subsequent versions did too, see:
Code:
# genlop -t firefox
 * www-client/firefox

     Sat Feb  4 23:07:03 2023 >>> www-client/firefox-109.0.1
       merge time: 6 hours, 11 minutes and 10 seconds.

     Thu Feb 16 00:22:34 2023 >>> www-client/firefox-109.0.1-r1
       merge time: 5 hours, 59 minutes and 42 seconds.

     Tue Feb 21 17:26:36 2023 >>> www-client/firefox-110.0
       merge time: 6 hours, 2 minutes and 25 seconds.

     Fri Mar  3 04:20:20 2023 >>> www-client/firefox-110.0.1
       merge time: 5 hours, 28 minutes and 47 seconds.

     Wed Mar 15 16:25:19 2023 >>> www-client/firefox-111.0
       merge time: 5 hours, 34 minutes and 50 seconds.

     Wed Apr 12 19:40:55 2023 >>> www-client/firefox-112.0
       merge time: 5 hours, 42 minutes and 21 seconds.

     Wed Apr 19 20:28:14 2023 >>> www-client/firefox-112.0.1
       merge time: 5 hours, 36 minutes and 31 seconds.

     Mon Apr 24 22:36:47 2023 >>> www-client/firefox-112.0.1
       merge time: 5 hours, 18 minutes and 31 seconds.

     Wed Apr 26 20:55:56 2023 >>> www-client/firefox-112.0.2
       merge time: 5 hours, 38 minutes and 12 seconds.

     Thu May  4 07:59:45 2023 >>> www-client/firefox-112.0.2
       merge time: 5 hours, 27 minutes and 17 seconds.

     Fri May 12 21:02:48 2023 >>> www-client/firefox-113.0
       merge time: 2 hours, 28 minutes.

     Mon May 15 02:10:53 2023 >>> www-client/firefox-113.0.1
       merge time: 5 hours, 41 minutes and 27 seconds.

     Sun May 21 18:45:49 2023 >>> www-client/firefox-113.0.1
       merge time: 5 hours, 23 minutes and 19 seconds.

     Fri May 26 03:16:54 2023 >>> www-client/firefox-113.0.2
       merge time: 5 hours, 53 minutes and 18 seconds.

     Sun Jun  4 18:56:38 2023 >>> www-client/firefox-113.0.2
       merge time: 3 hours, 55 minutes and 46 seconds.

     Wed Jun  7 16:33:33 2023 >>> www-client/firefox-114.0
       merge time: 5 hours, 59 minutes and 48 seconds.

     Fri Jul  7 21:10:18 2023 >>> www-client/firefox-115.0
       merge time: 4 hours, 17 minutes and 51 seconds.

     Fri Jul 14 00:25:07 2023 >>> www-client/firefox-115.0.2
       merge time: 6 hours, 47 minutes and 12 seconds.

     Wed Aug  2 19:35:28 2023 >>> www-client/firefox-116.0
       merge time: 5 hours, 55 minutes and 5 seconds.

     Sat Sep  2 10:27:25 2023 >>> www-client/firefox-117.0
       merge time: 5 hours, 53 minutes and 45 seconds.

     Sat Sep  9 01:17:52 2023 >>> www-client/firefox-117.0
       merge time: 3 hours, 35 minutes and 19 seconds.

     Thu Sep 14 23:01:59 2023 >>> www-client/firefox-117.0.1
       merge time: 5 hours, 56 minutes and 23 seconds.

     Tue Sep 26 21:31:27 2023 >>> www-client/firefox-118.0
       merge time: 6 hours, 2 minutes and 37 seconds.

     Sat Sep 30 03:14:19 2023 >>> www-client/firefox-118.0.1
       merge time: 5 hours, 54 minutes and 36 seconds.

     Fri Oct 13 03:07:04 2023 >>> www-client/firefox-118.0.2
       merge time: 6 hours, 23 minutes and 7 seconds.

     Wed Oct 25 10:36:48 2023 >>> www-client/firefox-119.0
       merge time: 5 hours, 57 minutes and 23 seconds.

     Thu Nov  9 23:44:22 2023 >>> www-client/firefox-119.0.1
       merge time: 6 hours, 13 minutes and 24 seconds.

     Wed Nov 22 08:12:54 2023 >>> www-client/firefox-120.0
       merge time: 15 hours, 57 minutes and 14 seconds.

     Fri Dec  1 15:43:59 2023 >>> www-client/firefox-120.0.1
       merge time: 15 hours, 15 minutes and 11 seconds.

     Thu Dec 21 17:24:47 2023 >>> www-client/firefox-121.0
       merge time: 6 hours, 12 minutes and 51 seconds.

     Thu Jan 11 00:51:50 2024 >>> www-client/firefox-121.0.1
       merge time: 6 hours, 25 minutes and 12 seconds.

     Wed Jan 24 02:52:37 2024 >>> www-client/firefox-122.0
       merge time: 6 hours, 17 minutes and 28 seconds.

     Tue Feb  6 21:33:40 2024 >>> www-client/firefox-122.0.1
       merge time: 6 hours, 18 minutes and 35 seconds.

     Wed Feb 21 04:14:23 2024 >>> www-client/firefox-122.0.1
       merge time: 6 hours, 17 minutes and 21 seconds.


See my previous post, it contains the output of 'emerge --info' (which I forgot in my opening post, sorry!), answering almost all of your questions. And of course I always needed to have this to be able to emerge firefox since trying it the first time in 2022:
Code:
# grep -rin firefox /etc/portage/*
/etc/portage/package.accept_keywords/package.keywords.original:60:www-client/firefox **


Memory is not the bottleneck for it is a RPi4 with 8GB RAM plus 5.6GB SWAP and as I've written, I tried it with -j1 also and it failed, too. But here we go, maybe you'll see something I can't see:
Code:
# free -m
              gesamt       benutzt     frei      gemns.  Puffer/Cache verfügbar
Speicher:       7762         239        6231           0        1404        7523
Swap:           5722           0        5722


Code:
# sysctl vm.swappiness
vm.swappiness = 60

_________________
"The most dangerous world view is the world view of the ones who haven't viewed the world."
Alexander von Humboldt (1769-1859)
Back to top
View user's profile Send private message
Lebkoungcity
Apprentice
Apprentice


Joined: 16 Nov 2008
Posts: 221
Location: near Lebkoungcity (='Gingerbreadcity' =Nuremberg)

PostPosted: Sun Mar 17, 2024 10:22 am    Post subject: Reply with quote

Last night I tried to compile it again explicitly without ccache and distcc:

Code:
FEATURES="-distcc -ccache" emerge -av firefox


The full log is here:
https://0x0.st/HCCT.log

Excerpt with lines I find interesting (there are many more but that would have been way too much lines):
Code:

 * Package:    www-client/firefox-123.0.1-r1:rapid
 * Repository: gentoo
 * Maintainer: mozilla@gentoo.org
 * USE:        X arm clang cpu_flags_arm_neon dbus elibc_glibc gmp-autoupdate hwaccel jumbo-build kernel_linux l10n_de llvm_slot_17 openh264 pulseaudio syst
em-av1 system-harfbuzz system-icu system-jpeg system-libevent system-libvpx system-png system-webp wayland
 * FEATURES:   network-sandbox preserve-libs sandbox userpriv usersandbox
 * Checking for at least 6400 MiB disk space at "/var/tmp/portage/www-client/firefox-123.0.1-r1/temp" ...
 [ ok ]
 * Checking whether python3_12 is suitable ...
 *   dev-lang/python:3.12[ncurses,sqlite,ssl] ...
 [ ok ]
 * Using python3.12 to build (via PYTHON_COMPAT iteration)
 * Determining the location of the kernel source code
 * Found kernel source directory:
 *     /usr/src/linux
 * Found sources for kernel version:
 *     6.1.21_p20230405-raspberrypi
 * Unable to check for the following kernel config options due
 * to absence of any configured kernel sources or compiled
 * config:
 *  - SECCOMP - CONFIG_SECCOMP not set! This system will be unable to play DRM-protected content.
 * You're on your own to make sure they are set if needed.
>>> Unpacking source...

(...)

53:30.42 [neqo-crypto 0.6.8] Failed to run rustfmt: No such file or directory (os error 2) (non-fatal, continuing)

(...)


54:29.12 [glslopt 0.1.9] running: "/usr/lib/llvm/17/bin/armv7a-unknown-linux-gnueabihf-clang++-17" "-O1" "-ffunction-sections" "-fdata-sections" "-fPIC" "-
-target=armv7-unknown-linux-gnueabihf" "-I/var/tmp/portage/www-client/firefox-123.0.1-r1/work/firefox_build/dist/stl_wrappers" "-I/var/tmp/portage/www-clien
t/firefox-123.0.1-r1/work/firefox_build/dist/system_wrappers" "-include" "/var/tmp/portage/www-client/firefox-123.0.1-r1/work/firefox-123.0.1/config/gcc_hid
den.h" "-U_FORTIFY_SOURCE" "-D_FORTIFY_SOURCE=2" "-fstack-protector-strong" "-DNDEBUG=1" "-DTRIMMED=1" "-I/var/tmp/portage/www-client/firefox-123.0.1-r1/wor
k/firefox_build/dist/include" "-I/usr/include/nspr" "-I/usr/include/nss" "-I/usr/include/nspr" "-I/var/tmp/portage/www-client/firefox-123.0.1-r1/work/firefo
x_build/dist/include/nss" "-I/usr/include/libpng16" "-I/usr/include/pixman-1" "-DMOZILLA_CLIENT" "-include" "/var/tmp/portage/www-client/firefox-123.0.1-r1/
work/firefox_build/mozilla-config.h" "-fno-sized-deallocation" "-fno-aligned-new" "-pipe" "-march=armv7-a" "-mfpu=neon-vfpv4" "-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" "-Wno-error=tautological-type-limit-compare" "-Wno-invalid-offsetof" "-Wno-range-loop-analysis" "-Wno-error=dep
recated" "-Wno-error=deprecated-anon-enum-enum-conversion" "-Wno-error=deprecated-enum-enum-conversion" "-Wno-error=deprecated-pragma" "-Wno-error=deprecate
d-this-capture" "-Wno-inline-new-delete" "-Wno-error=deprecated-declarations" "-Wno-error=array-bounds" "-Wno-error=free-nonheap-object" "-Wno-error=atomic-
alignment" "-Wno-error=deprecated-builtins" "-Wno-psabi" "-Wno-error=builtin-macro-redefined" "-Wno-unknown-warning-option" "-fno-strict-aliasing" "-ffp-con
tract=off" "-DMOZILLA_CONFIG_H" "-I" "glsl-optimizer/include" "-I" "glsl-optimizer/src/mesa" "-I" "glsl-optimizer/src/mapi" "-I" "glsl-optimizer/src/compile
r" "-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-123.0.1-r1/work/firefox_build/release/build/glslopt-d3e81604294a801f/out/glsl-optimizer/src
/compiler/glsl/ir_reader.o" "-c" "glsl-optimizer/src/compiler/glsl/ir_reader.cpp"
54:29.12 [glslopt 0.1.9] cargo:warning=In file included from glsl-optimizer/src/compiler/glsl/ast_function.cpp:24:
54:29.16 [glslopt 0.1.9] cargo:warning=In file included from glsl-optimizer/src/compiler/glsl/glsl_symbol_table.h:28:
54:29.16 [glslopt 0.1.9] cargo:warning=In file included from /var/tmp/portage/www-client/firefox-123.0.1-r1/work/firefox_build/dist/stl_wrappers/new:62:
54:29.17 [glslopt 0.1.9] cargo:warning=/var/tmp/portage/www-client/firefox-123.0.1-r1/work/firefox_build/dist/system_wrappers/new:3:15: fatal error: 'new'
file not found
54:29.22 [glslopt 0.1.9] cargo:warning=    3 | #include_next <new>
54:29.22 [glslopt 0.1.9] cargo:warning=      |               ^~~~~
54:29.23 [glslopt 0.1.9] cargo:warning=In file included from glsl-optimizer/src/compiler/glsl/ast_to_hir.cpp:52:
54:29.25 [glslopt 0.1.9] cargo:warning=In file included from glsl-optimizer/src/compiler/glsl/glsl_symbol_table.h:28:
54:29.25 [glslopt 0.1.9] cargo:warning=In file included from /var/tmp/portage/www-client/firefox-123.0.1-r1/work/firefox_build/dist/stl_wrappers/new:62:
54:29.29 [glslopt 0.1.9] cargo:warning=/var/tmp/portage/www-client/firefox-123.0.1-r1/work/firefox_build/dist/system_wrappers/new:3:15: fatal error: 'new' file not found

(...)

54:43.87 [glslopt 0.1.9]
54:43.96 [glslopt 0.1.9] error occurred: Command "/usr/lib/llvm/17/bin/armv7a-unknown-linux-gnueabihf-clang++-17" "-O1" "-ffunction-sections" "-fdata-secti
ons" "-fPIC" "--target=armv7-unknown-linux-gnueabihf" "-I/var/tmp/portage/www-client/firefox-123.0.1-r1/work/firefox_build/dist/stl_wrappers" "-I/var/tmp/po
rtage/www-client/firefox-123.0.1-r1/work/firefox_build/dist/system_wrappers" "-include" "/var/tmp/portage/www-client/firefox-123.0.1-r1/work/firefox-123.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
-123.0.1-r1/work/firefox_build/dist/include" "-I/usr/include/nspr" "-I/usr/include/nss" "-I/usr/include/nspr" "-I/var/tmp/portage/www-client/firefox-123.0.1
-r1/work/firefox_build/dist/include/nss" "-I/usr/include/libpng16" "-I/usr/include/pixman-1" "-DMOZILLA_CLIENT" "-include" "/var/tmp/portage/www-client/fire
fox-123.0.1-r1/work/firefox_build/mozilla-config.h" "-fno-sized-deallocation" "-fno-aligned-new" "-pipe" "-march=armv7-a" "-mfpu=neon-vfpv4" "-mfloat-abi=ha
rd" "-mfpu=neon" "-mfloat-abi=hard" "-fno-exceptions" "-fPIC" "-fno-rtti" "-ffunction-sections" "-fdata-sections" "-fno-exceptions" "-fno-math-errno" "-pthr
ead" "-pipe" "-O2" "-fomit-frame-pointer" "-funwind-tables" "-Wno-error=tautological-type-limit-compare" "-Wno-invalid-offsetof" "-Wno-range-loop-analysis"
"-Wno-error=deprecated" "-Wno-error=deprecated-anon-enum-enum-conversion" "-Wno-error=deprecated-enum-enum-conversion" "-Wno-error=deprecated-pragma" "-Wno-error=deprecated-this-capture" "-Wno-inline-new-delete" "-Wno-error=deprecated-declarations" "-Wno-error=array-bounds" "-Wno-error=free-nonheap-object" "-Wno-error=atomic-alignment" "-Wno-error=deprecated-builtins" "-Wno-psabi" "-Wno-error=builtin-macro-redefined" "-Wno-unknown-warning-option" "-fno-strict-aliasing" "-ffp-contract=off" "-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-123.0.1-r1/work/firefox_build/release/build/glslopt-d3e81604294a801f/out/glsl-optimizer/src/compiler/glsl_types.o" "-c" "glsl-optimizer/src/compiler/glsl_types.cpp" with args "armv7a-unknown-linux-gnueabihf-clang++-17" did not execute successfully (status code exit status: 1).
54:43.98 [glslopt 0.1.9]
54:43.98 [glslopt 0.1.9]
54:43.99 [glslopt 0.1.9] exit status: 0
54:43.99 The following warnings were emitted during compilation:
54:44.01 warning: glsl-optimizer/src/util/softfloat.c:214:42: warning: result of comparison of constant 32768 with expression of type 'int16_t' (aka 'short') is always false [-Wtautological-constant-out-of-range-compare]
54:44.01 warning:   214 |         } else if ((e > 0x1d) || (0x8000 <= m)) {
54:44.02 warning:       |                                   ~~~~~~ ^  ~
54:44.02 warning: 1 warning generated.
54:44.02 warning: In file included from glsl-optimizer/src/compiler/glsl/ast_function.cpp:24:
54:44.03 warning: In file included from glsl-optimizer/src/compiler/glsl/glsl_symbol_table.h:28:
54:44.04 warning: In file included from /var/tmp/portage/www-client/firefox-123.0.1-r1/work/firefox_build/dist/stl_wrappers/new:62:
54:44.04 warning: /var/tmp/portage/www-client/firefox-123.0.1-r1/work/firefox_build/dist/system_wrappers/new:3:15: fatal error: 'new' file not found
54:44.06 warning:     3 | #include_next <new>
54:44.06 warning:       |               ^~~~~
54:44.06 warning: In file included from glsl-optimizer/src/compiler/glsl/ast_to_hir.cpp:52:
54:44.08 warning: In file included from glsl-optimizer/src/compiler/glsl/glsl_symbol_table.h:28:
54:44.08 warning: In file included from /var/tmp/portage/www-client/firefox-123.0.1-r1/work/firefox_build/dist/stl_wrappers/new:62:
54:44.08 warning: /var/tmp/portage/www-client/firefox-123.0.1-r1/work/firefox_build/dist/system_wrappers/new:3:15: fatal error: 'new' file not found
54:44.10 warning:     3 | #include_next <new>
54:44.10 warning:       |               ^~~~~
54:44.10 warning: In file included from glsl-optimizer/src/compiler/glsl/glsl_symbol_table.cpp:25:

(...)

54:54.21 warning:       |                                            ^
54:54.22 warning: In file included from glsl-optimizer/src/compiler/glsl/link_uniform_initializers.cpp:24:
54:54.23 warning: In file included from glsl-optimizer/src/compiler/glsl/ir.h:35:
54:54.24 warning: glsl-optimizer/src/compiler/glsl/list.h:295:4: warning: builtin __has_trivial_destructor is deprecated; use __is_trivially_destructible instead [-Wdeprecated-builtins]
54:54.25 warning: glsl-optimizer/src/util/ralloc.h:524:4: note: expanded from macro 'DECLARE_RALLOC_CXX_OPERATORS'
54:54.25 warning:   524 |    DECLARE_ALLOC_CXX_OPERATORS_TEMPLATE(type, ralloc_size)
54:54.26 warning:       |    ^
54:54.28 warning: glsl-optimizer/src/util/ralloc.h:518:12: note: expanded from macro 'DECLARE_ALLOC_CXX_OPERATORS_TEMPLATE'
54:54.28 warning:   518 |       if (!HAS_TRIVIAL_DESTRUCTOR(TYPE))                                 \
54:54.28 warning:       |            ^
54:54.29 warning: glsl-optimizer/src/util/macros.h:195:44: note: expanded from macro 'HAS_TRIVIAL_DESTRUCTOR'
54:54.30 warning:   195 | #         define HAS_TRIVIAL_DESTRUCTOR(T) __has_trivial_destructor(T)
54:54.30 warning:       |                                            ^
54:54.30 warning: 4 warnings and 1 error generated.
54:54.31 warning: 4 warnings generated.
54:54.32 warning: 4 warnings generated.
54:54.32 warning: 4 warnings and 1 error generated.
54:54.33 warning: 4 warnings generated.
54:54.34 error: failed to run custom build command for `glslopt v0.1.9`
54:54.35 note: To improve backtraces for build dependencies, set the CARGO_PROFILE_RELEASE_BUILD_OVERRIDE_DEBUG=true environment variable to enable debug information generation.
54:54.35 Caused by:
54:54.37   process didn't exit successfully: `/var/tmp/portage/www-client/firefox-123.0.1-r1/work/firefox_build/release/build/glslopt-1ba722cb722933fe/build-script-build` (exit status: 1)
54:54.38   --- stdout
54:54.40   TARGET = Some("armv7-unknown-linux-gnueabihf")
54:54.40   OPT_LEVEL = Some("1")
54:54.41   HOST = Some("armv7-unknown-linux-gnueabihf")
54:54.42   cargo:rerun-if-env-changed=CC_armv7-unknown-linux-gnueabihf
54:54.42   CC_armv7-unknown-linux-gnueabihf = None
54:54.42   cargo:rerun-if-env-changed=CC_armv7_unknown_linux_gnueabihf
54:54.44   CC_armv7_unknown_linux_gnueabihf = Some("/usr/lib/llvm/17/bin/armv7a-unknown-linux-gnueabihf-clang-17")
54:54.44   cargo:rerun-if-env-changed=CFLAGS_armv7-unknown-linux-gnueabihf
54:54.44   CFLAGS_armv7-unknown-linux-gnueabihf = None
54:54.44   cargo:rerun-if-env-changed=CFLAGS_armv7_unknown_linux_gnueabihf
54:54.48   CFLAGS_armv7_unknown_linux_gnueabihf = Some("-std=gnu99 -I/var/tmp/portage/www-client/firefox-123.0.1-r1/work/firefox_build/dist/system_wrappers -include /var/tmp/portage/www-client/firefox-123.0.1-r1/work/firefox-123.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-123.0.1-r1/work/firefox_build/dist/include -I/usr/include/nspr -I/usr/include/nss -I/usr/include/nspr -I/var/tmp/portage/www-client/firefox-123.0.1-r1/work/firefox_build/dist/include/nss -I/usr/include/libpng16 -I/usr/include/pixman-1 -include /var/tmp/portage/www-client/firefox-123.0.1-r1/work/firefox_build/mozilla-config.h -DMOZILLA_CLIENT -pipe -march=armv7-a -mfpu=neon-vfpv4 -mfloat-abi=hard -mfpu=neon -mfloat-abi=hard -fPIC -ffunction-sections -fdata-sections -fno-math-errno -pthread -pipe -O2 -fomit-frame-pointer -funwind-tables -Wno-error=tautological-type-limit-compare -Wno-range-loop-analysis -Wno-error=deprecated-declarations -Wno-error=array-bounds -Wno-error=free-nonheap-object -Wno-error=atomic-alignment -Wno-error=deprecated-builtins -Wno-psabi -Wno-error=builtin-macro-redefined -Wno-unknown-warning-option -fno-strict-aliasing -ffp-contract=off -DMOZILLA_CONFIG_H")
54:54.49   cargo:rerun-if-env-changed=CRATE_CC_NO_DEFAULTS
54:54.50   CRATE_CC_NO_DEFAULTS = None
54:54.50   DEBUG = Some("false")
54:54.56   running: "/usr/lib/llvm/17/bin/armv7a-unknown-linux-gnueabihf-clang-17" "-O1" "-ffunction-sections" "-fdata-sections" "-fPIC" "--target=armv7-unknown-linux-gnueabihf" "-std=gnu99" "-I/var/tmp/portage/www-client/firefox-123.0.1-r1/work/firefox_build/dist/system_wrappers" "-include" "/var/tmp/portage/www-client/firefox-123.0.1-r1/work/firefox-123.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-123.0.1-r1/work/firefox_build/dist/include" "-I/usr/include/nspr" "-I/usr/include/nss" "-I/usr/include/nspr" "-I/var/tmp/portage/www-client/firefox-123.0.1-r1/work/firefox_build/dist/include/nss" "-I/usr/include/libpng16" "-I/usr/include/pixman-1" "-include" "/var/tmp/portage/www-client/firefox-123.0.1-r1/work/firefox_build/mozilla-config.h" "-DMOZILLA_CLIENT" "-pipe" "-march=armv7-a" "-mfpu=neon-vfpv4" "-mfloat-abi=hard" "-mfpu=neon" "-mfloat-abi=hard" "-fPIC" "-ffunction-sections" "-fdata-sections" "-fno-math-errno" "-pthread" "-pipe" "-O2" "-fomit-frame-pointer" "-funwind-tables" "-Wno-error=tautological-type-limit-compare" "-Wno-range-loop-analysis" "-Wno-error=deprecated-declarations" "-Wno-error=array-bounds" "-Wno-error=free-nonheap-object" "-Wno-error=atomic-alignment" "-Wno-error=deprecated-builtins" "-Wno-psabi" "-Wno-error=builtin-macro-redefined" "-Wno-unknown-warning-option" "-fno-strict-aliasing" "-ffp-contract=off" "-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-123.0.1-r1/work/firefox_build/release/build/glslopt-d3e81604294a801f/out/glsl-optimizer/src/compiler/glsl/glcpp/glcpp-parse.o" "-c" "glsl-optimizer/src/compiler/glsl/glcpp/glcpp-parse.c"

(...)

55:06.34   error occurred: Command "/usr/lib/llvm/17/bin/armv7a-unknown-linux-gnueabihf-clang++-17" "-O1" "-ffunction-sections" "-fdata-sections" "-fPIC" "--target=armv7-unknown-linux-gnueabihf" "-I/var/tmp/portage/www-client/firefox-123.0.1-r1/work/firefox_build/dist/stl_wrappers" "-I/var/tmp/portage/www-client/firefox-123.0.1-r1/work/firefox_build/dist/system_wrappers" "-include" "/var/tmp/portage/www-client/firefox-123.0.1-r1/work/firefox-123.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-123.0.1-r1/work/firefox_build/dist/include" "-I/usr/include/nspr" "-I/usr/include/nss" "-I/usr/include/nspr" "-I/var/tmp/portage/www-client/firefox-123.0.1-r1/work/firefox_build/dist/include/nss" "-I/usr/include/libpng16" "-I/usr/include/pixman-1" "-DMOZILLA_CLIENT" "-include" "/var/tmp/portage/www-client/firefox-123.0.1-r1/work/firefox_build/mozilla-config.h" "-fno-sized-deallocation" "-fno-aligned-new" "-pipe" "-march=armv7-a" "-mfpu=neon-vfpv4" "-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" "-Wno-error=tautological-type-limit-compare" "-Wno-invalid-offsetof" "-Wno-range-loop-analysis" "-Wno-error=deprecated" "-Wno-error=deprecated-anon-enum-enum-conversion" "-Wno-error=deprecated-enum-enum-conversion" "-Wno-error=deprecated-pragma" "-Wno-error=deprecated-this-capture" "-Wno-inline-new-delete" "-Wno-error=deprecated-declarations" "-Wno-error=array-bounds" "-Wno-error=free-nonheap-object" "-Wno-error=atomic-alignment" "-Wno-error=deprecated-builtins" "-Wno-psabi" "-Wno-error=builtin-macro-redefined" "-Wno-unknown-warning-option" "-fno-strict-aliasing" "-ffp-contract=off" "-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-123.0.1-r1/work/firefox_build/release/build/glslopt-d3e81604294a801f/out/glsl-optimizer/src/compiler/glsl_types.o" "-c" "glsl-optimizer/src/compiler/glsl_types.cpp" with args "armv7a-unknown-linux-gnueabihf-clang++-17" did not execute successfully (status code exit status: 1).
55:06.34 warning: build failed, waiting for other jobs to finish...
55:06.35 dom/html/Unified_cpp_dom_html5.o
55:06.35 dom/indexedDB/Unified_cpp_dom_indexedDB3.o

(...)

64:29.05 1 warning generated.
65:57.51 1 warning generated.
65:57.62 gmake[4]: Leaving directory '/var/tmp/portage/www-client/firefox-123.0.1-r1/work/firefox_build/dom/ipc'
65:57.62 gmake[3]: Leaving directory '/var/tmp/portage/www-client/firefox-123.0.1-r1/work/firefox_build'
65:57.62 gmake[2]: *** [/var/tmp/portage/www-client/firefox-123.0.1-r1/work/firefox-123.0.1/config/recurse.mk:34: compile] Error 2
65:57.63 gmake[2]: Leaving directory '/var/tmp/portage/www-client/firefox-123.0.1-r1/work/firefox_build'
65:57.63 gmake[1]: *** [/var/tmp/portage/www-client/firefox-123.0.1-r1/work/firefox-123.0.1/config/rules.mk:361: default] Error 2
65:57.64 gmake[1]: Leaving directory '/var/tmp/portage/www-client/firefox-123.0.1-r1/work/firefox_build'
65:57.64 gmake: *** [client.mk:60: build] Error 2
65:57.64 W 17 compiler warnings present.
 * ERROR: www-client/firefox-123.0.1-r1::gentoo failed (compile phase):
 *   (no error message)
 *
 * Call stack:
 *     ebuild.sh, line 136:  Called src_compile
 *   environment, line 5486:  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-123.0.1-r1::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=www-client/firefox-123.0.1-r1::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/www-client/firefox-123.0.1-r1/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/www-client/firefox-123.0.1-r1/temp/environment'.
 * Working directory: '/var/tmp/portage/www-client/firefox-123.0.1-r1/work/firefox-123.0.1'
 * S: '/var/tmp/portage/www-client/firefox-123.0.1-r1/work/firefox-123.0.1'

_________________
"The most dangerous world view is the world view of the ones who haven't viewed the world."
Alexander von Humboldt (1769-1859)
Back to top
View user's profile Send private message
Lebkoungcity
Apprentice
Apprentice


Joined: 16 Nov 2008
Posts: 221
Location: near Lebkoungcity (='Gingerbreadcity' =Nuremberg)

PostPosted: Mon Mar 18, 2024 2:26 pm    Post subject: Reply with quote

OK I got it!

Code:
# genlop -t firefox
 * www-client/firefox

     (...)

     Mon Mar 18 04:44:53 2024 >>> www-client/firefox-123.0.1-r1
       merge time: 7 hours, 23 minutes and 16 seconds.


It was due to LLVM_SLOT=17. After I added this line to my package.use it worked:
Code:
# nano /etc/portage/package.use/package.use.original

(...)

<=www-client/firefox-123.0.1-r1 llvm_slot_16 -llvm_slot_17

(...)


Therefore, in the future, among the things I will look into is which versions of Rust, Clang, llvm, etc. are used when something fails to compile.
_________________
"The most dangerous world view is the world view of the ones who haven't viewed the world."
Alexander von Humboldt (1769-1859)
Back to top
View user's profile Send private message
kgdrenefort
Guru
Guru


Joined: 19 Sep 2023
Posts: 312
Location: Somewhere in the 77

PostPosted: Tue Mar 19, 2024 10:27 am    Post subject: Reply with quote

Hi,

happy you find a fix.

Could you please add [SOLVED] in your title please ? Could help peoples to find a fix quicker !

Regards,
GASPARD DE RENEFORT Kévin
_________________
Traduction wiki, pour praticiper.
Custom logos/biz card/website.
Back to top
View user's profile Send private message
Lebkoungcity
Apprentice
Apprentice


Joined: 16 Nov 2008
Posts: 221
Location: near Lebkoungcity (='Gingerbreadcity' =Nuremberg)

PostPosted: Thu Mar 21, 2024 1:52 pm    Post subject: Reply with quote

FYI:
I opened a bug about this:
>www-client/firefox-122.0.1 fail to compile with: "failed to run custom build command for `glslopt v0.1.9`" on Raspberry Pi4


kgdrenefort wrote:
Hi,

happy you find a fix.

Could you please add [SOLVED] in your title please ? Could help peoples to find a fix quicker !

Regards,
GASPARD DE RENEFORT Kévin


Thanks!


I added [solved] to the opening post already:
Quote:
Last edited by Lebkoungcity on Mon Mar 18, 2024 2:26 pm; edited 1 time in total
:wink:
_________________
"The most dangerous world view is the world view of the ones who haven't viewed the world."
Alexander von Humboldt (1769-1859)
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo on ARM All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum