Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 630582 - www-client/firefox-52.2.0 Compilation error in Firefox
Summary: www-client/firefox-52.2.0 Compilation error in Firefox
Status: RESOLVED WORKSFORME
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Mozilla Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-09-10 13:32 UTC by elc79
Modified: 2017-10-04 16:19 UTC (History)
2 users (show)

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


Attachments
build log (file_630582.txt,28 bytes, patch)
2017-09-10 14:19 UTC, elc79
Details | Diff
build log (build.log.xz,52.32 KB, text/plain; charset=utf-8)
2017-09-10 14:32 UTC, elc79
Details
build log (build.log.xz,52.32 KB, text/plain; charset=ISO-8859-1)
2017-09-10 14:47 UTC, elc79
Details
build log (build.log.xz,52.32 KB, application/octet-stream)
2017-09-10 14:54 UTC, elc79
Details

Note You need to log in before you can comment on or make changes to this bug.
Description elc79 2017-09-10 13:32:29 UTC
I was emerging Firefox and it showed me an error stopping the compilation, it happened for second time and i don't know what to do, emerge says to post the output so here it goes:

# emerge --info '=www-client/firefox-52.2.0::gentoo'
Portage 2.3.6 (python 3.4.5-final-0, default/linux/amd64/13.0/desktop, gcc-5.4.0, glibc-2.23-r4, 4.12.5-gentoo x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-4.12.5-gentoo-x86_64-Intel-R-_Core-TM-2_CPU_6300_@_1.86GHz-with-gentoo-2.3
KiB Mem:      758140 total,    503612 free
KiB Swap:     524284 total,    420464 free
Timestamp of repository gentoo: Fri, 01 Sep 2017 21:00:01 +0000
sh bash 4.3_p48-r1
ld GNU ld (Gentoo 2.28.1 p1.0) 2.28.1
app-shells/bash:          4.3_p48-r1::gentoo
dev-lang/perl:            5.24.1-r2::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.28::gentoo
sys-apps/sandbox:         2.10-r3::gentoo
sys-devel/autoconf:       2.13::gentoo, 2.69::gentoo
sys-devel/automake:       1.15-r2::gentoo
sys-devel/binutils:       2.28.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.4::gentoo (virtual/os-headers)
sys-libs/glibc:           2.23-r4::gentoo
Repositories:

gentoo
    location: /usr/portage
    sync-type: rsync
    sync-uri: rsync://rsync.gentoo.org/gentoo-portage
    priority: -1000

ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /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=native -O2 -pipe"
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://distfiles.gentoo.org"
LANG="es_ES.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j1"
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="/var/tmp"
USE="X a52 aac acl acpi alsa amd64 berkdb bindist bluetooth branding bzip2 cairo cdda cdr cli consolekit cracklib crypt cups cxx dbus dri dts dvd dvdr emboss encode exif fam firefox flac fortran gdbm gif glamor gnome-keyring gpm gtk iconv ipv6 jpeg lcms ldap libnotify mad minizip mng modules mp3 mp4 mpeg multilib ncurses nls nptl ogg opengl openmp pam pango pcre pdf png policykit ppds qt3support qt4 readline sdl seccomp session spell sqlite ssl startup-notification svg tcpd tiff truetype udev udisks unicode upower usb vorbis wxwidgets x264 xattr xcb xml xv xvid zlib" ABI_X86="64" 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="kexi words flow plan sheets stage tables krita karbon braindump author" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="mmx sse sse2 mmxext" 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" INPUT_DEVICES="evdev synaptics" KERNEL="linux" L10N="es-ES es" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="es es_ES" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-6" POSTGRES_TARGETS="postgres9_5" PYTHON_SINGLE_TARGET="python3_4" PYTHON_TARGETS="python2_7 python3_4" RUBY_TARGETS="ruby22" USERLAND="GNU" VIDEO_CARDS="virtualbox" XFCE_PLUGINS="brightness clock trash" 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_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

if do you need the build log, is here: http://codepad.org/snB74cV5
Comment 1 Ben Kohler gentoo-dev 2017-09-10 13:38:02 UTC
Please always attach the full build log to the bug report.  I don't think your pastebin link contains the full log, and also we do not like to rely on external hosting for bug reports.

That said, I'm pretty sure you ran out of memory.
Comment 2 elc79 2017-09-10 13:46:10 UTC
I'm sorry, here is: https://bpaste.net/show/46b875de353c
Comment 3 Ben Kohler gentoo-dev 2017-09-10 13:50:43 UTC
That is also not an attachment.

And yes you ran out of memory, check dmesg to confirm.

You should allocate 4GB or so of swap, if you only have ~768MB of RAM.
Comment 4 Jonas Stein gentoo-dev 2017-09-10 13:54:14 UTC
Thank you for the report. Please *attach* the logfiles,
https://wiki.gentoo.org/wiki/Bugzilla/Bug_report_guide#Report_a_build-time_bug_.28emerge_failed.29
and reopen this ticket (Status:unconfirmed).
Comment 5 elc79 2017-09-10 14:04:47 UTC
It would be enough create a file swap? It's a very limited VM and my pc is not very powerful.
Comment 6 Ben Kohler gentoo-dev 2017-09-10 14:08:17 UTC
yes
Comment 7 elc79 2017-09-10 14:19:49 UTC
Created attachment 493732 [details, diff]
build log

build log
Comment 8 elc79 2017-09-10 14:26:38 UTC
Excuse me, i don't know how to attach a file with links webbrowser
Comment 9 elc79 2017-09-10 14:32:17 UTC
Created attachment 493734 [details]
build log
Comment 10 elc79 2017-09-10 14:47:31 UTC
Created attachment 493736 [details]
build log
Comment 11 elc79 2017-09-10 14:54:49 UTC
Created attachment 493738 [details]
build log
Comment 12 elc79 2017-09-10 14:56:19 UTC
I'm sorry, it's my first time uploading a file from a text based browser, please delete all useless messages.
Comment 13 Jonas Stein gentoo-dev 2017-09-10 15:05:17 UTC
you can also try the binary www-client/firefox-bin, if your VM is too small.
Usually the RAM requirement increases, if you compile on several threads in parallel.
@mozilla we can close this ticket, right?