Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] emerging qtwebengine-5.7.1
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
sbsc
n00b
n00b


Joined: 20 Jan 2016
Posts: 7
Location: Jiangsu, China

PostPosted: Thu Jan 12, 2017 2:04 pm    Post subject: [SOLVED] emerging qtwebengine-5.7.1 Reply with quote

Hi. I've tried to emerge qtwebengine during a system update a few times, but it keeps failing. I've had a similar problem in the past, and the suggestion was to change my MAKEOPTS value to a lower number. Never changed it back to the higher value. I looked through portage news items, but didn't find anything relevant. Also googled around, and couldn't find a solution myself.

Pasted some stuff below. I can't really make anything out of it, so I was hoping someone might have some suggestions. Thanks for any help in advance!

Code:

/var/tmp/portage/dev-qt/qtwebengine-5.7.1/work/qtwebengine-opensource-src-5.7.1/src/3rdparty/chromium/media/filters/ffmpeg_demuxer.cc:878:19: warning: 'AVFormatContext::max_analyze_duration' is deprecated (declared at /usr/include/libavformat/avformat.h:1421) [-Wdeprecated-declarations]
[8035/11499] CXX obj/src/3rdparty/chromium/third_party/WebKit/Source/core/gen/blink/bindings/core/v8/webcore_generated.V8GeneratedCoreBindings14.o
FAILED: /usr/bin/x86_64-pc-linux-gnu-g++ -MMD -MF obj/src/3rdparty/chromium/third_party/WebKit/Source/core/gen/blink/bindings/core/v8/webcore_generated.V8GeneratedCoreBindings14.o.d -DV8_DEPRECATION_WARNINGS -DCLD_VERSION=2 -DTOOLKIT_QT -D_FILE_OFFSET_BITS=64 -DNO_TCMALLOC -DCHROMIUM_BUILD -DUI_COMPOSITOR_IMAGE_TRANSPORT -DUSE_AURA=1 -DUSE_DEFAULT_RENDER_THEME=1 -DUSE_LIBJPEG_TURBO=1 -DUSE_X11=1 -DENABLE_ONE_CLICK_SIGNIN -DENABLE_WEBRTC=1 -DENABLE_MEDIA_ROUTER=1 -DUSE_PROPRIETARY_CODECS -DENABLE_PEPPER_CDMS -DENABLE_CONFIGURATION_POLICY -DENABLE_NOTIFICATIONS -DENABLE_HIDPI=1 -DENABLE_TOPCHROME_MD=1 -DUSE_UDEV -DDONT_EMBED_BUILD_METADATA -DFIELDTRIAL_TESTING_ENABLED -DENABLE_TASK_MANAGER=1 -DENABLE_PDF=1 -DENABLE_PLUGINS=1 -DENABLE_SESSION_SERVICE=1 -DENABLE_THEMES=1 -DENABLE_AUTOFILL_DIALOG=1 -DENABLE_BACKGROUND=1 -DENABLE_PRINTING=1 -DENABLE_BASIC_PRINTING=1 -DENABLE_CAPTIVE_PORTAL_DETECTION=1 -DENABLE_APP_LIST=1 -DENABLE_SETTINGS_APP=1 -DENABLE_SUPERVISED_USERS=1 -DENABLE_MDNS=1 -DENABLE_SERVICE_DISCOVERY=1 -DFULL_SAFE_BROWSING -DSAFE_BROWSING_CSD -DSAFE_BROWSING_DB_LOCAL -DGL_GLEXT_PROTOTYPES -DBLINK_IMPLEMENTATION=1 -DINSIDE_BLINK -DUSING_SYSTEM_ICU -DUSE_SYSTEM_ZLIB -DENABLE_LAYOUT_UNIT_IN_INLINE_BOXES=0 -DWTF_USE_CONCATENATED_IMPULSE_RESPONSES=1 -DENABLE_INPUT_MULTIPLE_FIELDS_UI=1 -DWTF_USE_ICCJPEG=1 -DWTF_USE_QCMSLIB=1 -DWTF_USE_WEBAUDIO_FFMPEG=1 -DWTF_USE_DEFAULT_RENDER_THEME=1 -DU_USING_ICU_NAMESPACE=0 -DU_ENABLE_DYLOAD=0 -DSK_SUPPORT_GPU=1 -DSK_IGNORE_LINEONLY_AA_CONVEX_PATH_OPTS -DENABLE_WEBP -DUSE_SYSTEM_LIBXML -DUSE_LIBPCI=1 -DUSE_OPENSSL=1 -DUSE_GLIB=1 -DUSE_NSS_CERTS=1 -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -DNDEBUG -DNVALGRIND -DDYNAMIC_ANNOTATIONS_ENABLED=0 '-DQTWEBENGINEPROCESS_NAME="QtWebEngineProcess"' -Igen/shim_headers/snappy/target -Igen/shim_headers/libvpx_new/target -Igen/shim_headers/opus/target -Igen/shim_headers/libpng/target -Igen/shim_headers/zlib/target -Igen/shim_headers/icuuc/target -Igen/shim_headers/icui18n/target -Igen/shim_headers/libevent/target -Igen -I/var/tmp/portage/dev-qt/qtwebengine-5.7.1/work/qtwebengine-opensource-src-5.7.1/src/3rdparty/chromium/third_party/WebKit/Source -Igen/blink -I/var/tmp/portage/dev-qt/qtwebengine-5.7.1/work/qtwebengine-opensource-src-5.7.1/src/3rdparty/chromium -I/var/tmp/portage/dev-qt/qtwebengine-5.7.1/work/qtwebengine-opensource-src-5.7.1/src/3rdparty/chromium/skia/config -Igen/angle -I/var/tmp/portage/dev-qt/qtwebengine-5.7.1/work/qtwebengine-opensource-src-5.7.1/src/3rdparty/chromium/gpu -I/var/tmp/portage/dev-qt/qtwebengine-5.7.1/work/qtwebengine-opensource-src-5.7.1/src/3rdparty/chromium/third_party/angle/include -I/var/tmp/portage/dev-qt/qtwebengine-5.7.1/work/qtwebengine-opensource-src-5.7.1/src/3rdparty/chromium/third_party/ffmpeg -I/var/tmp/portage/dev-qt/qtwebengine-5.7.1/work/qtwebengine-opensource-src-5.7.1/src/3rdparty/chromium/third_party/WebKit -I/var/tmp/portage/dev-qt/qtwebengine-5.7.1/work/qtwebengine-opensource-src-5.7.1/src/3rdparty/chromium/third_party/ots/include -I/var/tmp/portage/dev-qt/qtwebengine-5.7.1/work/qtwebengine-opensource-src-5.7.1/src/3rdparty/chromium/third_party/skia/include/core -I/var/tmp/portage/dev-qt/qtwebengine-5.7.1/work/qtwebengine-opensource-src-5.7.1/src/3rdparty/chromium/third_party/skia/include/effects -I/var/tmp/portage/dev-qt/qtwebengine-5.7.1/work/qtwebengine-opensource-src-5.7.1/src/3rdparty/chromium/third_party/skia/include/pdf -I/var/tmp/portage/dev-qt/qtwebengine-5.7.1/work/qtwebengine-opensource-src-5.7.1/src/3rdparty/chromium/third_party/skia/include/gpu -I/var/tmp/portage/dev-qt/qtwebengine-5.7.1/work/qtwebengine-opensource-src-5.7.1/src/3rdparty/chromium/third_party/skia/include/lazy -I/var/tmp/portage/dev-qt/qtwebengine-5.7.1/work/qtwebengine-opensource-src-5.7.1/src/3rdparty/chromium/third_party/skia/include/pathops -I/var/tmp/portage/dev-qt/qtwebengine-5.7.1/work/qtwebengine-opensource-src-5.7.1/src/3rdparty/chromium/third_party/skia/include/pipe -I/var/tmp/portage/dev-qt/qtwebengine-5.7.1/work/qtwebengine-opensource-src-5.7.1/src/3rdparty/chromium/third_party/skia/include/ports -I/var/tmp/portage/dev-qt/qtwebengine-5.7.1/work/qtwebengine-opensource-src-5.7.1/src/3rdparty/chromium/third_party/skia/include/utils -I/var/tmp/portage/dev-qt/qtwebengine-5.7.1/work/qtwebengine-opensource-src-5.7.1/src/3rdparty/chromium/skia/ext -I/var/tmp/portage/dev-qt/qtwebengine-5.7.1/work/qtwebengine-opensource-src-5.7.1/src/3rdparty/chromium/third_party/iccjpeg -I/var/tmp/portage/dev-qt/qtwebengine-5.7.1/work/qtwebengine-opensource-src-5.7.1/src/3rdparty/chromium/third_party/npapi -I/var/tmp/portage/dev-qt/qtwebengine-5.7.1/work/qtwebengine-opensource-src-5.7.1/src/3rdparty/chromium/third_party/npapi/bindings -I/var/tmp/portage/dev-qt/qtwebengine-5.7.1/work/qtwebengine-opensource-src-5.7.1/src/3rdparty/chromium/third_party/qcms/src -I/var/tmp/portage/dev-qt/qtwebengine-5.7.1/work/qtwebengine-opensource-src-5.7.1/src/3rdparty/chromium/v8/include -fstack-protector --param=ssp-buffer-size=4  -pthread -fno-strict-aliasing -Wall -Wno-extra -Wno-unused-parameter -Wno-missing-field-initializers -fvisibility=hidden -pipe -fPIC -Wno-unused-local-typedefs -fno-strict-aliasing -Os -pthread -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libxml2 -I/usr/include/libxml2 -m64 -march=x86-64 -O2 -fno-ident -fdata-sections -ffunction-sections -funwind-tables -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -march=native -O2 -pipe -fno-exceptions -fno-rtti -fno-threadsafe-statics -fvisibility-inlines-hidden -std=gnu++11 -Wno-narrowing  -c gen/blink/bindings/core/v8/V8GeneratedCoreBindings14.cpp -o obj/src/3rdparty/chromium/third_party/WebKit/Source/core/gen/blink/bindings/core/v8/webcore_generated.V8GeneratedCoreBindings14.o
x86_64-pc-linux-gnu-g++: internal compiler error: Killed (program cc1plus)
Please submit a full bug report,
with preprocessed source if appropriate.
See <https://bugs.gentoo.org/> for instructions.
[8035/11499] CXX obj/src/3rdparty/chromium/third_party/WebKit/Source/core/gen/blink/bindings/core/v8/webcore_generated.V8GeneratedCoreBindings16.o
ninja: build stopped: subcommand failed.
Makefile.gyp_run:476: recipe for target 'invoke_ninja' failed
make[3]: *** [invoke_ninja] Error 1
make[3]: Leaving directory '/var/tmp/portage/dev-qt/qtwebengine-5.7.1/work/qtwebengine-opensource-src-5.7.1/src/core'
Makefile:116: recipe for target 'sub-gyp_run-pro-make_first' failed
make[2]: *** [sub-gyp_run-pro-make_first] Error 2
make[2]: Leaving directory '/var/tmp/portage/dev-qt/qtwebengine-5.7.1/work/qtwebengine-opensource-src-5.7.1/src/core'
Makefile:49: recipe for target 'sub-core-make_first' failed
make[1]: *** [sub-core-make_first] Error 2
make[1]: Leaving directory '/var/tmp/portage/dev-qt/qtwebengine-5.7.1/work/qtwebengine-opensource-src-5.7.1/src'
Makefile:44: recipe for target 'sub-src-make_first' failed
make: *** [sub-src-make_first] Error 2
 * ERROR: dev-qt/qtwebengine-5.7.1::gentoo failed (compile phase):
 *   emake failed
 *
 * If you need support, post the output of `emerge --info '=dev-qt/qtwebengine-5.7.1::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=dev-qt/qtwebengine-5.7.1::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/dev-qt/qtwebengine-5.7.1/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-qt/qtwebengine-5.7.1/temp/environment'.
 * Working directory: '/var/tmp/portage/dev-qt/qtwebengine-5.7.1/work/qtwebengine-opensource-src-5.7.1'
 * S: '/var/tmp/portage/dev-qt/qtwebengine-5.7.1/work/qtwebengine-opensource-src-5.7.1'

>>> Failed to emerge dev-qt/qtwebengine-5.7.1, Log file:

>>>  '/var/tmp/portage/dev-qt/qtwebengine-5.7.1/temp/build.log'

 * Messages for package dev-qt/qtwebengine-5.7.1:

 * ERROR: dev-qt/qtwebengine-5.7.1::gentoo failed (compile phase):
 *   emake failed
 *
 * If you need support, post the output of `emerge --info '=dev-qt/qtwebengine-5.7.1::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=dev-qt/qtwebengine-5.7.1::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/dev-qt/qtwebengine-5.7.1/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-qt/qtwebengine-5.7.1/temp/environment'.
 * Working directory: '/var/tmp/portage/dev-qt/qtwebengine-5.7.1/work/qtwebengine-opensource-src-5.7.1'
 * S: '/var/tmp/portage/dev-qt/qtwebengine-5.7.1/work/qtwebengine-opensource-src-5.7.1'


