Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 667772 - www-client/firefox-62.0.3 compilation fails on amd64
Summary: www-client/firefox-62.0.3 compilation fails on amd64
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Mozilla Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-10-05 02:38 UTC by An Müller
Modified: 2018-10-06 00:17 UTC (History)
2 users (show)

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


Attachments
build log, xz compressed (build.log.xz,106.75 KB, application/x-xz)
2018-10-05 02:38 UTC, An Müller
Details

Note You need to log in before you can comment on or make changes to this bug.
Description An Müller 2018-10-05 02:38:28 UTC
Created attachment 549430 [details]
build log, xz compressed

firefox-62.0.3 compilation fails on

 * ERROR: www-client/firefox-62.0.3::gentoo failed (compile phase):
 *   (no error message)
 * 
 * Call stack:
 *     ebuild.sh, line 124:  Called src_compile
 *   environment, line 5013:  Called die
 * The specific snippet of code:
 *       MOZ_MAKE_FLAGS="${MAKEOPTS}" SHELL="${SHELL:-${EPREFIX}/bin/bash}" MOZ_NOSPAM=1 ./mach build --verbose || die

The full log is attached as .xz to fit the size limit, sorry.

Thanks!

# emerge -pqv '=www-client/firefox-62.0.3::gentoo'
[ebuild     U ] www-client/firefox-62.0.3 [62.0.2] USE="eme-free gmp-autoupdate hardened pulseaudio screenshot system-harfbuzz system-icu system-jpeg system-libevent system-libvpx system-sqlite -bindist -clang -custom-cflags -custom-optimization -dbus -debug -geckodriver -hwaccel -jack -lto (-neon) (-selinux) -startup-notification -test -wifi" L10N="-ach -af -an -ar -as -ast -az -bg -bn-BD -bn-IN -br -bs -ca -cak -cs -cy -da -de -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-62.0.3::gentoo'
Portage 2.3.49 (python 3.6.5-final-0, default/linux/amd64/17.1/no-multilib, gcc-7.3.0, glibc-2.26-r7, 4.18.11 x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-4.18.11-x86_64-Intel-R-_Core-TM-_i5-5200U_CPU_@_2.20GHz-with-gentoo-2.4.1
KiB Mem:     8105408 total,   4112768 free
KiB Swap:          0 total,         0 free
Timestamp of repository gentoo: Thu, 04 Oct 2018 22:30:01 +0000
Head commit of repository gentoo: bd966fca864b699c9aa53574d58d5d6db1ba0558
sh bash 4.4_p12
ld GNU ld (Gentoo 2.30 p5) 2.30.0
app-shells/bash:          4.4_p12::gentoo
dev-lang/perl:            5.24.3-r1::gentoo
dev-lang/python:          2.7.15::gentoo, 3.6.5::gentoo
dev-util/cmake:           3.9.6::gentoo
sys-apps/baselayout:      2.4.1-r2::gentoo
sys-apps/openrc:          0.38.2::gentoo
sys-apps/sandbox:         2.13::gentoo
sys-devel/autoconf:       2.13::gentoo, 2.69-r4::gentoo
sys-devel/automake:       1.15.1-r2::gentoo
sys-devel/binutils:       2.30-r4::gentoo
sys-devel/gcc:            7.3.0-r3::gentoo
sys-devel/gcc-config:     1.8-r1::gentoo
sys-devel/libtool:        2.4.6-r3::gentoo
sys-devel/make:           4.2.1-r4::gentoo
sys-kernel/linux-headers: 4.13::gentoo (virtual/os-headers)
sys-libs/glibc:           2.26-r7::gentoo
Repositories:

gentoo
    location: /usr/portage
    sync-type: rsync
    sync-uri: rsync://rsync.gentoo.org/gentoo-portage
    priority: -1000
    sync-rsync-verify-metamanifest: yes
    sync-rsync-verify-jobs: 1
    sync-rsync-verify-max-age: 24
    sync-rsync-extra-opts: 

ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="Apache-2.0 BSD BSD-2 BSD-4 GPL-1+ GPL-2 GPL-2+ GPL-3 GPL-3+ HPND ISC LGPL-2 LGPL-2+ LGPL-2.1 LGPL-2.1+ MIT OFL-1.1 openssl public-domain vim ZLIB"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -march=native"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/init.d /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /usr/share/X11/xkb"
CXXFLAGS="-O2 -pipe -march=native"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--quiet-build --misspell-suggestions n --rebuild-if-new-rev n "
ENV_UNSET="DBUS_SESSION_BUS_ADDRESS DISPLAY 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-logs config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news nodoc noinfo parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="C"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
PKGDIR="/usr/portage/packages"
PORTAGE_COMPRESS="xz"
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="X amd64 berkdb bzip2 cli crypt cxx dri fortran hardened iconv jpeg libtirpc minimal modules ncurses nptl openmp pcre png readline seccomp ssl tcpd unicode zlib" ABI_X86="64" CPU_FLAGS_X86="mmx mmxext sse sse2" ELIBC="glibc" INPUT_DEVICES="libinput keyboard mouse" KERNEL="linux" OFFICE_IMPLEMENTATION="libreoffice" POSTGRES_TARGETS="postgres9_5 postgres10" PYTHON_SINGLE_TARGET="python3_6" PYTHON_TARGETS="python3_6" USERLAND="GNU"
Unset:  CC, CPPFLAGS, CTARGET, CXX, INSTALL_MASK, LC_ALL, LINGUAS, MAKEOPTS, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Thomas Deutschmann (RETIRED) gentoo-dev 2018-10-05 19:56:29 UTC
> 35:05.74 virtual memory exhausted: Cannot allocate memory

You run out of memory. Your `emerge --info` output is incomplete so I don't know your MAKEOPTS settings. Anyway, try to reduce jobs.
Comment 2 An Müller 2018-10-06 00:17:22 UTC
Ugh! 

The build goes on for nearly 7 minutes after this error...
Anyway, obviously I missed it. And did not retry to rule out spurious errors like this one. So I'm sorry for being lazy and the resulting noise.

Err, thanks!

The --info output is complete, though...
The MAKEOPTS are not set at all, make's defaults are just fine here,
other settings are set to empty strings in my make.conf:
ALSA_CARDS=""
APACHE2_MODULES=""
CALLIGRA_FEATURES=""
COLLECTD_PLUGINS=""
GPSD_PROTOCOLS=""
LCD_DEVICES=""
LIBREOFFICE_EXTENSIONS=""
PHP_TARGETS=""
RUBY_TARGETS=""
VIDEO_CARDS=""
XTABLES_ADDONS=""

(That's me making emerge --info not so noisy on all the stuff the system hasn't got. But I take note to use a more orthodox make.conf next time around.)