Created attachment 571532 [details] build.log.gz Portage 2.3.62 (python 3.6.5-final-0, default/linux/amd64/17.0/desktop/plasma/systemd, gcc-8.3.0, glibc-2.29-r1, 5.0.4+ x86_64) ================================================================= System uname: Linux-5.0.4+-x86_64-Intel-R-_Core-TM-_i7-5600U_CPU_@_2.60GHz-with-gentoo-2.6 KiB Mem: 8056580 total, 2228508 free KiB Swap: 8991740 total, 8812624 free Head commit of repository gentoo: dae5178b2715f0ffb8b50313cd2f2bc7636132db Head commit of repository go-overlay: 987dc60ab2e71948c4d78ab218b13e020a97e350 Head commit of repository rust: 8604c0bda4cdd95f8561b623fc9c7c7a3a5c2901 Head commit of repository steam-overlay: 690b3fff880c0cae35ef1dbbfd5b51483b7f0597 Head commit of repository tlp: 4caa3c743f35db8bbe907058a006f40629bd3af7 sh bash 4.4_p23-r1 ld GNU ld (Gentoo 2.30 p5) 2.30.0 distcc 3.3.2 x86_64-pc-linux-gnu [enabled] ccache version 3.3.4 [enabled] app-shells/bash: 4.4_p23-r1::gentoo dev-java/java-config: 2.2.0-r4::gentoo dev-lang/perl: 5.26.2::gentoo dev-lang/python: 2.7.15::gentoo, 3.6.5::gentoo dev-util/ccache: 3.3.4-r1::gentoo dev-util/cmake: 3.9.6::gentoo dev-util/pkgconfig: 0.29.2::gentoo sys-apps/baselayout: 2.6-r1::gentoo sys-apps/sandbox: 2.13::gentoo sys-devel/autoconf: 2.13-r1::gentoo, 2.69-r4::gentoo sys-devel/automake: 1.11.6-r3::gentoo, 1.15.1-r2::gentoo, 1.16.1-r1::gentoo sys-devel/binutils: 2.30-r4::gentoo sys-devel/gcc: 6.4.0::gentoo, 8.3.0::gentoo sys-devel/gcc-config: 2.0::gentoo sys-devel/libtool: 2.4.6-r3::gentoo sys-devel/make: 4.2.1-r4::gentoo sys-kernel/linux-headers: 4.14-r1::gentoo (virtual/os-headers) sys-libs/glibc: 2.29-r1::gentoo Repositories: gentoo location: /usr/portage sync-type: git sync-uri: https://anongit.gentoo.org/git/repo/gentoo.git priority: -1000 x-portage location: /usr/local/portage masters: gentoo priority: 0 go-overlay location: /var/lib/layman/go-overlay sync-type: git sync-uri: https://github.com/Dr-Terrible/go-overlay.git masters: gentoo priority: 50 rust location: /var/lib/layman/rust-overlay sync-type: git sync-uri: https://github.com/gentoo/gentoo-rust.git masters: gentoo priority: 50 steam-overlay location: /var/lib/layman/steam sync-type: git sync-uri: https://github.com/anyc/steam-overlay.git masters: gentoo priority: 50 tlp location: /var/lib/layman/tlp sync-type: git sync-uri: git://github.com/dywisor/tlp-portage.git masters: gentoo priority: 50 Installed sets: @steam ACCEPT_KEYWORDS="amd64" ACCEPT_LICENSE="*" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=broadwell -pipe -mabm -mrtm" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/config /usr/share/easy-rsa /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="-march=broadwell -pipe -mabm -mrtm" DISTDIR="/usr/portage/distfiles" ENV_UNSET="DBUS_SESSION_BUS_ADDRESS DISPLAY GOBIN PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR" FCFLAGS="-O2 -pipe" FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs ccache config-protect-if-modified distcc distcc-pump distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news parallel-fetch pid-sandbox 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://distfiles.gentoo.org" LANG="en_US.utf8" LC_ALL="en_US.utf8" LDFLAGS="-Wl,-O1 -Wl,--as-needed" LINGUAS="en bg" MAKEOPTS="-j12 -l4" PKGDIR="/usr/portage/packages" 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="/tmp" USE="256-color X a52 aac aalib acpi adns alaw alsa alt-font-width amd64 archive asf aspell async autoipd autoreplace avahi bash-completion bluetooth branding btrfs bzip2 c++0x cairo caps cdda cdinstall cdr chroot cli client-libs crypt cryptsetup cups curl custom-cflags custom-optimization cxx dbus declarative dhcp disk-partition divx divx4linux dolphin dri dri3 dts dvd dvdr egl emerald enca encode epub evdev exif faac farstream ffmpeg flac focused-urgency font-styles fpm fts3 fuse g722 gallium gbm gd gdbm gecko-sdk geoclue geoip gif glamor gles glibc-omitfp glitz gmedia gnutls google gphoto2 gps gsm gstreamer gudev haptic hardcoded-tables hddtemp hidpi history hwaccel hwdb i3 ibmacpi iconv id3tag imagemagick imap imlib inotify inspector introspection iproute2 ipv6 ithreads jabber javascript jemalloc jpeg jumbo-build kde kdehiddenvisibility kdenlive kdepim kdexdeltas kipi kwallet lame laptop lcdfilter lcms libcaca libinput libkms libnotify libtirpc lm_sensors logrotate lto lzma lzo mad matroska minizip mmx mmxext mng mobi mousewheel mozbranding moznocompose moznoirc moznomail mozsvg mp3 mp4 mpeg mtp multilib musicbrainz mysql ncurses network networkmanager nfsv3 nonfsv4 nptl nsplugin offensive ogg openconnect opengl openmp optimized-qmake otr pam pango pch pcre pdf pgo phonon pic pie plasma png pnp policykit postproc ppds pulseaudio qml qt5 rar rdesktop readline rpc rss rtc rtmp s3tc samba sasl scrobbler sdl seccomp secondary-wheel secure-delete semantic-desktop shared-dricore sip sipim smi smime smtp sna snmp speex spell sqlite srt sse sse2 sse3 ssl ssse3 stroke svc svg swaybar swaybg swaygrab swaylock swaymsg system-cairo system-ffmpeg system-icu system-jpeg system-libvpx system-sqlite systemd telepathy theora thinkpad threads tidy tiff tinfo tordns truetype udev udisks udisks2 ulaw unicode upower urandom usb user-session userlocales v4l2 vaapi vim vim-syntax vnc vorbis vpx wayland wayland-compositor webp widevine widgets wifi windeco wma wmp x264 xattr xcb xcomposite xforms xml xmp xosd xrandr xscreensaver xv xvfb xvid xwayland yahoo zeroconf zip zlib zsh-completion" ABI_X86="64 32" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" 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="karbon sheets words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="aes avx avx2 f16c fma3 mmx mmxext pclmul popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3" 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" GRUB_PLATFORMS="pc efi-64" INPUT_DEVICES="keyboard libinput" KERNEL="linux" L10N="en bg" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" NETBEANS_MODULES="apisupport cnd groovy gsf harness ide identity j2ee java mobility nb php profiler soa visualweb webcommon websvccommon xml" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-6 php7-1" POSTGRES_TARGETS="postgres9_5 postgres10" PYTHON_SINGLE_TARGET="python3_6" PYTHON_TARGETS="python2_7 python3_6" RUBY_TARGETS="ruby23 ruby24" USERLAND="GNU" VIDEO_CARDS="intel i965" 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, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS build fails towards the end looks like with: 81028:47.78 /var/cache/portage/portage/www-client/firefox-66.0.2/work/firefox-66.0.2/ff/_virtualenvs/init/bin/python -m mozbuild.action.zip -C ../../dist/xpi-stage/locale-en-US -x **/*.manifest -x **/*.js -x **/*.ini /var/cache/portage/portage/www-client/firefox-66.0.2/work/firefox-66.0.2/ff/dist/linux-x86_64/xpi/firefox-66.0.2.en-US.langpack.xpi chrome localization browser manifest.json 81028:47.78 gmake[6]: Leaving directory '/var/cache/portage/portage/www-client/firefox-66.0.2/work/firefox-66.0.2/ff/browser/locales' 81028:47.78 gmake[4]: Nothing to be done for 'tools'. 81028:48.84 gmake[1]: Entering directory '/var/cache/portage/portage/www-client/firefox-66.0.2/work/firefox-66.0.2/ff' 81028:48.84 rm -f jarlog/en-US.log 8881028:48.84 JARLOG_FILE=jarlog/en-US.log /var/cache/portage/portage/www-client/firefox-66.0.2/work/firefox-66.0.2/ff/_virtualenvs/init/bin/python /var/cache/portage/portage/www-client/firefox-66.0.2/work/firefox-66.0.2/build/pgo/profileserver.py 81028:48.84 Error: cannot open display: :1 81028:48.84 Firefox exited with code 1 during profile initialization 81028:48.84 gmake[1]: *** [Makefile:199: profiledbuild] Error 1 81028:48.84 gmake[1]: Leaving directory '/var/cache/portage/portage/www-client/firefox-66.0.2/work/firefox-66.0.2/ff' 81028:48.84 gmake: *** [client.mk:125: build] Error 2 81028:48.88 113 compiler warnings present. 8/var/cache/portage/portage/www-client/firefox-66.0.2/temp/environment: line 6551: warning: command substitution: ignored null byte in input /var/cache/portage/portage/www-client/firefox-66.0.2/temp/environment: line 6551: kill: (6251) - No such process * ERROR: www-client/firefox-66.0.2::gentoo failed (compile phase): * Failed to run './mach build --verbose'
Not a firefox problem. You need a working X setup to build firefox (due to PGO support). Usually this is done by virtualx eclass. If this eclass is not working for you, you need to find out was wrong on your system. But start checking X logs... looks like X was started but crashed later.
Ok, I am emerging it in i3 instead of sway / wayland. I am also getting this during the emerge not sure if its related: >>> Verifying ebuild manifests >>> Running pre-merge checks for www-client/firefox-66.0.2 Traceback (most recent call last): File "/usr/lib/portage/python3.6/socks5-server.py", line 231, in <module> asyncio.start_unix_server(s.handle_proxy_conn, sys.argv[1], loop=loop)) File "/usr/lib64/python3.6/asyncio/base_events.py", line 468, in run_until_complete return future.result() File "/usr/lib64/python3.6/asyncio/streams.py", line 151, in start_unix_server return (yield from loop.create_unix_server(factory, path, **kwds)) File "/usr/lib64/python3.6/asyncio/coroutines.py", line 212, in coro res = func(*args, **kw) File "/usr/lib64/python3.6/asyncio/unix_events.py", line 290, in create_unix_server sock.bind(path) PermissionError: [Errno 13] Permission denied * Checking for at least 8 GiB disk space at "/var/cache/portage/www-client/firefox-66.0.2/temp" ...
looks like that permissions error is caused by network-sanbox added in FEATURES
No, it's not. Ebuild works fine with network-sandbox. Check your system... something weird is going on.
Something is def going on, I now tried to compile it from i3 window manager which uses xorg. build fails again. Here is the new build log.
Created attachment 571860 [details] new build log for crash when compiling in xorg window manager new build log for crash when compiling in xorg window manager
might also have something to do with this I found in my dmesg: [523147.778159] clang-8[24396]: segfault at 55e82e566148 ip 00007f64e0a87b07 sp 00007ffc0c0c2860 error 4 in libLLVMAnalysis.so.8[7f64e0659000+96e000]