Code:

emerge --info '=dev-qt/qtwebengine-5.7.1::gentoo'
Portage 2.3.0 (python 2.7.12-final-0, default/linux/amd64/13.0/desktop/plasma/systemd, gcc-4.9.4, glibc-2.23-r3, 4.1.12-gentoo x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-4.1.12-gentoo-x86_64-AMD_A8-7650K_Radeon_R7,_10_Compute_Cores_4C+6G-with-gentoo-2.3
KiB Mem:     3508016 total,   2660124 free
KiB Swap:     524284 total,    194448 free
Timestamp of repository gentoo: Sun, 08 Jan 2017 00:45:01 +0000
sh bash 4.3_p48-r1
ld GNU ld (Gentoo 2.25.1 p1.1) 2.25.1
app-shells/bash:          4.3_p48-r1::gentoo
dev-java/java-config:     2.2.0-r3::gentoo
dev-lang/perl:            5.22.3_rc4::gentoo
dev-lang/python:          2.7.12::gentoo, 3.4.5::gentoo
dev-util/cmake:           3.6.3::gentoo
dev-util/pkgconfig:       0.28-r2::gentoo
sys-apps/baselayout:      2.3::gentoo
sys-apps/openrc:          0.22.4::gentoo
sys-apps/sandbox:         2.10-r1::gentoo
sys-devel/autoconf:       2.13::gentoo, 2.69::gentoo
sys-devel/automake:       1.11.6-r1::gentoo, 1.14.1::gentoo, 1.15::gentoo
sys-devel/binutils:       2.25.1-r1::gentoo
sys-devel/gcc:            4.9.3::gentoo, 4.9.4::gentoo
sys-devel/gcc-config:     1.7.3::gentoo
sys-devel/libtool:        2.4.6-r2::gentoo
sys-devel/make:           4.1-r1::gentoo
sys-kernel/linux-headers: 4.4::gentoo (virtual/os-headers)
sys-libs/glibc:           2.23-r3::gentoo
Repositories:

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

salfter
    location: /var/lib/layman/salfter
    masters: gentoo
    priority: 0

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/lib64/libreoffice/program/sofficerc /usr/share/config /usr/share/gnupg/qualified.txt /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.6/ext-active/ /etc/php/cgi-php5.6/ext-active/ /etc/php/cli-php5.6/ext-active/ /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="en_US"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j2"
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 cracklib crypt cups cxx dbus declarative dri dts dvd dvdr emboss encode exif fam firefox flac fortran gdbm gif glamor gpm gtk iconv ipv6 javascript jpeg json kde kipi lcms ldap libnotify mad mmx mmxext mng modules mp3 mp4 mpeg multilib mysql mysqli ncurses nls nptl ogg opengl openmp pam pango pcre pdf phonon php plasma png policykit ppds pulseaudio qml qt3support qt4 qt5 readline sdl seccomp semantic-desktop session spell sse sse2 ssl startup-notification svg systemd tcpd tiff truetype udev udisks unicode upower usb vorbis widgets wxwidgets x264 xattr xcb xcomposite xinerama xml xscreensaver 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" CAMERAS="ptp2" 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 itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="en" NETBEANS_MODULES="*" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-6" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_4" RUBY_TARGETS="ruby21" USERLAND="GNU" VIDEO_CARDS="radeon radeonsi" 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, USE_PYTHON


Last edited by sbsc on Thu Jan 12, 2017 2:47 pm; edited 1 time in total
Back to top
View user's profile Send private message
asturm
Developer
Developer


Joined: 05 Apr 2007
Posts: 8935

PostPosted: Thu Jan 12, 2017 2:36 pm    Post subject: Reply with quote

Out of memory. Your swap space is much too low, consequently, as memory is also rather low, build fails.
Back to top
View user's profile Send private message
sbsc
n00b
n00b


Joined: 20 Jan 2016
Posts: 7
Location: Jiangsu, China

PostPosted: Thu Jan 12, 2017 2:48 pm    Post subject: Reply with quote

How embarrassing :oops:
Thanks for the help!
Back to top
View user's profile Send private message
solamour
l33t
l33t


Joined: 21 Dec 2004
Posts: 698
Location: San Diego, CA

PostPosted: Mon Sep 24, 2018 6:09 pm    Post subject: Reply with quote

Same thing happened to me, even though my system has 8GB of RAM. I dialed down MAKEOPTS from "-j5" to "-j2", and that solved the problem.
__
sol
Back to top
View user's profile Send private message
richliu
n00b
n00b


Joined: 13 Aug 2012
Posts: 6

PostPosted: Wed Dec 30, 2020 6:54 am    Post subject: Reply with quote

solamour wrote:
Same thing happened to me, even though my system has 8GB of RAM. I dialed down MAKEOPTS from "-j5" to "-j2", and that solved the problem.
__
sol


Yes, it did solve my problem.

My system has 64G Ram with many cores, after add MAKEOPTS to "-j2", it works.
Probably it needs to fine tune compile options.
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