Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
SOLVED: net-libs/webkit-gtk-2.20.4 fails to compile
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
Konrarad81
n00b
n00b


Joined: 10 Dec 2017
Posts: 8

PostPosted: Fri Aug 24, 2018 10:36 am    Post subject: SOLVED: net-libs/webkit-gtk-2.20.4 fails to compile Reply with quote

Hey folks,
in the course of updating my system, since some days the compilation of webkit-gtk-2.20.4 keeps crashing with the error notification
Code:

ninja -v -j4 -l0 failed

Is this a bug that should be reported? Here comes the required information:
Code:

# emerge --info '=net-libs/webkit-gtk-2.20.4::gentoo'
Portage 2.3.40 (python 3.6.5-final-0, default/linux/amd64/17.0/desktop, gcc-7.3.0, glibc-2.26-r7, 4.14.61-gentoo x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-4.14.61-gentoo-x86_64-Intel-R-_Core-TM-_i7-3520M_CPU_@_2.90GHz-with-gentoo-2.4.1
KiB Mem:     3733244 total,   2372108 free
KiB Swap:    1951740 total,   1914464 free
Timestamp of repository gentoo: Fri, 24 Aug 2018 07:00:01 +0000
Head commit of repository gentoo: 51443d82972d1a63484ea8c515c2ff6720b94d0f
sh bash 4.4_p12
ld GNU ld (Gentoo 2.30 p2) 2.30.0
app-shells/bash:          4.4_p12::gentoo
dev-lang/perl:            5.24.3-r1::gentoo
dev-lang/python:          2.7.14-r1::gentoo, 3.6.5::gentoo
dev-util/cmake:           3.9.6::gentoo
dev-util/pkgconfig:       0.29.2::gentoo
sys-apps/baselayout:      2.4.1-r2::gentoo
sys-apps/openrc:          0.34.11::gentoo
sys-apps/sandbox:         2.13::gentoo
sys-devel/autoconf:       2.13::gentoo, 2.69-r4::gentoo
sys-devel/automake:       1.11.6-r3::gentoo, 1.15.1-r2::gentoo
sys-devel/binutils:       2.30-r2::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-r3::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-jobs: 1
    sync-rsync-extra-opts:
    sync-rsync-verify-metamanifest: yes
    sync-rsync-verify-max-age: 24

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/sandbox.d /etc/terminfo"
CXXFLAGS="-march=native -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
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 merge-sync multilib-strict 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="en_US.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
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 bluetooth branding bzip2 cairo cdda cdr cli consolekit crypt cups cxx dbus dri dts dvd dvdr emboss encode exif fam flac fortran gdbm gif glamor gpm gtk iconv ipv6 jpeg lcms ldap libnotify libtirpc lock mad mmx mng modules mp3 mp4 mpeg multilib ncurses nls nptl nvidia ogg opengl openmp pam pango pcre pdf png policykit ppds qt5 readline sdl seccomp session spell sse sse2 ssl startup-notification svg tcpd tiff tk truetype udev udisks unicode upower usb vorbis wxwidgets x264 xattr xcb xml xv xvid xvmc 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="karbon plan sheets stage words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="mmx mmxext sse sse2" 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 synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-6 php7-0" POSTGRES_TARGETS="postgres9_5 postgres10" PYTHON_SINGLE_TARGET="python3_6" PYTHON_TARGETS="python2_7 python3_6" RUBY_TARGETS="ruby23" USERLAND="GNU" VIDEO_CARDS="nvidia" 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, LINGUAS, MAKEOPTS, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

and
Code:

# emerge -pqv '=net-libs/webkit-gtk-2.20.4::gentoo'
[ebuild     U ] net-libs/webkit-gtk-2.20.4 [2.20.3] USE="X egl geolocation gstreamer introspection jit libnotify opengl spell webgl (-aqua) -coverage -doc -gles2 -gnome-keyring -nsplugin {-test} -wayland"

 * IMPORTANT: 17 news items need reading for repository 'gentoo'.
 * Use eselect news read to view new items.

and the build.log is too large to be sent, but I can attach the last lines:
Code:

# cat /var/tmp/portage/net-libs/webkit-gtk-2.20.4/temp/build.log
[...]
[1952/3018] /usr/bin/x86_64-pc-linux-gnu-g++ -DBUILDING_GTK__=1 -DBUILDING_WEBKIT -DBUILDING_WITH_CMAKE=1 -DBUILDING_WebCore -DDATA_DIR=\"share\" -DGETTEXT_PACKAGE=\"WebKit2GTK-4.0\" -DHAVE_CONFIG_H=1 -DSTATICALLY_LINKED_WITH_PAL=1 -DWEBKITGTK_API_VERSION_STRING=\"4.0\" -I. -I/var/tmp/portage/net-libs/webkit-gtk-2.20.4/work/webkitgtk-2.20.4/Source/WebCore -I/var/tmp/portage/net-libs/webkit-gtk-2.20.4/work/webkitgtk-2.20.4/Source/WebCore/Modules/airplay -I/var/tmp/portage/net-libs/webkit-gtk-2.20.4/work/webkitgtk-2.20.4/Source/WebCore/Modules/beacon -I/var/tmp/portage/net-libs/webkit-gtk-2.20.4/work/webkitgtk-2.20.4/Source/WebCore/Modules/applepay -I/var/tmp/portage/net-libs/webkit-gtk-2.20.4/work/webkitgtk-2.20.4/Source/WebCore/Modules/applepay/paymentrequest -I/var/tmp/portage/net-libs/webkit-gtk-2.20.4/work/webkitgtk-2.20.4/Source/WebCore/Modules/cache -I/var/tmp/portage/net-libs/webkit-gtk-2.20.4/work/webkitgtk-2.20.4/Source/WebCore/Modules/credentialmanagement -I/var/tmp/portage/net-libs/webkit-gtk-2.20.4/work/webkitgtk-2.20.4/Source/WebCore/Modules/encryptedmedia -I/var/tmp/portage/net-libs/webkit-gtk-2.20.4/work/webkitgtk-2.20.4/Source/WebCore/Modules/encryptedmedia/legacy -I/var/tmp/portage/net-libs/webkit-gtk-2.20.4/work/webkitgtk-2.20.4/Source/WebCore/Modules/entriesapi -I/var/tmp/portage/net-libs/webkit-gtk-2.20.4/work/webkitgtk-2.20.4/Source/WebCore/Modules/fetch -I/var/tmp/portage/net-libs/webkit-gtk-2.20.4/work/webkitgtk-2.20.4/Source/WebCore/Modules/geolocation -I/var/tmp/portage/net-libs/webkit-gtk-2.20.4/work/webkitgtk-2.20.4/Source/WebCore/Modules/indexeddb -I/var/tmp/portage/net-libs/webkit-gtk-2.20.4/work/webkitgtk-2.20.4/Source/WebCore/Modules/indexeddb/client -I/var/tmp/portage/net-libs/webkit-gtk-2.20.4/work/webkitgtk-2.20.4/Source/WebCore/Modules/indexeddb/server -I/var/tmp/portage/net-libs/webkit-gtk-2.20.4/work/webkitgtk-2.20.4/Source/WebCore/Modules/indexeddb/shared -I/var/tmp/portage/net-libs/webkit-gtk-2.20.4/work/webkitgtk-2.20.4/Source/WebCore/Modules/mediacapabilities -I/var/tmp/portage/net-libs/webkit-gtk-2.20.4/work/webkitgtk-2.20.4/Source/WebCore/Modules/mediacontrols -I/var/tmp/portage/net-libs/webkit-gtk-2.20.4/work/webkitgtk-2.20.4/Source/WebCore/Modules/mediasession -I/var/tmp/portage/net-libs/webkit-gtk-2.20.4/work/webkitgtk-2.20.4/Source/WebCore/Modules/mediasource -I/var/tmp/portage/net-libs/webkit-gtk-2.20.4/work/webkitgtk-2.20.4/Source/WebCore/Modules/mediastream -I/var/tmp/portage/net-libs/webkit-gtk-2.20.4/work/webkitgtk-2.20.4/Source/WebCore/Modules/navigatorcontentutils -I/var/tmp/portage/net-libs/webkit-gtk-2.20.4/work/webkitgtk-2.20.4/Source/WebCore/Modules/notifications -I/var/tmp/portage/net-libs/webkit-gtk-2.20.4/work/webkitgtk-2.20.4/Source/WebCore/Modules/paymentrequest -I/var/tmp/portage/net-libs/webkit-gtk-2.20.4/work/webkitgtk-2.20.4/Source/WebCore/Modules/plugins -I/var/tmp/portage/net-libs/webkit-gtk-2.20.4/work/webkitgtk-2.20.4/Source/WebCore/Modules/quota -I/var/tmp/portage/net-libs/webkit-gtk-2.20.4/work/webkitgtk-2.20.4/Source/WebCore/Modules/speech -I/var/tmp/portage/net-libs/webkit-gtk-2.20.4/work/webkitgtk-2.20.4/Source/WebCore/Modules/streams -I/var/tmp/portage/net-libs/webkit-gtk-2.20.4/work/webkitgtk-2.20.4/Source/WebCore/Modules/webaudio -I/var/tmp/portage/net-libs/webkit-gtk-2.20.4/work/webkitgtk-2.20.4/Source/WebCore/Modules/webauthn -I/var/tmp/portage/net-libs/webkit-gtk-2.20.4/work/webkitgtk-2.20.4/Source/WebCore/Modules/webdatabase -I/var/tmp/portage/net-libs/webkit-gtk-2.20.4/work/webkitgtk-2.20.4/Source/WebCore/Modules/webdriver -I/var/tmp/portage/net-libs/webkit-gtk-2.20.4/work/webkitgtk-2.20.4/Source/WebCore/Modules/websockets -I/var/tmp/portage/net-libs/webkit-gtk-2.20.4/work/webkitgtk-2.20.4/Source/WebCore/Modules/webvr -I/var/tmp/portage/net-libs/webkit-gtk-2.20.4/work/webkitgtk-2.20.4/Source/WebCore/accessibility -I/var/tmp/portage/net-libs/webkit-gtk-2.20.4/work/webkitgtk-2.20.4/Source/WebCore/animation -I/var/tmp/portage/net-libs/webkit-gtk-2.20.4/work/webkitgtk-2.20.4/Source/WebCore/bindings -I/var/tmp/portage/net-libs/webkit-gtk-2.20.4/work/webkitgtk-2.20.4/Source/WebCore/bindings/js -I/var/tmp/portage/net-libs/webkit-gtk-2.20.4/work/webkitgtk-2.20.4/Source/WebCore/bridge -I/var/tmp/portage/net-libs/webkit-gtk-2.20.4/work/webkitgtk-2.20.4/Source/WebCore/bridge/c -I/var/tmp/portage/net-libs/webkit-gtk-2.20.4/work/webkitgtk-2.20.4/Source/WebCore/bridge/jsc -I/var/tmp/portage/net-libs/webkit-gtk-2.20.4/work/webkitgtk-2.20.4/Source/WebCore/contentextensions -I/var/tmp/portage/net-libs/webkit-gtk-2.20.4/work/webkitgtk-2.20.4/Source/WebCore/crypto -I/var/tmp/portage/net-libs/webkit-gtk-2.20.4/work/webkitgtk-2.20.4/Source/WebCore/crypto/algorithms -I/var/tmp/portage/net-libs/webkit-gtk-2.20.4/work/webkitgtk-2.20.4/Source/WebCore/crypto/keys -I/var/tmp/portage/net-libs/webkit-gtk-2.20.4/work/webkitgtk-2.20.4/Source/WebCore/crypto/parameters -I/var/tmp/portage/net-libs/webkit-gtk-2.20.4/work/webkitgtk-2.20.4/Source/WebCore/css -I/var/tmp/portage/net-libs/webkit-gtk-2.20.4/work/webkitgtk-2.20.4/Source/WebCore/css/parser -I/var/tmp/portage/net-libs/webkit-gtk-2.20.4/work/webkitgtk-2.20.4/Source/WebCore/cssjit -I/var/tmp/portage/net-libs/webkit-gtk-2.20.4/work/webkitgtk-2.20.4/Source/WebCore/dom -I/var/tmp/portage/net-libs/webkit-gtk-2.20.4/work/webkitgtk-2.20.4/Source/WebCore/dom/default -I/var/tmp/portage/net-libs/webkit-gtk-2.20.4/work/webkitgtk-2.20.4/Source/WebCore/dom/messageports -I/var/tmp/portage/net-libs/webkit-gtk-2.20.4/work/webkitgtk-2.20.4/Source/WebCore/domjit -I/var/tmp/portage/net-libs/webkit-gtk-2.20.4/work/webkitgtk-2.20.4/Source/WebCore/editing -I/var/tmp/portage/net-libs/webkit-gtk-2.20.4/work/webkitgtk-2.20.4/Source/WebCore/fileapi -I/var/tmp/portage/net-libs/webkit-gtk-2.20.4/work/webkitgtk-2.20.4/Source/WebCore/history -I/var/tmp/portage/net-libs/webkit-gtk-2.20.4/work/webkitgtk-2.20.4/Source/WebCore/html -I/var/tmp/portage/net-libs/webkit-gtk-2.20.4/work/webkitgtk-2.20.4/Source/WebCore/html/canvas -I/var/tmp/portage/net-libs/webkit-gtk-2.20.4/work/webkitgtk-2.20.4/Source/WebCore/html/forms -I/var/tmp/portage/net-libs/webkit-gtk-2.20.4/work/webkitgtk-2.20.4/Source/WebCore/html/parser -I/var/tmp/portage/net-libs/webkit-gtk-2.20.4/work/webkitgtk-2.20.4/Source/WebCore/html/shadow -I/var/tmp/portage/net-libs/webkit-gtk-2.20.4/work/webkitgtk-2.20.4/Source/WebCore/html/track -I/var/tmp/portage/net-libs/webkit-gtk-2.20.4/work/webkitgtk-2.20.4/Source/WebCore/inspector -I/var/tmp/portage/net-libs/webkit-gtk-2.20.4/work/webkitgtk-2.20.4/Source/WebCore/inspector/agents -I/var/tmp/portage/net-libs/webkit-gtk-2.20.4/work/webkitgtk-2.20.4/Source/WebCore/inspector/agents/page -I/var/tmp/portage/net-libs/webkit-gtk-2.20.4/work/webkitgtk-2.20.4/Source/WebCore/inspector/agents/worker -I/var/tmp/portage/net-libs/webkit-gtk-2.20.4/work/webkitgtk-2.20.4/Source/WebCore/loader -I/var/tmp/portage/net-libs/webkit-gtk-2.20.4/work/webkitgtk-2.20.4/Source/WebCore/loader/appcache -I/var/tmp/portage/net-libs/webkit-gtk-2.20.4/work/webkitgtk-2.20.4/Source/WebCore/loader/archive -I/var/tmp/portage/net-libs/webkit-gtk-2.20.4/work/webkitgtk-2.20.4/Source/WebCore/loader/archive/mhtml -I/var/tmp/portage/net-libs/webkit-gtk-2.20.4/work/webkitgtk-2.20.4/Source/WebCore/loader/cache -I/var/tmp/portage/net-libs/webkit-gtk-2.20.4/work/webkitgtk-2.20.4/Source/WebCore/loader/icon -I/var/tmp/portage/net-libs/webkit-gtk-2.20.4/work/webkitgtk-2.20.4/Source/WebCore/mathml -I/var/tmp/portage/net-libs/webkit-gtk-2.20.4/work/webkitgtk-2.20.4/Source/WebCore/page -I/var/tmp/portage/net-libs/webkit-gtk-2.20.4/work/webkitgtk-2.20.4/Source/WebCore/page/animation -I/var/tmp/portage/net-libs/webkit-gtk-2.20.4/work/webkitgtk-2.20.4/Source/WebCore/page/csp -I/var/tmp/portage/net-libs/webkit-gtk-2.20.4/work/webkitgtk-2.20.4/Source/WebCore/page/scrolling -I/var/tmp/portage/net-libs/webkit-gtk-2.20.4/work/webkitgtk-2.20.4/Source/WebCore/platform -I/var/tmp/portage/net-libs/webkit-gtk-2.20.4/work/webkitgtk-2.20.4/Source/WebCore/platform/animation -I/var/tmp/portage/net-libs/webkit-gtk-2.20.4/work/webkitgtk-2.20.4/Source/WebCore/platform/audio -I/var/tmp/portage/net-libs/webkit-gtk-2.20.4/work/webkitgtk-2.20.4/Source/WebCore/platform/crypto -I/var/tmp/portage/net-libs/webkit-gtk-2.20.4/work/webkitgtk-2.20.4/Source/WebCore/platform/encryptedmedia -I/var/tmp/portage/net-libs/webkit-gtk-2.20.4/work/webkitgtk-2.20.4/Source/WebCore/platform/gamepad -I/var/tmp/portage/net-libs/webkit-gtk-2.20.4/work/webkitgtk-2.20.4/Source/WebCore/platform/graphics -I/var/tmp/portage/net-libs/webkit-gtk-2.20.4/work/webkitgtk-2.20.4/Source/WebCore/platform/graphics/cpu/arm -I/var/tmp/portage/net-libs/webkit-gtk-2.20.4/work/webkitgtk-2.20.4/Source/WebCore/platform/graphics/cpu/arm/filters -I/var/tmp/portage/net-libs/webkit-gtk-2.20.4/work/webkitgtk-2.20.4/Source/WebCore/platform/graphics/displaylists -I/var/tmp/portage/net-libs/webkit-gtk-2.20.4/work/webkitgtk-2.20.4/Source/WebCore/platform/graphics/filters -I/var/tmp/portage/net-libs/webkit-gtk-2.20.4/work/webkitgtk-2.20.4/Source/WebCore/platform/graphics/harfbuzz -I/var/tmp/portage/net-libs/webkit-gtk-2.20.4/work/webkitgtk-2.20.4/Source/WebCore/platform/graphics/harfbuzz/ng -I/var/tmp/portage/net-libs/webkit-gtk-2.20.4/work/webkitgtk-2.20.4/Source/WebCore/platform/graphics/iso -I/var/tmp/portage/net-libs/webkit-gtk-2.20.4/work/webkitgtk-2.20.4/Source/WebCore/platform/graphics/opentype -I/var/tmp/portage/net-libs/webkit-gtk-2.20.4/work/webkitgtk-2.20.4/Source/WebCore/platform/graphics/transforms -I/var/tmp/portage/net-libs/webkit-gtk-2.20.4/work/webkitgtk-2.20.4/Source/WebCore/platform/mediastream -I/var/tmp/portage/net-libs/webkit-gtk-2.20.4/work/webkitgtk-2.20.4/Source/WebCore/platform/mediastream/libwebrtc -I/var/tmp/portage/net-libs/webkit-gtk-2.20.4/work/webkitgtk-2.20.4/Source/WebCore/platform/mock -I/var/tmp/portage/net-libs/webkit-gtk-2.20.4/work/webkitgtk-2.20.4/Source/WebCore/platform/mock/mediasource -I/var/tmp/portage/net-libs/webkit-gtk-2.20.4/work/webkitgtk-2.20.4/Source/WebCore/platform/network -I/var/tmp/portage/net-libs/webkit-gtk-2.20.4/work/webkitgtk-2.20.4/Source/WebCore/platform/sql -I/var/tmp/portage/net-libs/webkit-gtk-2.20.4/work/webkitgtk-2.20.4/Source/WebCore/platform/text -I/var/tmp/portage/net-libs/webkit-gtk-2.20.4/work/webkitgtk-2.20.4/Source/WebCore/platform/text/icu -I/var/tmp/portage/net-libs/webkit-gtk-2.20.4/work/webkitgtk-2.20.4/Source/WebCore/plugins -I/var/tmp/portage/net-libs/webkit-gtk-2.20.4/work/webkitgtk-2.20.4/Source/WebCore/rendering -I/var/tmp/portage/net-libs/webkit-gtk-2.20.4/work/webkitgtk-2.20.4/Source/WebCore/rendering/line -I/var/tmp/portage/net-libs/webkit-gtk-2.20.4/work/webkitgtk-2.20.4/Source/WebCore/rendering/mathml -I/var/tmp/portage/net-libs/webkit-gtk-2.20.4/work/webkitgtk-2.20.4/Source/WebCore/rendering/shapes -I/var/tmp/portage/net-libs/webkit-gtk-2.20.4/work/webkitgtk-2.20.4/Source/WebCore/rendering/style -I/var/tmp/portage/net-libs/webkit-gtk-2.20.4/work/webkitgtk-2.20.4/Source/WebCore/rendering/svg -I/var/tmp/portage/net-libs/webkit-gtk-2.20.4/work/webkitgtk-2.20.4/Source/WebCore/rendering/updating -I/var/tmp/portage/net-libs/webkit-gtk-2.20.4/work/webkitgtk-2.20.4/Source/WebCore/replay -I/var/tmp/portage/net-libs/webkit-gtk-2.20.4/work/webkitgtk-2.20.4/Source/WebCore/storage -I/var/tmp/portage/net-libs/webkit-gtk-2.20.4/work/webkitgtk-2.20.4/Source/WebCore/style -I/var/tmp/portage/net-libs/webkit-gtk-2.20.4/work/webkitgtk-2.20.4/Source/WebCore/svg -I/var/tmp/portage/net-libs/webkit-gtk-2.20.4/work/webkitgtk-2.20.4/Source/WebCore/svg/animation -I/var/tmp/portage/net-libs/webkit-gtk-2.20.4/work/webkitgtk-2.20.4/Source/WebCore/svg/graphics -I/var/tmp/portage/net-libs/webkit-gtk-2.20.4/work/webkitgtk-2.20.4/Source/WebCore/svg/graphics/filters -I/var/tmp/portage/net-libs/webkit-gtk-2.20.4/work/webkitgtk-2.20.4/Source/WebCore/svg/properties -I/var/tmp/portage/net-libs/webkit-gtk-2.20.4/work/webkitgtk-2.20.4/Source/WebCore/websockets -I/var/tmp/portage/net-libs/webkit-gtk-2.20.4/work/webkitgtk-2.20.4/Source/WebCore/workers -I/var/tmp/portage/net-libs/webkit-gtk-2.20.4/work/webkitgtk-2.20.4/Source/WebCore/workers/service -I/var/tmp/portage/net-libs/webkit-gtk-2.20.4/work/webkitgtk-2.20.4/Source/WebCore/workers/service/context -I/var/tmp/portage/net-libs/webkit-gtk-2.20.4/work/webkitgtk-2.20.4/Source/WebCore/workers/service/server -I/var/tmp/portage/net-libs/webkit-gtk-2.20.4/work/webkitgtk-2.20.4/Source/WebCore/xml -I/var/tmp/portage/net-libs/webkit-gtk-2.20.4/work/webkitgtk-2.20.4/Source/WebCore/xml/parser -IDerivedSources/WebCore -I/var/tmp/portage/net-libs/webkit-gtk-2.20.4/work/webkitgtk-2.20.4/Source/WebCore/PAL -IDerivedSources/ForwardingHeaders/ANGLE -I/var/tmp/portage/net-libs/webkit-gtk-2.20.4/work/webkitgtk-2.20.4/Source/WebCore/platform/graphics/gpu -I/var/tmp/portage/net-libs/webkit-gtk-2.20.4/work/webkitgtk-2.20.4/Source/ThirdParty/xdgmime/src -I/var/tmp/portage/net-libs/webkit-gtk-2.20.4/work/webkitgtk-2.20.4/Source/WebCore/platform/graphics/cairo -I/var/tmp/portage/net-libs/webkit-gtk-2.20.4/work/webkitgtk-2.20.4/Source/WebCore/platform/graphics/freetype -I/var/tmp/portage/net-libs/webkit-gtk-2.20.4/work/webkitgtk-2.20.4/Source/WebCore/platform/graphics/gstreamer -I/var/tmp/portage/net-libs/webkit-gtk-2.20.4/work/webkitgtk-2.20.4/Source/WebCore/platform/graphics/gstreamer/mse -I/var/tmp/portage/net-libs/webkit-gtk-2.20.4/work/webkitgtk-2.20.4/Source/WebCore/platform/graphics/gstreamer/eme -I/var/tmp/portage/net-libs/webkit-gtk-2.20.4/work/webkitgtk-2.20.4/Source/WebCore/platform/audio/gstreamer -I/var/tmp/portage/net-libs/webkit-gtk-2.20.4/work/webkitgtk-2.20.4/Source/WebCore/platform/image-decoders -I/var/tmp/portage/net-libs/webkit-gtk-2.20.4/work/webkitgtk-2.20.4/Source/WebCore/platform/image-decoders/bmp -I/var/tmp/portage/net-libs/webkit-gtk-2.20.4/work/webkitgtk-2.20.4/Source/WebCore/platform/image-decoders/gif -I/var/tmp/portage/net-libs/webkit-gtk-2.20.4/work/webkitgtk-2.20.4/Source/WebCore/platform/image-decoders/ico -I/var/tmp/portage/net-libs/webkit-gtk-2.20.4/work/webkitgtk-2.20.4/Source/WebCore/platform/image-decoders/jpeg -I/var/tmp/portage/net-libs/webkit-gtk-2.20.4/work/webkitgtk-2.20.4/Source/WebCore/platform/image-decoders/png -I/var/tmp/portage/net-libs/webkit-gtk-2.20.4/work/webkitgtk-2.20.4/Source/WebCore/platform/image-decoders/webp -I/var/tmp/portage/net-libs/webkit-gtk-2.20.4/work/webkitgtk-2.20.4/Source/WebCore/platform/graphics/texmap -I/var/tmp/portage/net-libs/webkit-gtk-2.20.4/work/webkitgtk-2.20.4/Source/WebCore/page/scrolling/coordinatedgraphics -I/var/tmp/portage/net-libs/webkit-gtk-2.20.4/work/webkitgtk-2.20.4/Source/WebCore/platform/graphics/texmap/coordinated -I/var/tmp/portage/net-libs/webkit-gtk-2.20.4/work/webkitgtk-2.20.4/Source/WebCore/platform/graphics/nicosia -I/var/tmp/portage/net-libs/webkit-gtk-2.20.4/work/webkitgtk-2.20.4/Source/ThirdParty/ANGLE -I/var/tmp/portage/net-libs/webkit-gtk-2.20.4/work/webkitgtk-2.20.4/Source/ThirdParty/ANGLE/include/KHR -I/var/tmp/portage/net-libs/webkit-gtk-2.20.4/work/webkitgtk-2.20.4/Source/WebCore/accessibility/atk -I/var/tmp/portage/net-libs/webkit-gtk-2.20.4/work/webkitgtk-2.20.4/Source/WebCore/editing/atk -I/var/tmp/portage/net-libs/webkit-gtk-2.20.4/work/webkitgtk-2.20.4/Source/WebCore/page/gtk -I/var/tmp/portage/net-libs/webkit-gtk-2.20.4/work/webkitgtk-2.20.4/Source/WebCore/platform/geoclue -I/var/tmp/portage/net-libs/webkit-gtk-2.20.4/work/webkitgtk-2.20.4/Source/WebCore/platform/gtk -I/var/tmp/portage/net-libs/webkit-gtk-2.20.4/work/webkitgtk-2.20.4/Source/WebCore/platform/graphics/egl -I/var/tmp/portage/net-libs/webkit-gtk-2.20.4/work/webkitgtk-2.20.4/Source/WebCore/platform/graphics/glx -I/var/tmp/portage/net-libs/webkit-gtk-2.20.4/work/webkitgtk-2.20.4/Source/WebCore/platform/graphics/gtk -I/var/tmp/portage/net-libs/webkit-gtk-2.20.4/work/webkitgtk-2.20.4/Source/WebCore/platform/graphics/opengl -I/var/tmp/portage/net-libs/webkit-gtk-2.20.4/work/webkitgtk-2.20.4/Source/WebCore/platform/graphics/wayland -I/var/tmp/portage/net-libs/webkit-gtk-2.20.4/work/webkitgtk-2.20.4/Source/WebCore/platform/graphics/x11 -I/var/tmp/portage/net-libs/webkit-gtk-2.20.4/work/webkitgtk-2.20.4/Source/WebCore/platform/mediastream/gtk -I/var/tmp/portage/net-libs/webkit-gtk-2.20.4/work/webkitgtk-2.20.4/Source/WebCore/platform/network/gtk -I/var/tmp/portage/net-libs/webkit-gtk-2.20.4/work/webkitgtk-2.20.4/Source/WebCore/platform/network/soup -I/var/tmp/portage/net-libs/webkit-gtk-2.20.4/work/webkitgtk-2.20.4/Source/WebCore/platform/text/gtk -I/var/tmp/portage/net-libs/webkit-gtk-2.20.4/work/webkitgtk-2.20.4/Source/WebCore/bindings/gobject -isystem /usr/include/libxml2 -isystem /usr/include/cairo -isystem /usr/include/freetype2/freetype -isystem /usr/include/freetype2 -isystem /usr/include/harfbuzz -isystem /usr/include/gstreamer-1.0 -isystem /usr/include/glib-2.0 -isystem /usr/lib64/glib-2.0/include -isystem /usr/include/orc-0.4 -isystem /usr/lib64/gstreamer-1.0/include -isystem /usr/include/libdrm -isystem /usr/include/atk-1.0 -isystem /usr/include/enchant -isystem /usr/include/gio-unix-2.0 -isystem /usr/include/libsoup-2.4 -IDerivedSources/ForwardingHeaders -I/var/tmp/portage/net-libs/webkit-gtk-2.20.4/work/webkitgtk-2.20.4/Source/bmalloc -IDerivedSources -I/var/tmp/portage/net-libs/webkit-gtk-2.20.4/work/webkitgtk-2.20.4/Source/ThirdParty  -DNDEBUG -fdiagnostics-color=always -Wno-expansion-to-defined -Wno-attributes -Wno-noexcept-type -Wno-maybe-uninitialized -Wwrite-strings -Wundef -Wpointer-arith -Wmissing-format-attribute -Wformat-security -Wcast-align -Wextra -Wall -march=native -O2 -pipe -fno-strict-aliasing -fno-strict-aliasing -fno-exceptions -std=c++14 -fno-rtti -fPIC -MD -MT Source/WebCore/CMakeFiles/WebCore.dir/__/__/DerivedSources/WebCore/unified-sources/UnifiedSource214.cpp.o -MF Source/WebCore/CMakeFiles/WebCore.dir/__/__/DerivedSources/WebCore/unified-sources/UnifiedSource214.cpp.o.d -o Source/WebCore/CMakeFiles/WebCore.dir/__/__/DerivedSources/WebCore/unified-sources/UnifiedSource214.cpp.o -c DerivedSources/WebCore/unified-sources/UnifiedSource214.cpp
ninja: build stopped: subcommand failed.
 * ERROR: net-libs/webkit-gtk-2.20.4::gentoo failed (compile phase):
 *   ninja -v -j4 -l0 failed
 *
 * Call stack:
 *     ebuild.sh, line  124:  Called src_compile
 *   environment, line 4834:  Called cmake-utils_src_compile
 *   environment, line 1294:  Called cmake-utils_src_make
 *   environment, line 1469:  Called _cmake_ninja_src_make
 *   environment, line  528:  Called eninja
 *   environment, line 1816:  Called die
 * The specific snippet of code:
 *       "$@" || die "${nonfatal_args[@]}" "${*} failed"
 *
 * If you need support, post the output of `emerge --info '=net-libs/webkit-gtk-2.20.4::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=net-libs/webkit-gtk-2.20.4::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/net-libs/webkit-gtk-2.20.4/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/net-libs/webkit-gtk-2.20.4/temp/environment'.
 * Working directory: '/var/tmp/portage/net-libs/webkit-gtk-2.20.4/work/webkit-gtk-2.20.4_build'
 * S: '/var/tmp/portage/net-libs/webkit-gtk-2.20.4/work/webkitgtk-2.20.4'


If anyone has an idea I would be most grateful. Thank you!


Last edited by Konrarad81 on Fri Aug 24, 2018 4:35 pm; edited 1 time in total
Back to top
View user's profile Send private message
fedeliallalinea
Bodhisattva
Bodhisattva


Joined: 08 Mar 2003
Posts: 19604
Location: here

PostPosted: Fri Aug 24, 2018 10:39 am    Post subject: Reply with quote

Check dmesg if is an out of memory error, if not post full build.log with wgetpaste
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
Konrarad81
n00b
n00b


Joined: 10 Dec 2017
Posts: 8

PostPosted: Fri Aug 24, 2018 10:45 am    Post subject: dmesg Reply with quote

Well, no memory problem, but dmesg has been actually helpful:
Code:

[ 1032.262025] perf: interrupt took too long (3144 > 3128), lowering kernel.perf_event_max_sample_rate to 63500
[ 1396.653503] perf: interrupt took too long (3935 > 3930), lowering kernel.perf_event_max_sample_rate to 50750
[ 3734.883879] CPU0: Core temperature above threshold, cpu clock throttled (total events = 48)
[ 3734.883880] CPU1: Core temperature above threshold, cpu clock throttled (total events = 48)
[ 3734.883881] CPU2: Package temperature above threshold, cpu clock throttled (total events = 48)
[ 3734.883883] CPU3: Package temperature above threshold, cpu clock throttled (total events = 48)
[ 3734.883883] CPU0: Package temperature above threshold, cpu clock throttled (total events = 48)
[ 3734.883884] CPU1: Package temperature above threshold, cpu clock throttled (total events = 48)
[ 3734.884846] CPU1: Core temperature/speed normal
[ 3734.884847] CPU0: Core temperature/speed normal
[ 3734.884848] CPU3: Package temperature/speed normal
[ 3734.884849] CPU2: Package temperature/speed normal
[ 3734.884849] CPU0: Package temperature/speed normal
[ 3734.884850] CPU1: Package temperature/speed normal
[ 3740.023450] perf: interrupt took too long (4924 > 4918), lowering kernel.perf_event_max_sample_rate to 40500
[ 7717.134851] CPU0: Core temperature above threshold, cpu clock throttled (total events = 77)
[ 7717.134852] CPU1: Core temperature above threshold, cpu clock throttled (total events = 77)
[ 7717.134855] CPU2: Package temperature above threshold, cpu clock throttled (total events = 77)
[ 7717.134856] CPU3: Package temperature above threshold, cpu clock throttled (total events = 77)
[ 7717.134856] CPU0: Package temperature above threshold, cpu clock throttled (total events = 77)
[ 7717.134857] CPU1: Package temperature above threshold, cpu clock throttled (total events = 77)
[ 7717.135869] CPU1: Core temperature/speed normal
[ 7717.135870] CPU0: Core temperature/speed normal
[ 7717.135871] CPU2: Package temperature/speed normal
[ 7717.135872] CPU3: Package temperature/speed normal
[ 7717.135872] CPU1: Package temperature/speed normal
[ 7717.135873] CPU0: Package temperature/speed normal


So maybe my processor gets too hot and then the compile crashes? Ok, then I need to wait until the weather gets cooler.
Shall I delete the thread (if I can) of just mark it solved?

Thank you in the first place!

No, the temperature is not the only problem. The build.log can be found here
Code:

https://paste.pound-python.org/show/lODPzwa6Pj5Sgjb7kfYt/
Back to top
View user's profile Send private message
fedeliallalinea
Bodhisattva
Bodhisattva


Joined: 08 Mar 2003
Posts: 19604
Location: here

PostPosted: Fri Aug 24, 2018 11:52 am    Post subject: Reply with quote

Code:
x86_64-pc-linux-gnu-g++: internal compiler error: Aborted (program cc1plus)

This is a tipically out of moemory error. Try with a lower MAKEOPTS
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
Konrarad81
n00b
n00b


Joined: 10 Dec 2017
Posts: 8

PostPosted: Fri Aug 24, 2018 4:34 pm    Post subject: Solved: Reply with quote

Yes, thanks. Setting MAKEOPTS lower solved this issue.

Thanks a lot for the hint!
Back to top
View user's profile Send private message
mrl98
n00b
n00b


Joined: 14 Sep 2018
Posts: 4

PostPosted: Fri Sep 14, 2018 4:52 pm    Post subject: Compiling with low memory pc Reply with quote

I have gone all the way down to -j1 but it still fails as it runs out of memory.

I have an Asus aspire one with only 1GB ram.

Any idea how to get it to compile?
Back to top
View user's profile Send private message
fedeliallalinea
Bodhisattva
Bodhisattva


Joined: 08 Mar 2003
Posts: 19604
Location: here

PostPosted: Fri Sep 14, 2018 4:59 pm    Post subject: Reply with quote

mrl98 welcome to gentoo forum!
You can create a temporary swap space with a file, you can also temporary disable -pipe on cflags
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


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

PostPosted: Fri Sep 14, 2018 5:17 pm    Post subject: Reply with quote

-pipe is not a command to gcc, its a request which gcc will ignore if memory is low.

-pipe asks gcc to pass intermediate files between phases in memory if there is enough memory.
When RAM is short, intermediate files are written to disk.

For cooling, support the laptop by the edges, to allow air to circulate underneath.
A couple of thick books are good. I run my Acer One netbook on its side, so that the cooling air path is vertical, with the exhaust at the top, while it builds.
_________________
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
mrl98
n00b
n00b


Joined: 14 Sep 2018
Posts: 4

PostPosted: Sat Sep 15, 2018 11:04 am    Post subject: Reply with quote

wow! I am stunned by the speed of response to my question! Thank you both.

however, it definitely looks like a memory rather than a cooling problem. I set my swap partition equal to my memory size, so also 1GB. dmesg tells me I have run out of swap - see below. Is there a way to temporarily get more swap without moving partitions around? If I do resize my swap, what would be needed for compilation of the largest packages [I guess libreoffice or firefox]

Code:

[240454.716764] cc1plus invoked oom-killer: gfp_mask=0x14201ca(GFP_HIGHUSER_MOVABLE|__GFP_COLD), nodemask=(null),  order=0, oom_score_adj=0
[240454.716784] CPU: 1 PID: 17925 Comm: cc1plus Not tainted 4.14.61-gentoo-mrl2 #4
[240454.716787] Hardware name: Acer AOD255E/JE02_PT_E, BIOS V3.15(DDR3) 02/15/2011
[240454.716791] Call Trace:
[240454.716810]  dump_stack+0x46/0x67
[240454.716820]  dump_header.isra.30+0x7f/0x1a8
[240454.716828]  oom_kill_process+0x227/0x400
[240454.716836]  out_of_memory+0xe1/0x380
[240454.716844]  __alloc_pages_slowpath+0x9da/0xcd0
[240454.716853]  __alloc_pages_nodemask+0x180/0x1a0
[240454.716860]  filemap_fault+0x1f3/0x5b0
[240454.716868]  ? alloc_set_pte+0x105/0x2a0
[240454.716874]  ? filemap_map_pages+0x117/0x2b0
[240454.716882]  ext4_filemap_fault+0x28/0x40
[240454.716888]  __do_fault+0x12/0x60
[240454.716895]  __handle_mm_fault+0x526/0x930
[240454.716904]  __do_page_fault+0x201/0x450
[240454.716913]  ? page_fault+0x2f/0x50
[240454.716918]  page_fault+0x45/0x50
[240454.716925] RIP: ffffffff:0x1
[240454.716930] RSP: 6e7980a8:0000000000000001 EFLAGS: 7fe66e7980a8
[240454.716935] Mem-Info:
[240454.716951] active_anon:118919 inactive_anon:118960 isolated_anon:0
                 active_file:159 inactive_file:150 isolated_file:0
                 unevictable:0 dirty:0 writeback:0 unstable:0
                 slab_reclaimable:3093 slab_unreclaimable:2505
                 mapped:14 shmem:1 pagetables:1402 bounce:0
                 free:1925 free_pcp:222 free_cma:0
[240454.716961] Node 0 active_anon:475676kB inactive_anon:475840kB active_file:636kB inactive_file:600kB unevictable:0kB isolated(anon):0kB isolated(file):0kB mapped:56kB dirty:0kB writeback:0kB shmem:4kB writeback_tmp:0kB unstable:0kB all_unreclaimable? no
[240454.716974] DMA free:3872kB min:60kB low:72kB high:84kB active_anon:6140kB inactive_anon:5732kB active_file:0kB inactive_file:0kB unevictable:0kB writepending:0kB present:15992kB managed:15908kB mlocked:0kB kernel_stack:0kB pagetables:52kB bounce:0kB free_pcp:0kB local_pcp:0kB free_cma:0kB
[240454.716976] lowmem_reserve[]: 0 954 954 954
[240454.716998] DMA32 free:3828kB min:3920kB low:4900kB high:5880kB active_anon:469536kB inactive_anon:470108kB active_file:700kB inactive_file:904kB unevictable:0kB writepending:0kB present:1021416kB managed:981352kB mlocked:0kB kernel_stack:1232kB pagetables:5556kB bounce:0kB free_pcp:888kB local_pcp:152kB free_cma:0kB
[240454.717000] lowmem_reserve[]: 0 0 0 0
[240454.717010] DMA: 2*4kB (ME) 5*8kB (ME) 5*16kB (UE) 7*32kB (UE) 3*64kB (UM) 0*128kB 3*256kB (UME) 1*512kB (U) 2*1024kB (UE) 0*2048kB 0*4096kB = 3872kB
[240454.717052] DMA32: 64*4kB (UMEH) 29*8kB (UEH) 106*16kB (UEH) 22*32kB (UEH) 1*64kB (H) 2*128kB (H) 0*256kB 2*512kB (H) 0*1024kB 0*2048kB 0*4096kB = 4232kB
[240454.717094] Node 0 hugepages_total=0 hugepages_free=0 hugepages_surp=0 hugepages_size=2048kB
[240454.717096] 426 total pagecache pages
[240454.717101] 105 pages in swap cache
[240454.717106] Swap cache stats: add 31876454, delete 31876349, find 10706623/18144457
[240454.717108] Free swap  = 0kB
[240454.717110] Total swap = 1126396kB
[240454.717113] 259352 pages RAM
[240454.717115] 0 pages HighMem/MovableOnly
[240454.717117] 10037 pages reserved
[240454.717119] [ pid ]   uid  tgid total_vm      rss nr_ptes nr_pmds swapents oom_score_adj name
[240454.717133] [  479]     0   479     4190        0      15       3      412         -1000 udevd
[240454.717141] [ 1278]     0  1278     2131       21      10       3       19             0 syslogd
[240454.717148] [ 1284]     0  1284     2081        0      10       3      925             0 klogd
[240454.717155] [ 1318]     0  1318     3908       21      13       3      117             0 crond
[240454.717162] [ 1351]     0  1351     1109        0       8       3       50             0 gpm
[240454.717169] [ 1560]     0  1560     1715       32       9       3       48             0 dhcpcd
[240454.717176] [ 1685]     0  1685    14709        0      35       3      107             0 login
[240454.717183] [ 1686]     0  1686     3692        0      12       3       38             0 agetty
[240454.717190] [ 1687]     0  1687     3692        0      12       3       37             0 agetty
[240454.717197] [ 1688]     0  1688     3692        0      12       3       37             0 agetty
[240454.717204] [ 1689]     0  1689     3692        0      12       3       38             0 agetty
[240454.717211] [ 1731]  1000  1731    42014       47      19       3       33             0 gpg-agent
[240454.717218] [ 1857]     0  1857    14709        0      35       3      106             0 login
[240454.717225] [ 1858]     0  1858     4603        1      15       3      145             0 bash
[240454.717232] [ 7663]  1000  7663     4603        1      15       3      128             0 bash
[240454.717239] [ 8501]     0  8501    47566        0      97       4    20406             0 emerge
[240454.717246] [11284]   250 11284     1091        1       9       3       43             0 sandbox
[240454.717253] [11285]   250 11285     6357        1      17       3     1303             0 ebuild.sh
[240454.717261] [11302]   250 11302     6389        0      15       3     1326             0 ebuild.sh
[240454.717268] [11320]   250 11320    17290        1      39       3    12596             0 ninja
[240454.717275] [17924]   250 17924     4436        1      12       3      147             0 x86_64-pc-linux
[240454.717283] [17925]   250 17925   510737   237646     973       5   244386             0 cc1plus
[240454.717287] Out of memory: Kill process 17925 (cc1plus) score 909 or sacrifice child
[240454.717299] Killed process 17925 (cc1plus) total-vm:2042948kB, anon-rss:950584kB, file-rss:0kB, shmem-rss:0kB
[240455.087747] oom_reaper: reaped process 17925 (cc1plus), now anon-rss:0kB, file-rss:0kB, shmem-rss:0kB
Back to top
View user's profile Send private message
mrl98
n00b
n00b


Joined: 14 Sep 2018
Posts: 4

PostPosted: Sat Sep 15, 2018 12:55 pm    Post subject: curiouser and curiouser Reply with quote

Ive dropped optimizations to -O0

It fails in the same place: ninja -v -j1 -l0 failed

However his time the last dmesg items are from bootup, so clearly failed for a different reason. Ive got it propped up to make sure its got plenty of air.

emerge //info as follows

Code:

Portage 2.3.40 (python 3.6.5-final-0, default/linux/amd64/17.0/desktop, gcc-7.3.0, glibc-2.26-r7, 4.14.61-gentoo-mrl2 x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-4.14.61-gentoo-mrl2-x86_64-Intel-R-_Atom-TM-_CPU_N455_@_1.66GHz-with-gentoo-2.4.1
KiB Mem:      997260 total,     27280 free
KiB Swap:    1126396 total,   1126396 free
Timestamp of repository gentoo: Thu, 13 Sep 2018 19:00:01 +0000
Head commit of repository gentoo: 57f5bcdc20c0acc8d24d5a4e07eac4edfdc2136b
sh bash 4.4_p12
ld GNU ld (Gentoo 2.30 p2) 2.30.0
app-shells/bash:          4.4_p12::gentoo
dev-java/java-config:     2.2.0-r4::gentoo
dev-lang/perl:            5.24.3-r1::gentoo
dev-lang/python:          2.7.14-r1::gentoo, 3.6.5::gentoo
dev-util/cmake:           3.9.6::gentoo
dev-util/pkgconfig:       0.29.2::gentoo
sys-apps/baselayout:      2.4.1-r2::gentoo
sys-apps/openrc:          0.34.11::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-r2::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-r3::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-max-age: 24
    sync-rsync-verify-metamanifest: yes
    sync-rsync-verify-jobs: 1
    sync-rsync-extra-opts:

ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O0"
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/sandbox.d /etc/terminfo"
CXXFLAGS="-march=native -O0"
DISTDIR="/usr/portage/distfiles"
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 merge-sync multilib-strict 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://ftp.halifax.rwth-aachen.de/gentoo/ ftp://ftp-stud.hs-esslingen.de/pub/Mirrors/gentoo/ rsync://rsync.mirrorservice.org/distfiles.gentoo.org/"
LANG="en_GB.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 bluetooth branding bzip2 cairo cdda cdr cli consolekit crypt cups cxx dbus dri dts dvd dvdr emboss encode exif fam flac fortran gdbm gif glamor gpm gtk iconv ipv6 jpeg lcms ldap libnotify libtirpc mad mng modules mp3 mp4 mpeg multilib ncurses nls nptl ogg opengl openmp pam pango pcre pdf png policykit ppds qt5 readline sdl seccomp spell 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="karbon plan sheets stage words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="mmx mmxext sse sse2" 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="libinput keyboard mouse synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="nlpsolver" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-6 php7-0" POSTGRES_TARGETS="postgres9_5 postgres10" PYTHON_SINGLE_TARGET="python3_6" PYTHON_TARGETS="python2_7 python3_6" RUBY_TARGETS="ruby23" USERLAND="GNU" VIDEO_CARDS="intel" XFCE_PLUGINS="battery brightness multiload-nandhp 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, LINGUAS, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Back to top
View user's profile Send private message
ct85711
Veteran
Veteran


Joined: 27 Sep 2005
Posts: 1636

PostPosted: Sat Sep 15, 2018 2:56 pm    Post subject: Reply with quote

A method if you want to add more swap, you can always make a swap file (an actual file for the swap instead of a dedicated partition). Alternatively (not necessarily the best thing), you can always use an external hd and create a swap partition on that.

For the first option, here's how to setup a file (on which ever partition that has some free space available (DO NOT create the file on a BTRFS partition). https://wiki.archlinux.org/index.php/swap#Swap_file

Note: The linux kernel has no issue if you have multiple swap (locations) enabled at the same time.
Back to top
View user's profile Send private message
Hu
Moderator
Moderator


Joined: 06 Mar 2007
Posts: 12802

PostPosted: Sat Sep 15, 2018 3:31 pm    Post subject: Reply with quote

-O0 may save you some memory, but it's generally not a good idea to use on a system-wide basis.
Back to top
View user's profile Send private message
mrl98
n00b
n00b


Joined: 14 Sep 2018
Posts: 4

PostPosted: Wed Sep 19, 2018 5:51 pm    Post subject: Success Reply with quote

ct85711 Thanks for the link re adding swap space

I added an 8GB swap file. set -J1 and -O2

It took a while - over 24 hours - but it got compiled successfully.

Ill try to get distcc going on my other laptop running Ubuntu Mate to speed things up

Thank you all.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming 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