Created attachment 471680 [details] build.log Fails to build on my G5. # emerge -pqv '=www-client/firefox-52.1.0-r1::gentoo' [ebuild N ] www-client/firefox-52.1.0-r1 USE="dbus gmp-autoupdate jemalloc pulseaudio startup-notification -bindist -custom-cflags -custom-optimization -debug -gtk2 -hardened -hwaccel -jack (-neon) (-pgo) (-rust) (-selinux) (-system-cairo) -system-harfbuzz -system-icu -system-jpeg -system-libevent -system-libvpx -system-sqlite {-test} -wifi" L10N="de -ach -af -an -ar -as -ast -az -bg -bn-BD -bn-IN -br -bs -ca -cak -cs -cy -da -dsb -el -en-GB -en-ZA -eo -es-AR -es-CL -es-ES -es-MX -et -eu -fa -ff -fi -fr -fy -ga -gd -gl -gn -gu -he -hi -hr -hsb -hu -hy -id -is -it -ja -ka -kab -kk -km -kn -ko -lij -lt -lv -mai -mk -ml -mr -ms -nb -nl -nn -or -pa -pl -pt-BR -pt-PT -rm -ro -ru -si -sk -sl -son -sq -sr -sv -ta -te -th -tr -uk -uz -vi -xh -zh-CN -zh-TW" # emerge --info '=www-client/firefox-52.1.0-r1::gentoo' Portage 2.3.3 (python 3.4.5-final-0, default/linux/powerpc/ppc64/13.0/32bit-userland/desktop/gnome/systemd, gcc-5.4.0, glibc-2.23-r3, 4.10.13-gentoo ppc64) ================================================================= System Settings ================================================================= System uname: Linux-4.10.13-gentoo-ppc64-PPC970MP,_altivec_supported-with-gentoo-2.3 KiB Mem: 16169520 total, 7395108 free KiB Swap: 18939896 total, 18939896 free Timestamp of repository gentoo: Thu, 04 May 2017 11:00:01 +0000 sh bash 4.3_p48-r1 ld GNU ld (Gentoo 2.26.1 p1.0) 2.26.1 app-shells/bash: 4.3_p48-r1::gentoo dev-lang/perl: 5.24.1-r1::gentoo dev-lang/python: 2.7.12::gentoo, 3.4.5::gentoo dev-util/cmake: 3.7.2::gentoo dev-util/pkgconfig: 0.28-r2::gentoo sys-apps/baselayout: 2.3::gentoo sys-apps/openrc: 0.24.2::gentoo sys-apps/sandbox: 2.10-r3::gentoo sys-devel/autoconf: 2.13::gentoo, 2.69::gentoo sys-devel/automake: 1.11.6-r1::gentoo, 1.15-r2::gentoo sys-devel/binutils: 2.26.1::gentoo sys-devel/gcc: 5.4.0-r3::gentoo sys-devel/gcc-config: 1.7.3::gentoo sys-devel/libtool: 2.4.6-r3::gentoo sys-devel/make: 4.2.1::gentoo sys-kernel/linux-headers: 4.9::gentoo (virtual/os-headers) sys-libs/glibc: 2.23-r3::gentoo Repositories: gentoo location: /usr/portage sync-type: rsync sync-uri: rsync://yea/gentoo-portage priority: -1000 flow location: /var/lib/layman/flow sync-type: laymansync sync-uri: https://gitlab.com/Flow/flow-s-ebuilds.git masters: gentoo priority: 50 gentoo-mate location: /var/lib/layman/gentoo-mate sync-type: laymansync sync-uri: git://anongit.gentoo.org/proj/gentoo-mate.git masters: gentoo priority: 50 ACCEPT_KEYWORDS="ppc" ACCEPT_LICENSE="*" CBUILD="powerpc-unknown-linux-gnu" CFLAGS="-Os -pipe -mcpu=G5 -mtune=G5" CHOST="powerpc-unknown-linux-gnu" CONFIG_PROTECT="/etc /usr/lib/libreoffice/program/sofficerc /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="-Os -pipe -mcpu=G5 -mtune=G5" DISTDIR="/usr/portage/distfiles" FCFLAGS="-O2 -pipe" FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr" FFLAGS="-O2 -pipe" GENTOO_MIRRORS="http://gd.tuwien.ac.at/opsys/linux/gentoo/ ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo" LANG="de_DE.utf8" LDFLAGS="-Wl,-O1 -Wl,--as-needed" MAKEOPTS="-j3" PKGDIR="/usr/portage/packages" PORTAGE_COMPRESS="xz" PORTAGE_COMPRESS_FLAGS="-6" 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" USE="X a52 aac acl alsa altivec berkdb bluetooth branding bzip2 cairo caja cdda cdr cli colord cracklib crypt cryptsetup cups custom-cflags custom-optimization cxx dbus djvu dri dts dvd dvdr eds emboss enca encode evo exif fam firefox flac fortran gdbm gif glamor gles2 gnome-keyring gnome-online-accounts gnutls gstreamer gtk gtk3 iconv icu introspection ipv6 jpeg jpeg2k lcms libnotify libsecret lz4 lzma lzo mad mmap mng modules mp3 mp4 mpeg mtp ncurses networkmanager nls nptl nsplugin ogg opengl openmp opus pam pango pcre pdf png policykit ppc ppds pulseaudio readline sdl seccomp session smp spell ssl startup-notification svg system-sqlite systemd tcpd threads tiff tracker truetype udev udisks unicode upower usb vorbis vpx webp wmf wxwidgets x264 xattr xcb xml xmp xv xvid zlib" ABI_PPC="32" ALSA_CARDS="aoa aoa-fabric-layout aoa-onyx aoa-soundbus aoa-soundbus-i2s aoa-tas aoa-toonie powermac usb-audio via82xx" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CURL_SSL="openssl" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="evdev" KERNEL="linux" L10N="de en" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="de en de_DE" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-6" PYTHON_SINGLE_TARGET="python3_4" PYTHON_TARGETS="python2_7 python3_4" RUBY_TARGETS="ruby21" SANE_BACKENDS="genesys" USERLAND="GNU" VIDEO_CARDS="fbdev nouveau radeon r300 r600" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" Unset: CC, CPPFLAGS, CTARGET, CXX, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON
Updating the summary, since this error doesn't seem to be the usual startup-cache-precompilation error.
Is it normal on ppc to see the following on every single compiled object? > * Unable to trace static ELF: /sbin/ldconfig: /sbin/ldconfig -p
(In reply to Ian Stakenvicius from comment #2) > Is it normal on ppc to see the following on every single compiled object? > > > * Unable to trace static ELF: /sbin/ldconfig: /sbin/ldconfig -p It is for Firefox. As far as I can recall on some other ebuilds too, but certainly not for all ebuilds.
This problem still persists on my machine with current stable firefox-52.1.0-r1. # emerge -pqv firefox [ebuild R ] www-client/firefox-52.1.0-r1 USE="dbus gmp-autoupdate jemalloc pulseaudio startup-notification -bindist -custom-cflags -custom-optimization -debug -gtk2 -hardened -hwaccel -jack (-neon) (-pgo) (-rust) (-selinux) (-system-cairo) -system-harfbuzz -system-icu* -system-jpeg -system-libevent -system-libvpx -system-sqlite {-test} -wifi" L10N="de -ach -af -an -ar -as -ast -az -bg -bn-BD -bn-IN -br -bs -ca -cak -cs -cy -da -dsb -el -en-GB -en-ZA -eo -es-AR -es-CL -es-ES -es-MX -et -eu -fa -ff -fi -fr -fy -ga -gd -gl -gn -gu -he -hi -hr -hsb -hu -hy -id -is -it -ja -ka -kab -kk -km -kn -ko -lij -lt -lv -mai -mk -ml -mr -ms -nb -nl -nn -or -pa -pl -pt-BR -pt-PT -rm -ro -ru -si -sk -sl -son -sq -sr -sv -ta -te -th -tr -uk -uz -vi -xh -zh-CN -zh-TW" Playing around with different USE-flags I found out that USE="system-icu" serves as a workaround - emerge is able to finish the build! However, sadly firefox-52.1.0-r1 still won't work on my G5. FF crashes with "firefox[11760]: bad frame in handle_rt_signal32: 00000000ff507a20 nip 1d4bce2c lr 1d4bce00". Looks similar to bug #594864?
Install phase fails at the same place on my G4. It aborts on this line: Executing /var/tmp/portage/www-client/firefox-52.1.0-r1/work/firefox-52.1.0esr/ff/dist/bin/xpcshell -g /var/tmp/portage/www-client/firefox-52.1.0-r1/work/firefox-52.1.0esr/ff/dist/bin/ -a /var/tmp/portage/www-client/firefox-52.1.0-r1/work/firefox-52.1.0esr/ff/dist/bin/ -f /var/tmp/portage/www-client/firefox-52.1.0-r1/work/firefox-52.1.0esr/toolkit/mozapps/installer/precompile_cache.js -e precompile_startupcache("resource://gre/"); When I cd to "/var/tmp/portage/www-client/firefox-52.1.0-r1/work/firefox-52.1.0esr/ff/browser/installer" and manually execute that line it fails with: vertigo installer # /var/tmp/portage/www-client/firefox-52.1.0-r1/work/firefox-52.1.0esr/ff/dist/bin/xpcshell -g /var/tmp/portage/www-client/firefox-52.1.0-r1/work/firefox-52.1.0esr/ff/dist/bin/ -a /var/tmp/portage/www-client/firefox-52.1.0-r1/work/firefox-52.1.0esr/ff/dist/bin/ -f /var/tmp/portage/www-client/firefox-52.1.0-r1/work/firefox-52.1.0esr/toolkit/mozapps/installer/precompile_cache.js -e 'precompile_startupcache("resource://gre/");' /var/tmp/portage/www-client/firefox-52.1.0-r1/work/firefox-52.1.0esr/ff/dist/bin/xpcshell: error while loading shared libraries: libmozalloc.so: cannot open shared object file: No such file or directory vertigo installer # There is no libmozalloc.so anywhere within the build dir.
Can confirm that this happens with thunderbird 52.2.0. I do currently have firefox 52.1.0-r1 installed, but I recall I had to do some hacking with ICU data files. If I recall correctly, the ones Firefox shipped were in the wrong endianness format. I also have a G5 PPC970MP, ppc64. If I get Firefox 53 or Thunderbird 52 to work, I'll let you know. BTW, I don't think there are necessarily libraries missing. From this directory: /var/tmp/portage/mail-client/thunderbird-52.2.0/work/thunderbird-52.2.0/tbird/dist/bin eppel bin # LD_LIBRARY_PATH=`pwd` ./xpcshell xpcshell -g /var/tmp/portage/mail-client/thunderbird-52.2.0/work/thunderbird-52.2.0/tbird/dist/bin/ -a /var/tmp/portage/mail-client/thunderbird-52.2.0/work/thunderbird-52.2.0/tbird/dist/bin/ -f /var/tmp/portage/mail-client/thunderbird-52.2.0/work/thunderbird-52.2.0/mozilla/toolkit/mozapps/installer/precompile_cache.js -e 'precompile_startupcache("resource://gre/")' [9964] ###!!! ABORT: u_init() failed: file /var/tmp/portage/mail-client/thunderbird-52.2.0/work/thunderbird-52.2.0/mozilla/xpcom/build/XPCOMInit.cpp, line 709 [9964] ###!!! ABORT: u_init() failed: file /var/tmp/portage/mail-client/thunderbird-52.2.0/work/thunderbird-52.2.0/mozilla/xpcom/build/XPCOMInit.cpp, line 709 Segmentation fault
https://bugzilla.mozilla.org/show_bug.cgi?id=926980 suggests to build with -with-system-icu or --disable-intl-api. system-icu used to be a USE flag, but no more it seems.
Confirmed. Perhaps try USE="system-icu" ? It doesn't look like Mozilla is keen on fixing their ICU mess. eppel ~ # USE="system-icu" emerge -a1 thunderbird These are the packages that would be merged, in order: Calculating dependencies \ ... done! [ebuild U ~] mail-client/thunderbird-52.2.0::gentoo [45.8.0::gentoo] USE="-bindist crypt -custom-cflags -custom-optimization -dbus -debug (-ffmpeg%*) (-gstreamer%*) -gtk2% -hardened jemalloc%* (-jemalloc3%*) (-jit%*) -ldap -lightning minimal -mozdom (-neon) -pulseaudio (-rust) (-selinux) -startup-notification (-system-cairo) -system-harfbuzz system-icu* -system-jpeg -system-libevent system-libvpx -system-sqlite -wifi%" L10N="-ar -ast -be -bg -bn-BD -br -ca -cs -cy -da -de -el -en-GB -es-AR -es-ES -et -eu -fi -fr -fy -ga -gd -gl -he -hr -hsb -hu -hy -id -is -it -ja -ko -lt -nb -nl -nn -pa -pl -pt-BR -pt-PT -rm -ro -ru -si -sk -sl -sq -sr -sv -ta-LK -tr -uk -vi -zh-CN -zh-TW" 0 KiB Total: 1 package (1 upgrade), Size of downloads: 0 KiB Would you like to merge these packages? [Yes/No] >>> Verifying ebuild manifests >>> Running pre-merge checks for mail-client/thunderbird-52.2.0 * Checking for at least 4 GiB disk space at "/var/tmp/portage/mail-client/thunderbird-52.2.0/temp" ... [ ok ] >>> Emerging (1 of 1) mail-client/thunderbird-52.2.0::gentoo >>> Installing (1 of 1) mail-client/thunderbird-52.2.0::gentoo >>> Jobs: 1 of 1 complete Load avg: 1.31, 1.91, 2.52 * Messages for package mail-client/thunderbird-52.2.0: * You are enabling official branding. You may not redistribute this build * to any users on your network or the internet. Doing so puts yourself into * a legal problem with Mozilla Foundation * You can disable it by emerging thunderbird _with_ the bindist USE-flag * * Failed to set XATTR_PAX markings -me /var/tmp/portage/mail-client/thunderbird-52.2.0/work/thunderbird-52.2.0/tbird/dist/bin/xpcshell. * Failed to set XATTR_PAX markings -pme /var/tmp/portage/mail-client/thunderbird-52.2.0/image//usr/lib64/thunderbird/thunderbird. * Failed to set XATTR_PAX markings -pme /var/tmp/portage/mail-client/thunderbird-52.2.0/image//usr/lib64/thunderbird/thunderbird-bin. * Failed to set XATTR_PAX markings -pme /var/tmp/portage/mail-client/thunderbird-52.2.0/image//usr/lib64/thunderbird/plugin-container. * * If you experience problems with plugins please issue the * following command : rm ${HOME}/.thunderbird/*/extensions.sqlite , * then restart thunderbird * * If calendar fails to show up in extensions please open config editor * and set extensions.lastAppVersion to 38.0.0 to force a reload. If this * fails to show the calendar extension after restarting with above change * please file a bug report. >>> Auto-cleaning packages... >>> No outdated packages were found on your system. * GNU info directory index is up-to-date.
I think this can be closed as www-client/firefox-52.1.0-r1 is no longer in tree and www-client/firefox-52.4.0 builds fine with USE="system-icu". More recent versions of >mail-client/thunderbird-52.2.0 are available too.